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, [0x140a822c0]
mov rbx, rcx
lea edx, [r9 + 3]
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, 0x64
lea r14, [0x140a821f0]
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, [0x14018da40]
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 [0x140647b20]
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, [0x140a822c0]
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 [0x140a821e0], rbx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [0x140a821e8], 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 - 0x30], rax
mov rax, qword [0x140a82d50]
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 [0x140a82d50], 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 [0x140a82830], 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, [0x140a82830]
call rax
xor edx, edx
lea rcx, [rbp + 0x60]
mov r8d, 0xac
call fcn.1405ed770
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov eax, dword [rbp + 0x60]
add eax, 0xfffffed4
cmp eax, 0xb4
ja 0x14018d906
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 [0x140a821e8]
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 [rsp + 0x248], r12
xorps xmm0, xmm0
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], 7
movups xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x50], si
test rdi, rdi
je 0x14018d7be
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rdi + r8*2], si
jne 0x14018d3a0
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.140046430
cmp qword [rbp - 0x40], rsi
je 0x14018d7be
cmp qword [rbp - 0x38], 8
lea rbx, [rbp - 0x50]
mov rax, qword [0x140a82d70]
cmovae rbx, qword [rbp - 0x50]
mov dword [rbp + 0x140], esi
test rax, rax
jne 0x14018d428
mov rax, qword [0x140a82d58]
test rax, rax
jne 0x14018d408
lea rcx, str.Shell32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x140a82d58], 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 [0x140a82d70], rax
test rax, rax
je 0x14018d7be
lea rdx, [rbp + 0x140]
mov rcx, rbx
call rax
mov qword [rbp - 0x58], rax
mov r12, rax
test rax, rax
je 0x14018d7be
cmp dword [rbp + 0x140], 1
je 0x14018d7be
xorps xmm0, xmm0
mov qword [rsp + 0x70], rsi
movups xmmword [rsp + 0x60], xmm0
lea rdx, [rbp - 0x78]
mov ecx, 5
movups xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x60], sil
mov edi, esi
mov word [rbp - 0x78], si
mov qword [rsp + 0x78], 0xf
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], 7
call fcn.14003f360
mov ebx, esi
cmp dword [rbp + 0x140], esi
jle 0x14018d679
mov qword [rsp + 0x250], r13
mov r13, rsi
mov qword [rsp + 0x258], r15
lea r15, [r12 + 8]
nop word [rax + rax]
cmp qword [rbp - 0x60], 8
lea rdx, [rbp - 0x78]
mov rcx, qword [r12 + r13*8]
cmovae rdx, qword [rbp - 0x78]
call fcn.1400a4cc4
test eax, eax
jne 0x14018d650
lea r12d, [rbx + 1]
cmp r12d, dword [rbp + 0x140]
je 0x14018d64c
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.1405ed0c0
mov qword [rsp + 0x70], rbx
mov edi, 1
mov ebx, r12d
add r15, 8
mov r12, qword [rbp - 0x58]
inc ebx
inc r13
add r15, 8
cmp ebx, dword [rbp + 0x140]
jl 0x14018d4c0
mov r14, qword [rbp - 0x30]
mov r15, qword [rsp + 0x258]
mov r13, qword [rsp + 0x250]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LocalFree]
test edi, edi
je 0x14018d731
cmp qword [rsp + 0x70], rsi
je 0x14018d69b
lea rcx, [rsp + 0x60]
call fcn.14018db40
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x14018d6db
mov rcx, qword [rbp - 0x78]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14018d6d6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14018d91c
call fcn.14002bfe4
mov rdx, qword [rsp + 0x78]
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], si
cmp rdx, 0x10
jb 0x14018d8b2
mov rcx, qword [rsp + 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14018d727
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14018d91c
call fcn.14002bfe4
jmp 0x14018d8b2
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x14018d771
mov rcx, qword [rbp - 0x78]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14018d76c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14018d91c
call fcn.14002bfe4
mov rdx, qword [rsp + 0x78]
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], si
cmp rdx, 0x10
jb 0x14018d7be
mov rcx, qword [rsp + 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14018d7b9
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14018d91c
call fcn.14002bfe4
lea rdx, [rbp - 0x80]
mov dword [rbp - 0x80], esi
xor ecx, ecx
call fcn.140090580
test eax, eax
je 0x14018d7da
cmp dword [rbp - 0x80], 2
jae 0x14018d8b2
lea rbx, [0x140a7e858]
mov r8, rbx
call fcn.1400a2d20
mov rcx, rbx
test eax, eax
je 0x14018d804
mov r8d, 5
lea rdx, str.Temp
call fcn.140082f90
jmp 0x14018d831
mov r8d, 0x13
lea rdx, str.C:ProgramDataTemp
call fcn.140046430
cmp qword [0x140a7e870], 8
cmovae rbx, qword [0x140a7e858]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, 3
call fcn.140580be0
call fcn.14001f2c0
lea rcx, [0x140a82388]
call fcn.140016b20
call fcn.14000df10
call fcn.14001a930
xor r9d, r9d
lea rcx, [rbp - 0x28]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x14018d8af
nop dword [rax]
mov rcx, qword [rbp - 0x28]
lea r8, [rbp - 0x28]
mov rdx, r14
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x14018d899
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rbp - 0x28]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x14018d870
mov esi, dword [rbp - 0x18]
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x14018d8ee
mov rcx, qword [rbp - 0x50]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14018d8e9
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14018d916
call fcn.14002bfe4
mov r12, qword [rsp + 0x248]
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