Function at 0x402a90
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4699c7
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x493014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x49395c]
mov edi, dword [ebp + 8]
test eax, eax
je 0x402be4
mov al, byte [eax + 0x64]
push ecx
mov ecx, 0x493958
mov byte [ebp - 0x179], al
call fcn.00406750
mov ecx, dword [0x49395c]
xor eax, eax
cmp byte [ecx + 0x54], al
je 0x402afb
cmp dword [ecx + 0x58], 2
jb 0x402afb
cmp byte [ecx + 0x5c], al
setne al
inc eax
cmp byte [ebp - 0x179], 0
mov dword [ebp - 0x180], eax
je 0x402be4
test eax, eax
je 0x402be4
mov dword [ebp - 4], 0
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
push 0xa
push 0x47fbc8
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
call fcn.00403ce0
push 0x4c
push str.RC::RCCrashService::OnGenerateDumpCompleted
push str.d:jenkinsworkspacepc_qncleaner_buildqncleanerprojectsqncservice_src_rccrashservice.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x493958
push eax
push 2
call fcn.00407590
cmp dword [ebp - 0x180], 1
jbe 0x402b88
lea eax, [ebp - 0x28]
mov ecx, 0x493958
push eax
call fcn.004078a0
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x402bc9
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402bbf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40363a
push edx
push ecx
call fcn.00434f80
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 4]
push eax
lea ecx, [ebp - 0x110]
call fcn.00403ac0
mov dword [ebp - 4], 6
mov word [ebp - 0xf8], 0
mov byte [ebp - 4], 7
xor eax, eax
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 7
mov word [ebp - 0xf4], ax
mov byte [ebp - 4], 8
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], 7
mov word [ebp - 0xdc], ax
mov byte [ebp - 4], 9
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], 7
mov word [ebp - 0xc4], ax
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], 7
mov word [ebp - 0xac], ax
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], 7
mov word [ebp - 0x94], ax
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
lea edx, [ebp - 0xf8]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x110]
call fcn.004050c0
test al, al
jne 0x402e20
mov eax, dword [0x49395c]
test eax, eax
je 0x4035a3
mov al, byte [eax + 0x64]
push ecx
mov ecx, 0x493958
mov byte [ebp - 0x179], al
call fcn.00406750
mov ecx, dword [0x49395c]
xor eax, eax
cmp byte [ecx + 0x54], al
je 0x402d3e
cmp dword [ecx + 0x58], 2
jb 0x402d3e
cmp byte [ecx + 0x5c], al
setne al
inc eax
cmp byte [ebp - 0x179], 0
mov dword [ebp - 0x180], eax
je 0x4035a3
test eax, eax
je 0x4035a3
mov byte [ebp - 4], 0xe
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
push 0xc
push 0x47fc38
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xf
call fcn.00403ce0
push 0x51
push str.RC::RCCrashService::OnGenerateDumpCompleted
push str.d:jenkinsworkspacepc_qncleaner_buildqncleanerprojectsqncservice_src_rccrashservice.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x493958
push eax
push 2
call fcn.00407590
cmp dword [ebp - 0x180], 1
jbe 0x402dc5
lea eax, [ebp - 0x28]
mov ecx, 0x493958
push eax
call fcn.004078a0
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x402e03
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402df9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40363f
push edx
push ecx
call fcn.00434f80
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0xd
jmp 0x4035a3
push 0x40
lea eax, [ebp - 0x178]
push 0
push eax
call fcn.0044bf20
add esp, 0xc
mov dword [ebp - 0x178], 0x40
lea eax, [ebp - 0x178]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movq qword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x138], xmm0
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x128], xmm0
mov dword [ebp - 0x30], 0
movq qword [ebp - 0x118], xmm0
mov dword [ebp - 0x2c], 0
lea edx, [ebp - 0x34]
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0xdc]
call fcn.00417120
test al, al
je 0x402ed9
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x30]
je 0x402ed9
push dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push 0x410
call esi
test eax, eax
jne 0x402ec9
mov eax, dword [ebp - 0x34]
push dword [eax]
push 0
push 0x400
call esi
test eax, eax
je 0x402ed9
push 0x28
lea ecx, [ebp - 0x138]
push ecx
push eax
call dword [sym.imp.PSAPI.DLL_GetProcessMemoryInfo]
push dword [ebp - 0x12c]
lea eax, [ebp - 0x7c]
push dword [ebp - 0x164]
push dword [ebp - 0x168]
push dword [ebp - 0x16c]
push dword [ebp - 0x170]
push str.TotalPhys___I64u__AvailPhys___I64u__WorkingSetSize___lu
push eax
call fcn.00414cf0
add esp, 0x1c
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
push 0x12
push str.QncCrashReport.exe
mov word [ebp - 0x28], ax
call fcn.00403ce0
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 0x19
call fcn.00418ce0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x1a
push ecx
mov edx, eax
lea ecx, [ebp - 0x1b8]
call fcn.004189b0
add esp, 4
mov esi, eax
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 0x1b
cmp eax, esi
je 0x402fa1
mov ecx, eax
call fcn.004039b0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x94], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x84], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 0x1c
mov edx, dword [ebp - 0x1a4]
cmp edx, 8
jb 0x402fe5
mov ecx, dword [ebp - 0x1b8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402fdb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403644
push edx
push ecx
call fcn.00434f80
add esp, 8
xor eax, eax
mov dword [ebp - 0x1a8], 0
mov dword [ebp - 0x1a4], 7
mov word [ebp - 0x1b8], ax
mov byte [ebp - 4], 0x20
mov edx, dword [ebp - 0x18c]
cmp edx, 8
jb 0x403046
mov ecx, dword [ebp - 0x1a0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40303c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403649
push edx
push ecx
call fcn.00434f80
add esp, 8
xor eax, eax
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x18c], 7
mov word [ebp - 0x1a0], ax
mov byte [ebp - 4], 0x24
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4030a1
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403097
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40364e
push edx
push ecx
call fcn.00434f80
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0x28
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
mov byte [ebp - 4], 0x29
cmp dword [edi], 2
jne 0x4030f6
lea eax, [edi + 0x34]
lea ecx, [ebp - 0x4c]
cmp ecx, eax
je 0x4030f6
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x4030ea
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.00403ce0
mov byte [ebp - 4], 0x2a
xor eax, eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
lea esi, [edi + 0x1c]
mov byte [ebp - 4], 0x2b
mov edx, esi
lea ecx, [ebp - 0x1a0]
call fcn.00415fc0
mov dword [ebp - 0x180], eax
mov byte [ebp - 4], 0x2c
lea eax, [ebp - 0x7c]
cmp dword [ebp - 0x68], 8
lea edx, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x7c]
cmp dword [ebp - 0x38], 8
cmovae edx, dword [ebp - 0x4c]
cmp dword [esi + 0x14], 8
jb 0x403158
mov esi, dword [esi]
cmp dword [ebp - 0x98], 8
lea edi, [ebp - 0xac]
lea ecx, [ebp - 0xc4]
cmovae edi, dword [ebp - 0xac]
cmp dword [ebp - 0xb0], 8
cmovae ecx, dword [ebp - 0xc4]
cmp dword [ebp - 0xc8], 8
mov dword [ebp - 0x188], ecx
lea ecx, [ebp - 0xdc]
cmovae ecx, dword [ebp - 0xdc]
mov dword [ebp - 0x184], ecx
mov ecx, dword [ebp - 0x180]
cmp dword [ecx + 0x14], 8
jb 0x4031ae
mov ecx, dword [ecx]
push eax
push edx
push esi
push edi
push dword [ebp - 0x188]
xor eax, eax
cmp byte [ebp - 0xf7], 1
push dword [ebp - 0x184]
sete al
push eax
xor eax, eax
cmp byte [ebp - 0xf8], 1
sete al
push eax
push ecx
lea eax, [ebp - 0x64]
push str.__crashid_s___reportwnd_d___restart_d___exename_s___exepath__s____param__s____dump__s____fulldump__s____externinfo__s_
push eax
call fcn.00414cf0
add esp, 0x2c
mov byte [ebp - 4], 0x2d
mov edx, dword [ebp - 0x18c]
cmp edx, 8
jb 0x40322e
mov ecx, dword [ebp - 0x1a0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403224
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403653
push edx
push ecx
call fcn.00434f80
add esp, 8
xor eax, eax
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x18c], 7
mov word [ebp - 0x1a0], ax
mov byte [ebp - 4], 0x2b
lea edx, [ebp - 0x64]
mov dword [ebp - 0x184], eax
lea eax, [ebp - 0x184]
push eax
push ecx
lea ecx, [ebp - 0x94]
call fcn.00419090
add esp, 8
test al, al
mov eax, dword [0x49395c]
je 0x403392
test eax, eax
je 0x4034a8
mov al, byte [eax + 0x64]
push ecx
mov ecx, 0x493958
mov byte [ebp - 0x179], al
call fcn.00406750
mov ecx, dword [0x49395c]
xor eax, eax
cmp byte [ecx + 0x54], al
je 0x4032b1
cmp dword [ecx + 0x58], 2
jb 0x4032b1
cmp byte [ecx + 0x5c], al
setne al
inc eax
cmp byte [ebp - 0x179], 0
mov dword [ebp - 0x180], eax
je 0x4034a8
test eax, eax
je 0x4034a8
mov byte [ebp - 4], 0x31
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
push 0xb
push 0x47fdf8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x32
call fcn.00403ce0
push 0x8b
push str.RC::RCCrashService::OnGenerateDumpCompleted
push str.d:jenkinsworkspacepc_qncleaner_buildqncleanerprojectsqncservice_src_rccrashservice.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x493958
push eax
push 2
call fcn.00407590
cmp dword [ebp - 0x180], 1
jbe 0x40333b
lea eax, [ebp - 0x28]
mov ecx, 0x493958
push eax
call fcn.004078a0
mov byte [ebp - 4], 0x33
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x403379
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40336f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403658
push edx
push ecx
call fcn.00434f80
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
jmp 0x4034a4
test eax, eax
je 0x4034a8
mov al, byte [eax + 0x64]
push ecx
mov ecx, 0x493958
mov byte [ebp - 0x179], al
call fcn.00406750
mov ecx, dword [0x49395c]
xor eax, eax
cmp byte [ecx + 0x54], al
je 0x4033c8
cmp dword [ecx + 0x58], 2
jb 0x4033c8
cmp byte [ecx + 0x5c], al
setne al
inc eax
cmp byte [ebp - 0x179], 0
mov dword [ebp - 0x180], eax
je 0x4034a8
test eax, eax
je 0x4034a8
mov byte [ebp - 4], 0x37
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
push 0xb
push 0x47fe10
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x38
call fcn.00403ce0
push 0x8f
push str.RC::RCCrashService::OnGenerateDumpCompleted
push str.d:jenkinsworkspacepc_qncleaner_buildqncleanerprojectsqncservice_src_rccrashservice.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x493958
push eax
push 2
call fcn.00407590
cmp dword [ebp - 0x180], 1
jbe 0x403452
lea eax, [ebp - 0x28]
mov ecx, 0x493958
push eax
call fcn.004078a0
mov byte [ebp - 4], 0x39
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x403490
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403486
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40365d
push edx
push ecx
call fcn.00434f80
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0x2b
mov byte [ebp - 4], 0x3d
mov edx, dword [ebp - 0x50]
cmp edx, 8
jb 0x4034e6
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4034dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403662
push edx
push ecx
call fcn.00434f80
add esp, 8
xor eax, eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
mov byte [ebp - 4], 0x41
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x403538
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40352e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403667
push edx
push ecx
call fcn.00434f80
add esp, 8
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x4035a3
mov eax, dword [ebp - 0x2c]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x403584
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40366c
push edx
push ecx
call fcn.00434f80
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 6
call fcn.00403680
mov dword [ebp - 4], 0x45
mov edx, dword [ebp - 0xfc]
cmp edx, 8
jb 0x4035f9
mov ecx, dword [ebp - 0x110]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4035ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403671
push edx
push ecx
call fcn.00434f80
add esp, 8
xor eax, eax
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 7
mov word [ebp - 0x110], ax
mov dword [ebp - 4], 0xffffffff
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.00434f3f
mov esp, ebp
pop ebp
ret 4
call fcn.0044e859
call fcn.0044e859
call fcn.0044e859
call fcn.0044e859
call fcn.0044e859
call fcn.0044e859
call fcn.0044e859
call fcn.0044e859
call fcn.0044e859
call fcn.0044e859
call fcn.0044e859
call fcn.0044e859
int3