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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488721
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x4bc1dc]
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 - 0x180], esi
mov dword [ebp - 0x184], esi
mov dword [0x4bc0d0], 9
mov dword [ebp - 0x174], 0
lea ecx, [edi + 0x3c]
mov dword [ebp - 4], 1
call fcn.0046b860
test eax, eax
je 0x416cd4
mov edx, dword [edi + 0x40]
lea ecx, [edi + 0x3c]
push edx
lea eax, [edx + 1]
mov dword [edi + 0x40], eax
call fcn.0046b310
push eax
lea eax, [ebp - 0x170]
push eax
call fcn.00469220
add esp, 0xc
mov dword [ebp - 0x17c], eax
mov ecx, dword [ebp - 0x174]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x416cb0
call fcn.0046b840
mov eax, dword [ebp - 0x17c]
mov ecx, dword [eax]
mov dword [ebp - 0x174], ecx
test ecx, ecx
je 0x416cc1
call fcn.0046b5c0
mov ecx, dword [ebp - 0x170]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x416cd4
call fcn.0046b840
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.00471730
push 0x114
lea eax, [ebp - 0x164]
mov dword [ebp - 0x16c], 0x11c
push 0
push eax
mov dword [ebp - 0x168], 0
call fcn.00471730
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 0x5a0
call fcn.004705b4
add esp, 4
mov dword [ebp - 0x170], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x416d7e
mov ecx, eax
call fcn.004158b0
jmp 0x416d80
xor eax, eax
mov byte [ebp - 4], 1
mov dword [esi], eax
test eax, eax
je 0x416d96
add eax, 0x588
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.0046b310
push eax
lea ecx, [edi + 0x78]
call fcn.0046b310
push eax
push 0xf4240
lea ecx, [ebp - 0x174]
call fcn.0046b310
push eax
mov ecx, esi
call fcn.00468330
test eax, eax
je 0x416e1b
mov eax, dword [ebp - 0x180]
mov esi, dword [eax]
mov dword [eax], 0
test esi, esi
je 0x416e31
lea eax, [esi + 0x588]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, 2
jge 0x416e31
push eax
mov ecx, esi
call fcn.004685f0
jmp 0x416e31
cmp byte [ebp + 0xc], 0
je 0x416e31
mov ecx, dword [ebp - 0x180]
push dword [edi + 0x44]
mov ecx, dword [ecx]
call 0x4693b0
mov eax, dword [edi + 0x34]
sub eax, dword [edi + 0x30]
sar eax, 2
cmp eax, dword [edi + 0x74]
jae 0x416e53
mov eax, dword [edi + 0x34]
sub eax, dword [edi + 0x30]
sar eax, 2
cmp eax, 0xc8
jb 0x416f22
mov esi, dword [edi + 0x30]
mov esi, dword [esi]
mov dword [ebp - 0x170], esi
test esi, esi
je 0x416e6f
lea eax, [esi + 0x588]
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.00414c60
mov ecx, dword [edi + 0x34]
lea edx, [ebp - 0x175]
push dword [ebp - 0x184]
push edx
lea eax, [ecx - 4]
push ecx
push eax
call fcn.00414860
add dword [edi + 0x34], 0xfffffffc
lea ecx, [edi + 0x1c]
add esp, 0x20
mov byte [esi + 0x590], 1
call fcn.0040e220
mov eax, dword [edi + 0x50]
lea ecx, [ebp - 0x170]
push ecx
lea ecx, [edi + 0x50]
mov dword [ebp - 0x17c], eax
push dword [eax + 4]
push eax
call fcn.00414700
mov edx, dword [edi + 0x54]
mov ecx, eax
mov eax, 0x15555554
sub eax, edx
cmp eax, 1
jae 0x416ef0
push 0x490aec
call fcn.0047015f
lea eax, [edx + 1]
mov byte [ebp - 4], 1
mov dword [edi + 0x54], eax
mov eax, dword [ebp - 0x17c]
mov dword [eax + 4], ecx
mov eax, dword [ecx + 4]
mov dword [eax], ecx
lea eax, [esi + 0x588]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, 2
jge 0x416f22
push eax
mov ecx, esi
call fcn.004685f0
mov ecx, dword [ebp - 0x174]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x416f35
call fcn.0046b840
mov eax, dword [ebp - 0x180]
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.00470e77
mov esp, ebp
pop ebp
ret 8