Function at 0x180039510
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 [0x180122010]
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 0x180039569
mov rcx, qword [rcx]
test rcx, rcx
je 0x180039569
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rdi, qword [r14 + 0x10]
mov rcx, rdi
call fcn.18003b410
test al, al
je 0x1800395c8
mov rcx, qword [rdi]
call fcn.18003ac50
mov rcx, rax
call fcn.180046130
test al, al
je 0x180039597
mov edx, 1
mov rcx, qword [rdi]
jmp 0x1800395a8
mov rbx, qword [rdi]
mov rcx, rbx
call fcn.18003b080
lea edx, [rax + 1]
mov rcx, rbx
call fcn.18003b200
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.18003add0
mov rcx, qword [rdi]
call fcn.1800440f0
mov byte [r14 + 8], 1
xor edi, edi
cmp qword [rsi + 0x10], rdi
je 0x180039c8a
mov rcx, rsi
call fcn.18001a210
test al, al
je 0x180039c8a
xorps xmm0, xmm0
movdqu xmmword [rbp], xmm0
movdqa xmm1, xmmword [0x1800e7190]
movdqu xmmword [rbp], xmm1
mov word [rbp - 0x10], di
lea r8d, [rdi + 0x11]
lea rdx, str.2345PicDumper.exe
lea rcx, [rbp - 0x10]
call fcn.180007980
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x1800e7190]
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.180007980
nop
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0xf0]
call fcn.18003b570
nop
lea r8, [rbp - 0x10]
mov rdx, rax
lea rcx, [rbp + 0x90]
call fcn.18001c540
nop
mov rdx, qword [rbp + 0x108]
cmp rdx, 8
jb 0x1800396b3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800396ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800396ae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8534
movdqa xmm0, xmmword [0x1800e7190]
movdqu xmmword [rbp + 0x100], xmm0
mov word [rbp + 0xf0], di
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x18003970d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180039708
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180039708
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8534
movdqa xmm0, xmmword [0x1800e7190]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], di
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x180039761
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003975c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003975c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8534
movdqa xmm0, xmmword [0x1800e7190]
movdqu xmmword [rbp], xmm0
mov word [rbp - 0x10], di
lea rcx, [rbp + 0x90]
call fcn.18001a210
test al, al
jne 0x180039791
mov rcx, rsi
call fcn.180021c30
xor bl, bl
jmp 0x180039c28
lea rcx, [rbp + 0x70]
call fcn.180027070
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x40], xmm0
movdqa xmm1, xmmword [0x1800e7190]
movdqu xmmword [rbp + 0x40], xmm1
mov word [rbp + 0x30], di
mov r8d, 2
lea rdx, [0x1800e2b44]
lea rcx, [rbp + 0x30]
call fcn.180007980
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 [0x1800e7190]
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 0x18003989b
mov word [rbp + 0x31a], di
lea rax, [rbp + 0x110]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180039880
lea rdx, [rbp + 0x110]
lea rcx, [rbp - 0x30]
call fcn.180007980
lea rcx, [rbp - 0x30]
call fcn.1800280c0
mov rbx, rax
mov rdx, rsi
lea rcx, [rbp + 0x10]
call fcn.1800075b0
nop
mov r9, qword [rbp + 0x20]
mov rcx, rdi
test r9, r9
je 0x180039906
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 0x1800398fe
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 0x1800398d2
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x60], xmm0
movdqa xmm1, xmmword [0x1800e7190]
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 0x18003993b
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.18001ebe0
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.1800075b0
mov rbx, rax
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 0x50]
call fcn.1800075b0
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.180028f70
test al, al
jne 0x180039a29
mov rcx, rsi
call fcn.180021c30
mov bl, 1
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x180039a6e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180039a69
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180039a69
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8534
movdqa xmm0, xmmword [0x1800e7190]
movdqu xmmword [rbp], xmm0
mov word [rbp - 0x10], di
mov rdx, qword [rbp + 0x68]
cmp rdx, 8
jb 0x180039ac2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180039abd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180039abd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8534
movdqa xmm0, xmmword [0x1800e7190]
movdqu xmmword [rbp + 0x60], xmm0
mov word [rbp + 0x50], di
mov rdx, qword [rbp + 0x28]
cmp rdx, 8
jb 0x180039b16
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180039b11
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180039b11
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8534
mov qword [rbp + 0x20], rdi
mov qword [rbp + 0x28], 7
mov word [rbp + 0x10], di
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x180039b69
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180039b64
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180039b64
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8534
movdqa xmm0, xmmword [0x1800e7190]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], di
mov rdx, qword [rbp + 0x48]
cmp rdx, 8
jb 0x180039bbd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180039bb8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180039bb8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8534
movdqa xmm0, xmmword [0x1800e7190]
movdqu xmmword [rbp + 0x40], xmm0
mov word [rbp + 0x30], di
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x180039c14
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180039c0f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180039c0f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8534
movdqa xmm0, xmmword [0x1800e7190]
movdqu xmmword [rbp + 0x80], xmm0
mov word [rbp + 0x70], di
mov rdx, qword [rbp + 0xa8]
cmp rdx, 8
jb 0x180039c71
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180039c6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180039c6c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8534
movdqa xmm0, xmmword [0x1800e7190]
movdqu xmmword [rbp + 0xa0], xmm0
mov word [rbp + 0x90], di
jmp 0x180039c8c
xor bl, bl
mov rcx, qword [r14]
test rcx, rcx
je 0x180039c9a
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.1800c8510
add rsp, 0x430
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret