Function at 0x45d886
Capabilities:
Get disk size
Get hostname
Get memory capacity
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf58
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
push esi
call fcn.0045dcfd
test eax, eax
je 0x45d8b0
push 1
pop eax
jmp 0x45dcf7
mov edx, 0xe00
push edi
cmp ebx, edx
mov dword [ebp + 0xc], edx
ja 0x45dc6d
mov ecx, ebx
lea edi, [ebp - 0xf58]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0xf58]
and eax, 3
and ecx, 3
add eax, ebx
cmp eax, edx
rep movsb byte es:[edi], byte [esi]
ja 0x45dc6d
mov esi, edx
lea ebx, [ebp + eax - 0xf58]
sub esi, eax
mov dword [ebp + 0xc], esi
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push 3
mov dword [ebx], eax
mov eax, ebx
pop edi
and eax, edi
add eax, 4
cmp eax, esi
ja 0x45dc6d
sub dword [ebp + 0xc], eax
add ebx, eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov dword [ebx], eax
mov eax, ebx
and eax, edi
add eax, 4
cmp eax, dword [ebp + 0xc]
ja 0x45dc6d
sub dword [ebp + 0xc], eax
add ebx, eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [ebx], eax
mov eax, ebx
and eax, edi
add eax, 4
cmp eax, dword [ebp + 0xc]
ja 0x45dc6d
sub dword [ebp + 0xc], eax
add ebx, eax
cmp dword [ebp + 0xc], 0x10
jb 0x45dc6d
push ebx
call dword [sym.imp.KERNEL32.DLL_GetLocalTime]
mov eax, ebx
and eax, edi
add eax, 0x10
cmp eax, dword [ebp + 0xc]
ja 0x45dc6d
sub dword [ebp + 0xc], eax
add ebx, eax
cmp dword [ebp + 0xc], 8
jb 0x45dc6d
push ebx
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
mov eax, ebx
and eax, edi
add eax, 8
cmp eax, dword [ebp + 0xc]
ja 0x45dc6d
sub dword [ebp + 0xc], eax
push 0x20
pop esi
add ebx, eax
cmp dword [ebp + 0xc], esi
jb 0x45dc6d
push ebx
mov dword [ebx], esi
call dword [sym.imp.KERNEL32.DLL_GlobalMemoryStatus]
mov eax, ebx
and eax, edi
add eax, esi
cmp eax, dword [ebp + 0xc]
ja 0x45dc6d
sub dword [ebp + 0xc], eax
add ebx, eax
cmp dword [ebp + 0xc], 0x10
jb 0x45dc6d
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
lea eax, [ebx + 4]
push eax
push ebx
push 0
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceA]
mov eax, ebx
and eax, edi
add eax, 0x10
cmp eax, dword [ebp + 0xc]
ja 0x45dc6d
mov ecx, dword [0x541fac]
sub dword [ebp + 0xc], eax
add ebx, eax
mov esi, 0x5420d0
test ecx, ecx
jne 0x45da34
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x10
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetComputerNameA]
test eax, eax
je 0x45da2a
mov ecx, dword [ebp + 8]
mov dword [0x541fac], ecx
jmp 0x45da30
mov ecx, dword [0x541fac]
test ecx, ecx
je 0x45da69
cmp dword [ebp + 0xc], ecx
jb 0x45dc6d
mov eax, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, ebx
and ecx, 3
and eax, 3
rep movsb byte es:[edi], byte [esi]
add eax, dword [0x541fac]
cmp eax, dword [ebp + 0xc]
ja 0x45dc6d
push 3
add ebx, eax
sub dword [ebp + 0xc], eax
pop edi
mov ecx, dword [0x541e50]
mov esi, 0x5420e0
test ecx, ecx
jne 0x45daa6
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x101
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x45da9c
mov eax, dword [ebp + 8]
lea ecx, [eax - 1]
mov dword [0x541e50], ecx
jmp 0x45daa2
mov ecx, dword [0x541e50]
test ecx, ecx
je 0x45dadb
cmp dword [ebp + 0xc], ecx
jb 0x45dc6d
mov eax, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, ebx
and ecx, 3
and eax, 3
rep movsb byte es:[edi], byte [esi]
add eax, dword [0x541e50]
cmp eax, dword [ebp + 0xc]
ja 0x45dc6d
push 3
add ebx, eax
sub dword [ebp + 0xc], eax
pop edi
call fcn.0045dd9f
test eax, eax
jne 0x45db26
cmp dword [ebp + 0xc], 8
jb 0x45dc6d
push ebx
call dword [0x5421f0]
mov eax, ebx
and eax, edi
add eax, 8
cmp eax, dword [ebp + 0xc]
ja 0x45dc6d
sub dword [ebp + 0xc], eax
add ebx, eax
cmp dword [ebp + 0xc], 4
jb 0x45dc6d
call dword [0x5421f4]
mov dword [ebx], eax
and ebx, edi
add ebx, 4
jmp 0x45dc65
push 0x40
pop eax
cmp dword [ebp + 0xc], eax
mov dword [ebp - 4], eax
jb 0x45dc6d
lea eax, [ebp - 4]
push eax
push ebx
call fcn.004acfd9
test eax, eax
je 0x45db58
mov eax, ebx
and eax, edi
add eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
ja 0x45dc6d
add ebx, eax
sub dword [ebp + 0xc], eax
mov eax, dword [0x5421e4]
test eax, eax
je 0x45dc6d
cmp dword [ebp + 0xc], 0x30
jb 0x45dc6d
lea ecx, [ebp + 8]
push ecx
push 0x30
push ebx
push 8
call eax
test eax, eax
jl 0x45db93
mov eax, ebx
and eax, edi
add eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
ja 0x45dc6d
add ebx, eax
sub dword [ebp + 0xc], eax
mov eax, pe_nt_image_headers32
cmp dword [ebp + 0xc], eax
jb 0x45dc6d
lea ecx, [ebp + 8]
push ecx
push eax
push ebx
push 2
call dword [0x5421e4]
test eax, eax
jl 0x45dbc8
mov eax, ebx
and eax, edi
add eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
ja 0x45dc6d
add ebx, eax
sub dword [ebp + 0xc], eax
cmp dword [ebp + 0xc], 0x10
jb 0x45dc6d
lea eax, [ebp + 8]
push eax
push 0x10
push ebx
push 0x21
call dword [0x5421e4]
test eax, eax
jl 0x45dbf6
mov eax, ebx
and eax, edi
add eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
ja 0x45dc6d
add ebx, eax
sub dword [ebp + 0xc], eax
cmp dword [ebp + 0xc], 0x20
jb 0x45dc6d
lea eax, [ebp + 8]
push eax
push 0x20
push ebx
push 0x2d
call dword [0x5421e4]
test eax, eax
jl 0x45dc20
mov eax, ebx
and eax, edi
add eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
ja 0x45dc6d
add ebx, eax
sub dword [ebp + 0xc], eax
mov esi, dword [ebp + 0xc]
lea eax, [ebp + 8]
push eax
push esi
push ebx
push 0x17
mov dword [ebp + 8], esi
call dword [0x5421e4]
test eax, eax
jl 0x45dc48
mov eax, ebx
and eax, edi
add eax, dword [ebp + 8]
cmp eax, esi
ja 0x45dc6d
add ebx, eax
sub dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp + 8]
push ecx
push eax
push ebx
push 5
mov dword [ebp + 8], eax
call dword [0x5421e4]
test eax, eax
jl 0x45dc6d
and ebx, edi
add ebx, dword [ebp + 8]
cmp ebx, dword [ebp + 0xc]
ja 0x45dc6d
sub dword [ebp + 0xc], ebx
mov ebx, 0x541e58
lea eax, [ebp - 0x158]
push ebx
push 0x50
push eax
call fcn.0045f671
mov eax, 0xe00
push ebx
sub eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0xf58]
push eax
call fcn.0045f6ef
push 0x14
mov dword [ebp + 0xc], eax
pop ecx
lea eax, [ebp - 0x54]
push eax
mov esi, ebx
lea edi, [ebp - 0x54]
lea eax, [ebp - 0x158]
push 0x50
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0045f610
lea eax, [ebp - 0x54]
push 0x50
push eax
call fcn.0045f595
push ebx
lea eax, [ebp - 0x158]
push 0x50
push eax
call fcn.0045f671
push dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
push dword [eax]
lea eax, [ebp - 0x158]
push eax
call fcn.0045f610
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x158]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0x10