Function at 0x18005d4d0
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 [0x180149040]
xor rax, rsp
mov qword [rbp + 0x100], rax
cmp dword [0x18014adc0], 0x14
jge 0x18005d584
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
xor r8d, r8d
lea rdx, [0x18011f470]
lea rcx, [rsp + 0x48]
call fcn.180016150
nop
cmp byte [0x18014add8], 0
je 0x18005d57a
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x44], 2
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x18014bfd8]
mov qword [rsp + 0x20], rax
lea r9, [0x18014bfc8]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x44]
call fcn.180028480
nop
lea rcx, [rsp + 0x48]
jmp 0x18005d952
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], 0
mov qword [rbp - 0x80], 0
lea rax, [rbp - 0x10]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18005d5c0
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x68]
call fcn.180016150
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], 0
mov qword [rbp - 0x60], 0
mov r8d, 0x1c
lea rdx, str.FortniteGameBinariesWin64
lea rcx, [rbp - 0x78]
call fcn.180016150
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 0x18005d646
mov rbx, 0xffffffffffffffff
cmp rdi, rbx
cmovb rbx, rdi
jmp 0x18005d68b
cmp r14, rdi
ja 0x18005d6b4
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 0x18005d67e
mov r8, r14
mov rdx, r12
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18005d688
cmp rbx, rsi
je 0x18005d6b4
dec rbx
jmp 0x18005d667
sub rbx, rsi
cmp rbx, 0xffffffffffffffff
je 0x18005d6b4
mov qword [rsp + 0x20], 6
mov r8, r14
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.1800601a0
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 0x18005d6fb
lea rax, [rdi - 1]
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
add r8, rcx
cmp byte [r8], 0x5c
jne 0x18005d6ec
xor eax, eax
test eax, eax
je 0x18005d6f6
cmp r8, rcx
je 0x18005d6fb
dec r8
jmp 0x18005d6e0
sub r8, rcx
jmp 0x18005d702
mov r8, 0xffffffffffffffff
cmp r8, 0xffffffffffffffff
je 0x18005d7b9
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.180016150
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x18005d77a
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005d775
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005d775
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ed3ac
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rsp + 0x78], xmm1
movdqa xmm0, xmmword [0x18012ef20]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
lea rcx, [rsp + 0x48]
call fcn.18002d3d0
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 0x18005d98d
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.180023040
nop
mov rax, qword [rsp + 0x78]
sub rbx, rax
cmp rbx, 0x13
jb 0x18005d987
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.180023040
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, [0x18011f470]
lea rcx, [rsp + 0x48]
movups xmmword [rsp + 0x48], xmm0
movdqu xmmword [rsp + 0x58], xmm1
test eax, eax
je 0x18005d8db
call fcn.180016150
nop
cmp byte [0x18014add8], 0
je 0x18005d8d9
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x44], 2
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x18014bfd8]
mov qword [rsp + 0x20], rax
lea r9, [0x18014bfc8]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x44]
call fcn.180028480
nop
jmp 0x18005d924
call fcn.180016150
nop
cmp byte [0x18014add8], 0
je 0x18005d924
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x44], 2
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x18014bfd8]
mov qword [rsp + 0x20], rax
lea r9, [0x18014bfc8]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x44]
call fcn.180028480
nop
lea rcx, [rsp + 0x48]
call fcn.18002d3d0
nop
lea rcx, [rbp - 0x58]
call fcn.18002d3d0
nop
lea rcx, [rbp - 0x38]
call fcn.18002d3d0
nop
lea rcx, [rbp - 0x78]
call fcn.18002d3d0
nop
lea rcx, [rsp + 0x68]
call fcn.18002d3d0
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.1800ed360
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.18002d1c0
nop
call fcn.18002d1c0
int3