Function at 0x180041d10
Capabilities:
Move file

Disassembly:
push rbx
sub rsp, 0xb0
call fcn.180038260
test al, al
jne 0x180041a2b
lea rdx, [rsp + 0x50]
call fcn.180041ba0
mov r9, rax
cmp byte [rax + 0x4a], 0
je 0x180041a0d
xor ebx, ebx
cmp dword [0x18011f018], 2
jl 0x1800419cc
movdqa xmm0, xmmword [0x180108f60]
mov rcx, rax
movdqa xmm5, xmmword [0x180108e60]
movdqa xmm4, xmmword [0x180109010]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
movaps xmmword [rsp + 0xa0], xmm6
movdqa xmm6, xmmword [0x180108e80]
nop dword [rax]
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, xmm4
mov eax, ebx
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x180108f40]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 8], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180108f40]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
cmp ebx, 0x48
jl 0x1800418c0
movaps xmm6, xmmword [rsp + 0xa0]
cmp eax, 0x4b
jge 0x180041a0d
movsxd r8, ebx
add r8, r9
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4d4873ed
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, bl
inc ebx
sub al, cl
add al, 0x30
xor byte [r8 - 1], al
cmp ebx, 0x4b
jl 0x1800419e0
mov rdx, r9
lea rcx, [rsp + 0x30]
call fcn.18001f260
mov dl, 1
mov rcx, rax
call fcn.18008f410
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
mov qword [rsp + 0xc8], rsi
mov qword [rsp + 0xd0], rdi
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbx
lea r8, [0x1800fe09c]
mov rcx, rax
lea rdx, str.CONOUT_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov esi, 1
mov ecx, esi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, esi
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbx
lea r8, [0x1800fe09c]
mov rcx, rax
lea rdx, str.CONOUT_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
lea ecx, [rsi + 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str._________________________________________________________________________________________________________________________________________________________________________________________n______________________________________________________________________n________________________________________________________________n________________________________________________________________n____________________________________________________n________________________________________________n___________________________________________________n_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________n__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________n___Cranium_v1.7_Beta_Owned_by_Kemo__xkem0x___Maintained_by_Timmy__mawmet__PeQu__ImPeQu__GD__GDBOI101__notkrae__notkrae_and_CoolNite__CoolNite2__n_n
lea rdx, [0x1800fdfc8]
call fcn.18004ac90
cmp qword [0x180121a10], 0xf
lea rcx, [0x1801219f8]
cmova rcx, qword [0x1801219f8]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
xor ebx, ebx
mov edi, ebx
xor eax, eax
lock cmpxchg dword [0x180120eb8], esi
je 0x180041b13
cmp rdi, 0x20
jae 0x180041afc
xor ecx, ecx
jmp 0x180041afe
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rdi
xor eax, eax
lock cmpxchg dword [0x180120eb8], esi
jne 0x180041af2
cmp qword [0x180120ec0], rbx
mov rdi, qword [rsp + 0xd0]
mov rsi, qword [rsp + 0xc8]
jne 0x180041b62
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [0x180120ec0], rax
xchg dword [0x180120eb8], ebx
test rax, rax
je 0x180041b68
call fcn.180025650
call fcn.18003f230
add rsp, 0xb0
pop rbx
jmp 0x180041d10
xchg dword [0x180120eb8], ebx
mov r9d, 0x10
lea r8, str.CraniumV1
lea rdx, str.Failed_to_initialize_min_hook__terminating_the_thread.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]
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 [0x18011f040]
xor rax, rsp
mov qword [rbp + 0x100], rax
cmp dword [0x180120d50], 0x14
jl 0x180042063
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 dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180041d90
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x68]
call fcn.18001d0a0
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.18001d0a0
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 0x180041e16
mov rbx, 0xffffffffffffffff
cmp rdi, rbx
cmovb rbx, rdi
jmp 0x180041e5b
cmp r14, rdi
ja 0x180041e84
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 0x180041e4e
mov r8, r14
mov rdx, r12
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180041e58
cmp rbx, rsi
je 0x180041e84
dec rbx
jmp 0x180041e37
sub rbx, rsi
cmp rbx, 0xffffffffffffffff
je 0x180041e84
mov qword [rsp + 0x20], 6
mov r8, r14
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.18004aad0
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 0x180041ecb
lea rax, [rdi - 1]
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
add r8, rcx
cmp byte [r8], 0x5c
jne 0x180041ebc
xor eax, eax
test eax, eax
je 0x180041ec6
cmp r8, rcx
je 0x180041ecb
dec r8
jmp 0x180041eb0
sub r8, rcx
jmp 0x180041ed2
mov r8, 0xffffffffffffffff
cmp r8, 0xffffffffffffffff
je 0x180041f89
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.18001d0a0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x180041f4a
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180041f45
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180041f45
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800cb088
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rsp + 0x78], xmm1
movdqa xmm0, xmmword [0x180108de0]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
lea rcx, [rsp + 0x48]
call fcn.18001f2b0
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 0x180042099
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.18001e050
nop
mov rax, qword [rsp + 0x78]
sub rbx, rax
cmp rbx, 0x13
jb 0x180042093
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.18001e050
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.18001f2b0
nop
lea rcx, [rbp - 0x38]
call fcn.18001f2b0
nop
lea rcx, [rbp - 0x78]
call fcn.18001f2b0
nop
lea rcx, [rsp + 0x68]
call fcn.18001f2b0
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.1800cac90
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.18001f3a0
nop
call fcn.18001f3a0
int3