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

Disassembly:
push 0xffffffffffffffff
push 0x10361ce5
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x100], eax
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x114]
mov dword fs:[0], eax
mov edi, dword [esp + 0x124]
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0x20], edi
mov dword [esp + 0xc0], 0xf
mov dword [esp + 0xbc], 0
mov byte [esp + 0xac], 0
mov dword [esp + 0x11c], 0
lea eax, [esp + 0x44]
push 0x40
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [esp + 0x44], 0x40
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
test eax, eax
je 0x10321364
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
shrd ecx, eax, 0x14
mov dword [esp + 0x104], 0
shr eax, 0x14
xor eax, eax
mov dword [esp + 0x108], 0
mov dword [esp + 0x108], 7
mov dword [esp + 0x104], 0
mov word [esp + 0xf4], ax
mov byte [esp + 0x11c], 1
lea eax, [esp + 0xf4]
push ecx
push 0x1055dc58
push eax
call fcn.1014db00
mov edx, dword [esp + 0x110]
lea eax, [esp + 0xb8]
add esp, 0xc
lea ecx, [esp + 0xf4]
cmp dword [esp + 0x108], 8
cmovae ecx, dword [esp + 0xf4]
push eax
call fcn.101572f0
add esp, 4
mov byte [esp + 0x11c], 0
cmp dword [esp + 0x108], 8
jb 0x10321344
push dword [esp + 0xf4]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x108], 7
mov dword [esp + 0x104], 0
mov word [esp + 0xf4], ax
mov edx, dword [esp + 0xbc]
test edx, edx
je 0x103213f6
mov byte [esp + 0x2c], 4
lea ecx, [esp + 0xac]
or dword [esp + 0x2c], 0x100
cmp dword [esp + 0xc0], 0x10
mov dword [esp + 0x30], 0
cmovae ecx, dword [esp + 0xac]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
call fcn.101b8600
mov dword [esp + 0x24], eax
mov byte [esp + 0x11c], 2
mov ecx, edi
push 0x10586841
push str.A0201
call fcn.101ba490
mov byte [esp + 0x11c], 3
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call fcn.101b95d0
mov byte [esp + 0x11c], 0
lea ecx, [esp + 0x24]
call fcn.101b9430
push 0xa
xor eax, eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
lea ecx, [esp + 0x28]
push str.User32.dll
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
call fcn.100cdd90
mov byte [esp + 0x11c], 4
mov eax, dword [0x105e87a0]
test al, 1
jne 0x10321472
or eax, 1
mov dword [0x105e87a0], eax
mov byte [esp + 0x11c], 5
mov dword [0x105e879c], 0
call fcn.1016c620
push 0x10366040
call fcn.1033d620
add esp, 4
mov byte [esp + 0x11c], 4
lea eax, [esp + 0x24]
mov ecx, 0x105e879c
push eax
call fcn.1016c7f0
mov dword [esp + 0x40], eax
mov byte [esp + 0x11c], 0
cmp dword [esp + 0x38], 8
jb 0x103214a1
push dword [esp + 0x24]
call esi
mov eax, dword [esp + 0x44]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x38], 7
xor edi, edi
mov dword [esp + 0x34], 0
mov word [esp + 0x24], cx
test eax, eax
je 0x103214cc
push 0x1055ec64
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xd8], 0xf
mov dword [esp + 0xd4], 0
mov byte [esp + 0xc4], 0
mov byte [esp + 0x11c], 6
test edi, edi
je 0x103215dc
push 0
call edi
test eax, eax
jle 0x103215dc
xor ecx, ecx
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x108], 7
mov dword [esp + 0x104], 0
mov word [esp + 0xf4], cx
mov byte [esp + 0x11c], 7
push eax
lea eax, [esp + 0xf8]
push 0x1055ab70
push eax
call fcn.1014db00
mov edx, dword [esp + 0x110]
lea eax, [esp + 0xd0]
add esp, 0xc
lea ecx, [esp + 0xf4]
cmp dword [esp + 0x108], 8
cmovae ecx, dword [esp + 0xf4]
push eax
call fcn.101572f0
add esp, 4
mov byte [esp + 0x11c], 6
cmp dword [esp + 0x108], 8
jb 0x103215bc
push dword [esp + 0xf4]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x108], 7
mov dword [esp + 0x104], 0
mov word [esp + 0xf4], ax
mov edx, dword [esp + 0xd4]
test edx, edx
je 0x10321688
mov byte [esp + 0xfc], 4
lea ecx, [esp + 0xc4]
or dword [esp + 0xfc], 0x100
cmp dword [esp + 0xd8], 0x10
mov dword [esp + 0x100], 0
cmovae ecx, dword [esp + 0xc4]
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
call fcn.101b8600
mov dword [esp + 0xf4], eax
mov byte [esp + 0x11c], 8
mov ecx, dword [esp + 0x20]
push 0x10586759
push str.A0202
call fcn.101ba490
mov byte [esp + 0x11c], 9
lea ecx, [esp + 0xf4]
push ecx
mov ecx, eax
call fcn.101b95d0
mov byte [esp + 0x11c], 6
lea ecx, [esp + 0xf4]
call fcn.101b9430
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf0], 0xf
mov dword [esp + 0xec], 0
mov byte [esp + 0xdc], 0
mov byte [esp + 0x11c], 0xa
test edi, edi
je 0x10321798
push 1
call edi
test eax, eax
jle 0x10321798
xor ecx, ecx
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x108], 7
mov dword [esp + 0x104], 0
mov word [esp + 0xf4], cx
mov byte [esp + 0x11c], 0xb
push eax
lea eax, [esp + 0xf8]
push 0x1055ab70
push eax
call fcn.1014db00
mov edx, dword [esp + 0x110]
lea eax, [esp + 0xe8]
add esp, 0xc
lea ecx, [esp + 0xf4]
cmp dword [esp + 0x108], 8
cmovae ecx, dword [esp + 0xf4]
push eax
call fcn.101572f0
add esp, 4
mov byte [esp + 0x11c], 0xa
cmp dword [esp + 0x108], 8
jb 0x10321778
push dword [esp + 0xf4]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x108], 7
mov dword [esp + 0x104], 0
mov word [esp + 0xf4], ax
mov edx, dword [esp + 0xec]
test edx, edx
je 0x10321844
mov byte [esp + 0xfc], 4
lea ecx, [esp + 0xdc]
or dword [esp + 0xfc], 0x100
cmp dword [esp + 0xf0], 0x10
mov dword [esp + 0x100], 0
cmovae ecx, dword [esp + 0xdc]
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
call fcn.101b8600
mov dword [esp + 0xf4], eax
mov byte [esp + 0x11c], 0xc
mov ecx, dword [esp + 0x20]
push 0x10586761
push str.A0203
call fcn.101ba490
mov byte [esp + 0x11c], 0xd
lea ecx, [esp + 0xf4]
push ecx
mov ecx, eax
call fcn.101b95d0
mov byte [esp + 0x11c], 0xa
lea ecx, [esp + 0xf4]
call fcn.101b9430
xorps xmm0, xmm0
mov dword [esp + 0x88], 0
lea eax, [esp + 0x88]
push eax
movdqu xmmword [esp + 0x90], xmm0
movdqu xmmword [esp + 0xa0], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x9c]
mov byte [esp + 0xfc], 2
and dword [esp + 0xfc], 0xfffffeff
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], 0
mov byte [esp + 0x11c], 0xe
mov ecx, dword [esp + 0x20]
push 0x10586749
push str.A0204
call fcn.101ba490
mov byte [esp + 0x11c], 0xf
lea ecx, [esp + 0xf4]
push ecx
mov ecx, eax
call fcn.101b95d0
mov byte [esp + 0x11c], 0xa
lea ecx, [esp + 0xf4]
call fcn.101b9430
mov edi, dword [esp + 0x40]
push 0x1058674c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1058677c
push edi
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edi, edi
mov dword [esp + 0x14], eax
push str.Gdi32.dll
mov dword [esp + 0x44], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0x10], eax
test eax, eax
je 0x10321954
push 0x10586764
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
test edi, edi
je 0x1032199e
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1032199e
cmp dword [esp + 0x14], 0
je 0x1032199e
push 0
call eax
mov edi, eax
test edi, edi
je 0x1032199e
push 0x58
push edi
call dword [esp + 0x48]
push 0x5a
push edi
mov dword [esp + 0x20], eax
call dword [esp + 0x48]
push edi
push 0
mov dword [esp + 0x24], eax
call dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x103219ad
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x2c], 2
and dword [esp + 0x2c], 0xfffffeff
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0
mov byte [esp + 0x11c], 0x10
mov ecx, dword [esp + 0x20]
push 0x10586779
push str.A0205
call fcn.101ba490
mov byte [esp + 0x11c], 0x11
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call fcn.101b95d0
mov byte [esp + 0x11c], 0xa
lea ecx, [esp + 0x24]
call fcn.101b9430
mov eax, dword [esp + 0x1c]
mov byte [esp + 0xfc], 2
and dword [esp + 0xfc], 0xfffffeff
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], 0
mov byte [esp + 0x11c], 0x12
mov ecx, dword [esp + 0x20]
push 0x105867b1
push str.A0206
call fcn.101ba490
mov byte [esp + 0x11c], 0x13
lea ecx, [esp + 0xf4]
push ecx
mov ecx, eax
call fcn.101b95d0
mov byte [esp + 0x11c], 0xa
lea ecx, [esp + 0xf4]
call fcn.101b9430
mov byte [esp + 0x11c], 6
cmp dword [esp + 0xf0], 0x10
jb 0x10321ad0
push dword [esp + 0xdc]
call esi
add esp, 4
mov dword [esp + 0xf0], 0xf
mov dword [esp + 0xec], 0
mov byte [esp + 0xdc], 0
mov byte [esp + 0x11c], 0
cmp dword [esp + 0xd8], 0x10
jb 0x10321b0c
push dword [esp + 0xc4]
call esi
add esp, 4
mov dword [esp + 0xd8], 0xf
mov dword [esp + 0xd4], 0
mov byte [esp + 0xc4], 0
mov dword [esp + 0x11c], 0xffffffff
cmp dword [esp + 0xc0], 0x10
jb 0x10321b4b
push dword [esp + 0xac]
call esi
add esp, 4
mov dword [esp + 0xc0], 0xf
mov dword [esp + 0xbc], 0
mov byte [esp + 0xac], 0
mov ecx, dword [esp + 0x114]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.1033d458
add esp, 0x114
ret 4