Function at 0x46d680
Capabilities:
Get memory capacity

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6afa0f
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x540
mov eax, dword [0x78efc4]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, edx
mov dword [ebp - 0x52c], edi
mov eax, ecx
mov dword [ebp - 0x530], eax
mov dword [ebp - 0x44], eax
mov esi, dword [ebx + 0x10]
lea ecx, [ebp - 0x528]
mov dword [ebp - 0x534], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x548], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x544], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x550], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x54c], eax
mov dword [ebp - 0x540], 0
call fcn.0046dc20
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x3c]
mov edx, dword [edi + 0x2c]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x38]
push eax
call fcn.0046f420
mov edi, eax
add esp, 4
lea eax, [ebp - 0x528]
cmp eax, edi
je 0x46d784
mov ecx, eax
call fcn.0044d7a0
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x528], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x518], xmm0
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x46d7be
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46d7b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46dc00
push edx
push ecx
call fcn.006779b1
add esp, 8
lea eax, [ebp - 0x508]
cmp eax, esi
je 0x46d7e1
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x46d7d2
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x508]
push eax
call fcn.0044d800
sub esp, 0x18
lea eax, [ebp - 0x528]
mov ecx, esp
push eax
call fcn.0044d190
mov edx, esi
lea ecx, [ebp - 0x38]
call fcn.004e06e0
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0x4f0]
cmp eax, esi
je 0x46d840
mov ecx, eax
call fcn.0044d7a0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x4f0], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x4e0], xmm0
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x46d87a
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46d870
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46dc05
push edx
push ecx
call fcn.006779b1
add esp, 8
mov edi, dword [ebp - 0x52c]
lea ecx, [ebp - 0x498]
push edi
call fcn.0046e140
mov dword [ebp - 0x58], 0
push 0x13
xor eax, eax
mov dword [ebp - 0x48], 0
push 0x74725c
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 1
call fcn.0044d800
mov esi, dword [edi + 0x2c]
mov byte [ebp - 4], 8
call fcn.00478b30
mov ecx, eax
lea edx, [ebp - 0x38]
push esi
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x28], 0
mov dword [ebp - 0x540], 2
jne 0x46d90c
call fcn.004486f0
cmp dword [ebp - 0x44], 8
mov ecx, eax
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
mov dword [ebp - 0x52c], eax
lea eax, [ebp - 0x52c]
push eax
push str.Unknown_pid_in_GetProcessCommandLine_for__0
push ecx
call fcn.00473ec0
lea ecx, [ebp - 0x4c0]
call fcn.0044d7a0
movups xmm0, xmmword [ebp - 0x38]
movups xmmword [ebp - 0x4c0], xmm0
movq xmm0, qword [ebp - 0x28]
movq qword [ebp - 0x4b0], xmm0
xor eax, eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
cmp edx, 8
jb 0x46d981
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46d977
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46dc0a
push edx
push ecx
call fcn.006779b1
add esp, 8
push 0
push dword [edi + 0x2c]
mov byte [ebp - 0xf7], 1
call fcn.004792d0
mov ecx, dword [edi + 0x2c]
add esp, 8
mov dword [ebp - 0x510], eax
mov dword [ebp - 0x50c], edx
call fcn.004ea3a0
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0xe4], edx
mov dword [ebp - 0x98], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
jne 0x46da58
call fcn.004486f0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x38]
call fcn.00531420
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0xb
push eax
push str.Unable_to_read_system_memory_status._Error:__0
push 2
mov ecx, esi
call fcn.0044f2f0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x46da3f
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46da35
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46dc0f
push edx
push ecx
call fcn.006779b1
add esp, 8
xorps xmm0, xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
jmp 0x46da94
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
movups xmm0, xmmword [ebp - 0x40]
lea ecx, [ebp - 0x4c]
movups xmmword [ebp - 0xe0], xmm0
movups xmm0, xmmword [ebp - 0x30]
movups xmmword [ebp - 0xd0], xmm0
call fcn.004ea640
mov esi, eax
lea eax, [ebp - 0xc0]
cmp eax, esi
je 0x46daf3
mov ecx, eax
call fcn.0046fe80
mov eax, dword [esi]
mov dword [ebp - 0xc0], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0xbc], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0xb8], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x4c]
call fcn.0046fe80
mov edx, dword [ebp - 0x544]
lea ecx, [ebp - 0x528]
push dword [ebp - 0x548]
mov al, byte [edx + 0x444]
mov byte [ebp - 0x9b], al
call fcn.0046f5f0
add esp, 4
mov dword [ebp - 4], 0
lea edx, [ebp - 0x528]
push ecx
push dword [ebp - 0x54c]
lea ecx, [ebp - 0x53c]
push dword [ebp - 0x550]
call fcn.0046d500
mov esi, dword [ebp - 0x530]
add esp, 0xc
mov ecx, dword [ebp - 0x53c]
mov dword [ebp - 0x53c], 0
mov dword [esi], ecx
mov ecx, dword [ebp - 0x538]
mov dword [esi + 4], ecx
lea ecx, [ebp - 0x528]
mov dword [ebp - 0x538], 0
call fcn.0046d060
mov eax, esi
jmp 0x46dbe2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.006773ff
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00682da2
call fcn.00682da2
call fcn.00682da2
call fcn.00682da2
int3