Function at 0x42b269
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push 0x40
call fcn.004481fd
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x10
rep stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 0x40]
mov dword [ebx], 0x40
mov dword [ebp - 0x40], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_GlobalMemoryStatusEx]
nop
nop
cmp dword [ebp - 0x40], esp
je 0x42b322
push 6
call fcn.004481f1
add esp, 4
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 0x40]
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
push 0x80000301
push 0
push 0x38
push 1
mov ebx, 0x1bc
call fcn.00449630
add esp, 0x10
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x42b36e
push ebx
call fcn.00448209
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0x10]
call fcn.004010c7
mov eax, 0
cmp eax, ecx
jl 0x42b390
push 1
call fcn.004481f1
add esp, 4
add ebx, eax
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 0x40]
mov byte [ebx], 0x38
push reloc.WSOCK32.dll_getpeername
push 0
lea eax, [ebp - 0x10]
push eax
push 1
mov ebx, 0xc
mov eax, 0x4502a0
call fcn.00448b00
add esp, 0x10
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], esp
push 0x38
push dword [ebp - 0x40]
xor eax, eax
call dword [sym.imp.PSAPI.DLL_GetPerformanceInfo]
nop
nop
cmp dword [ebp - 0x44], esp
je 0x42b3e7
push 6
call fcn.004481f1
add esp, 4
push 0x80000301
push 0
push 0x29
push 0x80000301
push 0
push 3
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x42b412
mov eax, 0x48c3a9
push eax
push 3
mov ebx, 0x19c
call fcn.00449490
add esp, 0x28
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
cmp ecx, 0x80000101
jne 0x42b446
and eax, 0xff
jmp 0x42b491
cmp ecx, 0x80000201
jne 0x42b451
cwde
jmp 0x42b491
cmp ecx, 0x80000301
je 0x42b491
cmp ecx, 0x80000401
je 0x42b491
mov dword [ebp - 0x50], eax
cmp ecx, 0x80000501
je 0x42b481
cmp ecx, 0x80000601
je 0x42b486
push 2
call fcn.004481f1
add esp, 4
fld dword [ebp - 0x50]
jmp 0x42b48c
mov dword [ebp - 0x4c], edx
fld qword [ebp - 0x50]
call fcn.00402ffd
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jg 0x42b4a8
mov eax, 0
jmp 0x42b995
mov dword [ebp - 0x40], esp
push dword [ebp + 8]
push 0
push 0x410
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
nop
nop
cmp dword [ebp - 0x40], esp
je 0x42b4d4
push 6
call fcn.004481f1
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x42b4eb
mov eax, 0
jmp 0x42b995
mov eax, 0x733eb6
test eax, eax
je 0x42b507
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004481fd
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x42b518
push ebx
call fcn.00448209
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push reloc.WSOCK32.dll_getpeername
push 0
lea eax, [ebp - 0x1c]
push eax
push 1
mov ebx, 0xc
mov eax, 0x4502a0
call fcn.00448b00
add esp, 0x10
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], esp
push 4
push dword [ebp - 0x40]
push dword [ebp - 0x18]
xor eax, eax
call dword [sym.imp.PSAPI.DLL_QueryWorkingSet]
nop
nop
cmp dword [ebp - 0x44], esp
je 0x42b56b
push 6
call fcn.004481f1
add esp, 4
test eax, eax
je 0x42b59f
mov dword [ebp - 0x40], esp
push dword [ebp - 0x18]
xor eax, eax
call dword [0xcd2296]
nop
nop
cmp dword [ebp - 0x40], esp
je 0x42b595
push 6
call fcn.004481f1
add esp, 4
mov eax, 0
jmp 0x42b995
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x42b5c4
mov eax, 0x48c3a9
push eax
push 3
mov ebx, 0x19c
call fcn.00449490
add esp, 0x28
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
cmp ecx, 0x80000101
jne 0x42b5f8
and eax, 0xff
jmp 0x42b643
cmp ecx, 0x80000201
jne 0x42b603
cwde
jmp 0x42b643
cmp ecx, 0x80000301
je 0x42b643
cmp ecx, 0x80000401
je 0x42b643
mov dword [ebp - 0x50], eax
cmp ecx, 0x80000501
je 0x42b633
cmp ecx, 0x80000601
je 0x42b638
push 2
call fcn.004481f1
add esp, 4
fld dword [ebp - 0x50]
jmp 0x42b63e
mov dword [ebp - 0x4c], edx
fld qword [ebp - 0x50]
call fcn.00402ffd
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x20]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fmul qword [0x733ed2]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
call fcn.00402ffd
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1bc
call fcn.00449630
add esp, 0x10
mov dword [ebp - 0x50], eax
push dword [ebp - 0x50]
push dword [ebp - 0x1c]
mov ecx, 2
call fcn.00405517
add esp, 8
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x42b6a3
push ebx
call fcn.00448209
add esp, 4
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x42b6b7
push ebx
call fcn.00448209
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x20]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fmul qword [0x733ed2]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
fadd qword [0x733ed2]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
call fcn.00402ffd
mov dword [ebp - 0x24], eax
push reloc.WSOCK32.dll_getpeername
push 0
lea eax, [ebp - 0x1c]
push eax
push 1
mov ebx, 0xc
mov eax, 0x4502a0
call fcn.00448b00
add esp, 0x10
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], esp
push dword [ebp - 0x24]
push dword [ebp - 0x40]
push dword [ebp - 0x18]
xor eax, eax
call dword [sym.imp.PSAPI.DLL_QueryWorkingSet]
nop
nop
cmp dword [ebp - 0x44], esp
je 0x42b731
push 6
call fcn.004481f1
add esp, 4
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x42b76a
mov dword [ebp - 0x40], esp
push dword [ebp - 0x18]
xor eax, eax
call dword [0xcd2296]
nop
nop
cmp dword [ebp - 0x40], esp
je 0x42b760
push 6
call fcn.004481f1
add esp, 4
mov eax, 0
jmp 0x42b995
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x20]
xor ecx, ecx
push eax
lea eax, [ebp - 0x30]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x42b8c1
fild dword [ebp - 0x30]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fmul qword [0x733ed2]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
fadd qword [0x48c3f1]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
call fcn.00402ffd
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push 3
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x42b7df
mov eax, 0x48c3a9
push eax
push 3
mov ebx, 0x19c
call fcn.00449490
add esp, 0x28
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], ecx
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x60]
cmp ecx, 0x80000101
jne 0x42b813
and eax, 0xff
jmp 0x42b85e
cmp ecx, 0x80000201
jne 0x42b81e
cwde
jmp 0x42b85e
cmp ecx, 0x80000301
je 0x42b85e
cmp ecx, 0x80000401
je 0x42b85e
mov dword [ebp - 0x68], eax
cmp ecx, 0x80000501
je 0x42b84e
cmp ecx, 0x80000601
je 0x42b853
push 2
call fcn.004481f1
add esp, 4
fld dword [ebp - 0x68]
jmp 0x42b859
mov dword [ebp - 0x64], edx
fld qword [ebp - 0x68]
call fcn.00402ffd
mov dword [ebp - 0x34], eax
push 0x80000301
push 0
push 0x100
push 0x80000301
push 0
push dword [ebp - 0x34]
push 2
mov ebx, 0xc4
call fcn.0044ae90
add esp, 0x1c
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x42b8b9
fild qword [ebp - 0x2c]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fild dword [ebp - 0x14]
fstp qword [ebp - 0x4c]
fadd qword [ebp - 0x4c]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
call fcn.00402ffd
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
pop eax
pop ebx
pop ecx
jmp 0x42b784
add esp, 0xc
push 0x80000401
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push 1
mov ebx, 0x164
call fcn.0044b210
add esp, 0x10
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
push 0x80000401
push dword [ebp - 8]
push dword [ebp - 0xc]
push 1
mov ebx, 0x164
call fcn.0044b210
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
fld qword [ebp - 0x44]
fdiv qword [ebp - 0x4c]
fstp qword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
fld qword [ebp - 0x3c]
fmul qword [0x9e094d]
fstp qword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x40], esp
push dword [ebp - 0x18]
xor eax, eax
call dword [0xcd2296]
nop
nop
cmp dword [ebp - 0x40], esp
je 0x42b959
push 6
call fcn.004481f1
add esp, 4
push 0x80000301
push 0
push 2
push 0x80000601
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push 2
mov ebx, 0x68
call fcn.0044b300
add esp, 0x1c
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
fld qword [ebp - 0x4c]
call fcn.00402ffd
jmp 0x42b995
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.00448209
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x42b9b2
push ebx
call fcn.00448209
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x42b9c2
push ebx
call fcn.00448209
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4