Function at 0x1001b0c0
Capabilities:
Get hostname

Disassembly:
sub esp, 0x63c
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
push edi
push str.GetSystemInfo
push str.kernel32.dll
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x2ac]
xor ebx, ebx
push eax
mov byte [esp + 0x2ac], 0x66
mov byte [esp + 0x5e6], bl
mov dword [esp + 0x2b0], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov edi, dword [esp + 0x65c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x5e8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x1a8], bl
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov dword [esp + 0x14], pe_nt_image_headers32
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x3f
lea edi, [esp + 0x1a9]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
mov esi, 1
push ecx
push edx
push ebx
push esi
push ebx
push ebx
stosw word es:[edi], ax
push ebx
push str.NetSubKey
push 0x80000001
mov dword [esp + 0x3c], esi
stosb byte es:[edi], al
call dword [0x10021354]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1a8]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x24]
push ecx
push edx
push ebx
push 0x10021480
push eax
mov dword [esp + 0x38], esi
call dword [0x10021368]
test eax, eax
jne 0x1001b1be
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x1002136c]
jmp 0x1001b1d1
lea edx, [esp + 0x14]
lea eax, [esp + 0x1a8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov ebx, dword [esp + 0x654]
xor ecx, ecx
mov dword [esp + 0x28], ecx
lea edx, [esp + 0x1c]
mov dword [esp + 0x2c], ecx
lea eax, [esp + 0x28]
mov dword [esp + 0x30], ecx
push edx
mov dword [esp + 0x38], ecx
mov ecx, dword [ebx + 0xa8]
push eax
push ecx
mov dword [esp + 0x28], 0x10
call dword [0x1002146c]
mov edx, dword [esp + 0x2c]
mov ecx, 0xc
lea esi, [esp + 0x1a8]
lea edi, [esp + 0x5b0]
mov dword [esp + 0x5ac], edx
lea eax, [esp + 0x58]
rep movsd dword es:[edi], dword [esi]
push eax
movsw word es:[edi], word [esi]
call dword [esp + 0x28]
mov cx, word [esp + 0x6c]
mov word [esp + 0x348], cx
call fcn.1001b000
push str.GlobalMemoryStatus
push str.kernel32.dll
mov dword [esp + 0x354], eax
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edx, [esp + 0x38]
mov dword [esp + 0x38], 0x20
push edx
call eax
mov eax, dword [esp + 0x40]
shr eax, 0x14
inc eax
mov dword [esp + 0x350], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov eax, 0x31b5d43b
imul edi
sar edx, 0x18
mov ecx, edx
mov esi, dword [0x10021420]
shr ecx, 0x1f
add edx, ecx
push edx
lea edx, [esp + 0xe4]
push 0x1001f100
push edx
call esi
mov eax, edi
mov ecx, 0x5265c00
cdq
idiv ecx
mov eax, 0x4a90be59
lea ecx, [esp + 0x88]
mov edi, edx
imul edi
sar edx, 0x14
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
push 0x1001f100
push ecx
call esi
mov eax, edi
mov ecx, 0x36ee80
cdq
idiv ecx
mov eax, 0x45e7b273
imul edx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
lea ecx, [esp + 0x160]
push 0x1001f100
push ecx
call esi
lea edx, [esp + 0x168]
lea eax, [esp + 0xa0]
push edx
lea ecx, [esp + 0x108]
push eax
push ecx
lea edx, [esp + 0x384]
push 0x1001fce4
push edx
call esi
add esp, 0x38
call fcn.1001b060
lea ecx, [esp + 0x2a8]
mov byte [esp + 0x5e2], al
mov eax, dword [esp + 0x658]
push 0x3a4
push ecx
mov ecx, ebx
mov dword [esp + 0x5ec], eax
call fcn.10002890
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x63c
ret