Function at 0x1400bae80
Capabilities:
Create directory

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x268]
sub rsp, 0x350
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140216b40]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov r15, rcx
lea r14, [rcx + 0x88]
mov rax, qword [r14]
cmp dword [rax - 0x10], 0
jne 0x1400bb522
lea rcx, [rsp + 0x20]
call fcn.1400cbde0
nop
mov rax, qword [rsp + 0x20]
or rdi, 0xffffffffffffffff
cmp dword [rax - 0x10], 0
je 0x1400bb509
lea rdx, [rbp - 0x80]
lea rcx, [0x14021cdd0]
call fcn.1400cd1e0
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x20]
call fcn.14004e8f8
nop
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400baf30
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x20]
add rcx, 0xffffffffffffffe8
call fcn.14004ecac
add rax, 0x18
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x48]
lea rcx, [0x14021cdd0]
call fcn.1400ce0e0
test eax, eax
jne 0x1400baf69
xor edx, edx
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rbx, [0x1401d2bec]
mov rax, rdi
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400baf73
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14004e8f8
lea rdx, [rbp - 0x78]
mov rcx, qword [r15 + 0x3a8]
call fcn.1400d3090
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x20]
call fcn.14004e8f8
nop
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400bafcd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x20]
add rcx, 0xffffffffffffffe8
call fcn.14004ecac
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x50]
lea rcx, [0x14021cdd0]
call fcn.1400ce0e0
test eax, eax
jne 0x1400bb006
xor edx, edx
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400bb010
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14004e8f8
lea rdx, str.Help
mov rax, rdi
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400bb034
mov r8d, eax
lea rcx, [rsp + 0x20]
call fcn.14004e8f8
mov rcx, qword [rsp + 0x20]
add rcx, 0xffffffffffffffe8
call fcn.14004ecac
add rax, 0x18
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x58]
lea rcx, [0x14021cdd0]
call fcn.1400ce0e0
test eax, eax
jne 0x1400bb084
xor edx, edx
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rax, rdi
nop word [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400bb090
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14004e8f8
lea rdx, [rbp - 0x70]
mov rcx, qword [r15 + 0x3a8]
call fcn.1400d2ed0
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x20]
call fcn.14004e8f8
nop
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400bb0ea
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x20]
add rcx, 0xffffffffffffffe8
call fcn.14004ecac
add rax, 0x18
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x60]
lea rcx, [0x14021cdd0]
call fcn.1400ce0e0
test eax, eax
jne 0x1400bb123
xor edx, edx
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rax, rdi
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400bb126
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14004e8f8
lea rdx, str.GeneratedFiles
mov rax, rdi
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400bb150
mov r8d, eax
lea rcx, [rsp + 0x20]
call fcn.14004e8f8
mov rcx, qword [rsp + 0x20]
add rcx, 0xffffffffffffffe8
call fcn.14004ecac
add rax, 0x18
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x68]
lea rcx, [0x14021cdd0]
call fcn.1400ce0e0
test eax, eax
jne 0x1400bb1a0
xor edx, edx
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rax, rdi
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400bb1a3
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14004e8f8
lea r8, [0x14018fa18]
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x68]
call fcn.140075e90
nop
mov rdx, rax
mov rcx, r14
call fcn.14004ea40
nop
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400bb1fc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rbp - 0x10]
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
jne 0x1400bb4dc
call fcn.14004b618
mov rcx, rax
test rax, rax
jne 0x1400bb22b
mov ecx, 0x80004005
call fcn.14004a980
int3
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
call fcn.14004b618
mov rcx, rax
test rax, rax
jne 0x1400bb252
mov ecx, 0x80004005
call fcn.14004a980
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
call fcn.14004b618
mov rcx, rax
test rax, rax
jne 0x1400bb279
mov ecx, 0x80004005
call fcn.14004a980
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
call fcn.14004b618
mov rcx, rax
test rax, rax
jne 0x1400bb2a0
mov ecx, 0x80004005
call fcn.14004a980
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x70], rax
lea rdx, [0x140190a14]
lea rcx, [rbp - 0x60]
call fcn.14004df84
mov r8, rax
lea rdx, [rbp - 0x58]
lea rcx, [0x14021cdd0]
call fcn.1400cdc10
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x1400bb32c
cmp dword [rbx + 0x10], 0
jl 0x1400bb31d
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x1400bb31d
call fcn.14004ecac
mov rsi, rax
mov ecx, edi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x1400bb312
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rsi + 0x18]
mov qword [rsp + 0x38], rax
jmp 0x1400bb32c
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x38]
call fcn.14004edac
nop
mov rdx, qword [rbp - 0x58]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400bb349
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp - 0x50]
call fcn.1400cd0a0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [rsp + 0x30]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x1400bb3b1
cmp dword [rbx + 0x10], 0
jl 0x1400bb3a2
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x1400bb3a2
call fcn.14004ecac
mov rsi, rax
mov ecx, edi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x1400bb397
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rsi + 0x18]
mov qword [rsp + 0x30], rax
jmp 0x1400bb3b1
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x30]
call fcn.14004edac
nop
mov rdx, qword [rbp - 0x50]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400bb3ce
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, str.ResourcesLoader.gif
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400bb3e0
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.14004e8f8
mov r8, qword [rsp + 0x30]
mov rdx, qword [0x14021cfa8]
lea rcx, [rsp + 0x40]
call fcn.14004f2a8
mov r9, qword [rsp + 0x40]
mov r8, qword [rsp + 0x38]
mov rdx, qword [0x14021cfa0]
lea rcx, [rsp + 0x70]
call fcn.14004f2a8
lea r8, str.w_ccsUTF_8
mov rdx, qword [r14]
lea rcx, [rsp + 0x78]
call fcn.140104e8c
mov rbx, qword [rsp + 0x70]
test eax, eax
jne 0x1400bb464
mov r8, rbx
lea rdx, str._ls__n
mov rcx, qword [rsp + 0x78]
call fcn.1400828f0
mov rcx, qword [rsp + 0x78]
call fcn.140104fe4
nop
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400bb47e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400bb49d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400bb4bc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400bb4e5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400bb4e5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 3
mov word [rbp - 0x48], ax
mov dword [rbp - 0x40], 0
lea r8, [rbp - 0x48]
mov rdx, r14
mov rcx, r15
call fcn.1400bb570
mov rax, qword [rsp + 0x20]
lea rdx, [rax - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400bb53e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400bb53e
mov eax, 3
mov word [rbp - 0x30], ax
mov dword [rbp - 0x28], 0
lea r8, [rbp - 0x30]
mov rdx, r14
call fcn.1400bb570
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.1400dd830
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret