Function at 0x613340
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x270
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [0x7024bc]
xor ecx, ebp
mov dword [esp + 0x268], ecx
mov dword [esi + 0x1c], eax
lea edi, [esp + 0x150]
push 0x118
push 0
push edi
call fcn.00645dd0
add esp, 0xc
mov dword [edi - 4], 0x11c
lea eax, [esp + 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x6133a4
cmp byte [esp + 0x266], 1
setne byte [esi + 0x2c]
jmp 0x6133ed
push 1
call fcn.00499940
add esp, 4
test al, al
je 0x6133ed
call fcn.0049a360
lea edi, [esp + 0xa0]
mov ecx, edi
push eax
push 1
push 0x64
push str..._.._third_party_crashpad_crashpad_snapshot_win_system_snapshot_win.cc
call fcn.0049a500
lea eax, [esp + 0xa8]
push 0xc
push str.GetVersionEx
push eax
call fcn.0040280c
add esp, 0xc
mov ecx, edi
call fcn.0049a5b0
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x60]
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
mov dword [edi + 0x30], 0xffffffff
lea ebx, [esp + 0xa0]
mov ecx, ebx
push 0xc
push str.kernel32.dll
call fcn.004956d0
push edi
mov edi, ebx
push ebx
call fcn.00613054
add esp, 8
mov ebx, eax
mov ecx, edi
call fcn.00495790
test bl, bl
je 0x61385e
xor edi, edi
dec edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov ebx, dword [esp + 0x7c]
xor eax, eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa8], eax
test bl, 1
je 0x61347c
lea ecx, [esp + 0xa0]
push str.Debug_
call fcn.0048e06c
test bl, 4
je 0x613492
lea ecx, [esp + 0xa0]
push str.Patched_
call fcn.0048e06c
test bl, 2
je 0x6134a8
lea ecx, [esp + 0xa0]
push str.Prerelease_
call fcn.0048e06c
test bl, 8
je 0x6134be
lea ecx, [esp + 0xa0]
push str.Private_
call fcn.0048e06c
test bl, 0x20
je 0x6134d4
lea ecx, [esp + 0xa0]
push str.Special_
call fcn.0048e06c
movzx eax, byte [esp + 0xab]
test al, al
js 0x613518
test al, al
je 0x613523
dec eax
lea ebx, [esp + 0xac]
lea ecx, [esp + 0x50]
push ebx
push eax
push 0
lea eax, [esp + 0xac]
push eax
call fcn.0048dafc
cmp byte [ebx - 1], 0
jns 0x613554
push dword [esp + 0xa0]
call fcn.006417be
add esp, 4
jmp 0x613554
mov eax, dword [esp + 0xa4]
test eax, eax
jne 0x6134e4
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x58], eax
movq xmm0, qword [esp + 0xa0]
movq qword [esp + 0x50], xmm0
xor eax, eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa8], eax
lea ebx, [esp + 0xa0]
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
mov eax, 0x40004
mov ecx, dword [esp + 0x80]
and ecx, eax
cmp ecx, eax
mov eax, str.Windows_NT
mov edx, 0x676468
cmove edx, eax
mov ecx, ebx
push edx
call fcn.00402558
mov eax, dword [esp + 0x68]
mov ecx, eax
shr ecx, 0x10
mov dword [esi + 0x20], ecx
mov ecx, 0xffff
and eax, ecx
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x6c]
mov edx, eax
shr edx, 0x10
mov dword [esi + 0x28], edx
and eax, ecx
lea ecx, [esp + 0x40]
push eax
push 0x68656d
push ecx
call fcn.004a8e00
add esp, 0xc
lea edi, [esi + 0x10]
cmp byte [esi + 0x1b], 0
js 0x6135d1
xor eax, eax
mov byte [edi], al
mov byte [edi + 0xb], al
jmp 0x6135f6
mov eax, dword [esi + 0x10]
mov byte [eax], 0
mov dword [esi + 0x14], 0
cmp byte [esi + 0x1b], 0
jns 0x6135f6
push dword [esi + 0x10]
call fcn.006417be
add esp, 4
mov dword [esi + 0x18], 0
mov eax, dword [esp + 0x48]
mov dword [edi + 8], eax
movsd xmm0, qword [esp + 0x40]
movsd qword [edi], xmm0
movzx eax, byte [esp + 0x5b]
test al, al
jns 0x613614
mov eax, dword [esp + 0x54]
test eax, eax
je 0x613692
mov dword [esp + 0x10], ebx
lea ebx, [esp + 0x14]
mov ecx, ebx
push 0x677e65
call fcn.00402558
lea edx, [esp + 0x50]
movzx eax, byte [edx + 0xb]
test al, al
cmovs eax, dword [edx + 4]
cmovs edx, dword [edx]
mov ecx, ebx
push eax
push edx
call fcn.0048deea
mov edx, dword [eax + 8]
lea ecx, [esp + 0x20]
mov dword [ecx + 8], edx
movsd xmm0, qword [eax]
movsd qword [ecx], xmm0
xor ebx, ebx
mov dword [eax], ebx
mov dword [eax + 8], ebx
mov dword [eax + 4], ebx
push 0x674c89
call fcn.0048e06c
mov ecx, dword [eax + 8]
mov dword [esp + 0x38], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x30], xmm0
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax], ebx
cmp byte [esp + 0x3b], 0
jns 0x6136bd
mov eax, dword [esp + 0x30]
jmp 0x6136c1
cmp byte [edi + 0xb], 0
jns 0x61369a
mov edi, dword [edi]
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
cmp byte [esp + 0xab], 0
jns 0x6137af
mov ebx, dword [esp + 0xa0]
jmp 0x6137b6
lea eax, [esp + 0x30]
mov dword [esp + 0xc], eax
lea ebx, [esp + 0x40]
cmp byte [edi + 0xb], 0
jns 0x6136d1
mov edi, dword [edi]
mov edx, dword [esi + 0x28]
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
cmp byte [esp + 0xab], 0
jns 0x6136f3
mov ebx, dword [esp + 0xa0]
mov dword [esp + 0x10], ebx
lea ebx, [esp + 0x40]
push dword [esp + 0xc]
push edi
push edx
push eax
push ecx
push dword [esp + 0x24]
push str._s__u._u._u._s_s
push ebx
call fcn.004a8e00
add esp, 0x20
lea edi, [esi + 4]
cmp byte [esi + 0xf], 0
js 0x61371f
xor eax, eax
mov byte [edi], al
mov byte [edi + 0xb], al
jmp 0x613744
mov eax, dword [esi + 4]
mov byte [eax], 0
mov dword [esi + 8], 0
cmp byte [esi + 0xf], 0
jns 0x613744
push dword [esi + 4]
call fcn.006417be
add esp, 4
mov dword [esi + 0xc], 0
mov eax, dword [esp + 0x48]
mov dword [edi + 8], eax
movq xmm0, qword [esp + 0x40]
movq qword [edi], xmm0
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
cmp byte [esp + 0x3b], 0
jns 0x613776
push dword [esp + 0x30]
call fcn.006417be
add esp, 4
cmp byte [esp + 0x2b], 0
lea edi, [esp + 0xa0]
jns 0x613790
push dword [esp + 0x20]
call fcn.006417be
add esp, 4
cmp byte [esp + 0x1f], 0
jns 0x6137a3
push dword [esp + 0x14]
call fcn.006417be
add esp, 4
lea eax, [esp + 0xa0]
jmp 0x613836
lea ebx, [esp + 0xa0]
push 0x6727d9
push edi
push ecx
push edx
push eax
push ebx
push str._s__u._u._u._s_s
lea eax, [esp + 0x5c]
push eax
call fcn.004a8e00
add esp, 0x20
lea edi, [esi + 4]
cmp byte [esi + 0xf], 0
js 0x6137e4
xor eax, eax
mov byte [edi], al
mov byte [edi + 0xb], al
jmp 0x613809
mov eax, dword [esi + 4]
mov byte [eax], 0
mov dword [esi + 8], 0
cmp byte [esi + 0xf], 0
jns 0x613809
push dword [esi + 4]
call fcn.006417be
add esp, 4
mov dword [esi + 0xc], 0
lea eax, [esp + 0xa0]
mov ecx, dword [esp + 0x48]
mov dword [edi + 8], ecx
movq xmm0, qword [esp + 0x40]
movq qword [edi], xmm0
xor ecx, ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], ecx
lea edi, [esp + 0xa0]
cmp byte [eax + 0xb], 0
jns 0x61384b
push dword [esp + 0xa0]
call fcn.006417be
add esp, 4
cmp byte [esp + 0x5b], 0
jns 0x61385e
push dword [esp + 0x50]
call fcn.006417be
add esp, 4
pxor xmm0, xmm0
movdqa xmmword [esp + 0xa0], xmm0
movdqa xmmword [esp + 0xd0], xmm0
movdqa xmmword [esp + 0xc0], xmm0
movdqa xmmword [esp + 0xb0], xmm0
mov dword [esp + 0xa0], 0x40
push edi
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x6138ec
cmp byte [esi + 0x30], 0
mov eax, dword [esp + 0xa8]
jne 0x6138ad
mov byte [esi + 0x30], 1
mov dword [esi + 0x34], eax
cmp byte [esi + 0x38], 0
mov eax, dword [esp + 0xb0]
jne 0x6138c1
mov byte [esi + 0x38], 1
mov dword [esi + 0x3c], eax
cmp byte [esi + 0x40], 0
mov eax, dword [esp + 0xb8]
jne 0x6138d5
mov byte [esi + 0x40], 1
mov dword [esi + 0x44], eax
cmp byte [esi + 0x48], 0
mov eax, dword [esp + 0xc0]
jne 0x6138e9
mov byte [esi + 0x48], 1
mov dword [esi + 0x4c], eax
mov ecx, dword [esp + 0x268]
xor ecx, ebp
call fcn.0064180a
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4