Function at 0x180261ec0
Capabilities:
Get common file path
Get memory capacity

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x330]
sub rsp, 0x430
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov rax, qword [0x1804cd010]
xor rax, rsp
mov qword [rbp + 0x320], rax
mov r12, r9
mov r15, r8
mov rsi, rdx
mov r14, rcx
mov qword [rsp + 0x70], rcx
test rcx, rcx
je 0x180261f19
mov rcx, qword [rcx]
test rcx, rcx
je 0x180261f19
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rdi, qword [r14 + 0x10]
mov rcx, rdi
call fcn.180261a70
test al, al
je 0x180261f78
mov rcx, qword [rdi]
call fcn.1802612b0
mov rcx, rax
call fcn.180164760
test al, al
je 0x180261f47
mov edx, 1
mov rcx, qword [rdi]
jmp 0x180261f58
mov rbx, qword [rdi]
mov rcx, rbx
call fcn.1802616e0
lea edx, [rax + 1]
mov rcx, rbx
call fcn.180261860
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rdx, rax
mov rcx, qword [rdi]
call fcn.180261430
mov rcx, qword [rdi]
call fcn.18016a5f0
mov byte [r14 + 8], 1
xor edi, edi
cmp qword [rsi + 0x10], rdi
je 0x18026263a
mov rcx, rsi
call fcn.180156070
test al, al
je 0x18026263a
xorps xmm0, xmm0
movdqu xmmword [rbp], xmm0
movdqa xmm1, xmmword [0x1803e8770]
movdqu xmmword [rbp], xmm1
mov word [rbp - 0x10], di
lea r8d, [rdi + 0x11]
lea rdx, str.2345PicDumper.exe
lea rcx, [rbp - 0x10]
call fcn.180004ea0
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x1803e8770]
movdqu xmmword [rbp - 0x20], xmm1
mov word [rbp - 0x30], di
lea r8d, [rdi + 0x11]
lea rdx, str.2345PicDumper.exe
lea rcx, [rbp - 0x30]
call fcn.180004ea0
nop
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0xf0]
call fcn.180234f90
nop
lea r8, [rbp - 0x10]
mov rdx, rax
lea rcx, [rbp + 0x90]
call fcn.18015aff0
nop
mov rdx, qword [rbp + 0x108]
cmp rdx, 8
jb 0x180262063
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18026205e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18026205e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8770]
movdqu xmmword [rbp + 0x100], xmm0
mov word [rbp + 0xf0], di
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1802620bd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1802620b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1802620b8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8770]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], di
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x180262111
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18026210c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18026210c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8770]
movdqu xmmword [rbp], xmm0
mov word [rbp - 0x10], di
lea rcx, [rbp + 0x90]
call fcn.180156070
test al, al
jne 0x180262141
mov rcx, rsi
call fcn.180175600
xor bl, bl
jmp 0x1802625d8
lea rcx, [rbp + 0x70]
call fcn.180163e60
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x40], xmm0
movdqa xmm1, xmmword [0x1803e8770]
movdqu xmmword [rbp + 0x40], xmm1
mov word [rbp + 0x30], di
mov r8d, 2
lea rdx, [0x1803d8b6c]
lea rcx, [rbp + 0x30]
call fcn.180004ea0
nop
xor eax, eax
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rax
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rax
mov dword [rbp + 0xb0], 0x40
lea rcx, [rbp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x1803e8770]
movdqu xmmword [rbp - 0x20], xmm1
mov word [rbp - 0x30], di
xor edx, edx
mov r8d, 0x20c
lea rcx, [rbp + 0x110]
call sub.VCRUNTIME140.dll_memset
mov edx, 0x105
lea rcx, [rbp + 0x110]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec eax
cmp eax, 0x103
ja 0x18026224b
mov word [rbp + 0x31a], di
lea rax, [rbp + 0x110]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180262230
lea rdx, [rbp + 0x110]
lea rcx, [rbp - 0x30]
call fcn.180004ea0
lea rcx, [rbp - 0x30]
call fcn.1801841d0
mov rbx, rax
mov rdx, rsi
lea rcx, [rbp + 0x10]
call fcn.180004ad0
nop
mov r9, qword [rbp + 0x20]
mov rcx, rdi
test r9, r9
je 0x1802622b6
mov r10d, 0x20
lea r11d, [r10 + 0x1f]
mov rdx, qword [rbp + 0x28]
mov r8, qword [rbp + 0x10]
lea rax, [rbp + 0x10]
cmp rdx, 8
cmovae rax, r8
cmp r10w, word [rax + rcx*2]
jne 0x1802622ae
lea rax, [rbp + 0x10]
cmp rdx, 8
cmovae rax, r8
mov word [rax + rcx*2], r11w
mov rdx, qword [rbp + 0x28]
mov r8, qword [rbp + 0x10]
inc rcx
cmp rcx, r9
jb 0x180262282
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x60], xmm0
movdqa xmm1, xmmword [0x1803e8770]
movdqu xmmword [rbp + 0x60], xmm1
mov word [rbp + 0x50], di
movdqu xmmword [rbp], xmm0
movdqu xmmword [rbp], xmm1
mov word [rbp - 0x10], di
lea r11, [rbp + 0x50]
cmp qword [r15 + 0x18], 8
jb 0x1802622eb
mov r15, qword [r15]
lea r10, [rbp + 0x30]
cmp qword [rbp + 0x48], 8
cmovae r10, qword [rbp + 0x30]
lea r8, [rbp + 0x70]
cmp qword [rbp + 0x88], 8
cmovae r8, qword [rbp + 0x70]
lea r9, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae r9, qword [rbp + 0x10]
shr rbx, 0x14
mov rdx, qword [rbp + 0xe0]
shr rdx, 0x14
mov rcx, qword [rbp + 0xd0]
shr rcx, 0x14
mov rax, qword [rbp + 0xc0]
shr rax, 0x14
mov qword [rsp + 0x60], r11
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r10
mov qword [rsp + 0x20], r8
lea r8, str._send_minidump
lea rdx, str._s__s_s_s_s_I64u_I64u_I64u_I64u_I64x_s
lea rcx, [rbp - 0x10]
call fcn.180155210
lea rax, [rbp - 0x70]
mov qword [rbp - 0x80], rax
lea rax, [rbp - 0x50]
mov qword [rbp - 0x78], rax
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x70]
call fcn.180004ad0
mov rbx, rax
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 0x50]
call fcn.180004ad0
nop
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9b, 1
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call fcn.1801ff2c0
test al, al
jne 0x1802623d9
mov rcx, rsi
call fcn.180175600
mov bl, 1
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x18026241e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180262419
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180262419
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8770]
movdqu xmmword [rbp], xmm0
mov word [rbp - 0x10], di
mov rdx, qword [rbp + 0x68]
cmp rdx, 8
jb 0x180262472
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18026246d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18026246d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8770]
movdqu xmmword [rbp + 0x60], xmm0
mov word [rbp + 0x50], di
mov rdx, qword [rbp + 0x28]
cmp rdx, 8
jb 0x1802624c6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1802624c1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1802624c1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
mov qword [rbp + 0x20], rdi
mov qword [rbp + 0x28], 7
mov word [rbp + 0x10], di
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x180262519
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180262514
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180262514
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8770]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], di
mov rdx, qword [rbp + 0x48]
cmp rdx, 8
jb 0x18026256d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180262568
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180262568
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8770]
movdqu xmmword [rbp + 0x40], xmm0
mov word [rbp + 0x30], di
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x1802625c4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1802625bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1802625bf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8770]
movdqu xmmword [rbp + 0x80], xmm0
mov word [rbp + 0x70], di
mov rdx, qword [rbp + 0xa8]
cmp rdx, 8
jb 0x180262621
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18026261c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18026261c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8770]
movdqu xmmword [rbp + 0xa0], xmm0
mov word [rbp + 0x90], di
jmp 0x18026263c
xor bl, bl
mov rcx, qword [r14]
test rcx, rcx
je 0x18026264a
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x70], rdi
movzx eax, bl
mov rcx, qword [rbp + 0x320]
xor rcx, rsp
call fcn.180388400
add rsp, 0x430
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret