Function at 0x14001d510
Capabilities:
Set current directory

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov eax, dword [0x1400e2534]
mov r14, rcx
mov ecx, gethostbyname
inc eax
mov r15, r9
mov rbx, rdx
mov dword [0x1400e2534], eax
cmp eax, ecx
jge 0x14004ee0e
xor edi, edi
mov r12b, 1
lea rcx, [rbp - 0x40]
mov esi, edi
mov r13b, r12b
mov byte [rsp + 0x34], r12b
mov byte [rsp + 0x31], dil
call fcn.14001b9e8
lea rcx, [rbp - 0x40]
mov r8d, 0x2000
mov rdx, rbx
call fcn.14001ba68
test al, al
je 0x14004ee3a
lea rcx, [rbp + 0x58]
call fcn.14001dfc0
lea rcx, [rbp + 0x58]
call fcn.1400249b8
lea rcx, [rbp + 0x10]
call fcn.14001dfc0
lea rdx, [rbp + 0x10]
mov rcx, rbx
call fcn.14001a038
mov rbx, qword [rbp - 0x28]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x60], reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.14001bb24
lea rcx, [rbp - 0x40]
xor r8d, r8d
mov rdx, rbx
call fcn.14001bed8
cmp dword [rsp + 0x50], 0x21335541
je 0x14004ee65
lea rcx, [rsp + 0x78]
call fcn.14001dfc0
lea rcx, [rsp + 0x40]
call fcn.14001dfc0
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x10]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
call fcn.140019df4
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x78]
call fcn.14001e5b0
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea rcx, [rsp + 0x40]
call fcn.14001bc24
lea rcx, [rsp + 0x78]
call fcn.14001bc24
mov ecx, 0x2000
call fcn.14002503c
lea rcx, [rsp + 0x40]
mov rdx, rax
call fcn.14001b3ac
mov rbx, qword [rsp + 0x40]
cmp r13b, 1
jne 0x14001d76a
lea rcx, [rbp - 0x40]
mov rdx, rbx
call fcn.14001bb44
test al, al
je 0x14001d76a
inc esi
mov rdx, rbx
mov dword [rsp + 0x38], esi
call fcn.14001da48
mov rdx, rbx
call fcn.14001d988
test al, al
je 0x14004f229
mov rdx, rbx
call fcn.14001dadc
mov rcx, rbx
call fcn.140025748
mov r13, rax
cmp eax, 2
jle 0x14001d6dd
lea ecx, [rax - 2]
movsxd rdx, ecx
movzx ecx, word [rbx + rdx*2]
and cx, 0x7f
call fcn.1400264ac
test eax, eax
jne 0x14001d7da
mov r13b, dil
cmp byte [rsp + 0x31], 1
je 0x14004f205
mov rdx, qword [rbp + 0x10]
lea rcx, [rbp - 0x68]
call fcn.14001ea0c
lea rax, [rbp - 0x40]
lea r9, [rsp + 0x38]
lea r8, [rbp - 0x68]
mov rdx, rbx
mov rcx, r14
mov qword [rsp + 0x20], rax
call fcn.14001d2c4
lea rcx, [rbp - 0x68]
mov esi, eax
call fcn.14001bc24
test esi, esi
je 0x14001d7f1
cmp esi, 1
jle 0x14001d7f4
cmp esi, 3
jg 0x14004f216
mov esi, dword [rsp + 0x38]
mov r9d, dword [rbp + 0xd0]
mov r8, rbx
mov edx, esi
mov rcx, r14
call fcn.14001c438
cmp r13b, 1
mov r13b, byte [rsp + 0x34]
sete byte [rsp + 0x31]
cmp r12b, 1
je 0x14001d66e
lea rcx, [rbp - 0x40]
call fcn.14001c0b4
mov rcx, qword [rbp + 0x58]
mov qword [rbp + 4], rdi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rcx, qword [rsp + 0x48]
mov dil, r12b
dec qword [rcx]
jne 0x14001d79b
call fcn.140023700
mov rcx, rbx
call fcn.140023700
lea rcx, [rbp + 0x10]
call fcn.14001bc24
lea rcx, [rbp + 0x58]
call fcn.14001bc24
lea rcx, [rbp - 0x40]
call fcn.14001ba30
dec dword [0x1400e2534]
mov rbx, qword [rsp + 0x1c0]
mov al, dil
add rsp, 0x180
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 0x14001d6dd
jmp 0x14004f1f9
mov r12b, dil
mov esi, dword [rsp + 0x38]
jmp 0x14001d752
mov rax, qword [rbp + 0xe0]
mov r8d, dword [rbp + 0xe8]
lea r9, str.include_depth_exceeded.__Make_sure_there_are_no_recursive_includes
mov rdx, r15
mov rcx, r14
mov qword [rsp + 0x20], rax
call fcn.14006d05c
xor edi, edi
jmp 0x14001d7b6
mov rax, qword [rbp + 0xe0]
mov r8d, dword [rbp + 0xe8]
lea r9, str.Error_opening_the_file
mov rdx, r15
mov rcx, r14
mov qword [rsp + 0x20], rax
call fcn.14006d05c
nop
jmp 0x14001d7ad
cmp dword [rsp + 0x54], 0x36304145
jne 0x14001d5f5
lea rcx, [rbp - 0x40]
call fcn.14001c0b4
mov rdx, qword [rbp + 0xc8]
lea rcx, [rbp + 0x30]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x40], xmm0
mov rdx, qword [rdx]
mov r8d, 2
mov qword [rbp + 4], rdi
mov byte [rbp + 0x50], dil
call fcn.14001b290
test eax, eax
jne 0x14004eed0
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x60]
lea rdx, str.___AUTOIT_SCRIPT___
lea rcx, [rbp + 0x30]
call fcn.140078b94
lea rcx, [rbp + 0x30]
test eax, eax
je 0x14004eefb
call fcn.14001b35c
mov rax, qword [rbp + 0xe0]
mov r8d, dword [rbp + 0xe8]
lea r9, str.Error_opening_the_file
mov rdx, r15
mov rcx, r14
mov qword [rsp + 0x20], rax
call fcn.14006d05c
nop
jmp 0x14001d79b
call fcn.14001b35c
mov r12, qword [rsp + 0x60]
lea rax, [0x1400a9468]
mov r13d, dword [r12]
mov ebx, 4
or r15, 0xffffffffffffffff
lea ecx, [rbx + 0x1c]
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rdi
mov dword [rsp + 0x68], r13d
mov word [rsp + 0x48], r15w
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], rdi
call fcn.14002503c
mov rsi, rax
test rax, rax
je 0x14004ef62
lea rax, [0x1400a9468]
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], rdi
mov qword [rsp + 0x60], rsi
mov qword [rsi], rax
jmp 0x14004ef6a
mov rsi, rdi
mov qword [rsp + 0x60], rdi
lea rcx, [rsp + 0x40]
mov edx, 5
mov word [rsp + 0x4a], r15w
call fcn.14001c170
lea rdx, [rsp + 0x40]
mov rcx, rsi
mov dword [rsp + 0x40], r13d
call fcn.14001de0c
mov dword [rsp + 0x3c], edi
mov dword [rsp + 0x38], 1
cmp r13d, 1
jl 0x14004f162
lea rax, [rbx + r12]
lea rcx, [rsp + 0x40]
inc rbx
movzx r13d, byte [rax]
mov qword [rsp + 0x70], rbx
mov edx, r13d
call fcn.14001c170
movzx ecx, word [rsp + 0x48]
mov dx, reloc.WSOCK32.dll_ntohs
cmp cx, dx
ja 0x14004efe5
lea rax, [rbx + r12]
add rbx, 4
mov eax, dword [rax]
mov dword [rsp + 0x40], eax
jmp 0x14004f0f0
lea eax, [rcx - 0x10]
cmp ax, dx
ja 0x14004f002
lea rax, [rbx + r12]
add rbx, 8
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
jmp 0x14004f0f0
lea eax, [rcx - 0x20]
cmp ax, dx
ja 0x14004f021
lea rax, [rbx + r12]
add rbx, 8
movsd xmm0, qword [rax]
movsd qword [rsp + 0x40], xmm0
jmp 0x14004f0f0
sub cx, 0x30
cmp cx, dx
ja 0x14004f0f0
lea r8, [rsp + 0x70]
mov rdx, r12
call fcn.14006cfac
mov r15, rax
cmp r13d, 0x31
jne 0x14004f06d
lea rcx, [rbp - 0x68]
mov rdx, rax
call fcn.14001ea0c
lea rdx, [rbp - 0x68]
mov rcx, r14
call fcn.14001d198
lea rcx, [rbp - 0x68]
mov ebx, eax
call fcn.14001bc24
lea edx, [r13 - 0x30]
jmp 0x14004f099
mov eax, gethostbyname
mov rdx, r15
cmp r13d, eax
jne 0x14004f0a9
lea rcx, [rbp - 0x68]
call fcn.14001ea0c
lea rdx, [rbp - 0x68]
call fcn.14001d1a8
lea rcx, [rbp - 0x68]
mov ebx, eax
call fcn.14001bc24
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.14001c170
mov dword [rsp + 0x40], ebx
jmp 0x14004f0df
cmp r13d, 0x37
jne 0x14004f0d5
mov rcx, r14
call fcn.14006cea8
test eax, eax
je 0x14004f1c0
mov rcx, r15
call fcn.140023700
mov rbx, qword [rsp + 0x70]
or r15, 0xffffffffffffffff
jmp 0x14004efa7
lea rcx, [rsp + 0x40]
call fcn.140076390
mov rcx, r15
call fcn.140023700
mov rbx, qword [rsp + 0x70]
or r15, 0xffffffffffffffff
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14001de0c
mov edx, 0x7f
cmp r13d, edx
jne 0x14004efa7
mov rcx, qword [rsi + 0x10]
cmp rcx, 2
jbe 0x14004f146
mov rax, qword [rsi + 8]
mov rcx, qword [rax + rcx*8 - 0x10]
cmp word [rcx + 8], dx
je 0x14004f146
inc dword [rsp + 0x3c]
lea eax, [rdx - 0x44]
mov edx, dword [r14 + 0x20]
lea r8, [rsp + 0x34]
mov r9d, r15d
mov rcx, r14
mov word [rsp + 0x34], ax
call fcn.14001c438
jmp 0x14004f14e
mov rcx, rsi
call fcn.14006d658
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp eax, dword [rsp + 0x68]
jle 0x14004efa7
lea rcx, [rsp + 0x40]
mov edx, 5
call fcn.14001c170
mov rcx, qword [rsi + 8]
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rcx]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], eax
call fcn.1400762e0
lea rcx, [r14 + 0xa0]
lea rdx, [rsp + 0x60]
call fcn.14007ffd0
mov rcx, r12
call fcn.1400258cc
mov dil, 1
lea rcx, [rsp + 0x78]
call fcn.14001df40
lea rcx, [rsp + 0x40]
call fcn.14001c15c
nop
jmp 0x14001d79b
mov r8d, dword [rsp + 0x38]
mov rdx, qword [rbp + 0xc8]
lea rax, [0x1400a92b0]
lea r9, str.Bad_directive_syntax_error
mov rcx, r14
mov qword [rsp + 0x20], rax
call fcn.14006d05c
mov rcx, r15
call fcn.140023700
mov rcx, r12
call fcn.1400258cc
jmp 0x14004f1a6
mov word [rbx + rcx*2], di
mov r13b, 1
jmp 0x14001d6e0
mov rdx, rbx
mov rcx, r14
call fcn.14006ce14
nop
jmp 0x14001d752
cmp esi, 4
jne 0x14001d7f4
mov byte [rsp + 0x34], dil
jmp 0x14001d7f4
lea r9, str.Unterminated_string
mov r8d, esi
mov rdx, r15
mov rcx, r14
mov qword [rsp + 0x20], rbx
call fcn.14006d05c
mov r12b, dil
jmp 0x14001d76a