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

Disassembly:
push 0xffffffffffffffff
push 0x692787
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x148], eax
push esi
push edi
mov eax, dword [0x73d6e0]
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.00549c70
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 0x476345
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 0x6eb54c
push eax
call fcn.0041d190
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.00427f60
add esp, 4
mov byte [esp + 0x164], 0
cmp dword [esp + 0x150], 8
jb 0x476325
push dword [esp + 0x13c]
call fcn.005472b4
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 0x4763d7
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.004a18a0
mov dword [esp + 0x24], eax
mov byte [esp + 0x164], 2
mov ecx, esi
push 0x6f34e9
push str.A0201
call fcn.004a3c80
mov byte [esp + 0x164], 3
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call fcn.004a2950
mov byte [esp + 0x164], 0
lea ecx, [esp + 0x24]
call fcn.004a27b0
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.00409260
mov byte [esp + 0x164], 4
mov eax, dword [0x74fd44]
test al, 1
jne 0x476453
or eax, 1
mov dword [0x74fd44], eax
mov byte [esp + 0x164], 5
mov dword [0x74fd40], 0
call fcn.004375a0
push 0x6b5140
call fcn.00547b44
add esp, 4
mov byte [esp + 0x164], 4
lea eax, [esp + 0x24]
mov ecx, 0x74fd40
push eax
call fcn.00437760
mov edi, eax
mov byte [esp + 0x164], 0
cmp dword [esp + 0x38], 8
jb 0x47647f
push dword [esp + 0x24]
call fcn.005472b4
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 0x4764aa
push 0x6ebff4
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 0x4765bd
push 0
call esi
test eax, eax
jle 0x4765bd
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 0x6f1a0c
push eax
call fcn.0041d190
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.00427f60
add esp, 4
mov byte [esp + 0x164], 6
cmp dword [esp + 0x150], 8
jb 0x47659d
push dword [esp + 0x13c]
call fcn.005472b4
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 0x476669
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.004a18a0
mov dword [esp + 0x13c], eax
mov byte [esp + 0x164], 8
mov ecx, dword [esp + 0x20]
push 0x6f34f1
push str.A0202
call fcn.004a3c80
mov byte [esp + 0x164], 9
lea ecx, [esp + 0x13c]
push ecx
mov ecx, eax
call fcn.004a2950
mov byte [esp + 0x164], 6
lea ecx, [esp + 0x13c]
call fcn.004a27b0
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 0x47677c
push 1
call esi
test eax, eax
jle 0x47677c
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 0x6f1a0c
push eax
call fcn.0041d190
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.00427f60
add esp, 4
mov byte [esp + 0x164], 0xa
cmp dword [esp + 0x150], 8
jb 0x47675c
push dword [esp + 0x13c]
call fcn.005472b4
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 0x476828
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.004a18a0
mov dword [esp + 0x13c], eax
mov byte [esp + 0x164], 0xc
mov ecx, dword [esp + 0x20]
push 0x6f3565
push str.A0203
call fcn.004a3c80
mov byte [esp + 0x164], 0xd
lea ecx, [esp + 0x13c]
push ecx
mov ecx, eax
call fcn.004a2950
mov byte [esp + 0x164], 0xa
lea ecx, [esp + 0x13c]
call fcn.004a27b0
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 0x6f356d
push str.A0204
call fcn.004a3c80
mov byte [esp + 0x164], 0xf
lea ecx, [esp + 0x13c]
push ecx
mov ecx, eax
call fcn.004a2950
mov byte [esp + 0x164], 0xa
lea ecx, [esp + 0x13c]
call fcn.004a27b0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x6f354c
push edi
call esi
push 0x6f3554
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 0x476926
push 0x6f3594
push eax
call esi
mov edi, eax
xor esi, esi
test edi, edi
je 0x476962
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x476962
cmp dword [esp + 0x18], esi
je 0x476962
push esi
call eax
mov esi, eax
test esi, esi
je 0x476960
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 0x476964
xor esi, esi
xor edi, edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x476973
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 0x6f3575
push str.A0205
call fcn.004a3c80
mov byte [esp + 0x164], 0x11
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call fcn.004a2950
mov byte [esp + 0x164], 0xa
lea ecx, [esp + 0x24]
call fcn.004a27b0
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 0x6f357d
push str.A0206
call fcn.004a3c80
mov byte [esp + 0x164], 0x13
lea ecx, [esp + 0x13c]
push ecx
mov ecx, eax
call fcn.004a2950
mov byte [esp + 0x164], 0xa
lea ecx, [esp + 0x13c]
call fcn.004a27b0
xorps xmm0, xmm0
lea ecx, [esp + 0xa4]
movdqu xmmword [esp + 0xa4], xmm0
movdqu xmmword [esp + 0xb4], xmm0
call fcn.00439f30
mov byte [esp + 0x164], 0x14
lea ecx, [esp + 0xac]
mov eax, dword [esp + 0x14]
cmp ecx, eax
je 0x476ab2
push 0xffffffffffffffff
push 0
push eax
call fcn.00409040
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0xa8]
call fcn.0043a090
mov byte [esp + 0x164], 0x15
cmp dword [esp + 0xd4], 0
jne 0x476aeb
push 0xc
push str.000000000000
lea ecx, [esp + 0xcc]
call fcn.00409260
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.00427f60
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.004a18a0
mov dword [esp + 0x24], eax
mov byte [esp + 0x164], 0x17
mov ecx, esi
push 0x6f35b9
push str.A0207
call fcn.004a3c80
mov byte [esp + 0x164], 0x18
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call fcn.004a2950
mov byte [esp + 0x164], 0x16
lea ecx, [esp + 0x24]
call fcn.004a27b0
mov byte [esp + 0x164], 0x15
cmp dword [esp + 0xf0], 0x10
jb 0x476c00
push dword [esp + 0xdc]
call fcn.005472b4
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 0x476c3f
push dword [esp + 0xc4]
call fcn.005472b4
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 0x476c8d
mov ecx, esi
call fcn.0044a1c0
push esi
call fcn.005472b4
add esp, 4
mov dword [esp + 0xa4], 0
mov byte [esp + 0x164], 0xa
cmp dword [esp + 0xc0], 8
jb 0x476cae
push dword [esp + 0xac]
call fcn.005472b4
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 0x476cef
push dword [esp + 0x124]
call fcn.005472b4
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 0x476d2e
push dword [esp + 0x10c]
call fcn.005472b4
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 0x476d70
push dword [esp + 0xf4]
call fcn.005472b4
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.005472b9
add esp, 0x15c
ret 4