Function at 0x18005e530
Capabilities:
Set current directory

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x4bd8
call fcn.180012ac0
sub rsp, rax
mov rax, qword [0x180135070]
xor rax, rsp
mov qword [rsp + 0x4bc0], rax
mov dword [rsp + 0x130], 0
cmp qword [rsp + 0x4bf0], 0
jne 0x18005e57e
mov eax, 0xfffffffc
jmp 0x18005ec12
mov edx, 0x800
lea rcx, [rsp + 0x31c0]
call fcn.1800fd964
xor r8d, r8d
mov rdx, qword [rsp + 0x4be8]
mov rcx, qword [rsp + 0x4be0]
call fcn.18005e430
test eax, eax
je 0x18005e5c3
lea rcx, [rsp + 0x31c0]
call fcn.1800fdb74
mov eax, 0xfffffffc
jmp 0x18005ec12
lea rcx, [0x18013e030]
call fcn.1800fdb74
test eax, eax
je 0x18005e5ea
lea rcx, [rsp + 0x31c0]
call fcn.1800fdb74
mov eax, 0xfffffffc
jmp 0x18005ec12
lea r9, [rsp + 0x39e0]
lea r8, [rsp + 0x140]
lea rdx, str.____s
mov rcx, qword [rsp + 0x4bf0]
call fcn.180005e40
mov dword [rsp + 0x39d8], eax
cmp dword [rsp + 0x39d8], 2
jge 0x18005e636
lea rcx, [rsp + 0x31c0]
call fcn.1800fdb74
mov eax, 0xfffffffc
jmp 0x18005ec12
lea rax, [rsp + 0x3a80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x31b0]
lea r8, [rsp + 0x3a90]
lea rdx, [0x18013e070]
mov rcx, qword [rsp + 0x4be0]
call fcn.18005ec30
mov dword [rsp + 0x130], eax
cmp dword [rsp + 0x130], 0
je 0x18005e68f
lea rcx, [rsp + 0x31c0]
call fcn.1800fdb74
mov eax, 0xffffff6b
jmp 0x18005ec12
lea rax, [rsp + 0x1192]
lea rcx, [rsp + 0x991]
lea rdx, [rsp + 0x29a2]
lea r8, [rsp + 0x21a1]
lea r9, [rsp + 0x3a30]
mov qword [rsp + 0x48], r9
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x190]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r8
lea r9, [rsp + 0x19a0]
lea r8, [rsp + 0xe0]
lea rdx, [0x18013e098]
lea rcx, [rsp + 0x3a90]
call fcn.180005e40
mov dword [rsp + 0x39d8], eax
cmp dword [rsp + 0x39d8], 8
jge 0x18005e729
lea rcx, [rsp + 0x31c0]
call fcn.1800fdb74
mov eax, 0xfffffffc
jmp 0x18005ec12
lea rdx, [rsp + 0x3a30]
mov rcx, qword [rsp + 0x4bf0]
call fcn.18000e810
test eax, eax
je 0x18005e759
lea rcx, [rsp + 0x31c0]
call fcn.1800fdb74
mov eax, 0xfffffffc
jmp 0x18005ec12
lea rax, [rsp + 0x1192]
lea rcx, [rsp + 0x991]
lea rdx, [rsp + 0x29a2]
lea r8, [rsp + 0x21a1]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
lea rax, [rsp + 0x190]
mov qword [rsp + 0x20], rax
mov r9, rdx
lea rdx, [rsp + 0x19a0]
lea rcx, [rsp + 0xe0]
call fcn.18005e240
mov qword [rsp + 0x3b70], rax
mov edx, 0x3d
mov rcx, qword [rsp + 0x4bf0]
call fcn.1800156cc
mov qword [rsp + 0x50], rax
mov edx, 0x3d
mov rcx, qword [rsp + 0x3b70]
call fcn.1800156cc
mov qword [rsp + 0x39d0], rax
cmp qword [rsp + 0x50], 0
je 0x18005e837
cmp qword [rsp + 0x39d0], 0
je 0x18005e837
mov edx, 0x3d
mov rcx, qword [rsp + 0x3b70]
call fcn.1800156cc
mov qword [rsp + 0x4bb8], rax
mov edx, 0x3d
mov rcx, qword [rsp + 0x4bf0]
call fcn.1800156cc
mov rcx, qword [rsp + 0x4bb8]
mov rdx, rcx
mov rcx, rax
call fcn.18000e810
test eax, eax
je 0x18005e84e
lea rcx, [rsp + 0x31c0]
call fcn.1800fdb74
mov eax, 0xfffffffc
jmp 0x18005ec12
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x4be0]
call fcn.18003b960
lea r8, [0x18015badf]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x4be0]
call fcn.18004d170
test eax, eax
je 0x18005e89c
lea rcx, [rsp + 0x31c0]
call fcn.1800fdb74
mov eax, 0xfffffffc
jmp 0x18005ec12
mov dword [rsp + 0xd0], 0
jmp 0x18005e8b9
mov eax, dword [rsp + 0xd0]
inc eax
mov dword [rsp + 0xd0], eax
cmp dword [rsp + 0xd0], 3
jge 0x18005ec03
movsxd rax, dword [rsp + 0xd0]
imul rax, rax, 0x801
lea rax, [rsp + rax + 0x19a0]
mov edx, 1
mov rcx, rax
call fcn.18005ee70
mov rcx, rax
call fcn.1800fdb74
mov dword [rsp + 0x130], eax
cmp dword [rsp + 0x130], 0
je 0x18005e91b
lea rcx, [rsp + 0x31c0]
call fcn.1800fdb74
mov eax, 0xffffff6b
jmp 0x18005ec12
movsxd rax, dword [rsp + 0xd0]
imul rax, rax, 0x801
lea rax, [rsp + rax + 0x190]
mov edx, 1
mov rcx, rax
call fcn.18005ee70
lea rcx, [rsp + 0x4390]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x4bb0]
lea r8, [rsp + 0x3a90]
mov rdx, rax
mov rcx, qword [rsp + 0x4be0]
call fcn.18005ec30
mov dword [rsp + 0x130], eax
cmp dword [rsp + 0x130], 0
je 0x18005e994
lea rcx, [rsp + 0x31c0]
call fcn.1800fdb74
mov eax, 0xffffff6b
jmp 0x18005ec12
lea rax, [rsp + 0x4390]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4bb0]
lea r8, [rsp + 0x43a0]
lea rdx, [0x18013e0d0]
lea rcx, [rsp + 0x3a90]
call fcn.180005e40
mov dword [rsp + 0x39d8], eax
cmp dword [rsp + 0x39d8], 3
jge 0x18005e9ed
lea rcx, [rsp + 0x31c0]
call fcn.1800fdb74
mov eax, 0xfffffffc
jmp 0x18005ec12
mov edx, 1
lea rcx, [rsp + 0x43a0]
call fcn.18005ee70
mov qword [rsp + 0x4398], rax
mov byte [rsp + 0x3b80], 0
cmp qword [rsp + 0x4398], 0
je 0x18005ebcd
mov rax, qword [rsp + 0x4398]
movsx eax, byte [rax]
test eax, eax
je 0x18005ebcd
lea rdx, [rsp + 0x3b80]
mov rcx, qword [rsp + 0x4398]
call fcn.18000e810
test eax, eax
je 0x18005ebcd
lea rax, [rsp + 0x3a80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x31b0]
lea r8, [rsp + 0x3a90]
mov rdx, qword [rsp + 0x4398]
mov rcx, qword [rsp + 0x4be0]
call fcn.18005ec30
mov dword [rsp + 0x130], eax
cmp dword [rsp + 0x130], 0
je 0x18005eaa8
lea rcx, [rsp + 0x31c0]
call fcn.1800fdb74
mov eax, 0xfffffffc
jmp 0x18005ec12
mov eax, dword [rsp + 0x31b0]
mov ecx, dword [rsp + 0x4bb0]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x3b78], eax
cmp dword [rsp + 0x3b78], 0
jge 0x18005eadb
mov eax, dword [rsp + 0x3b78]
neg eax
mov dword [rsp + 0x3b78], eax
cmp dword [rsp + 0x3b78], 1
jle 0x18005eaf2
cmp dword [rsp + 0x3b78], 0xe0f
jl 0x18005eaff
cmp dword [rsp + 0x3b78], 0xe11
jle 0x18005eb16
lea rcx, [rsp + 0x31c0]
call fcn.1800fdb74
mov eax, 0xfffffffc
jmp 0x18005ec12
mov eax, dword [rsp + 0x3a80]
cmp dword [rsp + 0x4390], eax
je 0x18005eb3d
lea rcx, [rsp + 0x31c0]
call fcn.1800fdb74
mov eax, 0xfffffffc
jmp 0x18005ec12
lea rax, [rsp + 0x4390]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4bb0]
lea r8, [rsp + 0x43a0]
lea rdx, str.V1.0____lx_lx
lea rcx, [rsp + 0x3a90]
call fcn.180005e40
mov dword [rsp + 0x39d8], eax
cmp dword [rsp + 0x39d8], 3
jge 0x18005eb93
lea rcx, [rsp + 0x31c0]
call fcn.1800fdb74
mov eax, 0xfffffffc
jmp 0x18005ec12
mov r8d, 0x800
mov rdx, qword [rsp + 0x4398]
lea rcx, [rsp + 0x3b80]
call fcn.180023830
mov edx, 1
lea rcx, [rsp + 0x43a0]
call fcn.18005ee70
mov qword [rsp + 0x4398], rax
jmp 0x18005ea0f
lea rcx, [0x18013df0c]
call fcn.1800fdb74
mov dword [rsp + 0x130], eax
cmp dword [rsp + 0x130], 0
je 0x18005ebfe
lea rcx, [rsp + 0x31c0]
call fcn.1800fdb74
mov eax, 0xffffff6b
jmp 0x18005ec12
jmp 0x18005e8a9
lea rcx, [rsp + 0x31c0]
call fcn.1800fdb74
xor eax, eax
mov rcx, qword [rsp + 0x4bc0]
xor rcx, rsp
call fcn.180005860
add rsp, 0x4bd8
ret