Function at 0x140005400
Capabilities:
Set current directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [0x14012fc08]
movzx edi, r9b
mov qword [rsp + 0x30], rsi
movzx esi, dl
lea rax, [0x1401340a0]
mov r9d, 2
mov r10d, ecx
test r8b, r8b
je 0x1400054ed
inc dword [0x140134218]
add rbx, 0x150
mov qword [0x14012fc08], rbx
mov r8, rbx
nop dword [rax]
lea r8, [r8 + 0x80]
movups xmm0, xmmword [rax]
lea rax, [rax + 0x80]
movups xmmword [r8 - 0x80], xmm0
movups xmm1, xmmword [rax - 0x70]
movups xmmword [r8 - 0x70], xmm1
movups xmm0, xmmword [rax - 0x60]
movups xmmword [r8 - 0x60], xmm0
movups xmm1, xmmword [rax - 0x50]
movups xmmword [r8 - 0x50], xmm1
movups xmm0, xmmword [rax - 0x40]
movups xmmword [r8 - 0x40], xmm0
movups xmm1, xmmword [rax - 0x30]
movups xmmword [r8 - 0x30], xmm1
movups xmm0, xmmword [rax - 0x20]
movups xmmword [r8 - 0x20], xmm0
movups xmm1, xmmword [rax - 0x10]
movups xmmword [r8 - 0x10], xmm1
sub r9, 1
jne 0x140005450
movups xmm0, xmmword [rax]
xor edx, edx
lea rcx, [0x140136640]
movups xmmword [r8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r8 + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [r8 + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [r8 + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [r8 + 0x40], xmm0
mov dword [rbx + 0x3c], r10d
call fcn.140029490
jmp 0x14000556d
mov rcx, rbx
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm1, xmmword [rax - 0x70]
movups xmmword [rcx - 0x70], xmm1
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x60], xmm0
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x50], xmm1
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x40], xmm0
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x30], xmm1
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x20], xmm0
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x10], xmm1
sub r9, 1
jne 0x1400054f0
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
mov dword [rbx + 0x3c], r10d
cmp dword [0x14013423c], 0
mov qword [0x140137210], 0
je 0x1400055a4
mov rax, qword [0x1401320f0]
lea rcx, [0x1400fb87c]
test rax, rax
je 0x14000559e
mov rax, qword [rax]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test sil, sil
mov rsi, qword [rsp + 0x30]
jne 0x140005631
movzx eax, byte [rbx + 0x12e]
test al, al
jne 0x1400055da
cmp dil, 0x65
sete al
mov byte [rbx + 0x12e], al
jne 0x1400055da
mov qword [rbx], 0xffffffffffffffff
mov dword [rbx + 0x34], 0xffffffff
cmp dword [0x14013721c], 0
je 0x1400055ec
cmp dword [0x140137218], 0
jne 0x1400055f0
test al, al
je 0x140005631
mov byte [rbx + 0x12c], 0
test al, al
jne 0x140005631
cmp dword [0x14013721c], 0
jge 0x140005619
mov dword [rbx + 0x120], 0xffffffff
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x11c], eax
mov eax, dword [0x14013721c]
mov dword [rbx + 0x120], eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret