Function at 0x14018d120
Capabilities:
Create directory
Set current directory

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov r9d, 0x64
mov rdi, r8
lea r8, [0x140970ec0]
mov rbx, rcx
lea edx, [r9 + 3]
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, 0x64
lea r14, [0x140970df0]
mov r8, r14
mov rcx, rbx
lea edx, [r9 + 9]
call qword [sym.imp.USER32.dll_LoadStringW]
xor esi, esi
mov dword [rbp + 0x10], 0x50
lea rax, [0x14018da50]
mov dword [rbp + 0x14], 3
mov rcx, rbx
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], rsi
lea edx, [rsi + 0x6b]
mov qword [rbp + 0x28], rbx
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp + 0x30], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
movdqa xmm0, xmmword [0x140652b20]
lea edx, [rsi + 0x6c]
mov rcx, qword [rbp + 0x28]
movdqa xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x50], r14
call qword [sym.imp.USER32.dll_LoadIconW]
lea rcx, [rbp + 0x10]
mov qword [rbp + 0x58], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov qword [rsp + 0x58], rsi
lea r8, [0x140970ec0]
mov qword [rsp + 0x50], rbx
mov r9d, 0xcf0000
mov qword [rsp + 0x48], rsi
mov rdx, r14
mov qword [rsp + 0x40], rsi
xor ecx, ecx
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], 0x80000000
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 0x80000000
mov qword [0x140970de0], rbx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [0x140970de8], rax
test rax, rax
je 0x14018d240
mov rcx, rax
call qword [sym.imp.USER32.dll_UpdateWindow]
mov edx, 0x6d
mov rcx, rbx
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov r14, rax
mov qword [rbp - 0x78], rax
mov rax, qword [0x140971950]
test rax, rax
jne 0x14018d28a
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.SetDefaultDllDirectories
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140971950], rax
test rax, rax
je 0x14018d291
mov ecx, 0x800
call rax
lea rcx, str.C:WindowsSystem32
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea rcx, str.ntdll.dll
mov dword [0x140971430], 0x11c
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.RtlGetVersion
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14018d2d3
lea rcx, [0x140971430]
call rax
xor edx, edx
lea rcx, [rbp + 0x60]
mov r8d, 0xac
call fcn.1405f80d0
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov eax, dword [rbp + 0x60]
add eax, 0xfffffed4
cmp eax, 0xb4
ja 0x14018d91d
mov ebx, 5
nop word [rax + rax]
xor r9d, r9d
lea rcx, [rbp - 0x28]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x14018d36a
mov rcx, qword [0x140970de8]
mov r9d, 1
mov r8d, r9d
mov edx, 0x400
call qword [sym.imp.USER32.dll_PostMessageW]
mov rcx, qword [rbp - 0x28]
lea r8, [rbp - 0x28]
mov rdx, r14
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x14018d36a
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_DispatchMessageW]
sub rbx, 1
jne 0x14018d310
mov qword [rbp - 0x40], rsi
xorps xmm0, xmm0
mov qword [rbp - 0x38], 7
movups xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x50], si
test rdi, rdi
je 0x14018d7c6
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdi + r8*2], si
jne 0x14018d3a0
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.140046400
cmp qword [rbp - 0x40], rsi
je 0x14018d7c6
cmp qword [rbp - 0x38], 8
lea rbx, [rbp - 0x50]
mov rax, qword [0x140971970]
cmovae rbx, qword [rbp - 0x50]
mov dword [rbp + 0x140], esi
test rax, rax
jne 0x14018d428
mov rax, qword [0x140971958]
test rax, rax
jne 0x14018d408
lea rcx, str.Shell32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x140971958], rax
test rax, rax
jne 0x14018d408
mov rax, rsi
lea rdx, str.CommandLineToArgvW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140971970], rax
test rax, rax
je 0x14018d7c6
lea rdx, [rbp + 0x140]
mov rcx, rbx
call rax
mov qword [rbp - 0x30], rax
mov r14, rax
test rax, rax
je 0x14018d7c2
cmp dword [rbp + 0x140], 1
je 0x14018d7c2
xorps xmm0, xmm0
mov qword [rsp + 0x70], rsi
movups xmmword [rsp + 0x60], xmm0
lea rdx, [rbp - 0x70]
mov ecx, 5
movups xmmword [rbp - 0x70], xmm0
mov byte [rsp + 0x60], sil
mov edi, esi
mov word [rbp - 0x70], si
mov qword [rsp + 0x78], 0xf
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], 7
call fcn.14003f330
mov ebx, esi
cmp dword [rbp + 0x140], esi
jle 0x14018d67d
mov qword [rsp + 0x250], r13
mov r13, rsi
mov qword [rsp + 0x258], r15
lea r15, [r14 + 8]
mov qword [rsp + 0x248], r12
nop dword [rax]
cmp qword [rbp - 0x58], 8
lea rdx, [rbp - 0x70]
mov rcx, qword [r14 + r13*8]
cmovae rdx, qword [rbp - 0x70]
call fcn.1400a4cc4
test eax, eax
jne 0x14018d650
lea r12d, [rbx + 1]
cmp r12d, dword [rbp + 0x140]
je 0x14018d650
mov r14, qword [r15]
inc r13
test r14, r14
je 0x14018d5cb
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [r14 + rbx*2], si
jne 0x14018d506
test ebx, ebx
je 0x14018d5cb
mov qword [rsp + 0x38], rsi
mov r9d, ebx
mov qword [rsp + 0x30], rsi
mov r8, r14
mov dword [rsp + 0x28], esi
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x14018d5cb
lea edi, [rax + 1]
xor r8d, r8d
movsxd rdx, edi
lea rcx, [rsp + 0x60]
call fcn.1400a8920
cmp qword [rsp + 0x78], 0x10
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rsi
mov r9d, ebx
cmovae rax, qword [rsp + 0x60]
mov r8, r14
mov qword [rsp + 0x30], rsi
xor edx, edx
mov dword [rsp + 0x28], edi
mov ecx, 0xfde9
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x14018d5cb
cmp qword [rsp + 0x78], 0x10
lea rcx, [rsp + 0x60]
mov rax, 0xffffffffffffffff
cmovae rcx, qword [rsp + 0x60]
nop dword [rax]
inc rax
cmp byte [rcx + rax], sil
jne 0x14018d5b0
movsxd rdx, eax
lea rcx, [rsp + 0x60]
xor r8d, r8d
call fcn.1400a8920
jmp 0x14018d640
mov r8, qword [rsp + 0x78]
lea r10, [rsp + 0x60]
mov r9, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
mov rbx, qword [rsp + 0x70]
lea rax, [rsp + 0x60]
cmp r8, 0x10
cmovae r10, r9
add r10, rbx
cmp r8, 0x10
cmovae rcx, r9
cmovae rax, r9
sub r10, rcx
mov rdx, rcx
sub rdx, rax
lea rcx, [rsp + 0x60]
mov rax, rbx
sub rax, rdx
cmp rax, r10
cmovb r10, rax
cmp r8, 0x10
cmovae rcx, r9
sub rbx, r10
add rcx, rdx
mov r8, rbx
sub r8, rdx
inc r8
lea rdx, [rcx + r10]
call fcn.1405f7a20
mov qword [rsp + 0x70], rbx
mov r14, qword [rbp - 0x30]
mov edi, 1
mov ebx, r12d
add r15, 8
inc ebx
inc r13
add r15, 8
cmp ebx, dword [rbp + 0x140]
jl 0x14018d4c0
mov r15, qword [rsp + 0x258]
mov r13, qword [rsp + 0x250]
mov r12, qword [rsp + 0x248]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
test edi, edi
je 0x14018d735
cmp qword [rsp + 0x70], rsi
je 0x14018d69f
lea rcx, [rsp + 0x60]
call fcn.14018db50
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x14018d6df
mov rcx, qword [rbp - 0x70]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14018d6da
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14018d933
call fcn.14002bfb4
mov rdx, qword [rsp + 0x78]
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], si
cmp rdx, 0x10
jb 0x14018d8d1
mov rcx, qword [rsp + 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14018d72b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14018d933
call fcn.14002bfb4
jmp 0x14018d8d1
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x14018d775
mov rcx, qword [rbp - 0x70]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14018d770
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14018d933
call fcn.14002bfb4
mov rdx, qword [rsp + 0x78]
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], si
cmp rdx, 0x10
jb 0x14018d7c2
mov rcx, qword [rsp + 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14018d7bd
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14018d933
call fcn.14002bfb4
mov r14, qword [rbp - 0x78]
lea rdx, [rbp - 0x80]
mov dword [rbp - 0x80], esi
xor ecx, ecx
call fcn.140090580
test eax, eax
je 0x14018d7e2
cmp dword [rbp - 0x80], 2
jae 0x14018d8d1
lea rbx, [0x14096d458]
mov r8, rbx
call fcn.1400a2d20
mov rcx, rbx
test eax, eax
je 0x14018d80c
mov r8d, 5
lea rdx, str.Temp
call fcn.140082f90
jmp 0x14018d839
mov r8d, 0x13
lea rdx, str.C:ProgramDataTemp
call fcn.140046400
cmp qword [0x14096d470], 8
cmovae rbx, qword [0x14096d458]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, 3
call fcn.14058b540
call fcn.14001f290
lea rcx, [0x140970f88]
call fcn.140016b20
call fcn.14000df10
call fcn.14001a900
mov ebx, 0x78
xor r9d, r9d
lea rcx, [rbp - 0x28]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x14018d8bd
mov rcx, qword [0x140970de8]
mov r9d, 1
xor r8d, r8d
mov edx, 0x400
call qword [sym.imp.USER32.dll_PostMessageW]
mov rcx, qword [rbp - 0x28]
lea r8, [rbp - 0x28]
mov rdx, r14
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x14018d8bd
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
sub rbx, 1
jne 0x14018d863
mov esi, dword [rbp - 0x18]
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x14018d90d
mov rcx, qword [rbp - 0x50]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14018d908
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14018d92d
call fcn.14002bfb4
mov eax, esi
add rsp, 0x210
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
xor eax, eax
add rsp, 0x210
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140012048
int3
call fcn.140012048
int3