Function at 0x18005ca90
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rax, qword [0x180148040]
xor rax, rsp
mov qword [rbp + 0x100], rax
xor ebx, ebx
cmp dword [0x180149de0], 0x14
jge 0x18005cb44
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
xor r8d, r8d
lea rdx, [0x18011e4f0]
lea rcx, [rsp + 0x48]
call fcn.180016750
nop
cmp byte [0x180149df8], bl
je 0x18005cb3a
mov byte [rsp + 0x40], bl
mov dword [rsp + 0x44], 2
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x18014aff8]
mov qword [rsp + 0x20], rax
lea r9, [0x18014afe8]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x44]
call fcn.1800288e0
nop
lea rcx, [rsp + 0x48]
jmp 0x18005cefc
mov r8d, 0x104
lea rdx, [rbp - 0x10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], rbx
lea rax, [rbp - 0x10]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], bl
jne 0x18005cb72
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x68]
call fcn.180016750
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], rbx
mov r8d, 0x1c
lea rdx, str.FortniteGameBinariesWin64
lea rcx, [rbp - 0x78]
call fcn.180016750
nop
lea r12, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova r12, qword [rbp - 0x78]
mov rdi, qword [rsp + 0x78]
lea rsi, [rsp + 0x68]
mov r13, qword [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova rsi, r13
mov r14, qword [rbp - 0x68]
test r14, r14
jne 0x18005cbef
mov rbx, 0xffffffffffffffff
cmp rdi, rbx
cmovb rbx, rdi
jmp 0x18005cc34
cmp r14, rdi
ja 0x18005cc5d
mov rax, rdi
sub rax, r14
mov rbx, 0xffffffffffffffff
cmp rax, rbx
cmovb rbx, rax
add rbx, rsi
movzx r15d, byte [r12]
cmp byte [rbx], r15b
jne 0x18005cc27
mov r8, r14
mov rdx, r12
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18005cc31
cmp rbx, rsi
je 0x18005cc5d
dec rbx
jmp 0x18005cc10
sub rbx, rsi
cmp rbx, 0xffffffffffffffff
je 0x18005cc5d
mov qword [rsp + 0x20], 6
mov r8, r14
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.18005f760
mov rdi, qword [rsp + 0x78]
mov r13, qword [rsp + 0x68]
lea rcx, [rsp + 0x68]
mov r10, qword [rbp - 0x80]
cmp r10, 0xf
cmova rcx, r13
cmp rdi, 1
jb 0x18005cca5
lea rax, [rdi - 1]
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
add r8, rcx
nop dword [rax]
cmp byte [r8], 0x5c
je 0x18005cca0
cmp r8, rcx
je 0x18005cca5
dec r8
jmp 0x18005cc90
sub r8, rcx
jmp 0x18005ccac
mov r8, 0xffffffffffffffff
cmp r8, 0xffffffffffffffff
je 0x18005cd63
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
cmp rdi, r8
cmovb r8, rdi
lea rdx, [rsp + 0x68]
cmp r10, 0xf
cmova rdx, r13
lea rcx, [rsp + 0x48]
call fcn.180016750
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x18005cd24
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005cd1f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005cd1f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ec3ac
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rsp + 0x78], xmm1
movdqa xmm0, xmmword [0x18012e080]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
lea rcx, [rsp + 0x48]
call fcn.18002d710
mov rdi, qword [rsp + 0x78]
mov r13, qword [rsp + 0x68]
mov r10, qword [rbp - 0x80]
movabs rbx, 0x7fffffffffffffff
mov rax, rbx
sub rax, rdi
cmp rax, 0xe
jb 0x18005cf37
lea r9, [rsp + 0x68]
cmp r10, 0xf
cmova r9, r13
mov qword [rsp + 0x30], 0xe
lea rax, str.BuildInfo.ini
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea rcx, [rbp - 0x38]
call fcn.180023030
nop
mov rax, qword [rsp + 0x78]
sub rbx, rax
cmp rbx, 0x13
jb 0x18005cf31
lea r9, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova r9, qword [rsp + 0x68]
mov qword [rsp + 0x30], socket
lea rcx, str.BuildInfo_Temp.ini
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x58]
call fcn.180023030
nop
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova rdx, qword [rbp - 0x58]
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova rcx, qword [rbp - 0x38]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
xorps xmm0, xmm0
xorps xmm1, xmm1
xor r8d, r8d
lea rdx, [0x18011e4f0]
lea rcx, [rsp + 0x48]
movups xmmword [rsp + 0x48], xmm0
movdqu xmmword [rsp + 0x58], xmm1
test eax, eax
je 0x18005ce85
call fcn.180016750
nop
cmp byte [0x180149df8], 0
je 0x18005ce83
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x44], 2
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x18014aff8]
mov qword [rsp + 0x20], rax
lea r9, [0x18014afe8]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x44]
call fcn.1800288e0
nop
jmp 0x18005cece
call fcn.180016750
nop
cmp byte [0x180149df8], 0
je 0x18005cece
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x44], 2
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x18014aff8]
mov qword [rsp + 0x20], rax
lea r9, [0x18014afe8]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x44]
call fcn.1800288e0
nop
lea rcx, [rsp + 0x48]
call fcn.18002d710
nop
lea rcx, [rbp - 0x58]
call fcn.18002d710
nop
lea rcx, [rbp - 0x38]
call fcn.18002d710
nop
lea rcx, [rbp - 0x78]
call fcn.18002d710
nop
lea rcx, [rsp + 0x68]
call fcn.18002d710
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.1800ec360
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.18002d500
nop
call fcn.18002d500
int3