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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484801
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x4b31cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x178], esi
mov dword [ebp - 0x184], esi
mov dword [0x4b30c0], 9
mov dword [ebp - 0x17c], 0
lea ecx, [edi + 0x3c]
mov dword [ebp - 4], 1
call fcn.00468f70
test eax, eax
je 0x416094
mov edx, dword [edi + 0x40]
lea ecx, [edi + 0x3c]
push edx
lea eax, [edx + 1]
mov dword [edi + 0x40], eax
call fcn.004689b0
push eax
lea eax, [ebp - 0x170]
push eax
call fcn.00466cf0
add esp, 0xc
push eax
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 2
call fcn.004688f0
mov ecx, dword [ebp - 0x170]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x416094
call fcn.00468f40
push 0x38
xorps xmm0, xmm0
mov dword [ebp - 0x1ac], 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x50], 0x40
push 0
push eax
movdqu xmmword [ebp - 0x1a8], xmm0
mov dword [ebp - 0x4c], 0
movdqu xmmword [ebp - 0x198], xmm0
call fcn.0046e870
push 0x114
lea eax, [ebp - 0x164]
mov dword [ebp - 0x16c], 0x11c
push 0
push eax
mov dword [ebp - 0x168], 0
call fcn.0046e870
add esp, 0x18
lea eax, [ebp - 0x1ac]
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 dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x588
call fcn.0046d6f6
add esp, 4
mov dword [ebp - 0x180], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x41613e
mov ecx, eax
call fcn.00414e10
jmp 0x416140
xor eax, eax
mov byte [ebp - 4], 1
mov dword [esi], eax
test eax, eax
je 0x416156
add eax, 0x570
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov esi, dword [esi]
lea eax, [ebp - 0x16c]
push eax
push dword [ebp - 0x198]
lea ecx, [edi + 0x7c]
mov dword [ebp - 0x188], 1
push 0
push dword [ebp - 0x1a0]
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push 0
call fcn.004689b0
push eax
lea ecx, [edi + 0x78]
call fcn.004689b0
push eax
push 0xf4240
lea ecx, [ebp - 0x17c]
call fcn.004689b0
push eax
mov ecx, esi
call fcn.00465df0
test eax, eax
je 0x4161db
mov eax, dword [ebp - 0x178]
mov esi, dword [eax]
mov dword [eax], 0
test esi, esi
je 0x4161f1
lea eax, [esi + 0x570]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, 2
jge 0x4161f1
push eax
mov ecx, esi
call fcn.004660b0
jmp 0x4161f1
cmp byte [ebp + 0xc], 0
je 0x4161f1
mov ecx, dword [ebp - 0x178]
push dword [edi + 0x44]
mov ecx, dword [ecx]
call fcn.00466e70
mov eax, dword [edi + 0x34]
sub eax, dword [edi + 0x30]
sar eax, 2
cmp eax, dword [edi + 0x74]
jae 0x416213
mov eax, dword [edi + 0x34]
sub eax, dword [edi + 0x30]
sar eax, 2
cmp eax, 0xc8
jb 0x4162e2
mov esi, dword [edi + 0x30]
mov esi, dword [esi]
mov dword [ebp - 0x170], esi
test esi, esi
je 0x41622f
lea eax, [esi + 0x570]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push dword [ebp - 0x184]
mov eax, dword [edi + 0x30]
push eax
push dword [edi + 0x34]
add eax, 4
mov byte [ebp - 4], 4
push eax
call fcn.004142c0
mov ecx, dword [edi + 0x34]
lea edx, [ebp - 0x171]
push dword [ebp - 0x184]
push edx
lea eax, [ecx - 4]
push ecx
push eax
call fcn.00413ee0
add dword [edi + 0x34], 0xfffffffc
lea ecx, [edi + 0x1c]
add esp, 0x20
mov byte [esi + 0x578], 1
call fcn.0040deb0
mov eax, dword [edi + 0x50]
lea ecx, [ebp - 0x170]
push ecx
lea ecx, [edi + 0x50]
mov dword [ebp - 0x180], eax
push dword [eax + 4]
push eax
call fcn.00413d90
mov edx, dword [edi + 0x54]
mov ecx, eax
mov eax, 0x15555554
sub eax, edx
cmp eax, 1
jae 0x4162b0
push 0x48cadc
call fcn.0046d34f
lea eax, [edx + 1]
mov byte [ebp - 4], 1
mov dword [edi + 0x54], eax
mov eax, dword [ebp - 0x180]
mov dword [eax + 4], ecx
mov eax, dword [ecx + 4]
mov dword [eax], ecx
lea eax, [esi + 0x570]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, 2
jge 0x4162e2
push eax
mov ecx, esi
call fcn.004660b0
mov ecx, dword [ebp - 0x17c]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x4162f5
call fcn.00468f40
mov eax, dword [ebp - 0x178]
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.0046dfbe
mov esp, ebp
pop ebp
ret 8