Function at 0x180004020
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x228]
sub rsp, 0x300
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x180013040]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov ecx, dword [0x180013ad0]
mov rax, qword gs:[0x58]
mov edx, 8
mov rdi, qword [rax + rcx*8]
add rdi, rdx
mov qword [rsp + 0x60], rdi
mov eax, dword [rdi]
cmp dword [0x180013ce0], eax
jle 0x180004242
lea rcx, [0x180013ce0]
call fcn.18000ad98
cmp dword [0x180013ce0], 0xffffffff
jne 0x180004242
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov r8d, 0x27
lea rdx, str._Engine_Transient.FortEngine_2147482646
lea rcx, [rsp + 0x40]
call fcn.180002af0
nop
xor ebx, ebx
mov r15, qword [rsp + 0x58]
mov r14, qword [rsp + 0x40]
mov r9, qword [0x180013c50]
cmp dword [r9 + 0x14], ebx
jle 0x1800041e6
mov r12, qword [rsp + 0x50]
xor r13d, r13d
nop dword [rax]
test ebx, ebx
js 0x1800041da
cmp ebx, dword [r9 + 0x14]
jg 0x1800041da
mov eax, ebx
cdq
movzx edx, dx
add eax, edx
mov ecx, eax
movzx eax, ax
sub eax, edx
sar ecx, 0x10
movsxd r8, ecx
mov rdx, qword [r9]
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rdx + r8*8]
mov rsi, qword [rax + rcx*8]
test rsi, rsi
je 0x1800041da
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1800020f0
lea rdx, [rsp + 0x40]
cmp r15, 0xf
cmova rdx, r14
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x180004169
mov rax, qword [rax]
cmp r8, r12
jne 0x18000417f
mov rcx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18000417f
mov dil, 1
jmp 0x180004182
xor dil, dil
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x1800041bb
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800041b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004221
call fcn.18000b294
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], r13b
test dil, dil
jne 0x1800041e8
mov r9, qword [0x180013c50]
inc ebx
cmp ebx, dword [r9 + 0x14]
jl 0x180004100
xor esi, esi
mov qword [0x180013cb8], rsi
cmp r15, 0xf
jbe 0x180004231
lea rdx, [r15 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x180004228
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004228
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, r14
call fcn.18000b294
nop
lea rcx, [0x180013ce0]
call fcn.18000ad2c
mov rdi, qword [rsp + 0x60]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, 0xc
lea rdx, str.GameInstance
lea rcx, [rsp + 0x20]
call fcn.180002af0
nop
lea rdx, [rsp + 0x20]
mov rcx, qword [0x180013cb8]
call fcn.180002470
movsxd rcx, eax
mov rax, qword [0x180013cb8]
mov rbx, qword [rcx + rax]
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x1800042c7
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800042c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800043b6
call fcn.18000b294
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, 0xc
lea rdx, str.LocalPlayers
lea rcx, [rsp + 0x20]
call fcn.180002af0
nop
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.180002470
movsxd rcx, eax
movups xmm6, xmmword [rcx + rbx]
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x18000433d
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004338
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800043b6
call fcn.18000b294
movq rax, xmm6
mov rbx, qword [rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, 0x10
lea rdx, str.PlayerController
lea rcx, [rsp + 0x20]
call fcn.180002af0
nop
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.180002470
movsxd rcx, eax
mov r13, qword [rcx + rbx]
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x1800043c2
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800043bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800043bd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18000b294
xor edx, edx
mov r8d, 0xc8
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x3a], xmm0
movups xmmword [rbp + 0x4a], xmm0
movups xmmword [rbp + 0x5a], xmm0
movups xmmword [rbp + 0x6a], xmm0
movups xmmword [rbp + 0x7a], xmm0
movups xmmword [rbp + 0x8a], xmm0
mov dword [rbp + 0x9a], eax
mov word [rbp + 0x9e], ax
mov word [rbp + 0x38], 0x101
mov eax, dword [rdi]
cmp dword [0x180013c94], eax
jle 0x1800045c8
lea rcx, [0x180013c94]
call fcn.18000ad98
cmp dword [0x180013c94], 0xffffffff
jne 0x1800045c8
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov r8d, 0x48
lea rdx, str._Script_FortniteGame.FortPlayerControllerAthena.ServerSetCosmeticLoadout
lea rcx, [rsp + 0x40]
call fcn.180002af0
nop
xor ebx, ebx
mov r15, qword [rsp + 0x58]
mov r14, qword [rsp + 0x40]
mov r9, qword [0x180013c50]
cmp dword [r9 + 0x14], ebx
jle 0x18000456c
mov r12, qword [rsp + 0x50]
test ebx, ebx
js 0x180004560
cmp ebx, dword [r9 + 0x14]
jg 0x180004560
mov eax, ebx
cdq
movzx edx, dx
add eax, edx
mov ecx, eax
movzx eax, ax
sub eax, edx
sar ecx, 0x10
movsxd r8, ecx
mov rdx, qword [r9]
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rdx + r8*8]
mov rsi, qword [rax + rcx*8]
test rsi, rsi
je 0x180004560
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1800020f0
lea rdx, [rsp + 0x40]
cmp r15, 0xf
cmova rdx, r14
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x1800044eb
mov rax, qword [rax]
cmp r8, r12
jne 0x180004501
mov rcx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180004501
mov dil, 1
jmp 0x180004504
xor dil, dil
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x18000453d
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004538
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800045a7
call fcn.18000b294
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], 0
test dil, dil
jne 0x18000456e
mov r9, qword [0x180013c50]
inc ebx
cmp ebx, dword [r9 + 0x14]
jl 0x180004482
xor esi, esi
mov qword [0x180013cf8], rsi
cmp r15, 0xf
jbe 0x1800045b7
lea rdx, [r15 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x1800045ae
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800045ae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, r14
call fcn.18000b294
nop
lea rcx, [0x180013c94]
call fcn.18000ad2c
mov rdi, qword [rsp + 0x60]
lea rax, [rbp + 0xa0]
lea rcx, [rsp + 0x70]
mov edx, 2
nop dword [rax]
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rax - 0x10], xmm1
lea rcx, [rcx + 0x80]
sub rdx, 1
jne 0x1800045e0
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
mov byte [rbp + 0x1d0], dl
mov rbx, qword [0x180013cf8]
mov eax, dword [rdi]
cmp dword [0x180013c90], eax
jle 0x180004699
lea rcx, [0x180013c90]
call fcn.18000ad98
cmp dword [0x180013c90], 0xffffffff
jne 0x180004699
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movsxd r8, dword [0x180013c58]
add rax, r8
mov qword [0x180013c78], rax
lea rcx, [0x180013c90]
call fcn.18000ad2c
lea r8, [rbp + 0xa0]
mov rdx, rbx
mov rcx, r13
call qword [0x180013c78]
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.18000acd0
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret