Function at 0x428340
Capabilities:
Get disk size
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51637d
mov eax, dword fs:[0]
push eax
sub esp, 0x344
mov eax, dword [0x56e754]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edx, 0x573cd8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x278]
call fcn.004397a0
push 0x546720
mov byte [ebp - 4], 1
mov ecx, dword [eax]
push 2
call fcn.0041ed30
mov byte [ebp - 4], 2
or ebx, 0xffffffff
mov esi, dword [ebp - 0x274]
test esi, esi
je 0x4283ca
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x4283ca
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x4283ca
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0
call fcn.004b61d1
push 0
push 0x989680
push edx
push eax
call fcn.00513f40
sub esp, 8
mov dword [ebp - 0x2a0], eax
lea ecx, [ebp - 0x350]
mov dword [ebp - 0x29c], edx
call fcn.0042b320
lea eax, [ebp - 0x2a0]
mov byte [ebp - 4], 3
push eax
call fcn.004f996e
mov dword [ebp - 0x290], eax
add esp, 4
mov dword [ebp - 0x28c], str._m__d__Y__X__UTC_z_
mov eax, str._m__d__Y__X__UTC_z_
inc eax
mov dword [ebp - 0x288], eax
cmp byte [eax], 0
jne 0x428423
lea edx, [ebp - 0x290]
lea ecx, [ebp - 0x340]
call fcn.0042f0d0
push 0x40
lea eax, [ebp - 0x270]
push 0
push eax
call fcn.004e2e60
add esp, 0xc
mov dword [ebp - 0x270], 0x40
lea eax, [ebp - 0x270]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0x26c]
push 0
push 0xf4240
push dword [ebp - 0x264]
mov dword [ebp - 0x294], eax
push dword [ebp - 0x268]
call fcn.004cb280
push 0
push 0xf4240
push dword [ebp - 0x25c]
mov dword [ebp - 0x280], eax
push dword [ebp - 0x260]
mov dword [ebp - 0x27c], edx
call fcn.004cb280
mov dword [ebp - 0x274], edx
lea ecx, [ebp - 0x28c]
mov edx, 0x574a40
mov dword [ebp - 0x278], eax
call fcn.004397a0
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 4
push ecx
lea ecx, [ebp - 0x280]
push ecx
lea ecx, [ebp - 0x278]
push ecx
mov ecx, dword [eax]
sub esp, 8
call fcn.00431fa0
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x288]
test esi, esi
je 0x42851e
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x42851e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x42851e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push 0
push 0xf4240
mov byte [ebp - 4], 3
push dword [ebp - 0x244]
push dword [ebp - 0x248]
call fcn.004cb280
push 0
push 0xf4240
push dword [ebp - 0x23c]
mov dword [ebp - 0x278], eax
push dword [ebp - 0x240]
mov dword [ebp - 0x274], edx
call fcn.004cb280
mov dword [ebp - 0x27c], edx
lea ecx, [ebp - 0x28c]
mov edx, 0x574a40
mov dword [ebp - 0x280], eax
call fcn.004397a0
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 6
push ecx
lea ecx, [ebp - 0x280]
push ecx
mov ecx, dword [eax]
sub esp, 8
call fcn.00432060
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x288]
test esi, esi
je 0x4285c3
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x4285c3
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x4285c3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x230]
push 3
xor eax, eax
mov dword [ebp - 0x220], 0
push 0x546834
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.0041b490
push str.APPDATA
mov byte [ebp - 4], 9
call fcn.004fa017
add esp, 4
test eax, eax
je 0x4286bd
lea ecx, [ebp - 0x278]
push ecx
lea ecx, [ebp - 0x280]
push ecx
lea ecx, [ebp - 0x290]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x4286bd
push 0
push 0xf4240
push dword [ebp - 0x274]
push dword [ebp - 0x278]
call fcn.004cb280
push 0
push 0xf4240
push dword [ebp - 0x27c]
mov edi, eax
mov esi, edx
push dword [ebp - 0x280]
call fcn.004cb280
add eax, edi
adc edx, esi
push edx
push eax
push esi
push edi
lea eax, [ebp - 0x218]
push str._I64d__I64d_MB_free
push eax
call fcn.0042f370
lea ecx, [ebp - 0x218]
add esp, 0x18
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x428690
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.0041b490
jmp 0x4286bd
mov dword [ebp - 4], 8
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x28c]
mov edx, 0x574a40
cmovae eax, dword [ebp - 0x230]
mov dword [ebp - 0x294], eax
call fcn.004397a0
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 0xb
push ecx
mov ecx, dword [eax]
push str.Appdata_drive_space_:__s
push 2
call fcn.0041eb40
mov byte [ebp - 4], 0xc
mov esi, dword [ebp - 0x288]
test esi, esi
je 0x428734
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x428734
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x428734
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edx, 0x573cd8
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28c]
call fcn.004397a0
push 0x546720
mov byte [ebp - 4], 0xd
mov ecx, dword [eax]
push 2
call fcn.0041ed30
mov byte [ebp - 4], 0xe
mov esi, dword [ebp - 0x288]
test esi, esi
je 0x428786
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x428786
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x428786
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x230]
call fcn.0041b400
lea ecx, [ebp - 0x350]
call fcn.004267b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004ca771
mov esp, ebp
pop ebp
ret