Function at 0x1400bcf30
Capabilities:
Create directory

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x2c8]
sub rsp, 0x3a0
mov qword [rbp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140216b40]
xor rax, rsp
mov qword [rbp + 0x290], rax
mov r12, rdx
mov r15, rcx
mov qword [rbp + 0x38], rdx
lea rsi, [rcx + 0x80]
mov rax, qword [rsi]
cmp dword [rax - 0x10], 0
jne 0x1400bd850
lea rcx, [rsp + 0x30]
call fcn.1400cbde0
nop
mov rax, qword [rsp + 0x30]
or rdi, 0xffffffffffffffff
cmp dword [rax - 0x10], 0
je 0x1400bd837
lea rdx, [rbp - 0x60]
lea rcx, [0x14021cdd0]
call fcn.1400cd1e0
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x30]
call fcn.14004e8f8
nop
mov rdx, qword [rbp - 0x60]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400bcfe6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x30]
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 0x1400bd01f
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rbx, [0x1401d2bec]
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400bd030
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14004e8f8
lea rdx, [rbp - 0x58]
mov rcx, qword [r15 + 0x3a8]
call fcn.1400d3090
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x30]
call fcn.14004e8f8
nop
mov rdx, qword [rbp - 0x58]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400bd08a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x30]
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 0x1400bd0c3
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rax, rdi
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400bd0c6
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14004e8f8
lea rdx, str.Help
mov rax, rdi
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400bd0f0
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.14004e8f8
mov rcx, qword [rsp + 0x30]
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 0x1400bd140
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rax, rdi
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400bd143
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14004e8f8
lea rdx, [rbp - 0x50]
mov rcx, qword [r15 + 0x3a8]
call fcn.1400d2ed0
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x30]
call fcn.14004e8f8
nop
mov rdx, qword [rbp - 0x50]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400bd19d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x30]
add rcx, 0xffffffffffffffe8
call fcn.14004ecac
add rax, 0x18
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x70]
lea rcx, [0x14021cdd0]
call fcn.1400ce0e0
test eax, eax
jne 0x1400bd1d6
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400bd1e0
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14004e8f8
mov rcx, qword [rsp + 0x30]
add rcx, 0xffffffffffffffe8
call fcn.14004ecac
add rax, 0x18
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x78]
mov rcx, r15
call fcn.1400b99f0
test al, al
jne 0x1400bd37e
lea rdx, str.GeneratedFiles
mov rax, rdi
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400bd230
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.14004e8f8
mov rcx, qword [rsp + 0x30]
add rcx, 0xffffffffffffffe8
call fcn.14004ecac
add rax, 0x18
mov qword [rbp - 0x80], rax
lea rdx, [rbp - 0x80]
lea rcx, [0x14021cdd0]
call fcn.1400ce0e0
test eax, eax
jne 0x1400bd27e
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea r8, str.OptionalHomePage.html
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x48]
call fcn.140075e90
nop
mov rdx, rax
lea rcx, [0x14021cdd0]
call fcn.1400ce070
test eax, eax
sete bl
mov rdx, qword [rbp - 0x48]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400bd2c5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0x30]
test bl, bl
je 0x1400bd33b
mov rcx, r15
call fcn.1400b7990
mov rdx, qword [rsp + 0x30]
lea rcx, [rdx - 0x18]
mov rbx, qword [rsi]
sub rbx, 0x18
cmp rcx, rbx
je 0x1400bd7f8
cmp dword [rbx + 0x10], 0
jl 0x1400bd32a
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x1400bd32a
call fcn.14004ecac
mov r14, rax
mov ecx, edi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x1400bd31e
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [r14 + 0x18]
mov qword [rsi], rax
jmp 0x1400bd7f8
mov r8d, dword [rdx - 0x10]
mov rcx, rsi
call fcn.14004edac
jmp 0x1400bd7f8
lea r8, str.OptionalHomePage.html
lea rcx, [rbp - 0x40]
call fcn.140075e90
nop
mov rdx, rax
mov rcx, rsi
call fcn.14004ea40
nop
mov rdx, qword [rbp - 0x40]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400bd7f8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400bd7f8
lea r8, str.elpHome.html
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x38]
call fcn.140075e90
nop
mov rdx, rax
mov rcx, rsi
call fcn.14004ea40
nop
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400bd3bd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rbp + 0x40]
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
jne 0x1400bd7ef
lea rdx, str.GeneratedFiles
mov rax, rdi
nop
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400bd3e0
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.14004e8f8
mov rcx, qword [rsp + 0x30]
add rcx, 0xffffffffffffffe8
call fcn.14004ecac
add rax, 0x18
mov qword [rbp - 0x78], rax
lea rdx, [rbp - 0x78]
lea rcx, [0x14021cdd0]
call fcn.1400ce0e0
test eax, eax
jne 0x1400bd42e
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rax, rdi
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400bd431
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14004e8f8
lea r8, str.HomePage.html
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x30]
call fcn.140075e90
nop
mov rdx, rax
mov rcx, rsi
call fcn.14004ea40
nop
mov rdx, qword [rbp - 0x30]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400bd48a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rbp + 0x40]
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
jne 0x1400bd7ef
call fcn.14004b618
mov rcx, rax
test rax, rax
jne 0x1400bd4b9
mov ecx, 0x80004005
call fcn.14004a980
int3
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x50], rbx
call fcn.14004b618
mov rcx, rax
test rax, rax
jne 0x1400bd4e0
mov ecx, 0x80004005
call fcn.14004a980
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
call fcn.14004b618
mov rcx, rax
test rax, rax
jne 0x1400bd507
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 0x1400bd52e
mov ecx, 0x80004005
call fcn.14004a980
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x70], rax
lea rdx, [0x14018fbf8]
lea rcx, [rbp - 0x28]
call fcn.14004df84
mov r8, rax
lea rdx, [rbp - 0x20]
lea rcx, [0x14021cdd0]
call fcn.1400cdc10
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x1400bd5b9
cmp dword [rbx + 0x10], 0
jl 0x1400bd5aa
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x1400bd5aa
call fcn.14004ecac
mov r14, rax
mov ecx, edi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x1400bd59f
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [r14 + 0x18]
mov qword [rsp + 0x50], rax
jmp 0x1400bd5b9
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x50]
call fcn.14004edac
nop
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400bd5d6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [0x14018fc00]
lea rcx, [rbp - 0x18]
call fcn.14004df84
mov r8, rax
lea rdx, [rbp - 0x10]
lea rcx, [0x14021cdd0]
call fcn.1400cdc10
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [rsp + 0x48]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x1400bd658
cmp dword [rbx + 0x10], 0
jl 0x1400bd649
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x1400bd649
call fcn.14004ecac
mov r14, rax
mov ecx, edi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x1400bd63e
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [r14 + 0x18]
mov qword [rsp + 0x48], rax
jmp 0x1400bd658
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x48]
call fcn.14004edac
nop
mov rdx, qword [rbp - 0x10]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400bd675
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp - 8]
call fcn.1400cd0a0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [rsp + 0x40]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x1400bd6dd
cmp dword [rbx + 0x10], 0
jl 0x1400bd6ce
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x1400bd6ce
call fcn.14004ecac
mov r14, rax
mov ecx, edi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x1400bd6c3
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [r14 + 0x18]
mov qword [rsp + 0x40], rax
jmp 0x1400bd6dd
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x40]
call fcn.14004edac
nop
mov rdx, qword [rbp - 8]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400bd6fa
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, str.ResourcesHomeLogo.bmp
mov rax, rdi
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400bd704
mov r8d, eax
lea rcx, [rsp + 0x40]
call fcn.14004e8f8
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x50]
mov rdx, qword [0x14021cf88]
lea rcx, [rbp - 0x70]
call fcn.14004f2a8
lea r8, str.w_ccsUTF_8
mov rdx, qword [rsi]
lea rcx, [rbp - 0x68]
call fcn.140104e8c
mov rbx, qword [rbp - 0x70]
test eax, eax
jne 0x1400bd777
mov r8, rbx
lea rdx, str._ls__n
mov rcx, qword [rbp - 0x68]
call fcn.1400828f0
mov rcx, qword [rbp - 0x68]
call fcn.140104fe4
nop
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400bd791
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 0x1400bd7b0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400bd7cf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400bd7f8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400bd7f8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
mov word [rbp], ax
mov rdx, r12
lea rcx, [rbp]
call qword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jns 0x1400bd823
mov ecx, 0xa
mov word [rbp], cx
mov dword [rbp + 8], eax
mov ecx, eax
call fcn.14004a980
int3
lea r8, [rbp]
mov rdx, rsi
mov rcx, r15
call fcn.1400bb570
mov rax, qword [rsp + 0x30]
lea rdx, [rax - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400bd888
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400bd888
xor eax, eax
mov word [rbp + 0x18], ax
lea rcx, [rbp + 0x18]
call qword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jns 0x1400bd878
mov ecx, 0xa
mov word [rbp + 0x18], cx
mov dword [rbp + 0x20], eax
mov ecx, eax
call fcn.14004a980
int3
lea r8, [rbp + 0x18]
mov rdx, rsi
mov rcx, r15
call fcn.1400bb570
nop
mov rcx, r12
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.1400dd830
lea r11, [rsp + 0x3a0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret