Function at 0x14000d878
Capabilities:
Set current directory

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xc8]
sub rsp, 0x190
mov qword [rbp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140042038]
xor rax, rsp
mov qword [rbp + 0x88], rax
mov r13, r9
mov dword [rsp + 0x3c], r8d
mov r15, rdx
mov qword [rbp - 0x18], rdx
mov r14, rcx
mov rsi, qword [rbp + 0xf0]
lea rax, [0x140047960]
mov qword [rbp + 0x58], rax
mov eax, dword [0x140047960]
inc eax
mov dword [0x140047960], eax
mov ecx, 0x30
cmp eax, ecx
jl 0x14000d918
mov qword [rsp + 0x20], rsi
lea r9, str.include_depth_exceeded.__Make_sure_there_are_no_recursive_includes
mov r8d, dword [rbp + 0xf8]
mov rdx, r13
mov rcx, r14
call fcn.14000c90c
nop
dec dword [0x140047960]
xor al, al
jmp 0x14000e08f
xor edi, edi
mov r12d, edi
mov byte [rsp + 0x31], 1
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x34], dil
mov qword [rsp + 0x50], rdi
mov ecx, 0x10000
call fcn.140015f3c
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x50]
call fcn.140010ea4
nop
lea rcx, [rsp + 0x70]
call fcn.140001834
lea rcx, [rsp + 0x50]
call fcn.140010ea4
nop
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.140010884
test al, al
jne 0x14000d9bd
mov qword [rsp + 0x20], rsi
lea r9, str.Error_opening_the_file
mov r8d, dword [rbp + 0xf8]
mov rdx, r13
mov rcx, r14
call fcn.14000c90c
nop
lea rcx, [rsp + 0x50]
call fcn.140010ea4
lea rcx, [rsp + 0x70]
call fcn.1400016b0
lea rcx, [rsp + 0x50]
call fcn.140010ea4
mov rcx, qword [rsp + 0x58]
call fcn.140015fa8
jmp 0x14000d90b
lea rcx, [rbp + 0x10]
call fcn.140001834
nop
lea rcx, [rbp + 0x10]
call fcn.1400117c4
lea rcx, [rbp - 0x10]
call fcn.140001834
nop
lea rdx, [rbp - 0x10]
mov rcx, r15
call fcn.140011894
mov rbx, qword [rsp + 0x68]
mov r8d, 0x18
lea rdx, [rbp + 0x68]
lea rcx, [rsp + 0x50]
call fcn.140010fac
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140010ed8
cmp dword [rbp + 0x78], 0x21335541
jne 0x14000ddd8
cmp dword [rbp + 0x7c], 0x36304145
jne 0x14000ddd8
lea rcx, [rsp + 0x50]
call fcn.140010ea4
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x50], dil
mov rdx, qword [r15]
lea rcx, [rbp + 0x30]
call fcn.1400022d4
test eax, eax
je 0x14000da86
mov qword [rsp + 0x20], rsi
lea r9, str.Error_opening_the_file
mov r8d, dword [rbp + 0xf8]
mov rdx, r13
mov rcx, r14
call fcn.14000c90c
nop
lea rcx, [rbp - 0x10]
call fcn.1400016b0
nop
lea rcx, [rbp + 0x10]
call fcn.1400016b0
jmp 0x14000d990
lea r9, [rsp + 0x3c]
lea r8, [rsp + 0x40]
lea rcx, [rbp + 0x30]
call fcn.140002b64
lea rcx, [rbp + 0x30]
test eax, eax
je 0x14000daa8
call fcn.1400024f0
jmp 0x14000da4f
call fcn.1400024f0
mov ebx, 4
mov r12, qword [rsp + 0x40]
mov r13d, dword [r12]
mov dword [rsp + 0x3c], r13d
or r15, 0xffffffffffffffff
mov word [rbp + 0x70], r15w
mov word [rbp + 0x72], di
lea rax, [0x14003bd30]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], rdi
lea ecx, [rbx + 0x1c]
call fcn.140015f3c
mov rsi, rax
test rax, rax
je 0x14000db0c
lea rax, [0x14003bd30]
mov qword [rsi], rax
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], rdi
jmp 0x14000db0f
mov rsi, rdi
mov qword [rbp - 0x20], rsi
mov word [rbp + 0x72], r15w
mov edx, 5
lea rcx, [rbp + 0x68]
call fcn.140010668
mov dword [rbp + 0x68], r13d
lea rdx, [rbp + 0x68]
mov rcx, rsi
call fcn.14000f080
mov r13d, edi
mov dword [rsp + 0x38], edi
mov r15d, 1
mov dword [rsp + 0x34], r15d
cmp dword [rsp + 0x3c], r15d
jl 0x14000dd79
lea rax, [rbx + r12]
inc rbx
mov qword [rsp + 0x40], rbx
movzx r13d, byte [rax]
mov edx, r13d
lea rcx, [rbp + 0x68]
call fcn.140010668
movzx ecx, word [rbp + 0x70]
mov dx, 0xf
cmp cx, dx
ja 0x14000db8e
lea rax, [rbx + r12]
add rbx, 4
mov eax, dword [rax]
mov dword [rbp + 0x68], eax
jmp 0x14000dc9a
lea eax, [rcx - 0x10]
cmp ax, dx
ja 0x14000dbaa
lea rax, [rbx + r12]
add rbx, 8
mov rax, qword [rax]
mov qword [rbp + 0x68], rax
jmp 0x14000dc9a
lea eax, [rcx - 0x20]
cmp ax, dx
ja 0x14000dbc8
lea rax, [rbx + r12]
add rbx, 8
movsd xmm0, qword [rax]
movsd qword [rbp + 0x68], xmm0
jmp 0x14000dc9a
sub cx, 0x30
cmp cx, dx
ja 0x14000dc9a
lea r8, [rsp + 0x40]
mov rdx, r12
call fcn.14000e41c
mov r15, rax
cmp r13d, 0x31
jne 0x14000dc18
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.14000454c
nop
mov rcx, qword [r14 + 0x30]
mov r8, qword [rcx]
mov rdx, qword [rbp - 0x40]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov ebx, eax
lea rcx, [rbp - 0x40]
call fcn.1400016b0
lea edx, [r13 - 0x30]
jmp 0x14000dc44
mov eax, 0x30
mov rdx, r15
cmp r13d, eax
jne 0x14000dc52
lea rcx, [rbp - 0x40]
call fcn.14000454c
lea rdx, [rbp - 0x40]
call fcn.14000fd18
mov ebx, eax
lea rcx, [rbp - 0x40]
call fcn.1400016b0
xor edx, edx
lea rcx, [rbp + 0x68]
call fcn.140010668
mov dword [rbp + 0x68], ebx
jmp 0x14000dc88
cmp r13d, 0x37
jne 0x14000dc7f
mov rcx, r14
call fcn.14000e4cc
test eax, eax
je 0x14000dd4b
mov rcx, r15
call fcn.140015fa8
mov rbx, qword [rsp + 0x40]
mov r15d, dword [rsp + 0x34]
jmp 0x14000db53
lea rcx, [rbp + 0x68]
call fcn.140010560
mov rcx, r15
call fcn.140015fa8
mov rbx, qword [rsp + 0x40]
mov r15d, dword [rsp + 0x34]
lea rdx, [rbp + 0x68]
mov rcx, rsi
call fcn.14000f080
mov r8d, 0x7f
cmp r13d, r8d
jne 0x14000db53
mov rdx, qword [rsi + 0x10]
cmp rdx, 2
jbe 0x14000dcfc
mov rax, qword [rsi + 8]
mov rcx, qword [rax + rdx*8 - 0x10]
cmp word [rcx + 8], r8w
je 0x14000dcfc
mov r13d, dword [rsp + 0x38]
inc r13d
mov dword [rsp + 0x38], r13d
lea eax, [r8 - 0x44]
mov word [rsp + 0x34], ax
or r9d, 0xffffffff
lea r8, [rsp + 0x34]
mov edx, dword [r14 + 0x48]
mov rcx, r14
call fcn.14000cd30
jmp 0x14000dd37
lea rcx, [rdx - 1]
mov qword [rsi + 0x10], rcx
mov rax, qword [rsi + 8]
mov r15, qword [rax + rcx*8]
test r15, r15
je 0x14000dd21
mov rcx, r15
call fcn.140010474
mov rcx, r15
call fcn.140015fa8
mov rcx, qword [rsi + 0x10]
mov rax, qword [rsi + 8]
mov qword [rax + rcx*8], rdi
mov r15d, dword [rsp + 0x34]
mov r13d, dword [rsp + 0x38]
inc r15d
mov dword [rsp + 0x34], r15d
cmp r15d, dword [rsp + 0x3c]
jg 0x14000dd79
jmp 0x14000db53
lea rax, [0x140037048]
mov qword [rsp + 0x20], rax
lea r9, str.Bad_directive_syntax_error
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rbp - 0x18]
mov rcx, r14
call fcn.14000c90c
mov rcx, r15
call fcn.140015fa8
jmp 0x14000ddb7
mov edx, 5
lea rcx, [rbp + 0x68]
call fcn.140010668
mov dword [rbp + 0x68], r13d
mov rax, qword [rsi + 8]
lea rcx, [rbp + 0x68]
cmp qword [rax], rcx
je 0x14000dda4
lea rdx, [rbp + 0x68]
mov rcx, qword [rax]
call fcn.1400104a8
lea rcx, [r14 + 0xc8]
lea rdx, [rbp - 0x20]
call fcn.14000ef80
mov dil, 1
mov rcx, r12
call fcn.140016dc0
nop
lea rcx, [rbp - 0x60]
call fcn.14000f058
nop
lea rcx, [rbp + 0x68]
call fcn.140010474
jmp 0x14000e049
lea rcx, [rbp - 0x60]
call fcn.140001834
nop
lea rcx, [rbp + 0x68]
call fcn.140001834
nop
lea r8, [rbp + 0x68]
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x10]
call fcn.14001145c
lea rdx, [rbp + 0x68]
lea rcx, [rbp - 0x60]
call fcn.14000a79c
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
nop
lea rcx, [rbp + 0x68]
call fcn.1400016b0
nop
lea rcx, [rbp - 0x60]
call fcn.1400016b0
mov ecx, 0x2000
call fcn.140015f3c
mov rsi, rax
mov qword [rbp + 0x68], rax
mov ecx, 8
call fcn.140015f3c
mov r15, rax
test rax, rax
je 0x14000de58
mov qword [rax], 1
mov qword [rbp + 0x70], rax
jmp 0x14000de5f
mov r15, rdi
mov qword [rbp + 0x70], rdi
mov al, byte [rsp + 0x30]
cmp al, 1
jne 0x14000e019
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.140010c18
test al, al
je 0x14000e019
inc r12d
mov dword [rsp + 0x38], r12d
mov rdx, rsi
call fcn.14000d2dc
mov rdx, rsi
call fcn.14000d370
test al, al
je 0x14000dffd
mov rdx, rsi
call fcn.14000d260
mov byte [rsp + 0x32], dil
mov rcx, rsi
call fcn.1400165e8
mov rbx, rax
cmp eax, 2
jle 0x14000deea
lea ecx, [rax - 2]
movsxd rdx, ecx
movzx ecx, word [rsi + rdx*2]
and cx, 0x7f
call fcn.14001873c
test eax, eax
je 0x14000deea
lea eax, [rbx - 1]
movsxd rcx, eax
cmp word [rsi + rcx*2], 0x5f
jne 0x14000deea
mov word [rsi + rcx*2], di
mov byte [rsp + 0x32], 1
cmp byte [rsp + 0x34], 1
jne 0x14000df66
cmp dword [r14 + 0x48], edi
je 0x14000dfe2
mov rcx, qword [r14 + 0x40]
mov rcx, qword [rcx]
call fcn.1400165e8
mov rbx, rax
mov rcx, rsi
call fcn.1400165e8
lea rcx, [rbx + 1]
add rcx, rax
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140015f3c
mov rbx, rax
mov rdx, qword [r14 + 0x40]
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140017878
mov rdx, rsi
mov rcx, rbx
call fcn.14001784c
mov rcx, qword [r14 + 0x40]
mov rcx, qword [rcx]
call fcn.140015fa8
mov rcx, qword [r14 + 0x40]
mov qword [rcx], rbx
jmp 0x14000dfe2
mov rdx, qword [rbp - 0x10]
lea rcx, [rbp - 0x40]
call fcn.14000454c
nop
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
lea r8, [rbp - 0x40]
mov rdx, rsi
mov rcx, r14
call fcn.14000e0bc
mov ebx, eax
lea rcx, [rbp - 0x40]
call fcn.1400016b0
test ebx, ebx
je 0x14000dfd8
cmp ebx, 1
jle 0x14000dfdd
cmp ebx, 3
jle 0x14000dfbe
cmp ebx, 4
jne 0x14000dfdd
mov al, dil
mov byte [rsp + 0x30], al
mov r12d, dword [rsp + 0x38]
jmp 0x14000dfe6
mov r9d, dword [rsp + 0x3c]
mov r8, rsi
mov r12d, dword [rsp + 0x38]
mov edx, r12d
mov rcx, r14
call fcn.14000cd30
jmp 0x14000dfe2
mov byte [rsp + 0x31], dil
mov r12d, dword [rsp + 0x38]
mov al, byte [rsp + 0x30]
cmp byte [rsp + 0x32], 1
sete byte [rsp + 0x34]
cmp byte [rsp + 0x31], 1
je 0x14000de63
jmp 0x14000e019
mov qword [rsp + 0x20], rsi
lea r9, str.Unterminated_string
mov r8d, r12d
mov rdx, r13
mov rcx, r14
call fcn.14000c90c
jmp 0x14000e01e
mov dil, byte [rsp + 0x31]
lea rcx, [rsp + 0x50]
call fcn.140010ea4
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
nop
dec qword [r15]
jne 0x14000e049
mov rcx, r15
call fcn.140015fa8
mov rcx, rsi
call fcn.140015fa8
nop
lea rcx, [rbp - 0x10]
call fcn.1400016b0
nop
lea rcx, [rbp + 0x10]
call fcn.1400016b0
nop
lea rcx, [rsp + 0x50]
call fcn.140010ea4
lea rcx, [rsp + 0x70]
call fcn.1400016b0
lea rcx, [rsp + 0x50]
call fcn.140010ea4
mov rcx, qword [rsp + 0x58]
call fcn.140015fa8
nop
dec dword [0x140047960]
mov al, dil
mov rcx, qword [rbp + 0x88]
xor rcx, rsp
call fcn.140015ef0
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret