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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x588ebc
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x608514]
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 - 0x124], ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x84], 0
mov byte [ebp - 0x94], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10c]
push 0x40
push 0
push eax
call sub.VCRUNTIME140.dll_memset
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 0x4f8a6d
mov ecx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x100]
shrd ecx, eax, 0x14
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
push ecx
push 0x5b9784
push eax
call fcn.00446b70
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x94]
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push eax
call fcn.0043da50
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004046e0
cmp dword [ebp - 0x84], 0
je 0x4f8a6d
mov byte [ebp - 0x38], 4
lea esi, [ebp - 0x94]
or dword [ebp - 0x38], 0x100
lea ecx, [ebp - 0x94]
cmp dword [ebp - 0x80], 0x10
mov dword [ebp - 0x34], 0
cmovae esi, dword [ebp - 0x94]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.004a2d70
mov edx, eax
mov ecx, esi
call fcn.004bb390
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 2
mov ecx, edi
push 0x5c338d
push str.A0201
call fcn.004bdde0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.004bc750
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004bc4e0
push 0xa
xor eax, eax
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
lea ecx, [ebp - 0x13c]
push 0x5b9064
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 7
mov word [ebp - 0x13c], ax
call fcn.004047a0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x13c]
push eax
call fcn.00453870
mov ecx, eax
call fcn.00453940
mov esi, eax
mov dword [ebp - 0x114], esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x13c]
call fcn.004046e0
xor edi, edi
test esi, esi
je 0x4f8af2
push 0x5b907c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x7c], 0
mov byte [ebp - 4], 5
test edi, edi
je 0x4f8c02
push 0
call edi
test eax, eax
jle 0x4f8c02
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x28]
push 0x5b9a94
push eax
call fcn.00446b70
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x7c]
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push eax
call fcn.0043da50
add esp, 0x10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.004046e0
cmp dword [ebp - 0x6c], 0
je 0x4f8c02
mov byte [ebp - 0x38], 4
lea esi, [ebp - 0x7c]
or dword [ebp - 0x38], 0x100
lea ecx, [ebp - 0x7c]
cmp dword [ebp - 0x68], 0x10
mov dword [ebp - 0x34], 0
cmovae esi, dword [ebp - 0x7c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.004a2d70
mov edx, eax
mov ecx, esi
call fcn.004bb390
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x110]
mov ecx, esi
push 0x5c3395
push str.A0202
call fcn.004bdde0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.004bc750
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.004bc4e0
jmp 0x4f8c08
mov esi, dword [ebp - 0x110]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
mov byte [ebp - 4], 9
test edi, edi
je 0x4f8d16
push 1
call edi
test eax, eax
jle 0x4f8d16
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x28]
push 0x5b9a94
push eax
call fcn.00446b70
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x64]
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push eax
call fcn.0043da50
add esp, 0x10
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.004046e0
cmp dword [ebp - 0x54], 0
je 0x4f8d16
mov byte [ebp - 0x38], 4
lea esi, [ebp - 0x64]
or dword [ebp - 0x38], 0x100
lea ecx, [ebp - 0x64]
cmp dword [ebp - 0x50], 0x10
mov dword [ebp - 0x34], 0
cmovae esi, dword [ebp - 0x64]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.004a2d70
mov edx, eax
mov ecx, esi
call fcn.004bb390
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 0xb
mov esi, dword [ebp - 0x110]
mov ecx, esi
push 0x5c339d
push str.A0203
call fcn.004bdde0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.004bc750
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x40]
call fcn.004bc4e0
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x4c]
push eax
movups xmmword [ebp - 0x4c], xmm0
movups xmmword [ebp - 0x3c], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x38]
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], 0xd
mov ecx, esi
push 0x5c3441
push str.A0204
call fcn.004bdde0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.004bc750
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.004bc4e0
mov edi, dword [ebp - 0x114]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5c3444
push edi
call esi
push 0x5c344c
push edi
mov dword [ebp - 0x118], eax
call esi
push str.Gdi32.dll
mov dword [ebp - 0x11c], eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x120], eax
test eax, eax
je 0x4f8dd8
push 0x5c3414
push eax
call esi
mov edi, eax
xor esi, esi
mov dword [ebp - 0x114], esi
test edi, edi
je 0x4f8e28
mov eax, dword [ebp - 0x118]
test eax, eax
je 0x4f8e28
cmp dword [ebp - 0x11c], esi
je 0x4f8e28
push esi
call eax
mov esi, eax
test esi, esi
je 0x4f8e26
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 - 0x11c]
mov esi, dword [ebp - 0x118]
jmp 0x4f8e28
xor esi, esi
mov eax, dword [ebp - 0x120]
test eax, eax
je 0x4f8e39
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
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], esi
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 0xf
mov edi, dword [ebp - 0x110]
mov ecx, edi
push 0x5c3429
push str.A0205
call fcn.004bdde0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.004bc750
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.004bc4e0
mov eax, dword [ebp - 0x114]
mov byte [ebp - 0x38], 2
and dword [ebp - 0x38], 0xfffffeff
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 0x11
mov ecx, edi
push 0x5c3431
push str.A0206
call fcn.004bdde0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.004bc750
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x40]
call fcn.004bc4e0
xorps xmm0, xmm0
lea ecx, [ebp - 0xcc]
movups xmmword [ebp - 0xcc], xmm0
movups xmmword [ebp - 0xbc], xmm0
call fcn.0045c460
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0xc4]
mov esi, dword [ebp - 0x124]
cmp eax, esi
je 0x4f8f42
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4f8f33
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0xc4]
push eax
call fcn.004047a0
mov eax, dword [ebp - 0xcc]
mov cl, byte [esi + 0x30]
mov byte [eax + 0x3d], cl
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0xcc]
call fcn.0045c6d0
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x9c], 0
jne 0x4f8f7f
push 0xc
push str.000000000000
lea ecx, [ebp - 0xac]
call fcn.004047a0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x98], 8
lea ecx, [ebp - 0xac]
mov edx, dword [ebp - 0x9c]
cmovae ecx, dword [ebp - 0xac]
push eax
call fcn.0043da50
add esp, 4
mov byte [ebp - 0x38], 4
or dword [ebp - 0x38], 0x100
lea esi, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x34], 0
cmovae esi, dword [ebp - 0x28]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.004a2d70
mov edx, eax
mov ecx, esi
call fcn.004bb390
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 0x16
mov ecx, edi
push 0x5c3439
push str.A0207
call fcn.004bdde0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.004bc750
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x40]
call fcn.004bc4e0
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4f9072
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f9068
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4f9068
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0054bf14
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xac]
call fcn.004046e0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xcc]
call fcn.0045c530
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x50]
cmp edx, 0x10
jb 0x4f90dc
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f90d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4f90d2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0054bf14
add esp, 8
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x68]
cmp edx, 0x10
jb 0x4f9128
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f911e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4f911e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0054bf14
add esp, 8
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x80]
cmp edx, 0x10
jb 0x4f917a
mov ecx, dword [ebp - 0x94]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f9170
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4f9170
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0054bf14
add esp, 8
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], 0
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.0054bed3
mov esp, ebp
pop ebp
ret 4