Function at 0x140013c30
Capabilities:
Create directory

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1f0
mov qword [rsp + 0x1c0], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rbp, rcx
lea r13, vtable.StringStorage.0
mov qword [rsp + 0x30], r13
mov ecx, 8
call fcn.1400797fc
xor r12d, r12d
test rax, rax
je 0x140013c86
lea rcx, [rsp + 0x38]
mov qword [rax], rcx
jmp 0x140013c89
mov rax, r12
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [0x1400d1b20]
repne scasw ax, word [rdi]
not rcx
mov rdx, rcx
xor r8d, r8d
lea rcx, [rsp + 0x38]
call fcn.14002bfc0
mov rdx, qword [rsp + 0x58]
mov rdi, rdx
mov rbx, qword [rsp + 0x50]
sub rdi, rbx
sar rdi, 1
add rdi, rdi
cmp rbx, rdx
jbe 0x140013ce0
call fcn.1400796a8
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x140013cf4
call fcn.1400796a8
mov rdx, r12
jmp 0x140013cf7
mov rdx, qword [rax]
cmp rbx, qword [rdx + 0x20]
jb 0x140013d02
call fcn.1400796a8
mov r8, rdi
lea rdx, [0x1400d1b20]
mov rcx, rbx
call fcn.14007ad70
nop
lea rcx, [rbp + 0x208]
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
call qword [rax + 0x30]
mov rdx, qword [rsp + 0x58]
sub rdx, qword [rsp + 0x50]
sar rdx, 1
cmp rdx, 1
jne 0x140013d56
lea r9d, [rdx + 0x2f]
lea r8, [0x1400d2750]
lea rdx, str.Its_not_allowed_to_create_new_folder_here.
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.USER32.dll_MessageBoxW]
mov qword [rsp + 0x118], r12
mov dword [rsp + 0x120], r12d
lea r14, vtable.Control.0
mov qword [rsp + 0x128], r14
mov qword [rsp + 0x130], r12
mov qword [rsp + 0x140], r12
mov qword [rsp + 0x150], r12
lea r15, vtable.NewFolderDialog.0
mov qword [rsp + 0x110], r15
mov qword [rsp + 0x158], r14
mov qword [rsp + 0x160], r12
mov qword [rsp + 0x178], r12
lea rax, vtable.TextBox.0
mov qword [rsp + 0x170], rax
lea rcx, [rsp + 0x188]
call fcn.14002e130
nop
mov dword [rsp + 0x120], 0x7a
lea rax, [rbp + 0x18]
mov qword [rsp + 0x140], rax
lea rdx, [0x1400d1b20]
lea rcx, [rsp + 0x188]
mov rax, qword [rsp + 0x188]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rcx, qword [rsp + 0x130]
test rcx, rcx
jne 0x140014493
mov byte [rsp + 0x148], 1
mov rax, qword [rsp + 0x140]
test rax, rax
je 0x140013e2f
mov rbx, qword [rax + 8]
jmp 0x140013e32
mov rbx, r12
cmp dword [rsp + 0x120], 0
je 0x140013e46
movzx edi, word [rsp + 0x120]
jmp 0x140013e4e
mov rdi, qword [rsp + 0x118]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rax, [rsp + 0x110]
mov qword [rsp + 0x20], rax
lea r9, [0x140034490]
mov r8, rbx
mov rdx, rdi
call qword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, 1
jne 0x1400144ad
mov qword [rsp + 0xd8], r13
lea ecx, [rax + 7]
call fcn.1400797fc
test rax, rax
je 0x140013ea4
lea rcx, [rsp + 0xe0]
mov qword [rax], rcx
jmp 0x140013ea7
mov rax, r12
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xf8], r12
mov qword [rsp + 0x100], r12
mov qword [rsp + 0x108], r12
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [0x1400d1b20]
repne scasw ax, word [rdi]
not rcx
mov rdx, rcx
xor r8d, r8d
lea rcx, [rsp + 0xe0]
call fcn.14002bfc0
mov rdx, qword [rsp + 0x100]
mov rbx, rdx
mov rdi, qword [rsp + 0xf8]
sub rbx, rdi
sar rbx, 1
add rbx, rbx
cmp rdi, rdx
jbe 0x140013f13
call fcn.1400796a8
mov rax, qword [rsp + 0xe0]
test rax, rax
jne 0x140013f2a
call fcn.1400796a8
mov rdx, r12
jmp 0x140013f2d
mov rdx, qword [rax]
cmp rdi, qword [rdx + 0x20]
jb 0x140013f38
call fcn.1400796a8
mov r8, rbx
lea rdx, [0x1400d1b20]
mov rcx, rdi
call fcn.14007ad70
nop
mov rdi, qword [rsp + 0x1a8]
cmp rdi, qword [rsp + 0x1b0]
jbe 0x140013f62
call fcn.1400796a8
mov rax, qword [rsp + 0x190]
test rax, rax
jne 0x140013f79
call fcn.1400796a8
mov rdx, r12
jmp 0x140013f7c
mov rdx, qword [rax]
cmp rdi, qword [rdx + 0x20]
jb 0x140013f87
call fcn.1400796a8
mov rdx, rdi
lea rcx, [rsp + 0xd8]
mov rax, qword [rsp + 0xd8]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
sub rdx, rax
sar rdx, 1
lea rdi, [rdx - 1]
test rdi, rdi
je 0x140013fd4
dec rdi
cmp rdi, rdx
jb 0x140013fc8
call fcn.1400796a8
mov rax, qword [rsp + 0x50]
cmp word [rax + rdi*2], 0x5c
sete al
test al, al
jne 0x140013fe5
lea rdx, [0x1400d26a4]
lea rcx, [rsp + 0x30]
call fcn.14002e5d0
mov rdi, qword [rsp + 0xf8]
cmp rdi, qword [rsp + 0x100]
jbe 0x140013ffc
call fcn.1400796a8
mov rax, qword [rsp + 0xe0]
test rax, rax
jne 0x140014013
call fcn.1400796a8
mov r11, r12
jmp 0x140014016
mov r11, qword [rax]
cmp rdi, qword [r11 + 0x20]
jb 0x140014021
call fcn.1400796a8
test rdi, rdi
je 0x140014033
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.14002e5d0
mov qword [rsp + 0x68], r13
mov ecx, 8
call fcn.1400797fc
test rax, rax
je 0x140014051
lea rcx, [rsp + 0x70]
mov qword [rax], rcx
jmp 0x140014054
mov rax, r12
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x88], r12
mov qword [rsp + 0x90], r12
mov qword [rsp + 0x98], r12
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [0x1400d1b20]
repne scasw ax, word [rdi]
not rcx
mov rdx, rcx
xor r8d, r8d
lea rcx, [rsp + 0x70]
call fcn.14002bfc0
mov rdx, qword [rsp + 0x90]
mov rbx, rdx
mov rdi, qword [rsp + 0x88]
sub rbx, rdi
sar rbx, 1
add rbx, rbx
cmp rdi, rdx
jbe 0x1400140ba
call fcn.1400796a8
mov rax, qword [rsp + 0x70]
test rax, rax
jne 0x1400140ce
call fcn.1400796a8
mov rdx, r12
jmp 0x1400140d1
mov rdx, qword [rax]
cmp rdi, qword [rdx + 0x20]
jb 0x1400140dc
call fcn.1400796a8
mov r8, rbx
lea rdx, [0x1400d1b20]
mov rcx, rdi
call fcn.14007ad70
nop
mov rdi, qword [rsp + 0x50]
cmp rdi, qword [rsp + 0x58]
jbe 0x140014100
call fcn.1400796a8
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x140014114
call fcn.1400796a8
mov rdx, r12
jmp 0x140014117
mov rdx, qword [rax]
cmp rdi, qword [rdx + 0x20]
jb 0x140014122
call fcn.1400796a8
mov r8, rdi
lea rdx, str.Creating_local_folder__s
lea rcx, [rsp + 0x68]
call fcn.14002ecb0
mov rdi, qword [rsp + 0x88]
cmp rdi, qword [rsp + 0x90]
jbe 0x14001414d
call fcn.1400796a8
mov rax, qword [rsp + 0x70]
test rax, rax
jne 0x140014161
call fcn.1400796a8
mov rdx, r12
jmp 0x140014164
mov rdx, qword [rax]
cmp rdi, qword [rdx + 0x20]
jb 0x14001416f
call fcn.1400796a8
mov r9, rdi
xor r8d, r8d
mov edx, 0x14a
mov rcx, qword [rbp + 0x1f8]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x14e
mov rcx, qword [rbp + 0x1f8]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, qword [rsp + 0x50]
cmp rbx, qword [rsp + 0x58]
jbe 0x1400141b0
call fcn.1400796a8
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x1400141c4
call fcn.1400796a8
mov rdx, r12
jmp 0x1400141c7
mov rdx, qword [rax]
cmp rbx, qword [rdx + 0x20]
jb 0x1400141d2
call fcn.1400796a8
mov qword [rsp + 0xa0], r13
mov ecx, 8
call fcn.1400797fc
test rax, rax
je 0x1400141f6
lea rcx, [rsp + 0xa8]
mov qword [rax], rcx
jmp 0x1400141f9
mov rax, r12
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xc0], r12
mov qword [rsp + 0xc8], r12
mov qword [rsp + 0xd0], r12
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [0x1400d1b20]
repne scasw ax, word [rdi]
not rcx
mov rdx, rcx
xor r8d, r8d
lea rcx, [rsp + 0xa8]
call fcn.14002bfc0
mov rdx, qword [rsp + 0xc8]
mov rsi, rdx
mov rdi, qword [rsp + 0xc0]
sub rsi, rdi
sar rsi, 1
add rsi, rsi
cmp rdi, rdx
jbe 0x140014265
call fcn.1400796a8
mov rax, qword [rsp + 0xa8]
test rax, rax
jne 0x14001427c
call fcn.1400796a8
mov rdx, r12
jmp 0x14001427f
mov rdx, qword [rax]
cmp rdi, qword [rdx + 0x20]
jb 0x14001428a
call fcn.1400796a8
mov r8, rsi
lea rdx, [0x1400d1b20]
mov rcx, rdi
call fcn.14007ad70
nop
mov rdx, rbx
lea rcx, [rsp + 0xa0]
mov rax, qword [rsp + 0xa0]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rcx, qword [rsp + 0x58]
mov rax, rcx
mov rdi, qword [rsp + 0x50]
sub rax, rdi
sar rax, 1
cmp rax, 1
je 0x140014326
mov rdi, qword [rsp + 0xc0]
cmp rdi, qword [rsp + 0xc8]
jbe 0x1400142e4
call fcn.1400796a8
mov rax, qword [rsp + 0xa8]
test rax, rax
jne 0x1400142fb
call fcn.1400796a8
mov r11, r12
jmp 0x1400142fe
mov r11, qword [rax]
cmp rdi, qword [r11 + 0x20]
jb 0x140014309
call fcn.1400796a8
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400143cf
mov rcx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
cmp rdi, rcx
jbe 0x140014330
call fcn.1400796a8
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x140014344
call fcn.1400796a8
mov r11, r12
jmp 0x140014347
mov r11, qword [rax]
cmp rdi, qword [r11 + 0x20]
jb 0x140014352
call fcn.1400796a8
mov r8, rdi
lea rdx, str.Error:_failed_to_create_local_folder__s
lea rcx, [rsp + 0x68]
call fcn.14002ecb0
mov rdi, qword [rsp + 0x88]
cmp rdi, qword [rsp + 0x90]
jbe 0x14001437d
call fcn.1400796a8
mov rax, qword [rsp + 0x70]
test rax, rax
jne 0x140014391
call fcn.1400796a8
mov rdx, r12
jmp 0x140014394
mov rdx, qword [rax]
cmp rdi, qword [rdx + 0x20]
jb 0x14001439f
call fcn.1400796a8
mov r9, rdi
xor r8d, r8d
mov edx, 0x14a
mov rcx, qword [rbp + 0x1f8]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x14e
mov rcx, qword [rbp + 0x1f8]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rbp
call fcn.140016560
nop
mov qword [rsp + 0xa0], r13
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x1400143f2
call fcn.140078e60
mov qword [rsp + 0xc0], r12
mov qword [rsp + 0xc8], r12
mov qword [rsp + 0xd0], r12
mov rcx, qword [rsp + 0xa8]
call fcn.140078e60
nop
mov qword [rsp + 0x68], r13
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x14001442f
call fcn.140078e60
mov qword [rsp + 0x88], r12
mov qword [rsp + 0x90], r12
mov qword [rsp + 0x98], r12
mov rcx, qword [rsp + 0x70]
call fcn.140078e60
nop
mov qword [rsp + 0xd8], r13
mov rcx, qword [rsp + 0xf8]
test rcx, rcx
je 0x14001446c
call fcn.140078e60
mov qword [rsp + 0xf8], r12
mov qword [rsp + 0x100], r12
mov qword [rsp + 0x108], r12
mov rcx, qword [rsp + 0xe0]
call fcn.140078e60
jmp 0x1400144ad
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsp + 0x130]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
nop
mov qword [rsp + 0x110], r15
mov qword [rsp + 0x188], r13
mov rcx, qword [rsp + 0x1a8]
test rcx, rcx
je 0x1400144cf
call fcn.140078e60
mov qword [rsp + 0x1a8], r12
mov qword [rsp + 0x1b0], r12
mov qword [rsp + 0x1b8], r12
mov rcx, qword [rsp + 0x190]
call fcn.140078e60
mov qword [rsp + 0x170], r14
mov qword [rsp + 0x158], r14
lea rax, vtable.BaseDialog.0
mov qword [rsp + 0x110], rax
mov rcx, qword [rsp + 0x150]
test rcx, rcx
je 0x140014526
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rsp + 0x118]
test rcx, rcx
je 0x140014538
call fcn.14007945c
mov qword [rsp + 0x128], r14
mov qword [rsp + 0x30], r13
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140014554
call fcn.140078e60
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
mov rcx, qword [rsp + 0x38]
call fcn.140078e60
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret