Function at 0x18004cb20
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 [0x18012c040]
xor rax, rsp
mov qword [rbp + 0x100], rax
xor ebx, ebx
cmp dword [0x18012dd70], 0x14
jl 0x18004ce5d
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 0x18004cb95
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x68]
call fcn.180013310
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.180013310
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 0x18004cc12
mov rbx, 0xffffffffffffffff
cmp rdi, rbx
cmovb rbx, rdi
jmp 0x18004cc57
cmp r14, rdi
ja 0x18004cc80
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 0x18004cc4a
mov r8, r14
mov rdx, r12
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18004cc54
cmp rbx, rsi
je 0x18004cc80
dec rbx
jmp 0x18004cc33
sub rbx, rsi
cmp rbx, 0xffffffffffffffff
je 0x18004cc80
mov qword [rsp + 0x20], 6
mov r8, r14
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.18004fa20
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 0x18004ccc5
lea rax, [rdi - 1]
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
add r8, rcx
nop dword [rax]
cmp byte [r8], 0x5c
je 0x18004ccc0
cmp r8, rcx
je 0x18004ccc5
dec r8
jmp 0x18004ccb0
sub r8, rcx
jmp 0x18004cccc
mov r8, 0xffffffffffffffff
cmp r8, 0xffffffffffffffff
je 0x18004cd83
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.180013310
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x18004cd44
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004cd3f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004cd3f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d5198
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rsp + 0x78], xmm1
movdqa xmm0, xmmword [0x180114870]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
lea rcx, [rsp + 0x48]
call fcn.180027960
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 0x18004ce93
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.18001fea0
nop
mov rax, qword [rsp + 0x78]
sub rbx, rax
cmp rbx, 0x13
jb 0x18004ce8d
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.18001fea0
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]
lea rcx, [rbp - 0x58]
call fcn.180027960
nop
lea rcx, [rbp - 0x38]
call fcn.180027960
nop
lea rcx, [rbp - 0x78]
call fcn.180027960
nop
lea rcx, [rsp + 0x68]
call fcn.180027960
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.1800d4da0
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.180027a40
nop
call fcn.180027a40
int3