Function at 0x424a30
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get memory capacity

Disassembly:
push 0xffffffffffffffff
push 0x4f7948
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push ebp
push esi
push edi
push 0x502a56
lea ecx, [esp + 0x20]
call fcn.00401fd0
xor esi, esi
mov dword [esp + 0x60], esi
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov byte [esp + 0x60], 2
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x17]
push ecx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x6c], 3
call fcn.004243e0
mov al, byte [esp + 0x1f]
add esp, 0xc
test al, al
jle 0x424ac1
movsx eax, al
cmp eax, 0x100
jle 0x424ac6
mov byte [esp + 0x13], 1
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x3c], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x44]
xor eax, eax
shrd edi, eax, 0x14
mov dword [esp + 0x28], esi
xor edx, edx
shr eax, 0x14
mov eax, dword [esp + 0x28]
xor esi, esi
shrd ebx, edx, 0x14
shrd eax, esi, 0x14
xor ecx, ecx
shr edx, 0x14
lea edx, [esp + 0x24]
shrd ebp, ecx, 0x14
shr esi, 0x14
push edx
shr ecx, 0x14
mov esi, eax
call fcn.00424610
add esp, 4
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x64], 4
call fcn.00403fd0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x60], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424b56
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str._r_nCPU
lea ecx, [esp + 0x2c]
call fcn.00401fd0
mov edx, dword [esp + 0x30]
xor ecx, ecx
cmp ecx, edx
mov edx, dword [esp + 0x34]
sbb ecx, ecx
and ecx, edx
push ecx
push eax
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x6c], 5
call fcn.00401e30
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 6
call fcn.00403fd0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x60], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424bba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x60], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424bdd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
movsx eax, byte [esp + 0x13]
movzx ecx, word [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x24]
push 0x506758
push edx
call fcn.00401c40
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax - 0xc]
add esp, 0x10
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00401bb0
movzx eax, si
push eax
push 0x506744
movzx ecx, bx
push ecx
push 0x506734
movzx edx, bp
push edx
push 0x506720
movzx eax, di
push eax
push 0x506710
lea ecx, [esp + 0x3c]
push str._r_n_s_dM_r_n_s_dM_r_n_s_dM_r_n_s_dM_r_n
push ecx
call fcn.00401c40
mov eax, dword [esp + 0x44]
mov ecx, dword [eax - 0xc]
add esp, 0x28
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00401bb0
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx - 0xc]
push eax
push ebx
lea ecx, [esp + 0x20]
call fcn.00401bb0
mov ebp, dword [esp + 0x18]
mov eax, dword [ebp - 0xc]
mov edi, dword [esp + 0x68]
lea esi, [eax + 1]
mov eax, dword [edi + 4]
test eax, eax
je 0x424c85
push eax
call fcn.004e50f9
add esp, 4
push esi
mov dword [edi], esi
call fcn.004e50fe
mov ecx, esi
mov edx, ecx
mov dword [edi + 4], eax
shr ecx, 2
mov edi, eax
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
add ebx, 0xfffffff0
rep movsb byte es:[edi], byte [esi]
add esp, 4
mov byte [esp + 0x60], 2
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x424cc6
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov eax, dword [esp + 0x34]
test eax, eax
mov byte [esp + 0x60], 1
je 0x424cdc
push eax
call fcn.004e50f9
add esp, 4
add ebp, 0xfffffff0
mov byte [esp + 0x60], 0
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x424cfc
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x60], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
pop ebp
pop ebx
jg 0x424d26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x48]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x54
ret