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

Disassembly:
push 0xffffffffffffffff
push 0x4dbf37
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x50c620]
xor eax, esp
mov dword [esp + 0x148], eax
push esi
push edi
mov eax, dword [0x50c620]
xor eax, esp
push eax
lea eax, [esp + 0x15c]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov esi, dword [esp + 0x16c]
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x20], esi
mov dword [esp + 0x108], 0xf
mov dword [esp + 0x104], 0
mov byte [esp + 0xf4], 0
mov dword [esp + 0x164], 0
lea eax, [esp + 0x3c]
push 0x40
push 0
push eax
call fcn.004b5340
add esp, 0xc
mov dword [esp + 0x3c], 0x40
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x474525
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
shrd ecx, eax, 0x14
mov dword [esp + 0x14c], 0
shr eax, 0x14
xor eax, eax
mov dword [esp + 0x150], 0
mov dword [esp + 0x150], 7
mov dword [esp + 0x14c], 0
mov word [esp + 0x13c], ax
mov byte [esp + 0x164], 1
lea eax, [esp + 0x13c]
push ecx
push 0x4ed1cc
push eax
call fcn.00417410
mov edx, dword [esp + 0x158]
lea eax, [esp + 0x100]
add esp, 0xc
lea ecx, [esp + 0x13c]
cmp dword [esp + 0x150], 8
cmovae ecx, dword [esp + 0x13c]
push eax
call fcn.00421be0
add esp, 4
mov byte [esp + 0x164], 0
cmp dword [esp + 0x150], 8
jb 0x474505
push dword [esp + 0x13c]
call fcn.004b17b6
add esp, 4
xor eax, eax
mov dword [esp + 0x150], 7
mov dword [esp + 0x14c], 0
mov word [esp + 0x13c], ax
mov edx, dword [esp + 0x104]
test edx, edx
je 0x4745b7
mov byte [esp + 0x2c], 4
lea ecx, [esp + 0xf4]
or dword [esp + 0x2c], 0x100
cmp dword [esp + 0x108], 0x10
mov dword [esp + 0x30], 0
cmovae ecx, dword [esp + 0xf4]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
call fcn.0049d160
mov dword [esp + 0x24], eax
mov byte [esp + 0x164], 2
mov ecx, esi
push 0x4f0599
push str.A0201
call fcn.0049efd0
mov byte [esp + 0x164], 3
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call fcn.0049e100
mov byte [esp + 0x164], 0
lea ecx, [esp + 0x24]
call fcn.0049df60
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.00402ad0
mov byte [esp + 0x164], 4
mov eax, dword [0x50fda8]
test al, 1
jne 0x474633
or eax, 1
mov dword [0x50fda8], eax
mov byte [esp + 0x164], 5
mov dword [0x50fda4], 0
call fcn.00422cb0
push 0x4e2750
call fcn.004b177f
add esp, 4
mov byte [esp + 0x164], 4
lea eax, [esp + 0x24]
mov ecx, 0x50fda4
push eax
call fcn.00422e70
mov edi, eax
mov byte [esp + 0x164], 0
cmp dword [esp + 0x38], 8
jb 0x47465f
push dword [esp + 0x24]
call fcn.004b17b6
add esp, 4
xor eax, eax
mov dword [esp + 0x38], 7
xor esi, esi
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
test edi, edi
je 0x47468a
push str.GetSystemMetrics
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x120], 0xf
mov dword [esp + 0x11c], 0
mov byte [esp + 0x10c], 0
mov byte [esp + 0x164], 6
test esi, esi
je 0x47479d
push 0
call esi
test eax, eax
jle 0x47479d
xor ecx, ecx
mov dword [esp + 0x14c], 0
mov dword [esp + 0x150], 0
mov dword [esp + 0x150], 7
mov dword [esp + 0x14c], 0
mov word [esp + 0x13c], cx
mov byte [esp + 0x164], 7
push eax
lea eax, [esp + 0x140]
push 0x4edca8
push eax
call fcn.00417410
mov edx, dword [esp + 0x158]
lea eax, [esp + 0x118]
add esp, 0xc
lea ecx, [esp + 0x13c]
cmp dword [esp + 0x150], 8
cmovae ecx, dword [esp + 0x13c]
push eax
call fcn.00421be0
add esp, 4
mov byte [esp + 0x164], 6
cmp dword [esp + 0x150], 8
jb 0x47477d
push dword [esp + 0x13c]
call fcn.004b17b6
add esp, 4
xor eax, eax
mov dword [esp + 0x150], 7
mov dword [esp + 0x14c], 0
mov word [esp + 0x13c], ax
mov edx, dword [esp + 0x11c]
test edx, edx
je 0x474849
mov byte [esp + 0x144], 4
lea ecx, [esp + 0x10c]
or dword [esp + 0x144], 0x100
cmp dword [esp + 0x120], 0x10
mov dword [esp + 0x148], 0
cmovae ecx, dword [esp + 0x10c]
mov dword [esp + 0x14c], 0
mov dword [esp + 0x150], 0
call fcn.0049d160
mov dword [esp + 0x13c], eax
mov byte [esp + 0x164], 8
mov ecx, dword [esp + 0x20]
push 0x4f05b1
push str.A0202
call fcn.0049efd0
mov byte [esp + 0x164], 9
lea ecx, [esp + 0x13c]
push ecx
mov ecx, eax
call fcn.0049e100
mov byte [esp + 0x164], 6
lea ecx, [esp + 0x13c]
call fcn.0049df60
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
mov dword [esp + 0x138], 0xf
mov dword [esp + 0x134], 0
mov byte [esp + 0x124], 0
mov byte [esp + 0x164], 0xa
test esi, esi
je 0x47495c
push 1
call esi
test eax, eax
jle 0x47495c
xor ecx, ecx
mov dword [esp + 0x14c], 0
mov dword [esp + 0x150], 0
mov dword [esp + 0x150], 7
mov dword [esp + 0x14c], 0
mov word [esp + 0x13c], cx
mov byte [esp + 0x164], 0xb
push eax
lea eax, [esp + 0x140]
push 0x4edca8
push eax
call fcn.00417410
mov edx, dword [esp + 0x158]
lea eax, [esp + 0x130]
add esp, 0xc
lea ecx, [esp + 0x13c]
cmp dword [esp + 0x150], 8
cmovae ecx, dword [esp + 0x13c]
push eax
call fcn.00421be0
add esp, 4
mov byte [esp + 0x164], 0xa
cmp dword [esp + 0x150], 8
jb 0x47493c
push dword [esp + 0x13c]
call fcn.004b17b6
add esp, 4
xor eax, eax
mov dword [esp + 0x150], 7
mov dword [esp + 0x14c], 0
mov word [esp + 0x13c], ax
mov edx, dword [esp + 0x134]
test edx, edx
je 0x474a08
mov byte [esp + 0x144], 4
lea ecx, [esp + 0x124]
or dword [esp + 0x144], 0x100
cmp dword [esp + 0x138], 0x10
mov dword [esp + 0x148], 0
cmovae ecx, dword [esp + 0x124]
mov dword [esp + 0x14c], 0
mov dword [esp + 0x150], 0
call fcn.0049d160
mov dword [esp + 0x13c], eax
mov byte [esp + 0x164], 0xc
mov ecx, dword [esp + 0x20]
push 0x4f05a9
push str.A0203
call fcn.0049efd0
mov byte [esp + 0x164], 0xd
lea ecx, [esp + 0x13c]
push ecx
mov ecx, eax
call fcn.0049e100
mov byte [esp + 0x164], 0xa
lea ecx, [esp + 0x13c]
call fcn.0049df60
xorps xmm0, xmm0
mov dword [esp + 0x80], 0
lea eax, [esp + 0x80]
push eax
movdqu xmmword [esp + 0x88], xmm0
movdqu xmmword [esp + 0x98], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x94]
mov byte [esp + 0x144], 2
and dword [esp + 0x144], 0xfffffeff
mov dword [esp + 0x148], 0
mov dword [esp + 0x14c], 0
mov dword [esp + 0x150], 0
mov dword [esp + 0x13c], eax
mov dword [esp + 0x140], 0
mov byte [esp + 0x164], 0xe
mov ecx, dword [esp + 0x20]
push 0x4f05c1
push str.A0204
call fcn.0049efd0
mov byte [esp + 0x164], 0xf
lea ecx, [esp + 0x13c]
push ecx
mov ecx, eax
call fcn.0049e100
mov byte [esp + 0x164], 0xa
lea ecx, [esp + 0x13c]
call fcn.0049df60
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetDC
push edi
call esi
push str.ReleaseDC
push edi
mov dword [esp + 0x24], eax
call esi
push str.Gdi32.dll
mov dword [esp + 0x1c], eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0x10], eax
test eax, eax
je 0x474b06
push str.GetDeviceCaps
push eax
call esi
mov edi, eax
xor esi, esi
test edi, edi
je 0x474b42
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x474b42
cmp dword [esp + 0x18], esi
je 0x474b42
push esi
call eax
mov esi, eax
test esi, esi
je 0x474b40
push 0x58
push esi
call edi
push 0x5a
push esi
mov dword [esp + 0x24], eax
call edi
push esi
push 0
mov edi, eax
call dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
jmp 0x474b44
xor esi, esi
xor edi, edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x474b53
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
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], esi
mov dword [esp + 0x28], 0
mov byte [esp + 0x164], 0x10
mov esi, dword [esp + 0x20]
mov ecx, esi
push 0x4f05e9
push str.A0205
call fcn.0049efd0
mov byte [esp + 0x164], 0x11
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call fcn.0049e100
mov byte [esp + 0x164], 0xa
lea ecx, [esp + 0x24]
call fcn.0049df60
mov byte [esp + 0x144], 2
and dword [esp + 0x144], 0xfffffeff
mov dword [esp + 0x148], 0
mov dword [esp + 0x14c], 0
mov dword [esp + 0x150], 0
mov dword [esp + 0x13c], edi
mov dword [esp + 0x140], 0
mov byte [esp + 0x164], 0x12
mov ecx, esi
push 0x4f0609
push str.A0206
call fcn.0049efd0
mov byte [esp + 0x164], 0x13
lea ecx, [esp + 0x13c]
push ecx
mov ecx, eax
call fcn.0049e100
mov byte [esp + 0x164], 0xa
lea ecx, [esp + 0x13c]
call fcn.0049df60
xorps xmm0, xmm0
lea ecx, [esp + 0xa4]
movdqu xmmword [esp + 0xa4], xmm0
movdqu xmmword [esp + 0xb4], xmm0
call fcn.0041da60
mov byte [esp + 0x164], 0x14
lea eax, [esp + 0xac]
mov edi, dword [esp + 0x14]
cmp eax, edi
je 0x474c94
push 0xffffffffffffffff
push 0
push edi
mov ecx, eax
call fcn.004029b0
mov eax, dword [esp + 0xa4]
mov cl, byte [edi + 0x30]
mov byte [eax + 0x3d], cl
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0xa8]
call fcn.0041dbd0
mov byte [esp + 0x164], 0x15
cmp dword [esp + 0xd4], 0
jne 0x474cda
push 0xc
push str.000000000000
lea ecx, [esp + 0xcc]
call fcn.00402ad0
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 + 0x164], 0x16
lea eax, [esp + 0xdc]
cmp dword [esp + 0xd8], 8
lea ecx, [esp + 0xc4]
mov edx, dword [esp + 0xd4]
cmovae ecx, dword [esp + 0xc4]
push eax
call fcn.00421be0
mov edx, dword [esp + 0xf0]
lea ecx, [esp + 0xe0]
add esp, 4
mov byte [esp + 0x2c], 4
or dword [esp + 0x2c], 0x100
cmp dword [esp + 0xf0], 0x10
mov dword [esp + 0x30], 0
cmovae ecx, dword [esp + 0xdc]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
call fcn.0049d160
mov dword [esp + 0x24], eax
mov byte [esp + 0x164], 0x17
mov ecx, esi
push 0x4f0601
push str.A0207
call fcn.0049efd0
mov byte [esp + 0x164], 0x18
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call fcn.0049e100
mov byte [esp + 0x164], 0x16
lea ecx, [esp + 0x24]
call fcn.0049df60
mov byte [esp + 0x164], 0x15
cmp dword [esp + 0xf0], 0x10
jb 0x474def
push dword [esp + 0xdc]
call fcn.004b17b6
add esp, 4
mov dword [esp + 0xf0], 0xf
mov dword [esp + 0xec], 0
mov byte [esp + 0xdc], 0
mov byte [esp + 0x164], 0x14
cmp dword [esp + 0xd8], 8
jb 0x474e2e
push dword [esp + 0xc4]
call fcn.004b17b6
add esp, 4
xor eax, eax
mov dword [esp + 0xd8], 7
mov dword [esp + 0xd4], 0
mov word [esp + 0xc4], ax
mov byte [esp + 0x164], 0x19
mov esi, dword [esp + 0xa4]
test esi, esi
je 0x474e7c
mov ecx, esi
call fcn.00438970
push esi
call fcn.004b17b6
add esp, 4
mov dword [esp + 0xa4], 0
mov byte [esp + 0x164], 0xa
cmp dword [esp + 0xc0], 8
jb 0x474e9d
push dword [esp + 0xac]
call fcn.004b17b6
add esp, 4
xor eax, eax
mov dword [esp + 0xc0], 7
mov dword [esp + 0xbc], 0
mov word [esp + 0xac], ax
mov byte [esp + 0x164], 6
cmp dword [esp + 0x138], 0x10
jb 0x474ede
push dword [esp + 0x124]
call fcn.004b17b6
add esp, 4
mov dword [esp + 0x138], 0xf
mov dword [esp + 0x134], 0
mov byte [esp + 0x124], 0
mov byte [esp + 0x164], 0
cmp dword [esp + 0x120], 0x10
jb 0x474f1d
push dword [esp + 0x10c]
call fcn.004b17b6
add esp, 4
mov dword [esp + 0x120], 0xf
mov dword [esp + 0x11c], 0
mov byte [esp + 0x10c], 0
mov dword [esp + 0x164], 0xffffffff
cmp dword [esp + 0x108], 0x10
jb 0x474f5f
push dword [esp + 0xf4]
call fcn.004b17b6
add esp, 4
mov dword [esp + 0x108], 0xf
mov dword [esp + 0x104], 0
mov byte [esp + 0xf4], 0
mov ecx, dword [esp + 0x15c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.004b0ff2
add esp, 0x15c
ret 4