Function at 0x43f320
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x99
push 0
push 0
dec ecx
jne 0x43f328
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43f93e
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x43f958
mov eax, dword [ebp - 8]
call fcn.004355a0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x420]
call fcn.00404ad0
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
add eax, eax
mov eax, dword [ebp + eax*8 - 0x418]
mov edx, dword [ebp - 0x20]
add edx, edx
imul dword [ebp + edx*8 - 0x41c]
xor edx, edx
add dword [ebp - 0x10], eax
adc dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x20]
add eax, eax
mov eax, dword [ebp + eax*8 - 0x414]
xor edx, edx
add dword [ebp - 0x18], eax
adc dword [ebp - 0x14], edx
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0x37
jne 0x43f37c
mov eax, dword [ebp - 0xac]
xor edx, edx
add dword [ebp - 0x10], eax
adc dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xa0]
xor edx, edx
add dword [ebp - 0x10], eax
adc dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xa8]
xor edx, edx
add dword [ebp - 0x18], eax
adc dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x9c]
xor edx, edx
add dword [ebp - 0x18], eax
adc dword [ebp - 0x14], edx
push 0x43f98c
push dword [ebp - 0xc]
push dword [ebp - 0x10]
lea eax, [ebp - 0x428]
call fcn.0042fb20
push dword [ebp - 0x428]
push 0x43f9b8
push dword [ebp - 0x14]
push dword [ebp - 0x18]
lea eax, [ebp - 0x42c]
call fcn.0042fb20
push dword [ebp - 0x42c]
lea eax, [ebp - 0x424]
mov edx, 4
call fcn.00407b84
mov edx, dword [ebp - 0x424]
mov eax, dword [ebp - 8]
call fcn.004355a0
mov edx, 0x43f9e4
mov eax, dword [ebp - 8]
call fcn.004355a0
mov eax, dword [0x4824a0]
mov eax, dword [eax]
cdq
push edx
push eax
lea eax, [ebp - 0x434]
call fcn.0042fb20
mov ecx, dword [ebp - 0x434]
lea eax, [ebp - 0x430]
mov edx, 0x43fa08
call fcn.00407afc
mov edx, dword [ebp - 0x430]
mov eax, dword [ebp - 8]
call fcn.004355a0
mov byte [ebp - 0x19], 0
mov al, byte [ebp - 0x19]
lea edx, [ebp - 0x30]
call fcn.0042d7c0
test al, al
je 0x43f540
xor eax, eax
mov al, byte [ebp - 0x19]
mov edx, dword [0x48235c]
push dword [edx + eax*4]
push 0x43fa2c
mov eax, dword [ebp - 0x30]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x43c]
call fcn.0042fa70
push dword [ebp - 0x43c]
push 0x43fa58
mov eax, dword [ebp - 0x2c]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x440]
call fcn.0042fa70
push dword [ebp - 0x440]
push 0x43fa84
mov eax, dword [ebp - 0x28]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x444]
call fcn.0042fa70
push dword [ebp - 0x444]
push 0x43fab4
lea edx, [ebp - 0x448]
mov eax, dword [ebp - 0x24]
call fcn.00417424
push dword [ebp - 0x448]
lea eax, [ebp - 0x438]
mov edx, 9
call fcn.00407b84
mov edx, dword [ebp - 0x438]
mov eax, dword [ebp - 8]
call fcn.004355a0
inc byte [ebp - 0x19]
cmp byte [ebp - 0x19], 3
jne 0x43f491
mov edx, 0x43fadc
mov eax, dword [ebp - 8]
call fcn.004355a0
lea eax, [ebp - 0x70]
mov edx, 0x40
call fcn.0042d6c0
mov dword [ebp - 0x70], 0x40
lea eax, [ebp - 0x70]
push eax
call sub.KERNEL32.DLL_GlobalMemoryStatusEx
test eax, eax
je 0x43f6f3
mov eax, dword [ebp - 0x6c]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x450]
call fcn.004173ec
mov ecx, dword [ebp - 0x450]
lea eax, [ebp - 0x44c]
mov edx, 0x43fafc
call fcn.00407afc
mov edx, dword [ebp - 0x44c]
mov eax, dword [ebp - 8]
call fcn.004355a0
push dword [ebp - 0x64]
push dword [ebp - 0x68]
lea eax, [ebp - 0x458]
call fcn.0042fa70
mov ecx, dword [ebp - 0x458]
lea eax, [ebp - 0x454]
mov edx, 0x43fb24
call fcn.00407afc
mov edx, dword [ebp - 0x454]
mov eax, dword [ebp - 8]
call fcn.004355a0
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
lea eax, [ebp - 0x460]
call fcn.0042fa70
mov ecx, dword [ebp - 0x460]
lea eax, [ebp - 0x45c]
mov edx, 0x43fb48
call fcn.00407afc
mov edx, dword [ebp - 0x45c]
mov eax, dword [ebp - 8]
call fcn.004355a0
push dword [ebp - 0x54]
push dword [ebp - 0x58]
lea eax, [ebp - 0x468]
call fcn.0042fa70
mov ecx, dword [ebp - 0x468]
lea eax, [ebp - 0x464]
mov edx, 0x43fb6c
call fcn.00407afc
mov edx, dword [ebp - 0x464]
mov eax, dword [ebp - 8]
call fcn.004355a0
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
lea eax, [ebp - 0x470]
call fcn.0042fa70
mov ecx, dword [ebp - 0x470]
lea eax, [ebp - 0x46c]
mov edx, 0x43fb98
call fcn.00407afc
mov edx, dword [ebp - 0x46c]
mov eax, dword [ebp - 8]
call fcn.004355a0
push dword [ebp - 0x44]
push dword [ebp - 0x48]
lea eax, [ebp - 0x478]
call fcn.0042fa70
mov ecx, dword [ebp - 0x478]
lea eax, [ebp - 0x474]
mov edx, 0x43fbc4
call fcn.00407afc
mov edx, dword [ebp - 0x474]
mov eax, dword [ebp - 8]
call fcn.004355a0
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
lea eax, [ebp - 0x480]
call fcn.0042fa70
mov ecx, dword [ebp - 0x480]
lea eax, [ebp - 0x47c]
mov edx, 0x43fbf0
call fcn.00407afc
mov edx, dword [ebp - 0x47c]
mov eax, dword [ebp - 8]
call fcn.004355a0
lea eax, [ebp - 0x98]
mov edx, 0x28
call fcn.0042d6c0
mov dword [ebp - 0x98], 0x28
push 0x28
lea eax, [ebp - 0x98]
push eax
call sub.KERNEL32.DLL_GetCurrentProcess
push eax
call sub.psapi.dll_GetProcessMemoryInfo
test eax, eax
je 0x43f91e
mov eax, dword [ebp - 0x94]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x488]
call fcn.004173ec
mov ecx, dword [ebp - 0x488]
lea eax, [ebp - 0x484]
mov edx, 0x43fc1c
call fcn.00407afc
mov edx, dword [ebp - 0x484]
mov eax, dword [ebp - 8]
call fcn.004355a0
mov eax, dword [ebp - 0x90]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x490]
call fcn.0042fa70
mov ecx, dword [ebp - 0x490]
lea eax, [ebp - 0x48c]
mov edx, 0x43fc4c
call fcn.00407afc
mov edx, dword [ebp - 0x48c]
mov eax, dword [ebp - 8]
call fcn.004355a0
mov eax, dword [ebp - 0x8c]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x498]
call fcn.0042fa70
mov ecx, dword [ebp - 0x498]
lea eax, [ebp - 0x494]
mov edx, 0x43fc84
call fcn.00407afc
mov edx, dword [ebp - 0x494]
mov eax, dword [ebp - 8]
call fcn.004355a0
mov eax, dword [ebp - 0x88]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x4a0]
call fcn.0042fa70
mov ecx, dword [ebp - 0x4a0]
lea eax, [ebp - 0x49c]
mov edx, 0x43fcb4
call fcn.00407afc
mov edx, dword [ebp - 0x49c]
mov eax, dword [ebp - 8]
call fcn.004355a0
mov eax, dword [ebp - 0x84]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x4a8]
call fcn.0042fa70
mov ecx, dword [ebp - 0x4a8]
lea eax, [ebp - 0x4a4]
mov edx, 0x43fcf4
call fcn.00407afc
mov edx, dword [ebp - 0x4a4]
mov eax, dword [ebp - 8]
call fcn.004355a0
mov eax, dword [ebp - 0x80]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x4b0]
call fcn.0042fa70
mov ecx, dword [ebp - 0x4b0]
lea eax, [ebp - 0x4ac]
mov edx, 0x43fd2c
call fcn.00407afc
mov edx, dword [ebp - 0x4ac]
mov eax, dword [ebp - 8]
call fcn.004355a0
mov eax, dword [ebp - 0x7c]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x4b8]
call fcn.0042fa70
mov ecx, dword [ebp - 0x4b8]
lea eax, [ebp - 0x4b4]
mov edx, 0x43fd74
call fcn.00407afc
mov edx, dword [ebp - 0x4b4]
mov eax, dword [ebp - 8]
call fcn.004355a0
mov eax, dword [ebp - 0x78]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x4c0]
call fcn.0042fa70
mov ecx, dword [ebp - 0x4c0]
lea eax, [ebp - 0x4bc]
mov edx, 0x43fdb4
call fcn.00407afc
mov edx, dword [ebp - 0x4bc]
mov eax, dword [ebp - 8]
call fcn.004355a0
mov eax, dword [ebp - 0x74]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x4c8]
call fcn.0042fa70
mov ecx, dword [ebp - 0x4c8]
lea eax, [ebp - 0x4c4]
mov edx, 0x43fde0
call fcn.00407afc
mov edx, dword [ebp - 0x4c4]
mov eax, dword [ebp - 8]
call fcn.004355a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f945
lea eax, [ebp - 0x4c8]
mov edx, 0x2a
call fcn.00406ea4
pop eax
jmp eax