Function at 0x43a582
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
mov ecx, 0x547de4
call fcn.0043eb66
push 5
mov eax, 0x547e08
pop esi
xor ebx, ebx
mov edx, dword [eax]
mov ecx, dword [eax - 4]
mov dword [eax], ecx
sub ecx, edx
mov dword [eax + 4], ecx
mov ecx, dword [eax - 8]
add dword [eax + 8], ecx
mov dword [eax - 8], ebx
mov dword [eax + 0x10], ecx
adc dword [eax + 0xc], ebx
add eax, 0x1c
dec esi
jne 0x43a59f
cmp byte [0x547d91], bl
je 0x43a5d3
mov esi, dword [0x547da4]
shl esi, 0x14
jmp 0x43a5d9
mov esi, dword [0x547d80]
movzx eax, byte [0x547d98]
neg eax
sbb eax, eax
and eax, esi
mov dword [0x547eb4], eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalMemoryStatus]
push ebx
push esi
push ebx
push dword [ebp - 0x28]
call fcn.00408dc3
push ebx
push eax
mov eax, dword [ebp - 0x18]
add eax, 0xf3800000
push ebx
push eax
call fcn.00408dc3
push ebx
push dword [0x547eb4]
mov esi, eax
push ebx
push dword [0x547eb0]
xor ecx, ecx
call fcn.00408dc3
sub esi, eax
sbb ecx, edx
mov eax, 0x100000
jne 0x43a637
cmp esi, eax
jbe 0x43a63c
mov dword [ebp - 4], ecx
jmp 0x43a641
mov esi, eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], esi
cmp byte [0x547d9b], bl
je 0x43a75c
cmp byte [0x547d9c], bl
je 0x43a677
mov eax, dword [0x547eac]
neg eax
sbb eax, eax
and eax, 0xffff63c0
add eax, 0x13880
cmp dword [0x548dd0], eax
jb 0x43a75c
cmp byte [0x547d92], bl
jne 0x43a68a
mov dword [0x547eac], esi
jmp 0x43a762
call fcn.004840d5
mov esi, dword [0x547eb0]
mov ecx, dword [0x547eb4]
xor edx, edx
xor edi, edi
add eax, eax
sub ecx, esi
sbb edx, edi
add ecx, eax
mov esi, ebx
adc edx, esi
mov dword [ebp - 0xc], ebx
cmp esi, edx
ja 0x43a6bc
jb 0x43a6b8
cmp eax, ecx
ja 0x43a6bc
mov eax, ecx
mov esi, edx
mov ecx, dword [ebp - 0x18]
xor edx, edx
sub ecx, eax
mov eax, dword [0x547da8]
sbb edx, esi
shrd ecx, edx, 1
shr edx, 1
push edx
push ecx
push ebx
push dword [ebp - 8]
cdq
push ebx
push dword [0x548dd0]
push edx
push eax
call fcn.00401270
mov ecx, dword [0x547ec0]
xor esi, esi
add eax, ecx
adc edx, esi
add eax, 0x100000
adc edx, ebx
push edx
push eax
call fcn.00408dc3
push edx
push eax
call fcn.00408dc3
mov dword [0x547eac], eax
cmp byte [0x547d9e], bl
je 0x43a762
mov esi, 0x1d4c0
sub esi, dword [0x547ebc]
cmp dword [0x547ec4], ebx
je 0x43a72f
cmp eax, dword [ebp - 8]
jne 0x43a733
cmp edx, ebx
jne 0x43a733
cmp esi, ebx
jge 0x43a768
cmp dword [0x547ec4], ebx
je 0x43a741
dec dword [0x547ec4]
lea eax, [ecx + esi]
mov ecx, 0x1000000
cmp eax, ecx
jle 0x43a74f
mov eax, ecx
cmp eax, ebx
jge 0x43a755
xor eax, eax
mov dword [0x547ec0], eax
jmp 0x43a768
mov dword [0x547eac], ebx
mov dword [0x547ec0], ebx
mov esi, 0x549330
mov ecx, esi
call fcn.0043eb66
mov ecx, dword [0x547ea8]
mov eax, dword [0x547eac]
cmp ecx, eax
jbe 0x43a78a
sub ecx, eax
call fcn.0047ca3b
call fcn.0047c952
test eax, eax
je 0x43a7cb
call fcn.0047c952
lea edi, [eax + 0x14]
call fcn.004a3d45
sub eax, dword [edi]
mov dword [0x547ebc], eax
cmp byte [0x547d9d], bl
je 0x43a7d1
mov ecx, dword [0x547d94]
imul ecx, ecx, 0xea60
cmp eax, ecx
jb 0x43a7d1
mov eax, ecx
cdq
push edx
push eax
call fcn.0047ca79
jmp 0x43a7d1
mov dword [0x547ebc], ebx
mov ecx, esi
call fcn.0043ebe4
mov eax, dword [0x547ed8]
push 0x14
pop ecx
pop edi
inc eax
cmp eax, ecx
pop esi
pop ebx
mov dword [0x547ed8], eax
jl 0x43a7f3
mov dword [0x547ed8], ecx
mov ecx, 0x547de4
call fcn.0043ebe4
leave
ret