Function at 0x140001760
Capabilities:
Create directory

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x8b0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x140437340]
xor rax, rsp
mov qword [rsp + 0x8a0], rax
mov rsi, rcx
lea r14, [0x140444f50]
mov qword [rsp + 0x78], r14
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rsp + 0x80], 1
xor r12d, r12d
mov rax, qword [rsi]
cmp dword [rax], 0x80000003
jne 0x1400017d3
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x1400019eb
call fcn.140001b90
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1400017e3
call rcx
lea rcx, str.dbghelp.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbp, rax
test rax, rax
jne 0x140001808
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x1400019eb
lea rdx, str.MiniDumpWriteDump
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
test rax, rax
jne 0x14000183a
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x1400019eb
call fcn.140001b90
mov rcx, rax
lea rdx, [rsp + 0x60]
call fcn.140001bd0
nop
lea rcx, [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx r11d, word [rsp + 0x94]
movzx eax, word [rsp + 0x92]
movzx ecx, word [rsp + 0x90]
movzx edx, word [rsp + 0x8e]
movzx r8d, word [rsp + 0x8a]
movzx r9d, word [rsp + 0x88]
mov dword [rsp + 0x48], r11d
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x20], r9d
mov rdi, qword [rsp + 0x60]
mov r9, rdi
lea r8, str._scrash__04d__02d__02d__02d__02d__02d.dmp
mov edx, 0x400
lea rcx, [rsp + 0xa0]
call fcn.140252078
xor r8d, r8d
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
nop
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov edx, 0x40000000
lea r8d, [r9 + 2]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov qword [rsp + 0x68], rax
cmp rax, 0xffffffffffffffff
jne 0x140001956
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
or rbx, rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rdx, [rdi - 0x18]
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x140001946
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x1400019eb
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x54], rsi
mov dword [rsp + 0x5c], r12d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
mov r8, rbx
mov edx, esi
call r13
mov ecx, 1
test eax, eax
cmovne r12d, ecx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
test rbx, rbx
je 0x1400019c1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rdx, [rdi - 0x18]
or rbx, 0xffffffffffffffff
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x1400019df
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, r12d
mov rcx, qword [rsp + 0x8a0]
xor rcx, rsp
call fcn.140250fd0
lea r11, [rsp + 0x8b0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret