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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52199b
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x57f578]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x13c], ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x110], esi
call fcn.0040b320
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10c]
push 0x40
push 0
push eax
call fcn.004e8f30
add esp, 0xc
mov dword [ebp - 0x10c], 0x40
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x453e31
mov esi, dword [ebp - 0x104]
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x100]
shrd esi, eax, 0x14
call fcn.00408fb0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
push esi
push 0x550c14
push eax
call fcn.0040d730
add esp, 0xc
lea eax, [ebp - 0xb4]
lea ecx, [ebp - 0x28]
push eax
call fcn.004092b0
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.00408e90
mov edx, esi
mov ecx, eax
call fcn.00419070
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00408080
mov esi, dword [ebp - 0x110]
lea ecx, [ebp - 0xb4]
call fcn.00408e80
test al, al
jne 0x453eb0
mov byte [ebp - 0x20], 4
lea ecx, [ebp - 0xb4]
or dword [ebp - 0x20], 0x100
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.00409140
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x453e76
mov eax, dword [eax]
mov ecx, eax
call fcn.004854e0
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 2
mov ecx, esi
push 0x551761
push str.A0201
call fcn.004872c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.00486510
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00486380
push str.User32.dll
lea ecx, [ebp - 0x154]
call fcn.00408f70
mov byte [ebp - 4], 4
lea eax, [ebp - 0x154]
push eax
call fcn.0041f5a0
mov ecx, eax
call fcn.0041f660
mov esi, eax
mov dword [ebp - 0x114], esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x154]
call fcn.00408080
xor edi, edi
test esi, esi
je 0x453f02
push 0x550784
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
lea ecx, [ebp - 0x9c]
call fcn.0040b320
mov byte [ebp - 4], 5
test edi, edi
je 0x453f6e
push 0
call edi
mov esi, eax
test esi, esi
jle 0x453f6e
lea ecx, [ebp - 0x28]
call fcn.00408fb0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x28]
push esi
push 0x54940c
push eax
call fcn.0040d730
add esp, 0xc
lea eax, [ebp - 0x9c]
lea ecx, [ebp - 0x28]
push eax
call fcn.004092b0
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.00408e90
mov edx, esi
mov ecx, eax
call fcn.00419070
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.00408080
lea ecx, [ebp - 0x9c]
call fcn.00408e80
test al, al
jne 0x453ff1
mov byte [ebp - 0x20], 4
lea ecx, [ebp - 0x9c]
or dword [ebp - 0x20], 0x100
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.00409140
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x453fb3
mov eax, dword [eax]
mov ecx, eax
call fcn.004854e0
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x110]
push 0x551759
push str.A0202
call fcn.004872c0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.00486510
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.00486380
lea ecx, [ebp - 0x84]
call fcn.0040b320
mov byte [ebp - 4], 9
test edi, edi
je 0x45405d
push 1
call edi
mov esi, eax
test esi, esi
jle 0x45405d
lea ecx, [ebp - 0x28]
call fcn.00408fb0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x28]
push esi
push 0x54940c
push eax
call fcn.0040d730
add esp, 0xc
lea eax, [ebp - 0x84]
lea ecx, [ebp - 0x28]
push eax
call fcn.004092b0
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.00408e90
mov edx, esi
mov ecx, eax
call fcn.00419070
add esp, 4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.00408080
lea ecx, [ebp - 0x84]
call fcn.00408e80
test al, al
jne 0x4540e0
mov byte [ebp - 0x20], 4
lea ecx, [ebp - 0x84]
or dword [ebp - 0x20], 0x100
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.00409140
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x4540a2
mov eax, dword [eax]
mov ecx, eax
call fcn.004854e0
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x110]
push 0x551771
push str.A0203
call fcn.004872c0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.00486510
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.00486380
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x34]
push eax
movups xmmword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 0x128], 2
and dword [ebp - 0x128], 0xfffffeff
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], 0
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x110]
push 0x551769
push str.A0204
call fcn.004872c0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x130]
push ecx
mov ecx, eax
call fcn.00486510
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x130]
call fcn.00486380
mov edi, dword [ebp - 0x114]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x551780
push edi
call esi
push 0x551774
push edi
mov dword [ebp - 0x118], eax
call esi
push str.Gdi32.dll
mov dword [ebp - 0x134], eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x138], eax
test eax, eax
je 0x4541c1
push str.GetDeviceCaps
push eax
call esi
mov edi, eax
xor esi, esi
mov dword [ebp - 0x114], esi
test edi, edi
je 0x454211
mov eax, dword [ebp - 0x118]
test eax, eax
je 0x454211
cmp dword [ebp - 0x134], esi
je 0x454211
push esi
call eax
mov esi, eax
test esi, esi
je 0x45420f
push 0x58
push esi
call edi
push 0x5a
push esi
mov dword [ebp - 0x118], eax
call edi
push esi
push 0
mov dword [ebp - 0x114], eax
call dword [ebp - 0x134]
mov esi, dword [ebp - 0x118]
jmp 0x454211
xor esi, esi
mov eax, dword [ebp - 0x138]
test eax, eax
je 0x454222
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 0x128], 2
and dword [ebp - 0x128], 0xfffffeff
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x12c], 0
mov byte [ebp - 4], 0xf
mov edi, dword [ebp - 0x110]
mov ecx, edi
push 0x5517b9
push str.A0205
call fcn.004872c0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x130]
push ecx
mov ecx, eax
call fcn.00486510
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x130]
call fcn.00486380
mov eax, dword [ebp - 0x114]
mov byte [ebp - 0x20], 2
and dword [ebp - 0x20], 0xfffffeff
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 0x11
mov ecx, edi
push 0x5517b1
push str.A0206
call fcn.004872c0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.00486510
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.00486380
xorps xmm0, xmm0
lea ecx, [ebp - 0x6c]
movups xmmword [ebp - 0x6c], xmm0
movups xmmword [ebp - 0x5c], xmm0
call fcn.0043b870
mov byte [ebp - 4], 0x13
mov esi, dword [ebp - 0x13c]
mov ecx, esi
call fcn.00409140
lea ecx, [ebp - 0x64]
cmp ecx, eax
je 0x454345
mov ecx, esi
call fcn.00409140
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x454339
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x64]
call fcn.004092c0
mov eax, dword [ebp - 0x6c]
mov cl, byte [esi + 0x30]
mov byte [eax + 0x3d], cl
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0043b9e0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x4c]
call fcn.00408e80
test al, al
je 0x454385
push str.000000000000
call fcn.00409590
add esp, 4
lea ecx, [ebp - 0x4c]
push eax
push str.000000000000
call fcn.004092c0
lea ecx, [ebp - 0xcc]
call fcn.0040b320
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004092b0
lea ecx, [ebp - 0x4c]
mov esi, eax
call fcn.00408e90
mov edx, esi
mov ecx, eax
call fcn.00419070
add esp, 4
mov byte [ebp - 0x20], 4
or dword [ebp - 0x20], 0x100
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.00409140
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x4543ef
mov eax, dword [eax]
mov ecx, eax
call fcn.004854e0
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0x16
mov ecx, edi
push 0x5517c9
push str.A0207
call fcn.004872c0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.00486510
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x28]
call fcn.00486380
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xcc]
call fcn.004090a0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x4c]
call fcn.00408080
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x6c]
call fcn.0043b920
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x84]
call fcn.004090a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x9c]
call fcn.004090a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.004090a0
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.004e679a
mov esp, ebp
pop ebp
ret 4