Function at 0x53d070
Capabilities:
Get disk size
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6156
mov eax, dword fs:[0]
push eax
sub esp, 0x974
mov eax, dword [0x62d12c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
push edi
push edi
mov ebx, ecx
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
lea ecx, [ebp - 0x93c]
call fcn.0050e880
mov dword [ebp - 4], edi
push edi
lea ecx, [ebp - 0x93c]
call fcn.0050ef60
test al, al
jne 0x53d145
mov eax, dword [ebx + 8]
push eax
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53d990
push 0x3fe
lea edx, [ebp - 0x4d6]
xor ecx, ecx
push edi
push edx
mov word [ebp - 0x4d8], cx
call fcn.0055aed0
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push str._ENV__Cannot_open_CPU_config_registry_key:__s
lea eax, [ebp - 0x4d8]
push 0x1ff
push eax
call fcn.005301b0
mov ecx, dword [ebx + 8]
push ecx
call fcn.0053a1b0
add esp, 0x20
test al, al
je 0x53d990
push 0x62b628
push 0x2ac
push str.ReportEnvironment::ReportSystemInfo
lea edx, [ebp - 0x4d8]
push edx
push edi
push edi
push edi
push 1
jmp 0x53d988
push 0xc6
lea edx, [ebp - 0xd6]
xor ecx, ecx
push edi
push edx
mov word [ebp - 0xd8], cx
call fcn.0055aed0
add esp, 0xc
push 0x64
lea eax, [ebp - 0xd8]
push eax
push str.Identifier
lea ecx, [ebp - 0x93c]
call fcn.0050d810
test al, al
je 0x53d1fb
mov ecx, dword [ebx + 8]
push ecx
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53d1fb
push 0x3fe
lea eax, [ebp - 0x4d6]
xor edx, edx
push edi
push eax
mov word [ebp - 0x4d8], dx
call fcn.0055aed0
lea ecx, [ebp - 0xd8]
push ecx
push str._ENV__Processor_Identifier:__s
lea edx, [ebp - 0x4d8]
push 0x1ff
push edx
call fcn.005301b0
mov eax, dword [ebx + 8]
push eax
call fcn.0053a1b0
add esp, 0x20
test al, al
je 0x53d1fb
mov edx, dword [ebx + 8]
push 0x62b628
push 0x2b5
push str.ReportEnvironment::ReportSystemInfo
lea ecx, [ebp - 0x4d8]
push ecx
push edi
push edi
push edi
push 3
call edx
add esp, 0x20
push 0xc8
lea eax, [ebp - 0xd8]
push edi
push eax
call fcn.0055aed0
add esp, 0xc
push 0x64
lea ecx, [ebp - 0xd8]
push ecx
push str.VendorIdentifier
lea ecx, [ebp - 0x93c]
call fcn.0050d810
test al, al
je 0x53d2a8
mov edx, dword [ebx + 8]
push edx
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53d2a8
push 0x3fe
lea ecx, [ebp - 0x4d6]
xor eax, eax
push edi
push ecx
mov word [ebp - 0x4d8], ax
call fcn.0055aed0
lea edx, [ebp - 0xd8]
push edx
push str._ENV__Processor_Vendor_Identifier:__s
lea eax, [ebp - 0x4d8]
push 0x1ff
push eax
call fcn.005301b0
mov ecx, dword [ebx + 8]
push ecx
call fcn.0053a1b0
add esp, 0x20
test al, al
je 0x53d2a8
mov eax, dword [ebx + 8]
push 0x62b628
push 0x2bd
push str.ReportEnvironment::ReportSystemInfo
lea edx, [ebp - 0x4d8]
push edx
push edi
push edi
push edi
push 3
call eax
add esp, 0x20
push 0xc8
lea ecx, [ebp - 0xd8]
push edi
push ecx
call fcn.0055aed0
add esp, 0xc
push 0x64
lea edx, [ebp - 0xd8]
push edx
push str.ProcessorNameString
lea ecx, [ebp - 0x93c]
call fcn.0050d810
test al, al
je 0x53d3f7
xor eax, eax
mov word [ebp - 0x8f4], ax
lea eax, [ebp - 0xd8]
mov dword [ebp - 0x8e0], 7
mov dword [ebp - 0x8e4], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x53d300
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0xd8]
push ecx
lea ecx, [ebp - 0x8f4]
call fcn.00422a20
mov byte [ebp - 4], 1
lea edx, [ebp - 0x8f4]
push edx
call fcn.0053cc90
mov eax, dword [ebx + 8]
push eax
call fcn.0053a1b0
add esp, 8
mov esi, 8
test al, al
je 0x53d3c3
push 0x3fe
lea edx, [ebp - 0x4d6]
xor ecx, ecx
push edi
push edx
mov word [ebp - 0x4d8], cx
call fcn.0055aed0
mov eax, dword [ebp - 0x8f4]
add esp, 0xc
cmp dword [ebp - 0x8e0], esi
jae 0x53d379
lea eax, [ebp - 0x8f4]
push eax
push str._ENV__Processor_Name_String:__s
lea eax, [ebp - 0x4d8]
push 0x1ff
push eax
call fcn.005301b0
mov ecx, dword [ebx + 8]
push ecx
call fcn.0053a1b0
add esp, 0x14
test al, al
je 0x53d3c3
mov eax, dword [ebx + 8]
push 0x62b628
push 0x2c6
push str.ReportEnvironment::ReportSystemInfo
lea edx, [ebp - 0x4d8]
push edx
push edi
push edi
push edi
push 3
call eax
add esp, 0x20
mov byte [ebp - 4], 0
cmp dword [ebp - 0x8e0], esi
jb 0x53d3de
mov ecx, dword [ebp - 0x8f4]
push ecx
call fcn.00558723
add esp, 4
xor edx, edx
mov dword [ebp - 0x8e0], 7
mov dword [ebp - 0x8e4], edi
mov word [ebp - 0x8f4], dx
push 4
lea eax, [ebp - 0xd8]
push eax
push str.MHz
lea ecx, [ebp - 0x93c]
call fcn.0050d810
test al, al
je 0x53d489
mov ecx, dword [ebx + 8]
push ecx
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53d489
push 0x3fe
lea eax, [ebp - 0x4d6]
xor edx, edx
push edi
push eax
mov word [ebp - 0x4d8], dx
call fcn.0055aed0
push edi
push str._ENV__Processor_Speed:__d
lea ecx, [ebp - 0x4d8]
push 0x1ff
push ecx
call fcn.005301b0
mov edx, dword [ebx + 8]
push edx
call fcn.0053a1b0
add esp, 0x20
test al, al
je 0x53d489
mov ecx, dword [ebx + 8]
push 0x62b628
push 0x2ce
push str.ReportEnvironment::ReportSystemInfo
lea eax, [ebp - 0x4d8]
push eax
push edi
push edi
push edi
push 3
call ecx
add esp, 0x20
lea ecx, [ebp - 0x93c]
call fcn.0050b020
lea edx, [ebp - 0x980]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebx + 8]
push eax
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53d51c
push 0x3fe
lea edx, [ebp - 0x4d6]
xor ecx, ecx
push edi
push edx
mov word [ebp - 0x4d8], cx
call fcn.0055aed0
mov eax, dword [ebp - 0x96c]
push eax
push str._ENV__Number_of_Processors:__d
lea ecx, [ebp - 0x4d8]
push 0x1ff
push ecx
call fcn.005301b0
mov edx, dword [ebx + 8]
push edx
call fcn.0053a1b0
add esp, 0x20
test al, al
je 0x53d51c
mov ecx, dword [ebx + 8]
push 0x62b628
push 0x2d4
push str.ReportEnvironment::ReportSystemInfo
lea eax, [ebp - 0x4d8]
push eax
push edi
push edi
push edi
push 3
call ecx
add esp, 0x20
push ebx
call fcn.0053aeb0
add esp, 4
push str.GetDiskFreeSpaceExA
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x53d5f6
lea edx, [ebp - 0x944]
push edx
lea ecx, [ebp - 0x94c]
push ecx
lea edx, [ebp - 0x954]
push edx
push edi
call eax
mov eax, dword [ebx + 8]
push eax
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53d6b2
push 0x3fe
lea edx, [ebp - 0x4d6]
xor ecx, ecx
push edi
push edx
mov word [ebp - 0x4d8], cx
call fcn.0055aed0
mov eax, dword [ebp - 0x940]
mov ecx, dword [ebp - 0x944]
mov edx, dword [ebp - 0x948]
push eax
mov eax, dword [ebp - 0x94c]
push ecx
push edx
push eax
push str._ENV__Total_HD_bytes:__I64d__Total_free_bytes___I64d
lea ecx, [ebp - 0x4d8]
push 0x1ff
push ecx
call fcn.005301b0
mov edx, dword [ebx + 8]
push edx
call fcn.0053a1b0
add esp, 0x2c
test al, al
je 0x53d6b2
mov ecx, dword [ebx + 8]
push 0x62b628
push 0x2e3
push str.ReportEnvironment::ReportSystemInfo
lea eax, [ebp - 0x4d8]
push eax
push edi
push edi
push edi
push 3
call ecx
jmp 0x53d6af
lea edx, [ebp - 0x940]
push edx
lea eax, [ebp - 0x948]
push eax
lea ecx, [ebp - 0x950]
push ecx
lea edx, [ebp - 0x958]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov eax, dword [ebx + 8]
push eax
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53d6b2
push 0x3fe
lea edx, [ebp - 0x4d6]
xor ecx, ecx
push edi
push edx
mov word [ebp - 0x4d8], cx
call fcn.0055aed0
mov eax, dword [ebp - 0x958]
imul eax, dword [ebp - 0x950]
mov ecx, eax
imul eax, dword [ebp - 0x940]
imul ecx, dword [ebp - 0x948]
push edi
push ecx
push edi
push eax
push str._ENV__Total_HD_bytes:__I64d__Total_free_bytes__I64d
lea edx, [ebp - 0x4d8]
push 0x1ff
push edx
call fcn.005301b0
mov eax, dword [ebx + 8]
push eax
call fcn.0053a1b0
add esp, 0x2c
test al, al
je 0x53d6b2
mov edx, dword [ebx + 8]
push 0x62b628
push 0x2f0
push str.ReportEnvironment::ReportSystemInfo
lea ecx, [ebp - 0x4d8]
push ecx
push edi
push edi
push edi
push 3
call edx
add esp, 0x20
mov eax, dword [ebx + 8]
push eax
call fcn.0053b710
mov esi, eax
mov edi, edx
mov ecx, esi
and ecx, edi
add esp, 4
cmp ecx, 0xffffffff
je 0x53d7fb
test edi, edi
jl 0x53d7fb
jg 0x53d6e1
test esi, esi
je 0x53d7fb
push 0
push 0x15180
push edi
push esi
call fcn.00566880
push 0xffffffffffffffff
push 0xfffeae80
push edx
push eax
mov dword [ebp - 0x95c], eax
call fcn.0055db50
push 0
add esi, eax
push 0xe10
adc edi, edx
push edi
push esi
call fcn.00566880
push 0xffffffffffffffff
push 0xfffff1f0
push edx
push eax
mov dword [ebp - 0x954], eax
call fcn.0055db50
push 0
add esi, eax
push 0x3c
adc edi, edx
push edi
push esi
call fcn.00566880
mov dword [ebp - 0x940], edx
mov ecx, eax
shld edx, ecx, 4
shl ecx, 4
sub ecx, eax
sbb edx, dword [ebp - 0x940]
mov dword [ebp - 0x94c], eax
shld edx, ecx, 2
add ecx, ecx
add ecx, ecx
sub esi, ecx
sbb edi, edx
mov edx, dword [ebx + 8]
push edx
mov dword [ebp - 0x940], edi
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53d874
xor eax, eax
push 0x3fe
push eax
lea ecx, [ebp - 0x4d6]
push ecx
mov word [ebp - 0x4d8], ax
call fcn.0055aed0
mov edx, dword [ebp - 0x94c]
mov eax, dword [ebp - 0x954]
mov ecx, dword [ebp - 0x95c]
push esi
push edx
push eax
push ecx
push str._ENV__System_up_time:__d_days__02d_hrs__02d_mins__02d_secs
lea edx, [ebp - 0x4d8]
push 0x1ff
push edx
call fcn.005301b0
mov eax, dword [ebx + 8]
push eax
call fcn.0053a1b0
add esp, 0x2c
test al, al
je 0x53d874
mov edx, dword [ebx + 8]
push 0x62b628
push 0x302
push str.ReportEnvironment::ReportSystemInfo
lea ecx, [ebp - 0x4d8]
push ecx
push 0
push 0
push 0
push 3
call edx
jmp 0x53d871
mov eax, dword [ebx + 8]
push eax
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53d874
xor ecx, ecx
push 0x3fe
push ecx
lea edx, [ebp - 0x4d6]
push edx
mov word [ebp - 0x4d8], cx
call fcn.0055aed0
push edi
push esi
push str._ENV__Could_not_get_System_up_time_information.___I64d_
lea eax, [ebp - 0x4d8]
push 0x1ff
push eax
call fcn.005301b0
mov ecx, dword [ebx + 8]
push ecx
call fcn.0053a1b0
add esp, 0x24
test al, al
je 0x53d874
mov eax, dword [ebx + 8]
push 0x62b628
push 0x306
push str.ReportEnvironment::ReportSystemInfo
lea edx, [ebp - 0x4d8]
push edx
push 0
push 0
push 0
push 3
call eax
add esp, 0x20
xor ecx, ecx
mov word [ebp - 0x2e0], cx
call fcn.00566a55
mov edx, dword [eax + 4]
cmp byte [edx], 0
je 0x53d894
call fcn.00566a55
mov eax, dword [eax + 4]
jmp 0x53d8ae
call fcn.00566a55
mov eax, dword [eax]
cmp byte [eax], 0
je 0x53d8a9
call fcn.00566a55
mov eax, dword [eax]
jmp 0x53d8ae
mov eax, 0x5e8923
push 0x104
lea ecx, [ebp - 0x2e0]
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor esi, esi
xor edi, edi
call fcn.00566a4f
mov eax, dword [eax]
cdq
mov ecx, eax
xor ecx, edx
sub ecx, edx
je 0x53d8f4
mov eax, 0x88888889
mul ecx
shr edx, 5
mov eax, edx
xor edx, edx
mov ecx, 0x3c
div ecx
mov esi, eax
mov edi, edx
mov edx, dword [ebx + 8]
push edx
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53d990
xor eax, eax
push 0x3fe
push eax
lea ecx, [ebp - 0x8d6]
push ecx
mov word [ebp - 0x8d8], ax
call fcn.0055aed0
add esp, 0xc
call fcn.00566a4f
cmp dword [eax], 0
mov eax, 0x5e4894
jg 0x53d93a
mov eax, 0x5dcd90
push edi
push esi
push eax
lea edx, [ebp - 0x2e0]
push edx
push str._ENV__Local_Time_Zone:__s__GMT_s_02d:_02d_
lea eax, [ebp - 0x8d8]
push 0x1ff
push eax
call fcn.005301b0
mov ecx, dword [ebx + 8]
push ecx
call fcn.0053a1b0
add esp, 0x20
test al, al
je 0x53d990
push 0x62b628
push 0x31a
push str.ReportEnvironment::ReportSystemInfo
lea edx, [ebp - 0x8d8]
push edx
push 0
push 0
push 0
push 3
mov eax, dword [ebx + 8]
call eax
add esp, 0x20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x93c]
call fcn.0050e450
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00558b78
mov esp, ebp
pop ebp
ret