Function at 0x1400080a4
Capabilities:
Set current directory

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov dword [rax + 0x18], r8d
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x106b8]
mov eax, 0x10780
call fcn.1400357e0
sub rsp, rax
mov eax, dword [0x1400dce28]
mov r15, r9
mov r13, rdx
inc eax
mov r14, rcx
mov dword [0x1400dce28], eax
cmp eax, 0x30
jge 0x1400864e6
xor edi, edi
lea rcx, [rbp - 0x60]
mov r12b, 1
mov esi, edi
mov byte [rsp + 0x30], r12b
mov byte [rsp + 0x38], dil
call fcn.140006b0c
lea rcx, [rbp - 0x60]
mov r8d, 0x2000
mov rdx, r13
call fcn.140006a28
test al, al
je 0x14008650f
lea rcx, [rbp + 0x58]
call fcn.1400137ec
lea rcx, [rbp + 0x58]
call fcn.1400240b4
lea rcx, [rbp + 0x38]
call fcn.1400137ec
lea rdx, [rbp + 0x38]
mov rcx, r13
call fcn.140005460
mov rbx, qword [rbp - 0x48]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x60], reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.14002416c
lea rcx, [rbp - 0x60]
xor r8d, r8d
mov rdx, rbx
call fcn.140006e60
cmp dword [rsp + 0x50], 0x21335541
je 0x14008653a
mov rcx, qword [rbp + 0x38]
lea rax, [rbp + 0x480]
lea r9, [rbp + 0x280]
lea r8, [rbp + 0x80]
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rax
call fcn.140026104
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x680]
call fcn.140024e80
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x680]
call fcn.140024e54
lea rcx, [rbp + 0x680]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, 0x2000
call fcn.140024ca8
lea rcx, [rsp + 0x40]
mov rdx, rax
call fcn.140002b20
mov rbx, qword [rsp + 0x40]
mov al, byte [rsp + 0x30]
cmp al, 1
jne 0x1400082ff
lea rcx, [rbp - 0x60]
mov rdx, rbx
call fcn.140008540
test al, al
je 0x1400082ff
inc esi
mov rdx, rbx
mov dword [rsp + 0x34], esi
call fcn.140007dd0
mov rdx, rbx
call fcn.140007cac
test al, al
je 0x1400868fb
mov rdx, rbx
call fcn.140007d6c
mov rcx, rbx
call fcn.140024e38
mov r13, rax
cmp eax, 2
jle 0x140008270
lea ecx, [rax - 2]
movsxd rdx, ecx
movzx ecx, word [rbx + rdx*2]
and cx, 0x7f
call fcn.140025a20
test eax, eax
jne 0x140008362
mov r13b, dil
cmp byte [rsp + 0x38], 1
je 0x1400868d1
mov rdx, qword [rbp + 0x38]
lea rcx, [rsp + 0x78]
call fcn.140012aec
lea rax, [rbp - 0x60]
lea r9, [rsp + 0x34]
lea r8, [rsp + 0x78]
mov rdx, rbx
mov rcx, r14
mov qword [rsp + 0x20], rax
call fcn.140007e64
lea rcx, [rsp + 0x78]
mov esi, eax
call fcn.14000838c
test esi, esi
je 0x140008380
cmp esi, 1
jle 0x140008383
cmp esi, 3
jg 0x1400868e2
mov esi, dword [rsp + 0x34]
mov r9d, dword [rbp + 0x106d0]
mov r8, rbx
mov edx, esi
mov rcx, r14
call fcn.140007c00
mov al, byte [rsp + 0x30]
cmp r13b, 1
sete byte [rsp + 0x38]
cmp r12b, 1
je 0x140008203
lea rcx, [rbp - 0x60]
call fcn.140006bb0
mov rcx, qword [rbp + 0x58]
mov qword [rbp - 0x1c], rdi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea rcx, [rsp + 0x40]
mov dil, r12b
call fcn.140006c58
lea rcx, [rbp + 0x38]
call fcn.14000838c
lea rcx, [rbp + 0x58]
call fcn.14000838c
lea rcx, [rbp - 0x60]
call fcn.140006b68
dec dword [0x1400dce28]
mov rbx, qword [rsp + 0x107c0]
mov al, dil
add rsp, 0x10780
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea eax, [r13 - 1]
movsxd rcx, eax
cmp word [rbx + rcx*2], 0x5f
jne 0x140008270
mov word [rbx + rcx*2], di
mov r13b, 1
jmp 0x140008273
mov r12b, dil
mov esi, dword [rsp + 0x34]
jmp 0x1400082e8
mov rax, qword [rbp + 0x106e0]
mov r8d, dword [rbp + 0x106e8]
lea r9, str.include_depth_exceeded.__Make_sure_there_are_no_recursive_includes
mov rdx, r15
mov qword [rsp + 0x20], rax
call fcn.14004a1dc
xor edi, edi
jmp 0x14000833e
mov rax, qword [rbp + 0x106e0]
mov r8d, dword [rbp + 0x106e8]
lea r9, str.Error_opening_the_file
mov rdx, r15
mov rcx, r14
mov qword [rsp + 0x20], rax
call fcn.14004a1dc
nop
jmp 0x140008335
cmp dword [rsp + 0x54], 0x36304145
jne 0x14000818a
lea rcx, [rbp - 0x60]
call fcn.140006bb0
mov rdx, qword [r13]
lea rcx, [rbp - 0x10]
mov r8d, 2
mov qword [rbp - 0x1c], rdi
mov qword [rbp], rdi
mov qword [rbp + 8], rdi
mov byte [rbp + 0x10], dil
call fcn.140005a0c
test eax, eax
jne 0x14008659f
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x60]
lea rdx, str.___AUTOIT_SCRIPT___
lea rcx, [rbp - 0x10]
call fcn.1400564c0
lea rcx, [rbp - 0x10]
test eax, eax
je 0x1400865ca
call fcn.140005b64
mov rax, qword [rbp + 0x106e0]
mov r8d, dword [rbp + 0x106e8]
lea r9, str.Error_opening_the_file
mov rdx, r15
mov rcx, r14
mov qword [rsp + 0x20], rax
call fcn.14004a1dc
nop
jmp 0x140008323
call fcn.140005b64
mov r12, qword [rsp + 0x60]
or eax, 0xffffffff
mov r13d, dword [r12]
mov ebx, 4
lea r15, [0x1400b0ce8]
lea ecx, [rbx + 0x1c]
mov word [rsp + 0x48], ax
mov qword [rbp + 0x20], rdi
mov dword [rsp + 0x68], r13d
mov qword [rbp + 0x18], r15
mov qword [rbp + 0x28], rdi
mov qword [rbp + 0x30], rdi
call fcn.140024ca8
mov rsi, rax
test rax, rax
je 0x140086627
mov qword [rax], r15
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], rdi
mov qword [rsp + 0x60], rax
jmp 0x14008662f
mov rsi, rdi
mov qword [rsp + 0x60], rdi
or eax, 0xffffffff
lea rcx, [rsp + 0x40]
lea edx, [rax + 6]
mov word [rsp + 0x4a], ax
call fcn.140009d98
lea rdx, [rsp + 0x40]
mov rcx, rsi
mov dword [rsp + 0x40], r13d
call fcn.140009bcc
mov r15d, 1
mov dword [rsp + 0x58], edi
mov dword [rsp + 0x34], r15d
cmp r13d, r15d
jl 0x14008683b
lea rax, [rbx + r12]
lea rcx, [rsp + 0x40]
inc rbx
movzx r13d, byte [rax]
mov qword [rsp + 0x70], rbx
mov edx, r13d
call fcn.140009d98
lea rcx, [rsp + 0x40]
call fcn.140053678
test al, al
je 0x1400866ac
lea rax, [rbx + r12]
add rbx, 4
mov eax, dword [rax]
mov dword [rsp + 0x40], eax
jmp 0x1400867c9
lea rcx, [rsp + 0x40]
call fcn.140053668
test al, al
je 0x1400866cf
lea rax, [rbx + r12]
add rbx, 8
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
jmp 0x1400867c9
lea rcx, [rsp + 0x40]
call fcn.140053658
test al, al
je 0x1400866f4
lea rax, [rbx + r12]
add rbx, 8
movsd xmm0, qword [rax]
movsd qword [rsp + 0x40], xmm0
jmp 0x1400867c9
lea rcx, [rsp + 0x40]
call fcn.140007730
test al, al
je 0x1400867c9
lea r8, [rsp + 0x70]
mov rdx, r12
call fcn.14004a12c
mov r15, rax
mov rdx, rax
cmp r13d, 0x31
jne 0x140086748
lea rcx, [rsp + 0x78]
call fcn.140012aec
lea rdx, [rsp + 0x78]
mov rcx, r14
call fcn.1400076a8
lea rcx, [rsp + 0x78]
mov ebx, eax
call fcn.14000838c
lea edx, [r13 - 0x30]
jmp 0x140086770
cmp r13d, 0x30
jne 0x140086780
lea rcx, [rsp + 0x78]
call fcn.140012aec
lea rdx, [rsp + 0x78]
call fcn.1400076dc
lea rcx, [rsp + 0x78]
mov ebx, eax
call fcn.14000838c
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140009d98
mov dword [rsp + 0x40], ebx
jmp 0x1400867b7
cmp r13d, 0x37
jne 0x1400867ad
mov rcx, r14
call fcn.14004a028
test eax, eax
je 0x140086898
mov rcx, r15
call fcn.140024d50
mov rbx, qword [rsp + 0x70]
mov r15d, dword [rsp + 0x34]
jmp 0x14008666e
lea rcx, [rsp + 0x40]
call fcn.1400535d8
mov rcx, r15
call fcn.140024d50
mov rbx, qword [rsp + 0x70]
mov r15d, dword [rsp + 0x34]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140009bcc
mov edx, 0x7f
cmp r13d, edx
jne 0x14008666e
mov rcx, qword [rsi + 0x10]
cmp rcx, 2
jbe 0x140086820
mov rax, qword [rsi + 8]
mov rcx, qword [rax + rcx*8 - 0x10]
cmp word [rcx + 8], dx
je 0x140086820
inc dword [rsp + 0x58]
lea eax, [rdx - 0x44]
mov edx, dword [r14 + 0x20]
lea r8, [rsp + 0x38]
or r9d, 0xffffffff
mov rcx, r14
mov word [rsp + 0x38], ax
call fcn.140007c00
jmp 0x140086828
mov rcx, rsi
call fcn.14004a7e4
inc r15d
mov dword [rsp + 0x34], r15d
cmp r15d, dword [rsp + 0x68]
jle 0x14008666e
lea rcx, [rsp + 0x40]
mov edx, 5
call fcn.140009d98
mov rcx, qword [rsi + 8]
mov eax, dword [rsp + 0x58]
mov rcx, qword [rcx]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], eax
call fcn.140053528
lea rcx, [r14 + 0xa0]
lea rdx, [rsp + 0x60]
call fcn.140071c80
mov rcx, r12
call fcn.140025f9c
mov dil, 1
lea rcx, [rbp + 0x18]
call fcn.140007a88
lea rcx, [rsp + 0x40]
call fcn.140007740
nop
jmp 0x140008323
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rbp + 0x106c8]
lea rax, [0x1400b0af8]
lea r9, str.Bad_directive_syntax_error
mov rcx, r14
mov qword [rsp + 0x20], rax
call fcn.14004a1dc
mov rcx, r15
call fcn.140024d50
mov rcx, r12
call fcn.140025f9c
jmp 0x14008687f
mov rdx, rbx
mov rcx, r14
call fcn.140049f94
nop
jmp 0x1400082e8
cmp esi, 4
jne 0x140008383
mov esi, dword [rsp + 0x34]
mov al, dil
mov byte [rsp + 0x30], al
jmp 0x1400082ec
lea r9, str.Unterminated_string
mov r8d, esi
mov rdx, r15
mov rcx, r14
mov qword [rsp + 0x20], rbx
call fcn.14004a1dc
mov r12b, dil
jmp 0x1400082ff