Function at 0x180135a30
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 [0x1806c4cd8]
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 0x180135a89
mov rcx, qword [rcx]
test rcx, rcx
je 0x180135a89
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rdi, qword [r14 + 0x10]
mov rcx, rdi
call fcn.180137940
test al, al
je 0x180135ae8
mov rcx, qword [rdi]
call fcn.180137180
mov rcx, rax
call fcn.1802bd390
test al, al
je 0x180135ab7
mov edx, 1
mov rcx, qword [rdi]
jmp 0x180135ac8
mov rbx, qword [rdi]
mov rcx, rbx
call fcn.1801375b0
lea edx, [rax + 1]
mov rcx, rbx
call fcn.180137730
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.180137300
mov rcx, qword [rdi]
call fcn.180112e30
mov byte [r14 + 8], 1
xor edi, edi
cmp qword [rsi + 0x10], rdi
je 0x1801361aa
mov rcx, rsi
call fcn.18010b7a0
test al, al
je 0x1801361aa
xorps xmm0, xmm0
movdqu xmmword [rbp], xmm0
movdqa xmm1, xmmword [0x180601b00]
movdqu xmmword [rbp], xmm1
mov word [rbp - 0x10], di
lea r8d, [rdi + 0x11]
lea rdx, str.2345PicDumper.exe
lea rcx, [rbp - 0x10]
call fcn.18007da60
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x180601b00]
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.18007da60
nop
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0xf0]
call fcn.180137aa0
nop
lea r8, [rbp - 0x10]
mov rdx, rax
lea rcx, [rbp + 0x90]
call fcn.18010e780
nop
mov rdx, qword [rbp + 0x108]
cmp rdx, 8
jb 0x180135bd3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180135bce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180135bce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180468ddc
movdqa xmm0, xmmword [0x180601b00]
movdqu xmmword [rbp + 0x100], xmm0
mov word [rbp + 0xf0], di
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x180135c2d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180135c28
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180135c28
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180468ddc
movdqa xmm0, xmmword [0x180601b00]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], di
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x180135c81
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180135c7c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180135c7c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180468ddc
movdqa xmm0, xmmword [0x180601b00]
movdqu xmmword [rbp], xmm0
mov word [rbp - 0x10], di
lea rcx, [rbp + 0x90]
call fcn.18010b7a0
test al, al
jne 0x180135cb1
mov rcx, rsi
call fcn.180119cb0
xor bl, bl
jmp 0x180136148
lea rcx, [rbp + 0x70]
call fcn.1801209c0
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x40], xmm0
movdqa xmm1, xmmword [0x180601b00]
movdqu xmmword [rbp + 0x40], xmm1
mov word [rbp + 0x30], di
mov r8d, 2
lea rdx, [0x1805e914c]
lea rcx, [rbp + 0x30]
call fcn.18007da60
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 [0x180601b00]
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 0x180135dbb
mov word [rbp + 0x31a], di
lea rax, [rbp + 0x110]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180135da0
lea rdx, [rbp + 0x110]
lea rcx, [rbp - 0x30]
call fcn.18007da60
lea rcx, [rbp - 0x30]
call fcn.1801216d0
mov rbx, rax
mov rdx, rsi
lea rcx, [rbp + 0x10]
call fcn.18007d8c0
nop
mov r9, qword [rbp + 0x20]
mov rcx, rdi
test r9, r9
je 0x180135e26
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 0x180135e1e
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 0x180135df2
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x60], xmm0
movdqa xmm1, xmmword [0x180601b00]
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 0x180135e5b
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.18010b010
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.18007d8c0
mov rbx, rax
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 0x50]
call fcn.18007d8c0
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.1802b6d40
test al, al
jne 0x180135f49
mov rcx, rsi
call fcn.180119cb0
mov bl, 1
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x180135f8e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180135f89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180135f89
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180468ddc
movdqa xmm0, xmmword [0x180601b00]
movdqu xmmword [rbp], xmm0
mov word [rbp - 0x10], di
mov rdx, qword [rbp + 0x68]
cmp rdx, 8
jb 0x180135fe2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180135fdd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180135fdd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180468ddc
movdqa xmm0, xmmword [0x180601b00]
movdqu xmmword [rbp + 0x60], xmm0
mov word [rbp + 0x50], di
mov rdx, qword [rbp + 0x28]
cmp rdx, 8
jb 0x180136036
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180136031
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180136031
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180468ddc
mov qword [rbp + 0x20], rdi
mov qword [rbp + 0x28], 7
mov word [rbp + 0x10], di
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x180136089
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180136084
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180136084
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180468ddc
movdqa xmm0, xmmword [0x180601b00]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], di
mov rdx, qword [rbp + 0x48]
cmp rdx, 8
jb 0x1801360dd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801360d8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801360d8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180468ddc
movdqa xmm0, xmmword [0x180601b00]
movdqu xmmword [rbp + 0x40], xmm0
mov word [rbp + 0x30], di
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x180136134
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18013612f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18013612f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180468ddc
movdqa xmm0, xmmword [0x180601b00]
movdqu xmmword [rbp + 0x80], xmm0
mov word [rbp + 0x70], di
mov rdx, qword [rbp + 0xa8]
cmp rdx, 8
jb 0x180136191
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18013618c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18013618c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180468ddc
movdqa xmm0, xmmword [0x180601b00]
movdqu xmmword [rbp + 0xa0], xmm0
mov word [rbp + 0x90], di
jmp 0x1801361ac
xor bl, bl
mov rcx, qword [r14]
test rcx, rcx
je 0x1801361ba
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.1804688c0
add rsp, 0x430
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret