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

Disassembly:
push 0xffffffffffffffff
push 0x4890e7
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x158], eax
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x16c]
mov dword fs:[0], eax
mov dword [esp + 0x10], ecx
mov edi, dword [esp + 0x17c]
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x28], edi
mov dword [esp + 0x130], 0xf
mov dword [esp + 0x12c], 0
mov byte [esp + 0x11c], 0
mov dword [esp + 0x174], 0
lea eax, [esp + 0x4c]
push 0x40
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [esp + 0x4c], 0x40
lea eax, [esp + 0x4c]
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 0x43aa98
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
shrd ecx, eax, 0x14
mov dword [esp + 0x15c], 0
shr eax, 0x14
xor eax, eax
mov dword [esp + 0x160], 0
mov dword [esp + 0x160], 7
mov dword [esp + 0x15c], 0
mov word [esp + 0x14c], ax
mov byte [esp + 0x174], 1
lea eax, [esp + 0x14c]
push ecx
push 0x492e14
push eax
call fcn.0040d4d0
mov edx, dword [esp + 0x168]
lea eax, [esp + 0x128]
add esp, 0xc
lea ecx, [esp + 0x14c]
cmp dword [esp + 0x160], 8
cmovae ecx, dword [esp + 0x14c]
push eax
call fcn.00415bf0
add esp, 4
mov byte [esp + 0x174], 0
cmp dword [esp + 0x160], 8
jb 0x43aa78
push dword [esp + 0x14c]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x160], 7
mov dword [esp + 0x15c], 0
mov word [esp + 0x14c], ax
mov edx, dword [esp + 0x12c]
test edx, edx
je 0x43ab2a
mov byte [esp + 0x34], 4
lea ecx, [esp + 0x11c]
or dword [esp + 0x34], 0x100
cmp dword [esp + 0x130], 0x10
mov dword [esp + 0x38], 0
cmovae ecx, dword [esp + 0x11c]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
call fcn.0047a370
mov dword [esp + 0x2c], eax
mov byte [esp + 0x174], 2
mov ecx, edi
push 0x497841
push str.A0201
call fcn.0047bd90
mov byte [esp + 0x174], 3
lea ecx, [esp + 0x2c]
push ecx
mov ecx, eax
call fcn.0047b230
mov byte [esp + 0x174], 0
lea ecx, [esp + 0x2c]
call fcn.0047b0f0
push 0xa
xor eax, eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
lea ecx, [esp + 0x30]
push str.User32.dll
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
call fcn.00402f90
mov byte [esp + 0x174], 4
mov eax, dword [0x4b025c]
test al, 1
jne 0x43aba6
or eax, 1
mov dword [0x4b025c], eax
mov byte [esp + 0x174], 5
mov dword [0x4b0258], 0
call fcn.0041d480
push 0x490fd0
call fcn.00480069
add esp, 4
mov byte [esp + 0x174], 4
lea eax, [esp + 0x2c]
mov ecx, 0x4b0258
push eax
call fcn.0041d650
mov dword [esp + 0x48], eax
mov byte [esp + 0x174], 0
cmp dword [esp + 0x40], 8
jb 0x43abd5
push dword [esp + 0x2c]
call esi
mov eax, dword [esp + 0x4c]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x40], 7
xor edi, edi
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], cx
test eax, eax
je 0x43ac00
push str.GetSystemMetrics
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x100], 0xf
mov dword [esp + 0xfc], 0
mov byte [esp + 0xec], 0
mov byte [esp + 0x174], 6
test edi, edi
je 0x43ad10
push 0
call edi
test eax, eax
jle 0x43ad10
xor ecx, ecx
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
mov dword [esp + 0x160], 7
mov dword [esp + 0x15c], 0
mov word [esp + 0x14c], cx
mov byte [esp + 0x174], 7
push eax
lea eax, [esp + 0x150]
push 0x4942f8
push eax
call fcn.0040d4d0
mov edx, dword [esp + 0x168]
lea eax, [esp + 0xf8]
add esp, 0xc
lea ecx, [esp + 0x14c]
cmp dword [esp + 0x160], 8
cmovae ecx, dword [esp + 0x14c]
push eax
call fcn.00415bf0
add esp, 4
mov byte [esp + 0x174], 6
cmp dword [esp + 0x160], 8
jb 0x43acf0
push dword [esp + 0x14c]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x160], 7
mov dword [esp + 0x15c], 0
mov word [esp + 0x14c], ax
mov edx, dword [esp + 0xfc]
test edx, edx
je 0x43adbc
mov byte [esp + 0x154], 4
lea ecx, [esp + 0xec]
or dword [esp + 0x154], 0x100
cmp dword [esp + 0x100], 0x10
mov dword [esp + 0x158], 0
cmovae ecx, dword [esp + 0xec]
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
call fcn.0047a370
mov dword [esp + 0x14c], eax
mov byte [esp + 0x174], 8
mov ecx, dword [esp + 0x28]
push 0x497859
push str.A0202
call fcn.0047bd90
mov byte [esp + 0x174], 9
lea ecx, [esp + 0x14c]
push ecx
mov ecx, eax
call fcn.0047b230
mov byte [esp + 0x174], 6
lea ecx, [esp + 0x14c]
call fcn.0047b0f0
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x118], 0xf
mov dword [esp + 0x114], 0
mov byte [esp + 0x104], 0
mov byte [esp + 0x174], 0xa
test edi, edi
je 0x43aecc
push 1
call edi
test eax, eax
jle 0x43aecc
xor ecx, ecx
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
mov dword [esp + 0x160], 7
mov dword [esp + 0x15c], 0
mov word [esp + 0x14c], cx
mov byte [esp + 0x174], 0xb
push eax
lea eax, [esp + 0x150]
push 0x4942f8
push eax
call fcn.0040d4d0
mov edx, dword [esp + 0x168]
lea eax, [esp + 0x110]
add esp, 0xc
lea ecx, [esp + 0x14c]
cmp dword [esp + 0x160], 8
cmovae ecx, dword [esp + 0x14c]
push eax
call fcn.00415bf0
add esp, 4
mov byte [esp + 0x174], 0xa
cmp dword [esp + 0x160], 8
jb 0x43aeac
push dword [esp + 0x14c]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x160], 7
mov dword [esp + 0x15c], 0
mov word [esp + 0x14c], ax
mov edx, dword [esp + 0x114]
test edx, edx
je 0x43af78
mov byte [esp + 0x154], 4
lea ecx, [esp + 0x104]
or dword [esp + 0x154], 0x100
cmp dword [esp + 0x118], 0x10
mov dword [esp + 0x158], 0
cmovae ecx, dword [esp + 0x104]
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
call fcn.0047a370
mov dword [esp + 0x14c], eax
mov byte [esp + 0x174], 0xc
mov ecx, dword [esp + 0x28]
push 0x497851
push str.A0203
call fcn.0047bd90
mov byte [esp + 0x174], 0xd
lea ecx, [esp + 0x14c]
push ecx
mov ecx, eax
call fcn.0047b230
mov byte [esp + 0x174], 0xa
lea ecx, [esp + 0x14c]
call fcn.0047b0f0
xorps xmm0, xmm0
mov dword [esp + 0x90], 0
lea eax, [esp + 0x90]
push eax
movdqu xmmword [esp + 0x98], xmm0
movdqu xmmword [esp + 0xa8], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0xa4]
mov byte [esp + 0x154], 2
and dword [esp + 0x154], 0xfffffeff
mov dword [esp + 0x158], 0
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
mov dword [esp + 0x14c], eax
mov dword [esp + 0x150], 0
mov byte [esp + 0x174], 0xe
mov ecx, dword [esp + 0x28]
push 0x497869
push str.A0204
call fcn.0047bd90
mov byte [esp + 0x174], 0xf
lea ecx, [esp + 0x14c]
push ecx
mov ecx, eax
call fcn.0047b230
mov byte [esp + 0x174], 0xa
lea ecx, [esp + 0x14c]
call fcn.0047b0f0
mov edi, dword [esp + 0x48]
push str.GetDC
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ReleaseDC
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edi, edi
mov dword [esp + 0x1c], eax
push str.Gdi32.dll
mov dword [esp + 0x4c], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0x18], eax
test eax, eax
je 0x43b088
push str.GetDeviceCaps
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
test edi, edi
je 0x43b0d2
mov eax, dword [esp + 0x14]
test eax, eax
je 0x43b0d2
cmp dword [esp + 0x1c], 0
je 0x43b0d2
push 0
call eax
mov edi, eax
test edi, edi
je 0x43b0d2
push 0x58
push edi
call dword [esp + 0x50]
push 0x5a
push edi
mov dword [esp + 0x2c], eax
call dword [esp + 0x50]
push edi
push 0
mov dword [esp + 0x28], eax
call dword [esp + 0x24]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x43b0e1
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x34], 2
and dword [esp + 0x34], 0xfffffeff
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0
mov byte [esp + 0x174], 0x10
mov edi, dword [esp + 0x28]
mov ecx, edi
push 0x497891
push str.A0205
call fcn.0047bd90
mov byte [esp + 0x174], 0x11
lea ecx, [esp + 0x2c]
push ecx
mov ecx, eax
call fcn.0047b230
mov byte [esp + 0x174], 0xa
lea ecx, [esp + 0x2c]
call fcn.0047b0f0
mov eax, dword [esp + 0x20]
mov byte [esp + 0x154], 2
and dword [esp + 0x154], 0xfffffeff
mov dword [esp + 0x158], 0
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
mov dword [esp + 0x14c], eax
mov dword [esp + 0x150], 0
mov byte [esp + 0x174], 0x12
mov ecx, edi
push 0x4978d1
push str.A0206
call fcn.0047bd90
mov byte [esp + 0x174], 0x13
lea ecx, [esp + 0x14c]
push ecx
mov ecx, eax
call fcn.0047b230
mov byte [esp + 0x174], 0xa
lea ecx, [esp + 0x14c]
call fcn.0047b0f0
xorps xmm0, xmm0
lea ecx, [esp + 0xb4]
movdqu xmmword [esp + 0xb4], xmm0
movdqu xmmword [esp + 0xc4], xmm0
call fcn.00455ed0
mov byte [esp + 0x174], 0x14
lea ecx, [esp + 0xbc]
mov eax, dword [esp + 0x10]
cmp ecx, eax
je 0x43b228
push 0xffffffffffffffff
push 0
push eax
call fcn.004030c0
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0xb8]
call fcn.00456030
mov byte [esp + 0x174], 0x15
cmp dword [esp + 0xe4], 0
jne 0x43b261
push 0xc
push str.000000000000
lea ecx, [esp + 0xdc]
call fcn.00402f90
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], 0
mov dword [esp + 0x148], 0xf
mov dword [esp + 0x144], 0
mov byte [esp + 0x134], 0
mov byte [esp + 0x174], 0x16
lea eax, [esp + 0x134]
cmp dword [esp + 0xe8], 8
lea ecx, [esp + 0xd4]
mov edx, dword [esp + 0xe4]
cmovae ecx, dword [esp + 0xd4]
push eax
call fcn.00415bf0
mov edx, dword [esp + 0x148]
lea ecx, [esp + 0x138]
add esp, 4
mov byte [esp + 0x34], 4
or dword [esp + 0x34], 0x100
cmp dword [esp + 0x148], 0x10
mov dword [esp + 0x38], 0
cmovae ecx, dword [esp + 0x134]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
call fcn.0047a370
mov dword [esp + 0x2c], eax
mov byte [esp + 0x174], 0x17
mov ecx, edi
push 0x4978e1
push str.A0207
call fcn.0047bd90
mov byte [esp + 0x174], 0x18
lea ecx, [esp + 0x2c]
push ecx
mov ecx, eax
call fcn.0047b230
mov byte [esp + 0x174], 0x16
lea ecx, [esp + 0x2c]
call fcn.0047b0f0
mov byte [esp + 0x174], 0x15
cmp dword [esp + 0x148], 0x10
jb 0x43b373
push dword [esp + 0x134]
call esi
add esp, 4
mov dword [esp + 0x148], 0xf
mov dword [esp + 0x144], 0
mov byte [esp + 0x134], 0
mov byte [esp + 0x174], 0x14
cmp dword [esp + 0xe8], 8
jb 0x43b3af
push dword [esp + 0xd4]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0xe8], 7
mov dword [esp + 0xe4], 0
mov word [esp + 0xd4], ax
mov byte [esp + 0x174], 0x19
mov edi, dword [esp + 0xb4]
test edi, edi
je 0x43b3fa
mov ecx, edi
call fcn.00465c20
push edi
call esi
add esp, 4
mov dword [esp + 0xb4], 0
mov byte [esp + 0x174], 0xa
cmp dword [esp + 0xd0], 8
jb 0x43b418
push dword [esp + 0xbc]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0xd0], 7
mov dword [esp + 0xcc], 0
mov word [esp + 0xbc], ax
mov byte [esp + 0x174], 6
cmp dword [esp + 0x118], 0x10
jb 0x43b456
push dword [esp + 0x104]
call esi
add esp, 4
mov dword [esp + 0x118], 0xf
mov dword [esp + 0x114], 0
mov byte [esp + 0x104], 0
mov byte [esp + 0x174], 0
cmp dword [esp + 0x100], 0x10
jb 0x43b492
push dword [esp + 0xec]
call esi
add esp, 4
mov dword [esp + 0x100], 0xf
mov dword [esp + 0xfc], 0
mov byte [esp + 0xec], 0
mov dword [esp + 0x174], 0xffffffff
cmp dword [esp + 0x130], 0x10
jb 0x43b4d1
push dword [esp + 0x11c]
call esi
add esp, 4
mov dword [esp + 0x130], 0xf
mov dword [esp + 0x12c], 0
mov byte [esp + 0x11c], 0
mov ecx, dword [esp + 0x16c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.0047ff74
add esp, 0x16c
ret 4