Function at 0x140030f30
Capabilities:
Create directory

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xc68]
sub rsp, 0xd40
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401c7ef8]
xor rax, rsp
mov qword [rbp + 0xc30], rax
mov r14, rcx
xor r13d, r13d
test rcx, rcx
je 0x140030f89
mov rax, qword [rcx]
cmp dword [rax], 0x80000003
je 0x14003101a
cmp byte [0x1401cfb48], r13b
je 0x140030f9c
mov eax, 1
jmp 0x1400316d5
mov byte [0x1401cfb48], 1
test rcx, rcx
je 0x140030fae
mov rdx, qword [rcx + 8]
jmp 0x140030fb1
mov rdx, r13
mov r8d, 0x3f
lea rcx, [rbp + 0x230]
call fcn.14002f320
nop
lea rdi, [0x1401cfb20]
mov qword [rbp - 0x38], rdi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rbp - 0x30], 1
call fcn.140031900
mov rdx, qword [rax + 0x108]
test rdx, rdx
je 0x140030fef
call rdx
lea rcx, str.dbghelp.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov r12, rax
test rax, rax
jne 0x140031021
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
lea rcx, [rbp + 0x230]
call fcn.14002f7a0
xor eax, eax
jmp 0x1400316d5
lea rdx, str.MiniDumpWriteDump
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test rax, rax
jne 0x140031060
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
lea rcx, [rbp + 0x230]
call fcn.14002f7a0
xor eax, eax
jmp 0x1400316d5
call fcn.140031900
mov rcx, rax
lea rdx, [rbp - 0x68]
call fcn.14002fe00
nop
lea rcx, [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [rbp + 0x74]
movzx eax, word [rbp + 0x72]
movzx ecx, word [rbp + 0x70]
movzx edi, word [rbp + 0x6e]
movzx r8d, word [rbp + 0x6a]
movzx r9d, word [rbp + 0x68]
mov dword [rsp + 0x48], edx
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x20], r9d
mov rsi, qword [rbp - 0x68]
mov r9, rsi
lea r8, str._scrash__04d__02d__02d__02d__02d__02d.dmp
mov edx, 0x400
lea rcx, [rbp + 0x430]
call qword [sym.imp.MSVCR100.dll_swprintf_s]
xor r8d, r8d
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
nop
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov edx, 0x40000000
lea r8d, [r9 + 2]
lea rcx, [rbp + 0x430]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov qword [rsp + 0x68], rax
cmp rax, 0xffffffffffffffff
jne 0x14003116f
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
or r13, rbx
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rdx, [rsi - 0x18]
lock xadd dword [rdx + 0x10], r13d
dec r13d
test r13d, r13d
jg 0x14003114e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [0x1401cfb20]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
lea rcx, [rbp + 0x230]
call fcn.14002f7a0
xor eax, eax
jmp 0x1400316d5
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x58], eax
mov qword [rsp + 0x5c], r14
mov dword [rsp + 0x64], r13d
test r14, r14
je 0x140031198
mov rax, qword [r14]
cmp dword [rax], 0x80000005
je 0x140031198
lea r13, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9d, [rax + 0x40]
mov r8, rbx
mov edx, edi
call r15
xor edi, edi
mov r15d, edi
mov ecx, 1
test eax, eax
cmovne r15d, ecx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.140031900
mov rcx, rax
lea rdx, [rbp + 0xa0]
call fcn.14002fa40
nop
call fcn.140031900
mov rcx, rax
lea rdx, [rbp + 0x118]
call fcn.14002f980
nop
or r13, 0xffffffffffffffff
cmp qword [rbp + 0xb0], rdi
je 0x14003162f
call fcn.140031900
mov rcx, rax
lea rdx, [rbp + 0x1b8]
call fcn.14002fa80
nop
call fcn.140031900
mov rcx, rax
lea rdx, [rbp + 0xc8]
call fcn.14002fac0
nop
test rbx, rbx
je 0x140031259
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, edi
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x50], edi
mov qword [rbp - 0x78], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp - 0x80], rdi
mov byte [rsp + 0x70], 0
mov r8d, SafeArrayLock
lea rdx, str.CHockeyCrashSender
lea rcx, [rsp + 0x70]
call fcn.1400082f0
nop
mov qword [rbp - 0x48], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp - 0x50], rdi
mov byte [rbp - 0x60], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x60]
lea r8, [rsp + 0x70]
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x310]
call fcn.1400f1d10
nop
cmp qword [rbp - 0x48], 0x10
jb 0x1400312cd
mov rcx, qword [rbp - 0x60]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x48], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp - 0x50], rdi
mov byte [rbp - 0x60], 0
cmp qword [rbp - 0x78], 0x10
jb 0x1400312ee
mov rcx, qword [rsp + 0x70]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x78], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp - 0x80], rdi
mov byte [rsp + 0x70], 0
lea rdx, [rbp + 0x118]
lea rcx, [rbp + 0x310]
call fcn.1400f08c0
mov qword [rbp + 0x108], 7
mov qword [rbp + 0x100], rdi
mov word [rbp + 0xf0], di
xor eax, eax
mov rcx, r13
lea rdi, [rbp + 0x430]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp + 0x430]
lea rcx, [rbp + 0xf0]
call fcn.1400067c0
nop
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x310]
call fcn.1400f1e70
nop
cmp qword [rbp + 0x108], 8
jb 0x14003137f
mov rcx, qword [rbp + 0xf0]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
cmp qword [rbp + 0x1c8], 0
je 0x14003139c
lea rdx, [rbp + 0x1b8]
lea rcx, [rbp + 0x310]
call fcn.1400f1e20
cmp qword [rbp + 0xd8], 0
je 0x1400313b9
lea rdx, [rbp + 0xc8]
lea rcx, [rbp + 0x310]
call fcn.1400f1e20
lea rax, [rbp - 0x10]
mov qword [rbp - 0x28], rax
lea rax, [rbp + 0x18]
mov qword [rbp - 0x20], rax
call fcn.140031900
mov rcx, rax
lea rdx, [rbp - 0x10]
call fcn.14002f980
mov r12, rax
call fcn.140031900
mov rcx, rax
lea rdx, [rbp + 0x18]
call fcn.14002fa00
mov rdi, rax
call fcn.140031900
mov rcx, rax
lea rdx, [rbp + 0x40]
call fcn.14002f9c0
nop
mov r9, r12
mov r8, rdi
mov rdx, rax
lea rcx, [rbp + 0x78]
call fcn.1400f0970
nop
test r14, r14
je 0x140031464
mov rax, qword [r14]
test rax, rax
je 0x140031464
mov r9d, dword [rax]
mov r8b, 1
mov rdx, r14
lea rcx, [rbp + 0x208]
call fcn.140030920
nop
mov r9, r13
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x78]
call fcn.140006920
nop
cmp qword [rbp + 0x220], 0x10
jb 0x140031493
mov rcx, qword [rbp + 0x208]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
jmp 0x140031493
lea rax, str.ExceptionRecord_is_null_r_n
lea rdx, str.ExceptionInfo_is_null_r_n
test r14, r14
cmovne rdx, rax
xor eax, eax
mov rcx, r13
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbp + 0x78]
call fcn.1400081b0
lea rdx, [rbp + 0x1e0]
lea rcx, [rbp + 0x230]
call fcn.14002f940
mov rdi, rax
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x230]
call fcn.1400301f0
nop
lea r8, str._r_nUntrimmed_call_stack:_r_n
mov rdx, rax
lea rcx, [rbp + 0x190]
call fcn.140022550
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rbp + 0x168]
call fcn.140030120
nop
mov r9, r13
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x78]
call fcn.140006920
nop
cmp qword [rbp + 0x180], 0x10
jb 0x140031510
mov rcx, qword [rbp + 0x168]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x180], reloc.OLEAUT32.dll_SafeArrayDestroy
xor edi, edi
mov qword [rbp + 0x178], rdi
mov byte [rbp + 0x168], dil
cmp qword [rbp + 0x1a8], 0x10
jb 0x140031541
mov rcx, qword [rbp + 0x190]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x1a8], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp + 0x1a0], rdi
mov byte [rbp + 0x190], 0
cmp qword [rbp + 0x158], 0x10
jb 0x140031570
mov rcx, qword [rbp + 0x140]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x158], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp + 0x150], rdi
mov byte [rbp + 0x140], 0
cmp qword [rbp + 0x1f8], 0x10
jb 0x14003159f
mov rcx, qword [rbp + 0x1e0]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
xor r8d, r8d
lea rdx, [rbp + 0x78]
lea rcx, [rbp + 0x310]
call fcn.1400f1200
nop
cmp qword [rbp + 0x90], 0x10
jb 0x1400315c6
mov rcx, qword [rbp + 0x78]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x90], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp + 0x88], rdi
mov byte [rbp + 0x78], 0
lea rcx, [rbp + 0x310]
call fcn.140030d20
nop
cmp qword [rbp + 0xe0], 0x10
jb 0x1400315ff
mov rcx, qword [rbp + 0xc8]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0xe0], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp + 0xd8], rdi
mov byte [rbp + 0xc8], 0
cmp qword [rbp + 0x1d0], 0x10
jb 0x14003162f
mov rcx, qword [rbp + 0x1b8]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
nop
cmp qword [rbp + 0x130], 0x10
jb 0x140031645
mov rcx, qword [rbp + 0x118]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x130], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp + 0x128], rdi
mov byte [rbp + 0x118], 0
cmp qword [rbp + 0xb8], 0x10
jb 0x140031674
mov rcx, qword [rbp + 0xa0]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0xb8], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp + 0xb0], rdi
mov byte [rbp + 0xa0], 0
test rbx, rbx
je 0x14003169c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rdx, [rsi - 0x18]
lock xadd dword [rdx + 0x10], r13d
dec r13d
test r13d, r13d
jg 0x1400316b8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [0x1401cfb20]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
lea rcx, [rbp + 0x230]
call fcn.14002f7a0
mov eax, r15d
mov rcx, qword [rbp + 0xc30]
xor rcx, rsp
call fcn.1400d6f80
lea r11, [rsp + 0xd40]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret