Function at 0x1009e24
Capabilities:
Get hostname
Resume thread
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 4], 0x11
je 0x1009e49
push eax
call dword [sym.imp.USER32.dll_SetThreadDesktop]
push ebx
push dword [0x1019e20]
mov eax, 0x80000000
push ebx
push ebx
push eax
push eax
push eax
push eax
push 0xcf0000
push 0x1018120
push 0x1001938
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x1009e9d
mov edi, dword [edi + 0x14]
cmp edi, ebx
mov esi, dword [sym.imp.KERNEL32.dll_SetEvent]
je 0x1009e88
push edi
call esi
mov eax, dword [0x10184e8]
cmp eax, ebx
je 0x100a0a0
push eax
call esi
jmp 0x100a0a0
push edi
mov dword [edi + 0xc], eax
push dword [0x1018058]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov esi, 0x101a380
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x101a3a0]
mov dword [edi], eax
push esi
mov dword [0x101a3a0], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebp - 4]
push eax
mov esi, 0x101a3c0
push esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0x1001954
mov eax, 0x101a3e0
push 0x84
push eax
mov dword [0x101a034], eax
call fcn.01008a08
push esi
push 0x84
push dword [0x101a034]
call fcn.01009d8a
push esi
call dword [sym.imp.USER32.dll_CharUpperA]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
push esi
call dword [sym.imp.USER32.dll_OemToCharBuffA]
push ebx
push esi
push 1
call fcn.0100b138
add esp, 0xc
cmp dword [0x10184fc], ebx
jne 0x1009fd3
xor eax, eax
mov esi, 0x1019bc0
inc eax
push eax
push str.Interface_d
push 0x1f4
push 0x101a040
mov dword [esi], ebx
mov dword [esi + 0x48], ebx
mov dword [ebp - 8], eax
call fcn.010050d2
add esp, 0x10
push 0x1018064
push 0x1f4
push 0x1019e40
push 0x1001430
push 0x101a040
push str.Interfaces
call fcn.0100b691
cmp byte [0x1019e40], bl
je 0x1009fb2
push dword [0x10184fc]
push 0x1019e40
push esi
push dword [ebp + 8]
call fcn.01009cc2
inc dword [0x10184fc]
mov eax, dword [ebp - 8]
add esi, 0x4c
cmp esi, 0x1019e20
jl 0x1009f3e
cmp dword [0x10184fc], ebx
jne 0x1009fd3
push ebx
push 0x1001948
push 0x1019bc0
push dword [ebp + 8]
call fcn.01009cc2
inc dword [0x10184fc]
push dword [0x1018514]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp dword [edi + 8], ebx
mov esi, dword [sym.imp.KERNEL32.dll_SetEvent]
je 0x1009fef
push dword [edi + 0x14]
call esi
mov eax, dword [0x10184e8]
cmp eax, ebx
je 0x1009ffb
push eax
call esi
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
jmp 0x100a017
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
lea eax, [ebp - 0x24]
push ebx
push eax
call esi
test eax, eax
jne 0x100a003
cmp dword [edi + 8], ebx
je 0x100a096
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100a03f
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
jmp 0x100a051
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push ebx
push ebx
lea eax, [ebp - 0x24]
push ebx
push eax
call esi
test eax, eax
jne 0x100a047
push dword [0x10184f8]
call dword [sym.imp.USER32.dll_SetThreadDesktop]
mov eax, dword [edi + 8]
cmp eax, ebx
je 0x100a081
push eax
call dword [sym.imp.USER32.dll_CloseDesktop]
test eax, eax
je 0x100a081
mov dword [edi + 8], ebx
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x100a096
push eax
call dword [sym.imp.USER32.dll_CloseWindowStation]
test eax, eax
je 0x100a096
mov dword [edi + 4], ebx
push edi
mov dword [edi + 0xc], ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
pop ebx
leave
ret 4