Function at 0x1004e020
Capabilities:
Get hostname

Disassembly:
push 0xffffffffffffffff
push 0x101629f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
mov eax, dword [0x101b9578]
mov ecx, dword [0x101cfd7c]
mov dword [esp + 0x64], eax
xor eax, eax
mov dword [esp + 0x11], eax
mov dword [esp + 0x15], eax
mov dword [esp + 0x19], eax
mov dword [esp + 0x1d], eax
mov word [esp + 0x21], ax
inc ecx
mov dword [0x101cfd7c], ecx
mov byte [esp + 0x10], 0
mov byte [esp + 0x23], al
push eax
call fcn.10102351
add esp, 4
push str._Y__m__d__H:_M:_S
lea ecx, [esp + 4]
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
call fcn.100153c0
mov edx, dword [eax]
push edx
lea eax, [esp + 0x14]
push 0x10167f04
push eax
call fcn.10101c69
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1004e0c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push esi
push edi
xor eax, eax
mov byte [esp + 0x2c], 0
mov ecx, 0xf
lea edi, [esp + 0x2d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x14], 0x3f
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov esi, dword [esp + 0x80]
mov edx, dword [esi + 0x18]
mov eax, dword [edx - 0xc]
test eax, eax
lea edi, [esi + 0x18]
jne 0x1004e126
mov eax, 0x101cf010
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1004e110
sub eax, edx
push eax
push 0x101cf010
mov ecx, edi
call fcn.100025e0
call fcn.10152999
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x80], eax
mov ecx, dword [esi + 0x7c]
mov eax, dword [0x101cf008]
test eax, eax
mov edx, dword [esi + 0x78]
push ecx
mov dword [esp + 0x7c], 0
push edx
je 0x1004e230
mov ecx, dword [esi + 0x74]
push ecx
mov edx, dword [esi + 0x70]
push edx
mov ecx, dword [esi + 0x6c]
push ecx
mov edx, dword [esi + 0x68]
push edx
mov ecx, dword [esi + 0x64]
push ecx
mov edx, dword [0x101cfd7c]
push edx
push 0x10167a1b
push 0x10167a1b
mov edx, dword [0x101cf19c]
lea ecx, [esp + 0x54]
push ecx
push edx
push 0x101cf18a
push 0x101cf162
push 0x101cf13a
push 0x101cf126
mov edx, dword [esi + 0x60]
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esi + 0x5c]
push 0x101cf0e0
push 0x10167a1b
push edx
push ecx
mov edx, dword [esi + 0x58]
push edx
mov ecx, dword [esi + 0x54]
push ecx
mov edx, dword [esi + 0x50]
push edx
mov ecx, dword [esi + 0x4c]
mov edx, dword [esi + 0x48]
push ecx
mov ecx, dword [esi + 0x44]
push edx
mov edx, dword [esi + 0x40]
push ecx
mov ecx, dword [esi + 0x3c]
push edx
mov edx, dword [esi + 0x38]
push ecx
mov ecx, dword [esi + 0x34]
push edx
mov edx, dword [esi + 0x30]
push ecx
mov ecx, dword [esi + 0x2c]
push edx
mov edx, dword [esi + 0x28]
push ecx
mov ecx, dword [esi + 0x24]
push edx
mov edx, dword [esi + 0x20]
push ecx
mov ecx, dword [esi + 0x1c]
push edx
mov edx, dword [edi]
push ecx
mov ecx, dword [esi + 0x14]
push edx
mov edx, dword [esi + 0x10]
push ecx
mov ecx, dword [esi + 0xc]
push edx
mov edx, dword [esi + 8]
push ecx
mov ecx, dword [esi + 4]
push edx
mov edx, dword [esi]
push ecx
mov ecx, dword [0x101cf074]
push edx
mov edx, dword [esp + 0x134]
push 0x101cf010
push 0x101cf078
push ecx
push edx
push 0x17
push eax
jmp 0x1004e303
mov eax, dword [esi + 0x74]
push eax
mov ecx, dword [esi + 0x70]
push ecx
mov edx, dword [esi + 0x6c]
push edx
mov eax, dword [esi + 0x68]
push eax
mov ecx, dword [esi + 0x64]
push ecx
mov edx, dword [0x101cfd7c]
push edx
push 0x10167a1b
push 0x10167a1b
mov ecx, dword [0x101cf9c4]
lea eax, [esp + 0x54]
push eax
push ecx
push 0x101cf9b2
push 0x101cf98a
push 0x101cf962
push 0x101cf94e
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x5c]
lea edx, [esp + 0x58]
push edx
push 0x101cf908
mov edx, dword [esi + 0x58]
push 0x10167a1b
push eax
push ecx
mov eax, dword [esi + 0x54]
push edx
mov ecx, dword [esi + 0x50]
mov edx, dword [esi + 0x4c]
push eax
mov eax, dword [esi + 0x48]
push ecx
mov ecx, dword [esi + 0x44]
push edx
mov edx, dword [esi + 0x40]
push eax
mov eax, dword [esi + 0x3c]
push ecx
mov ecx, dword [esi + 0x38]
push edx
mov edx, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x30]
push ecx
mov ecx, dword [esi + 0x2c]
push edx
mov edx, dword [esi + 0x28]
push eax
mov eax, dword [esi + 0x24]
push ecx
mov ecx, dword [esi + 0x20]
push edx
mov edx, dword [esi + 0x1c]
push eax
mov eax, dword [edi]
push ecx
mov ecx, dword [esi + 0x14]
push edx
mov edx, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 8]
push edx
mov edx, dword [esi + 4]
push eax
mov eax, dword [esi]
push ecx
mov ecx, dword [0x101cf074]
push edx
mov edx, dword [esp + 0x130]
push eax
push 0x101cf010
push 0x101cf078
push ecx
push edx
push 0x17
push 9
lea eax, [esp + 0x148]
push 0x10174ee8
push eax
call fcn.10001360
mov esi, dword [esp + 0x150]
add esp, 0xd0
push esi
push 0x10167f04
push 2
call fcn.1001b560
push 0
push esi
push 9
call fcn.1004d660
lea eax, [esi - 0x10]
add esp, 0x18
mov dword [esp + 0x78], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
jg 0x1004e360
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x64]
call fcn.1010122d
add esp, 0x74
ret