Function at 0x10062ce0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e3e30
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x1013dd8c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x178], ecx
mov dword [ebp - 0x14c], 0
mov eax, dword [0x1014697c]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x101468ec]
cmp eax, dword [edx + 4]
jle 0x10062d71
push 0x101468ec
call fcn.10065f48
add esp, 4
cmp dword [0x101468ec], 0xffffffff
jne 0x10062d71
mov ecx, 0x101468d4
call fcn.100125c0
push 0x100e5390
call fcn.10065dba
add esp, 4
push 0x101468ec
call fcn.10065f09
add esp, 4
mov ecx, dword [0x1014697c]
mov edx, dword fs:[0x2c]
mov eax, dword [edx + ecx*4]
mov ecx, dword [0x10146908]
cmp ecx, dword [eax + 4]
jle 0x10062dc9
push 0x10146908
call fcn.10065f48
add esp, 4
cmp dword [0x10146908], 0xffffffff
jne 0x10062dc9
mov ecx, 0x101468f0
call fcn.100125c0
push 0x100e53a0
call fcn.10065dba
add esp, 4
push 0x10146908
call fcn.10065f09
add esp, 4
mov edx, dword [0x1014697c]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edx*4]
mov edx, dword [0x10146924]
cmp edx, dword [ecx + 4]
jle 0x10062e20
push 0x10146924
call fcn.10065f48
add esp, 4
cmp dword [0x10146924], 0xffffffff
jne 0x10062e20
mov ecx, 0x1014690c
call fcn.100125c0
push 0x100e53b0
call fcn.10065dba
add esp, 4
push 0x10146924
call fcn.10065f09
add esp, 4
mov ecx, 0x101468d4
call fcn.10039400
movzx eax, al
test eax, eax
je 0x10062e62
lea ecx, [ebp - 0x98]
push ecx
call fcn.1005e560
add esp, 4
mov dword [ebp - 0x158], eax
mov edx, dword [ebp - 0x158]
push edx
mov ecx, 0x101468d4
call fcn.1001a8d0
lea ecx, [ebp - 0x98]
call fcn.10012470
mov ecx, 0x101468f0
call fcn.10039400
movzx eax, al
test eax, eax
je 0x10062ef0
push 0x101468d4
lea ecx, [ebp - 0xb0]
push ecx
call fcn.1005e380
add esp, 8
mov dword [ebp - 0x15c], eax
mov edx, dword [ebp - 0x15c]
push edx
mov ecx, 0x101468f0
call fcn.1001a8d0
lea ecx, [ebp - 0xb0]
call fcn.10012470
mov ecx, 0x101468f0
call fcn.10039400
movzx eax, al
test eax, eax
jne 0x10062ef0
push 0
push 0x2d
mov ecx, 0x101468f0
call fcn.100632c0
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x154], 0xffffffff
je 0x10062ef0
push 0x3a
push 1
push 1
mov ecx, dword [ebp - 0x154]
push ecx
mov ecx, 0x101468f0
call fcn.1005baf0
jmp 0x10062eba
mov ecx, 0x1014690c
call fcn.10039400
movzx edx, al
test edx, edx
je 0x10062f65
mov byte [ebp - 0x50], 0
push 0x3f
push 0
lea eax, [ebp - 0x4f]
push eax
call fcn.100a57f0
add esp, 0xc
mov dword [ebp - 0x160], 0x40
lea ecx, [ebp - 0x160]
push ecx
lea edx, [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x10062f65
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0xc8]
call fcn.10012560
mov dword [ebp - 0x164], eax
mov ecx, dword [ebp - 0x164]
push ecx
mov ecx, 0x1014690c
call fcn.1001a8d0
lea ecx, [ebp - 0xc8]
call fcn.10012470
xor edx, edx
mov byte [ebp - 0x14d], dl
call fcn.1003fd70
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
jne 0x10062fa5
push 0x100fc882
mov ecx, dword [ebp + 8]
call fcn.10012560
mov eax, dword [ebp - 0x14c]
or eax, 1
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp + 8]
jmp 0x1006329a
call fcn.100563b0
push eax
call fcn.1003fda0
add esp, 4
push eax
push str.abcdefghi
mov ecx, dword [ebp - 0x144]
push ecx
call fcn.1003fd20
add esp, 0xc
mov ecx, 0x101468f0
call fcn.10012400
push eax
call fcn.1003fda0
add esp, 4
push eax
push 0x100fc8d4
mov edx, dword [ebp - 0x144]
push edx
call fcn.1003fd20
add esp, 0xc
mov ecx, 0x101468d4
call fcn.10012400
push eax
call fcn.1003fda0
add esp, 4
push eax
push 0x100fc8d8
mov eax, dword [ebp - 0x144]
push eax
call fcn.1003fd20
add esp, 0xc
mov ecx, 0x1014690c
call fcn.10012400
push eax
call fcn.1003fda0
add esp, 4
push eax
push 0x100fc8dc
mov ecx, dword [ebp - 0x144]
push ecx
call fcn.1003fd20
add esp, 0xc
call fcn.100563b0
add eax, 0x40
push eax
call fcn.1003fda0
add esp, 4
push eax
push 0x100fc8e0
mov edx, dword [ebp - 0x144]
push edx
call fcn.1003fd20
add esp, 0xc
mov eax, dword [ebp + 0x10]
push eax
push 0x100fc8e4
lea ecx, [ebp - 0xe0]
push ecx
lea edx, [ebp - 0x145]
push edx
call fcn.10063fb0
add esp, 0x10
mov dword [ebp - 0x168], eax
mov ecx, dword [ebp - 0x168]
call fcn.10012400
push eax
call fcn.1003fda0
add esp, 4
push eax
push 0x100fc8e8
mov eax, dword [ebp - 0x144]
push eax
call fcn.1003fd20
add esp, 0xc
lea ecx, [ebp - 0xe0]
call fcn.10012470
mov ecx, dword [ebp + 0x14]
push ecx
push 0x100fc8ec
lea edx, [ebp - 0xf8]
push edx
lea eax, [ebp - 0x145]
push eax
call fcn.10063fb0
add esp, 0x10
mov dword [ebp - 0x16c], eax
mov ecx, dword [ebp - 0x16c]
call fcn.10012400
push eax
call fcn.1003fda0
add esp, 4
push eax
push 0x100fc8f0
mov ecx, dword [ebp - 0x144]
push ecx
call fcn.1003fd20
add esp, 0xc
lea ecx, [ebp - 0xf8]
call fcn.10012470
mov ecx, dword [ebp + 0xc]
call fcn.10012400
push eax
call fcn.1003fda0
add esp, 4
push eax
push 0x100fc8f4
mov edx, dword [ebp - 0x144]
push edx
call fcn.1003fd20
add esp, 0xc
mov eax, dword [ebp + 0x18]
push eax
push 0x100fc8f8
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp - 0x145]
push edx
call fcn.10063fb0
add esp, 0x10
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x170]
call fcn.10012400
push eax
call fcn.1003fda0
add esp, 4
push eax
push 0x100fc8fc
mov eax, dword [ebp - 0x144]
push eax
call fcn.1003fd20
add esp, 0xc
lea ecx, [ebp - 0x110]
call fcn.10012470
mov ecx, dword [ebp - 0x144]
push ecx
call fcn.10040050
add esp, 4
push eax
lea ecx, [ebp - 0x80]
call fcn.10012560
mov dword [ebp - 4], 0
push 0xfde9
lea edx, [ebp - 0x80]
push edx
lea eax, [ebp - 0x68]
push eax
call fcn.1005e760
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.10012470
lea ecx, [ebp - 0x68]
call fcn.10039400
movzx ecx, al
test ecx, ecx
jne 0x1006325e
lea edx, [ebp - 0x68]
push edx
push 1
lea eax, [ebp - 0x128]
push eax
call fcn.1005daa0
add esp, 0xc
mov dword [ebp - 0x174], eax
mov ecx, dword [ebp - 0x174]
push ecx
lea ecx, [ebp - 0x68]
call fcn.1001a8d0
lea ecx, [ebp - 0x128]
call fcn.10012470
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0x140]
push eax
mov ecx, dword [ebp - 0x178]
add ecx, 0xbc
call fcn.10063de0
mov ecx, eax
call fcn.10053fe0
mov dword [ebp - 0x17c], eax
mov ecx, dword [ebp - 0x17c]
push ecx
lea ecx, [ebp - 0x68]
call fcn.1001a8d0
lea ecx, [ebp - 0x140]
call fcn.10012470
mov edx, dword [ebp - 0x144]
push edx
call fcn.1003fde0
add esp, 4
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp + 8]
call fcn.100124b0
mov ecx, dword [ebp - 0x14c]
or ecx, 1
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.10012470
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10065961
mov esp, ebp
pop ebp
ret 0x14