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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d16b8
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x517ba0]
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 [0x517190], 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.0049fdc0
test eax, eax
je 0x42c3db
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.0049f770
push esi
push eax
lea eax, [ebp - 0x170]
push eax
call fcn.0049c090
add esp, 0xc
mov esi, eax
mov ecx, dword [ebp - 0x180]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x42c3ad
call fcn.0049fda0
mov ecx, dword [esi]
mov dword [ebp - 0x180], ecx
test ecx, ecx
je 0x42c3be
call fcn.0049fad0
mov ecx, dword [ebp - 0x170]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x42c3d1
call fcn.0049fda0
mov esi, dword [ebp - 0x178]
mov byte [ebp - 4], 1
push 0x38
xorps xmm0, xmm0
mov dword [ebp - 0x198], 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x50], 0x40
push 0
push eax
movups xmmword [ebp - 0x1b8], xmm0
mov dword [ebp - 0x4c], 0
movups xmmword [ebp - 0x1a8], xmm0
call fcn.004a7410
push 0x114
lea eax, [ebp - 0x164]
mov dword [ebp - 0x16c], 0x11c
push 0
push eax
mov dword [ebp - 0x168], 0
call fcn.004a7410
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 0x590
call fcn.004a4441
add esp, 4
mov dword [ebp - 0x184], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x42c482
mov ecx, eax
call fcn.0042a970
jmp 0x42c484
xor eax, eax
mov byte [ebp - 4], 1
mov dword [edi], eax
test eax, eax
je 0x42c495
lock inc dword [eax + 0x57c]
mov eax, dword [edi]
lea ecx, [esi + 0x7c]
mov dword [ebp - 0x18c], 1
mov dword [ebp - 0x170], eax
call fcn.0049f770
lea ecx, [esi + 0x78]
mov edi, eax
call fcn.0049f770
lea ecx, [ebp - 0x180]
mov esi, eax
call fcn.0049f770
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.0049ae50
test eax, eax
je 0x42c525
mov eax, dword [ebp - 0x188]
mov ecx, dword [eax]
mov dword [eax], 0
test ecx, ecx
je 0x42c541
or eax, 0xffffffff
lock xadd dword [ecx + 0x57c], eax
dec eax
cmp eax, 2
jge 0x42c541
push eax
call fcn.0049b300
jmp 0x42c541
cmp byte [ebp + 0xc], 0
je 0x42c541
mov ecx, dword [ebp - 0x178]
push dword [ecx + 0x40]
mov ecx, dword [ebp - 0x188]
mov ecx, dword [ecx]
call fcn.0049c1e0
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 0x42c560
cmp eax, 0x12
jb 0x42c6c3
mov esi, dword [esi]
mov dword [ebp - 0x170], esi
mov dword [ebp - 0x194], esi
test esi, esi
je 0x42c579
lock inc dword [esi + 0x57c]
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 0x42c5f3
or esi, 0xffffffff
nop dword [eax]
mov eax, dword [edi]
mov edx, dword [ecx]
mov dword [ecx], eax
test eax, eax
je 0x42c5b1
lock inc dword [eax + 0x57c]
test edx, edx
je 0x42c5d3
mov eax, esi
lock xadd dword [edx + 0x57c], eax
dec eax
cmp eax, 2
jge 0x42c5d3
push eax
mov ecx, edx
call fcn.0049b300
mov ecx, dword [ebp - 0x174]
add ecx, 4
add edi, 4
mov dword [ebp - 0x174], ecx
cmp edi, dword [ebp - 0x184]
jne 0x42c5a0
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 0x42c620
mov eax, edi
lock xadd dword [ecx + 0x57c], eax
dec eax
cmp eax, 2
jge 0x42c620
push eax
call fcn.0049b300
mov edx, dword [ebp - 0x178]
add dword [edx + 0x30], 0xfffffffc
lea ecx, [edx + 0x1c]
mov byte [ebp - 4], 5
mov byte [esi + 0x584], 1
call fcn.00422150
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 0x42c6fc
mov dword [ebp - 0x17c], eax
push 0xc
mov byte [ebp - 4], 7
mov dword [ebp - 0x178], 0
call fcn.004a4441
add esp, 4
lea edx, [esi + 0x57c]
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 0x42c6c3
push edi
mov ecx, esi
call fcn.0049b300
mov ecx, dword [ebp - 0x180]
mov dword [ebp - 4], 0xa
test ecx, ecx
je 0x42c6d9
call fcn.0049fda0
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.004a4433
mov esp, ebp
pop ebp
ret 8
push 0x4dad38
call fcn.004a6385
int3