Function at 0x402690
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65a74a
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x6f7d14]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
call fcn.0040e110
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
mov dword [eax], vtable.CFileTreeCtrl.0
mov ecx, dword [ebp - 0x24]
add ecx, 0x80
call fcn.0040ec90
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
add ecx, 0x84
call fcn.0040ec90
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x24]
add ecx, 0x88
call fcn.0040ec90
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x24]
add ecx, 0x8c
call fcn.0040ec90
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x90], 1
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x94], 0xffff0000
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x98], 0
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x9c], 0
mov edx, dword [ebp - 0x24]
mov dword [edx + 0xa0], 0
mov eax, dword [ebp - 0x24]
mov dword [eax + 0xa4], 0
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0xa8], 0
mov edx, dword [ebp - 0x24]
mov dword [edx + 0xac], 0
mov eax, dword [ebp - 0x24]
mov dword [eax + 0xb0], 1
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0xb4], 1
mov edx, dword [ebp - 0x24]
mov dword [edx + 0xb8], 1
mov eax, dword [ebp - 0x24]
mov dword [eax + 0xbc], 0
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0xc0], 0
mov edx, dword [ebp - 0x24]
mov dword [edx + 0xc4], 0
mov eax, dword [ebp - 0x24]
mov dword [eax + 0xc8], 0
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0xcc], 0
mov edx, dword [ebp - 0x24]
mov dword [edx + 0xd0], 1
mov eax, dword [ebp - 0x24]
mov dword [eax + 0xd4], 1
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0xd8], 0
mov edx, dword [ebp - 0x24]
mov dword [edx + 0xdc], 0
mov eax, dword [ebp - 0x24]
mov dword [eax + 0xe0], 0
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0xe4], 0x1106
mov edx, dword [ebp - 0x24]
mov dword [edx + 0xe8], 0x1106
mov ecx, dword [ebp - 0x24]
add ecx, 0xec
call fcn.004f59be
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x100], 0xff0000
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x104], 1
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x108], 0xff
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x10c], 1
mov ecx, dword [ebp - 0x24]
add ecx, 0x110
call fcn.0040c050
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x24]
add ecx, 0x124
call fcn.0040c050
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x138], 0x14
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x13c], 0
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x140], 1
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x144], 1
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x148], 2
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x1b4], 0
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x1b8], 0
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x1bc], 0
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x1c0], 1
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x1c4], 0
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x1c8], 0
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x1cc], 0xffffffff
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x1d0], 0xffffffff
mov ecx, dword [ebp - 0x24]
add ecx, 0x1d4
call fcn.0040ec90
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x1d8], 0
mov eax, dword [ebp - 0x24]
add eax, 0x1dc
mov dword [ebp - 0x34], eax
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x34]
call fcn.004f5eac
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x24]
add ecx, 0x1e4
call fcn.00402180
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x24]
add ecx, 0x1ec
call fcn.004023d0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x24]
add ecx, 0xec
mov dword [ebp - 0x38], ecx
push 0x6c5e20
mov ecx, dword [ebp - 0x38]
call fcn.0040e040
mov dword [ebp - 0x28], 0
jmp 0x4029e6
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0x1a
jge 0x4029ff
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + eax*4 + 0x14c], 0xffffffff
jmp 0x4029dd
mov edx, 1
imul eax, edx, 0
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x10
jae 0x402a12
jmp 0x402a17
call fcn.0062fd7e
mov ecx, dword [ebp - 0x30]
mov byte [ebp + ecx - 0x20], 0
mov dword [ebp - 0x3c], 0x10
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x402a8f
lea ecx, [ebp - 0x2c]
call fcn.0040ec90
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x20]
push ecx
push 0x6c5e24
lea edx, [ebp - 0x2c]
push edx
call fcn.0040e010
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x24]
call fcn.00402e50
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x1cc], eax
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0x24]
call fcn.00402ec0
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x1d0], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2c]
call fcn.0040ed10
call fcn.00402be0
test eax, eax
je 0x402ab2
mov edx, dword [ebp - 0x24]
mov dword [edx + 0xb8], 0
mov eax, dword [ebp - 0x24]
mov dword [eax + 0xbc], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0062fc3e
mov esp, ebp
pop ebp
ret