Function at 0x42b030
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cdf68
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x513b94]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x178], esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x190], edi
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x188], edi
mov dword [0x513188], 9
mov dword [ebp - 0x180], 0
lea eax, [esi + 0x38]
mov dword [ebp - 4], 1
mov ecx, eax
mov dword [ebp - 0x170], eax
call fcn.0049c770
test eax, eax
je 0x42b11b
mov esi, dword [esi + 0x3c]
mov ecx, dword [ebp - 0x178]
lea eax, [esi + 1]
mov dword [ecx + 0x3c], eax
mov ecx, dword [ebp - 0x170]
call fcn.0049c120
push esi
push eax
lea eax, [ebp - 0x170]
push eax
call fcn.00498ac0
add esp, 0xc
mov esi, eax
mov ecx, dword [ebp - 0x180]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x42b0ed
call fcn.0049c750
mov ecx, dword [esi]
mov dword [ebp - 0x180], ecx
test ecx, ecx
je 0x42b0fe
call fcn.0049c480
mov ecx, dword [ebp - 0x170]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x42b111
call fcn.0049c750
mov esi, dword [ebp - 0x178]
mov byte [ebp - 4], 1
push 0x3c
xorps xmm0, xmm0
mov dword [ebp - 0x198], 0
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x50], 0x40
push 0
push eax
movups xmmword [ebp - 0x1b8], xmm0
movups xmmword [ebp - 0x1a8], xmm0
call fcn.004a3e00
push 0x118
lea eax, [ebp - 0x168]
mov dword [ebp - 0x16c], 0x11c
push 0
push eax
call fcn.004a3e00
add esp, 0x18
lea eax, [ebp - 0x1b8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
lea eax, [ebp - 0x16c]
push eax
call sub.ntdll.dll_RtlGetVersion
push 0x588
call fcn.004a0e21
add esp, 4
mov dword [ebp - 0x184], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x42b1b1
mov ecx, eax
call fcn.004296c0
jmp 0x42b1b3
xor eax, eax
mov byte [ebp - 4], 1
mov dword [edi], eax
test eax, eax
je 0x42b1c4
lock inc dword [eax + 0x574]
mov eax, dword [edi]
lea ecx, [esi + 0x7c]
mov dword [ebp - 0x18c], 1
mov dword [ebp - 0x170], eax
call fcn.0049c120
lea ecx, [esi + 0x78]
mov edi, eax
call fcn.0049c120
lea ecx, [ebp - 0x180]
mov esi, eax
call fcn.0049c120
lea ecx, [ebp - 0x16c]
push ecx
push dword [ebp - 0x1a4]
mov ecx, dword [ebp - 0x170]
push 0
push dword [ebp - 0x1ac]
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push 0
push edi
push esi
push 0xa3d70a
push eax
call fcn.00497840
test eax, eax
je 0x42b254
mov eax, dword [ebp - 0x188]
mov ecx, dword [eax]
mov dword [eax], 0
test ecx, ecx
je 0x42b270
or eax, 0xffffffff
lock xadd dword [ecx + 0x574], eax
dec eax
cmp eax, 2
jge 0x42b270
push eax
call fcn.00497cf0
jmp 0x42b270
cmp byte [ebp + 0xc], 0
je 0x42b270
mov ecx, dword [ebp - 0x178]
push dword [ecx + 0x40]
mov ecx, dword [ebp - 0x188]
mov ecx, dword [ecx]
call fcn.00498c60
mov edx, dword [ebp - 0x178]
mov eax, dword [edx + 0x30]
mov esi, dword [edx + 0x2c]
sub eax, esi
sar eax, 2
cmp eax, dword [edx + 0x74]
jae 0x42b28f
cmp eax, 0x12
jb 0x42b3eb
mov esi, dword [esi]
mov dword [ebp - 0x170], esi
mov dword [ebp - 0x194], esi
test esi, esi
je 0x42b2a8
lock inc dword [esi + 0x574]
mov ecx, dword [edx + 0x2c]
mov eax, dword [edx + 0x30]
mov byte [ebp - 4], 5
mov dword [ebp - 0x174], ecx
lea edi, [ecx + 4]
mov dword [ebp - 0x184], eax
cmp edi, eax
je 0x42b31b
or esi, 0xffffffff
mov eax, dword [edi]
mov edx, dword [ecx]
mov dword [ecx], eax
test eax, eax
je 0x42b2d9
lock inc dword [eax + 0x574]
test edx, edx
je 0x42b2fb
mov eax, esi
lock xadd dword [edx + 0x574], eax
dec eax
cmp eax, 2
jge 0x42b2fb
push eax
mov ecx, edx
call fcn.00497cf0
mov ecx, dword [ebp - 0x174]
add ecx, 4
add edi, 4
mov dword [ebp - 0x174], ecx
cmp edi, dword [ebp - 0x184]
jne 0x42b2c8
mov esi, dword [ebp - 0x170]
mov edx, dword [ebp - 0x178]
mov eax, dword [edx + 0x30]
mov ecx, dword [eax - 4]
or edi, 0xffffffff
mov byte [ebp - 4], 6
test ecx, ecx
je 0x42b348
mov eax, edi
lock xadd dword [ecx + 0x574], eax
dec eax
cmp eax, 2
jge 0x42b348
push eax
call fcn.00497cf0
mov edx, dword [ebp - 0x178]
add dword [edx + 0x30], 0xfffffffc
lea ecx, [edx + 0x1c]
mov byte [ebp - 4], 5
mov byte [esi + 0x57c], 1
call fcn.004216e0
mov eax, dword [ebp - 0x178]
add eax, 0x4c
mov dword [ebp - 0x184], eax
cmp dword [eax + 4], 0x15555555
mov ecx, dword [eax]
mov dword [ebp - 0x174], ecx
je 0x42b424
mov dword [ebp - 0x17c], eax
push 0xc
mov byte [ebp - 4], 7
mov dword [ebp - 0x178], 0
call fcn.004a0e21
add esp, 4
lea edx, [esi + 0x574]
mov dword [eax + 8], esi
lock inc dword [edx]
mov ecx, dword [ebp - 0x184]
mov esi, dword [ebp - 0x174]
inc dword [ecx + 4]
mov ecx, dword [ebp - 0x174]
mov ecx, dword [ecx + 4]
mov dword [eax], esi
mov dword [eax + 4], ecx
mov dword [esi + 4], eax
mov dword [ecx], eax
mov byte [ebp - 4], 9
lock xadd dword [edx], edi
dec edi
mov esi, dword [ebp - 0x170]
cmp edi, 2
jge 0x42b3eb
push edi
mov ecx, esi
call fcn.00497cf0
mov ecx, dword [ebp - 0x180]
mov dword [ebp - 4], 0xa
test ecx, ecx
je 0x42b401
call fcn.0049c750
mov eax, dword [ebp - 0x188]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a0e13
mov esp, ebp
pop ebp
ret 8
push 0x4d6d18
call fcn.004a2d75
int3