Function at 0x100d7ac
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4bc
mov eax, dword [0x10133a4]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x43c], ebx
mov eax, 0x1002db4
jne 0x100d7e4
mov eax, 0x1002dac
push eax
push 0x1002d94
call fcn.0100eda2
cmp dword [ebp + 0x10], ebx
pop ecx
pop ecx
je 0x100d805
push 1
call fcn.0100e620
test eax, eax
je 0x100de00
push 0x7f02
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [0x10134f4]
mov word [ebp - 0x42a], 0x5c
mov word [ebp - 0x42c], 0x5c
test byte [eax + 0x1c], 3
je 0x100d855
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x428]
push eax
mov dword [ebp - 0x438], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
jmp 0x100d877
push 0x1002d68
call fcn.0100eda2
pop ecx
push 0x10
push 0x16
push 0x1a
push dword [0x1013ba4]
push dword [0x1013b74]
call fcn.0100ac39
push edi
push 0x100
lea eax, [ebp - 0x408]
push eax
push 0xffffffffffffffff
push esi
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
xor eax, eax
cmp dword [ebp + 0x10], ebx
push 0x1e
setne al
push 0x40
lea eax, [eax*4 + 4]
mov dword [ebp - 0x430], eax
call edi
cmp eax, ebx
mov dword [ebp - 0x434], eax
jne 0x100d8cb
push 0x1002d54
call fcn.0100eda2
pop ecx
jmp 0x100db28
lea ecx, [ebp - 0x438]
push ecx
push 0x1e
push eax
mov eax, dword [ebp - 0x430]
xor esi, esi
inc esi
or eax, esi
push eax
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x42c]
push eax
call sub.NDdeApi.dll_Ordinal_609
mov dword [ebp - 0x44c], eax
sub eax, ebx
je 0x100db16
dec eax
dec eax
je 0x100d91d
push dword [ebp - 0x434]
mov dword [ebp - 0x440], esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x100d9d5
push 2
push dword [ebp - 0x438]
push 0x1002d24
call fcn.0100eda2
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
add esp, 0xc
push dword [ebp - 0x434]
call esi
cmp dword [ebp - 0x438], 0xffff
mov dword [ebp - 0x434], ebx
jae 0x100db00
push dword [ebp - 0x438]
push 0x40
call edi
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x434], edi
je 0x100db00
lea eax, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
mov eax, dword [ebp - 0x430]
push edi
or eax, 1
push eax
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x42c]
push eax
call sub.NDdeApi.dll_Ordinal_609
cmp eax, ebx
mov dword [ebp - 0x44c], eax
jne 0x100d9bb
push 0x1002d14
mov dword [ebp - 0x440], ebx
call fcn.0100eda2
pop ecx
jmp 0x100db1c
push eax
push 0x1002cf8
call fcn.0100eda2
pop ecx
pop ecx
push edi
mov dword [ebp - 0x440], 1
call esi
mov dword [ebp - 0x434], ebx
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x50
mov esi, 0x1013648
push esi
push 0x17
push dword [0x1013b74]
call edi
xor eax, eax
cmp dword [ebp + 0x10], ebx
push 0x100
setne al
mov dword [ebp - 0x4bc], 0x1002ce0
mov dword [ebp - 0x4b4], ebx
mov dword [ebp - 0x4b0], ebx
mov dword [ebp - 0x4ac], 0x2779
mov dword [ebp - 0x4a8], 0x277a
mov dword [ebp - 0x4a4], 0x277b
add eax, 0x2776
mov dword [ebp - 0x4b8], eax
lea eax, [ebp - 0x474]
mov dword [ebp - 0x498], eax
mov dword [ebp - 0x494], eax
lea eax, [ebp - 0x4bc]
mov dword [ebp - 0x48c], eax
lea eax, [ebp - 0x204]
push eax
push 0x3e8
push dword [0x1013b74]
mov dword [ebp - 0x4a0], 0x277c
mov dword [ebp - 0x474], 0x235
mov dword [ebp - 0x470], 0x102fd
mov dword [ebp - 0x46c], 0x23d
mov dword [ebp - 0x468], 0xf03ff
mov byte [ebp - 0x49c], 1
mov byte [ebp - 0x49b], bl
mov byte [ebp - 0x49a], bl
mov byte [ebp - 0x499], bl
mov dword [ebp - 0x490], esi
mov dword [ebp - 0x488], ebx
mov dword [ebp - 0x480], ebx
call edi
mov esi, dword [ebp + 0x10]
cmp esi, ebx
lea eax, [ebp - 0x204]
mov dword [ebp - 0x47c], eax
mov dword [ebp - 0x478], ebx
je 0x100db50
push 0x1002ccc
call fcn.0100eda2
pop ecx
push 4
mov dword [ebp - 0x458], 0x1013360
jmp 0x100db68
push dword [ebp - 0x438]
push 0x1002cac
call fcn.0100eda2
pop ecx
jmp 0x100d9b5
mov dword [ebp - 0x440], ebx
cmp dword [ebp - 0x434], ebx
jne 0x100d9db
cmp dword [ebp - 0x440], ebx
jne 0x100d9db
push 0x10
push 0x16
push 0x1a
push dword [ebp - 0x444]
push dword [0x1013b74]
call fcn.0100ac39
jmp 0x100dddf
mov ecx, dword [0x101325c]
push 0x13
mov dword [ebp - 0x458], 0x1013230
mov dword [ebp - 0x454], ecx
pop eax
neg esi
sbb esi, esi
mov dword [ebp - 0x45c], eax
shl eax, 7
push eax
and esi, 0x100
push 0x40
add esi, 0x400
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, eax
cmp ecx, ebx
mov dword [ebp - 0x460], ecx
je 0x100ddb7
cmp dword [ebp - 0x45c], ebx
mov dword [ebp - 0x448], ebx
jbe 0x100dc11
xor eax, eax
mov dword [ebp - 0x43c], eax
mov dword [ebp - 0x450], ecx
jmp 0x100dbbf
mov eax, dword [ebp - 0x43c]
mov ecx, dword [ebp - 0x458]
mov edx, dword [ebp - 0x450]
mov dword [eax + ecx + 0xc], edx
mov ecx, dword [ebp - 0x458]
push 0x3f
push dword [eax + ecx + 0xc]
mov eax, dword [ebp - 0x448]
add eax, esi
push eax
push dword [0x1013b74]
call edi
inc dword [ebp - 0x448]
mov eax, dword [ebp - 0x448]
add dword [ebp - 0x450], 0x80
add dword [ebp - 0x43c], 0x10
cmp eax, dword [ebp - 0x45c]
jb 0x100dbb9
cmp dword [ebp + 0x10], ebx
je 0x100dcec
push 0x1002c94
call fcn.0100eda2
mov dword [esp], 0x1002c88
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x100dcd0
push 0x1002c74
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
je 0x100dcb4
push 0x7f00
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push 0x1002c5c
call fcn.0100eda2
pop ecx
push ebx
lea eax, [ebp - 0x464]
push eax
push dword [ebp - 0x440]
lea eax, [ebp - 0x430]
push dword [ebp - 0x434]
push eax
push 0x100d612
lea eax, [ebp - 0x406]
push eax
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x49c]
push eax
push ebx
push dword [0x1013b74]
push dword [ebp - 0x444]
call esi
jmp 0x100dd73
push 0x10
push 0x16
push 0x1a
push dword [ebp - 0x444]
push dword [0x1013b74]
call fcn.0100ac39
jmp 0x100dd79
push 0x10
push 0x16
push 0x1a
push dword [ebp - 0x444]
push dword [0x1013b74]
call fcn.0100ac39
jmp 0x100dd80
push 0x1002c44
call fcn.0100eda2
mov dword [esp], 0x1002c88
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x100dd80
push 0x1002c28
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
je 0x100dd79
push 0x7f00
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push ebx
lea eax, [ebp - 0x464]
push eax
push ebx
push dword [ebp - 0x440]
lea eax, [ebp - 0x430]
push dword [ebp - 0x434]
push eax
push 0x100d612
lea eax, [ebp - 0x406]
push eax
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x49c]
push eax
push ebx
push dword [0x1013b74]
push dword [ebp - 0x444]
call esi
mov dword [ebp - 0x44c], eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 0x44c]
push dword [ebp - 0x464]
push 0x1002bf8
call fcn.0100eda2
add esp, 0xc
push ebx
push 0x2c
push 0x111
push dword [ebp - 0x444]
mov dword [ebp - 0x43c], 1
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp - 0x434], ebx
je 0x100ddcb
push dword [ebp - 0x434]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x460], ebx
je 0x100dddf
push dword [ebp - 0x460]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0x7f00
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push 2
call fcn.0100e620
mov eax, dword [ebp - 0x43c]
pop edi
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0100ec8a
leave
ret 0xc