Function at 0x1004ec50
Capabilities:
Get hostname

Disassembly:
push 0xffffffffffffffff
push 0x10162c80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov eax, dword [0x101b9578]
push ebx
push ebp
mov dword [esp + 0x70], eax
push edi
mov ebx, dword [esp + 0x88]
push 0x101693c4
push ebx
mov dword [esp + 0x88], 4
call fcn.101017b0
add esp, 8
test eax, eax
jne 0x1004ecab
lea ecx, [esp + 0x88]
call fcn.10001f40
mov ebx, dword [esp + 0x88]
push 0x20
push 1
lea ecx, [esp + 0x98]
call fcn.10015260
push 0x20
push 1
lea ecx, [esp + 0x9c]
call fcn.10015260
push 0x20
push 1
lea ecx, [esp + 0xa0]
call fcn.10015260
xor eax, eax
mov dword [esp + 0x21], eax
mov dword [esp + 0x25], eax
mov dword [esp + 0x29], eax
mov dword [esp + 0x2d], eax
mov word [esp + 0x31], ax
mov byte [esp + 0x20], 0
mov byte [esp + 0x33], al
push eax
call fcn.10102351
add esp, 4
push str._Y__m__d__H:_M:_S
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
call fcn.100153c0
mov edx, dword [eax]
push edx
lea eax, [esp + 0x24]
push 0x10167f04
push eax
call fcn.10101c69
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1004ed52
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov byte [esp + 0x34], 0
mov ecx, 0xf
lea edi, [esp + 0x35]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x18], 0x3f
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
call fcn.10152999
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [0x101cf008]
test eax, eax
mov edi, dword [esp + 0x8c]
mov ebp, dword [esp + 0x90]
mov byte [esp + 0x80], 5
je 0x1004ee16
mov ecx, dword [0x101cf074]
push 0x101cf078
push ecx
mov ecx, dword [0x101cf19c]
push 0x101cf010
lea edx, [esp + 0x40]
push edx
push ecx
mov ecx, dword [esp + 0xac]
push 0x101cf18a
push 0x101cf162
push 0x101cf13a
push 0x101cf126
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0xbc]
push 0x101cf0e0
push ecx
mov ecx, dword [esp + 0xcc]
push edx
push ebp
push edi
push ebx
push ecx
push 0x12
push eax
push 0x10175154
lea edx, [esp + 0x5c]
push edx
jmp 0x1004ee79
mov eax, dword [0x101cf89c]
mov edx, dword [0x101cf9c4]
push 0x101cf8a0
push eax
push 0x101cf838
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0xa8]
push edx
mov edx, dword [esp + 0xa8]
push 0x101cf9b2
push 0x101cf98a
push 0x101cf962
push 0x101cf94e
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0xc4]
push 0x101cf908
push ecx
push edx
push ebp
push edi
push ebx
push eax
push 0x12
push 9
push 0x10175154
lea ecx, [esp + 0x5c]
push ecx
call fcn.10001360
add esp, 0x54
push esi
mov esi, dword [esp + 0x10]
push 0
push esi
push 8
call fcn.1004d660
lea eax, [esi - 0x10]
add esp, 0xc
mov byte [esp + 0x84], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
pop esi
jg 0x1004eeb6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebx - 0x10]
mov byte [esp + 0x80], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1004eed8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov byte [esp + 0x80], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1004eefa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov byte [esp + 0x80], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop ebp
pop ebx
jg 0x1004ef1f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x88]
add eax, 0xfffffff0
mov byte [esp + 0x74], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1004ef45
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x8c]
add eax, 0xfffffff0
mov dword [esp + 0x74], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1004ef6e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x68]
call fcn.1010122d
add esp, 0x78
ret