Function at 0x14002a3d0
Capabilities:
Set current directory

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rdi, rcx
mov byte [rcx + 0x290], 1
mov word [rcx + 0xbe0], 0
mov rax, qword [rcx + 0xbb0]
test rax, rax
je 0x14002aa23
cmp word [rax], 0
je 0x14002aa23
mov ecx, 0x28
call fcn.1400aa240
mov qword [rbp + 0x67], rax
xor r13d, r13d
test rax, rax
je 0x14002a461
lea rcx, vtable.Label.0
mov qword [rax], rcx
lea rcx, [0x1400cc644]
mov qword [rax + 8], rcx
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r13
mov qword [rax + 0x20], r13
jmp 0x14002a464
mov rax, r13
mov qword [rdi + 0x6d8], rax
test rax, rax
je 0x14002aa23
cmp byte [0x14010289f], 0
lea rbx, [0x1400e4428]
jne 0x14002a48b
mov rbx, qword [rdi + 0xbb0]
lea rax, vtable.TextStream.0
mov qword [rbp - 0x79], rax
mov qword [rbp - 0x71], 0
mov dword [rbp - 0x69], r13d
mov dword [rbp - 0x65], 0xffffffff
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x49], xmm0
mov ecx, dword [0x140106b40]
cmp ecx, 0xffffffff
je 0x14002a4d6
mov dword [rbp - 0x65], ecx
lea rdx, [rbp - 0x61]
call qword [sym.imp.KERNEL32.dll_GetCPInfo]
movzx ecx, byte [rbp - 0x5b]
test eax, eax
cmove ecx, r13d
mov byte [rbp - 0x5b], cl
lea rax, vtable.TextMem.0
mov qword [rbp - 0x79], rax
mov qword [rbp - 0x39], r13
mov dword [rbp - 0x31], r13d
mov byte [rbp - 0x2d], 0
mov qword [rbp - 0x29], r13
mov r8, rbx
lea rdx, [rbp - 0x79]
mov rcx, rdi
call fcn.14002acd0
mov ebx, eax
cmp eax, 3
jne 0x14002a515
lea rdx, [rbp - 0x79]
mov rcx, rdi
call fcn.14002aec0
mov ebx, eax
lea rcx, [rbp - 0x79]
call fcn.1400286c0
cmp ebx, 1
jne 0x14002aa23
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
mov dl, 0x68
mov rcx, rdi
call fcn.1400331b0
test eax, eax
je 0x14002aa23
mov rax, qword [rdi + 0x668]
mov qword [rax + 0x10], 1
mov rsi, qword [rdi + 0x660]
test rsi, rsi
je 0x14002a605
mov r12d, r13d
cmp byte [rsi + 1], 0
jbe 0x14002a5df
mov r15, r13
nop
mov r14, qword [rsi + 8]
add r14, r15
cmp byte [r14 + 1], 0
je 0x14002a5cf
mov rbx, qword [r14 + 0x10]
test rbx, rbx
je 0x14002a5bc
cmp qword [rbx], 0
je 0x14002a5bc
nop dword [rax]
cmp byte [rbx + 0x10], 0
je 0x14002a5b2
movzx r8d, word [rbx + 0x12]
xor r9d, r9d
mov rdx, qword [rbx]
mov rcx, rdi
call fcn.1400372e0
mov qword [rbx + 8], rax
test rax, rax
je 0x14002a5e8
add rbx, 0x18
cmp qword [rbx], 0
jne 0x14002a590
mov rdx, r14
mov rcx, rsi
call fcn.14003b440
test eax, eax
je 0x14002aa23
inc r12d
add r15, 0x20
movzx eax, byte [rsi + 1]
cmp r12d, eax
jl 0x14002a570
mov rsi, qword [rsi + 0x20]
jmp 0x14002a55a
mov r9, qword [rbx]
xor r8d, r8d
lea rdx, str.Call_to_nonexistent_function.
mov rcx, rsi
call fcn.140047d40
test eax, eax
je 0x14002aa23
mov rcx, qword [rdi + 0x660]
test rcx, rcx
je 0x14002a686
mov rdx, qword [rcx + 0x20]
mov r8, qword [rcx + 0x18]
movzx eax, byte [rcx]
cmp al, 8
je 0x14002a629
cmp al, 0xe5
jne 0x14002a67e
mov byte [rcx], reloc.OLEAUT32.dll_SafeArrayGetElemsize
jmp 0x14002a65a
movzx eax, byte [rcx + 0x10]
mov byte [rcx], al
mov rax, qword [rdi + 0x678]
mov qword [rcx + 0x18], rax
mov rax, qword [rdi + 0x678]
test rax, rax
je 0x14002a64c
mov qword [rax + 0x20], rcx
jmp 0x14002a653
mov qword [rdi + 0x670], rcx
mov qword [rdi + 0x678], rcx
test r8, r8
je 0x14002a665
mov qword [r8 + 0x20], rdx
jmp 0x14002a66c
mov qword [rdi + 0x660], rdx
test rdx, rdx
je 0x14002a677
mov qword [rdx + 0x18], r8
jmp 0x14002a67e
mov qword [rdi + 0x668], r8
mov rcx, rdx
test rdx, rdx
jne 0x14002a611
cmp qword [rdi + 0x670], 0
je 0x14002a6c2
mov rcx, qword [rdi + 0x678]
mov rax, qword [rdi + 0x660]
mov qword [rcx + 0x20], rax
mov rcx, qword [rdi + 0x660]
mov rax, qword [rdi + 0x678]
mov qword [rcx + 0x18], rax
mov rax, qword [rdi + 0x670]
mov qword [rdi + 0x660], rax
mov esi, r13d
cmp dword [rdi + 0x698], 0
jle 0x14002a742
mov r14, r13
mov rax, qword [rdi + 0x690]
mov rbx, qword [r14 + rax]
cmp byte [rbx + 0x79], 0
jne 0x14002a734
test byte [rbx + 0x78], 4
jne 0x14002a734
lea r9, [rbx + 0x5c]
mov r8, qword [rbx + 0x38]
mov rdx, rbx
mov rcx, rdi
call fcn.140048d70
lea r9, [rbx + 0x68]
mov r8, qword [rbx + 0x48]
mov rdx, rbx
mov rcx, rdi
call fcn.140048d70
lea r9, [rbx + 0x64]
mov r8, qword [rbx + 0x40]
mov rdx, rbx
mov rcx, rdi
call fcn.140048d70
lea r9, [rbx + 0x70]
mov r8, qword [rbx + 0x50]
mov rdx, rbx
mov rcx, rdi
call fcn.140048d70
inc esi
add r14, 8
cmp esi, dword [rdi + 0x698]
jl 0x14002a6d1
mov rax, qword [rdi + 0x270]
test rax, rax
je 0x14002a7dc
cmp qword [rax + 0x20], 0
je 0x14002a7c8
mov rax, qword [rax + 0x18]
mov rbx, qword [rax + 0x10]
mov rcx, qword [rax]
test rcx, rcx
je 0x14002a7c8
mov dword [rbp - 1], 5
lea rax, str.__Class
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], r13
lea r8, [rbp - 0x11]
lea rdx, [rbp + 0xf]
call fcn.1400271b0
test al, al
je 0x14002a7a7
mov rcx, qword [rbp + 0xf]
mov rax, rcx
sar rax, 0x20
mov dword [rdi + 0x288], eax
mov dword [rdi + 0x28c], ecx
mov qword [rdi + 0x6d0], r13
mov r8, rbx
lea rdx, str.Unknown_class.
mov rcx, rdi
call fcn.1400481c0
test eax, eax
je 0x14002aa23
mov rcx, qword [rdi + 0x270]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [rdi + 0x270], r13
cmp dword [0x140103634], 0
je 0x14002a917
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea rdx, str.A_Args
mov rcx, rdi
call fcn.140039640
mov r14, rax
mov rsi, qword [rdi + 0x660]
test rsi, rsi
je 0x14002a917
nop
mov r12d, r13d
cmp byte [rsi + 1], 0
jbe 0x14002a90a
mov r15, r13
mov rbx, qword [rsi + 8]
add rbx, r15
cmp byte [rbx], 2
jne 0x14002a891
mov rax, qword [rbx + 8]
cmp word [rax], 0
jne 0x14002a8f6
mov r9, qword [rbx + 0x10]
cmp byte [r9 + 0x23], 0
jne 0x14002a85b
mov rax, qword [r9 + 0x10]
jmp 0x14002a85e
mov rax, r9
test byte [rax + 0x21], 2
je 0x14002a8f6
cmp r9, r14
je 0x14002a8f6
mov qword [rsp + 0x20], rsi
mov r9, qword [r9 + 0x28]
lea r8, str.Class_may_be_overwritten.
mov edx, dword [0x140103634]
mov rcx, rdi
call fcn.140048b10
jmp 0x14002a8f6
cmp byte [rbx + 1], 0
je 0x14002a8f6
mov rbx, qword [rbx + 0x18]
mov eax, dword [rbx + 0x10]
cmp eax, 0x41
je 0x14002a8f6
cmp eax, 4
jne 0x14002a8ea
cmp dword [rbx + 8], 0
je 0x14002a8ea
mov r9, qword [rbx]
cmp byte [r9 + 0x23], 0
jne 0x14002a8be
mov rax, qword [r9 + 0x10]
jmp 0x14002a8c1
mov rax, r9
test byte [rax + 0x21], 2
je 0x14002a8ea
cmp r9, r14
je 0x14002a8ea
mov qword [rsp + 0x20], rsi
mov r9, qword [r9 + 0x28]
lea r8, str.Class_may_be_overwritten.
mov edx, dword [0x140103634]
mov rcx, rdi
call fcn.140048b10
add rbx, 0x20
mov eax, dword [rbx + 0x10]
cmp eax, 0x41
jne 0x14002a8a3
inc r12d
add r15, 0x20
movzx eax, byte [rsi + 1]
cmp r12d, eax
jl 0x14002a830
mov rsi, qword [rsi + 0x20]
test rsi, rsi
jne 0x14002a820
mov rcx, qword [0x1401027d8]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
inc dword [rdi + 0x28c]
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
mov dl, 0x68
mov rcx, rdi
call fcn.1400331b0
test eax, eax
je 0x14002aa23
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
mov dl, 0x68
mov rcx, rdi
call fcn.1400331b0
test eax, eax
je 0x14002aa23
mov rax, qword [rdi + 0x668]
mov rcx, qword [rax + 0x18]
mov qword [rcx + 0x10], 1
mov rax, qword [rdi + 0x668]
mov qword [rax + 0x10], 1
mov rcx, qword [rdi + 0x6d8]
mov rax, qword [rdi + 0x668]
mov qword [rcx + 0x10], rax
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rdi + 0x660]
mov rcx, rdi
call fcn.14003a370
test rax, rax
je 0x14002aa23
mov rdx, qword [rdi + 0x660]
mov rcx, rdi
call fcn.14003a770
test rax, rax
je 0x14002aa23
mov r9d, 3
xor r8d, r8d
lea rdx, str.ErrorLevel
mov rcx, rdi
call fcn.1400395b0
mov qword [0x140102760], rax
test rax, rax
je 0x14002aa23
mov byte [rsp + 0x20], 1
xor r9d, r9d
lea r8, [r9 - 1]
lea rdx, [0x1400cc6d4]
mov rcx, rax
call fcn.1400b1f60
lea rcx, [rbp + 0x67]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov ecx, dword [rbp + 0x67]
call fcn.140026560
mov eax, 1
jmp 0x14002aa28
mov eax, 0xffffffff
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret