Function at 0x18005e080
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x38
xor r15d, r15d
cmp byte [0x180346ac0], r15b
jne 0x18000a198
call fcn.180002d30
mov rbx, qword [0x180346a60]
mov ecx, 0x61c8
call fcn.180095730
mov r9, rax
mov r8, qword [0x180346a60]
test r8, r8
je 0x180009cc6
mov r10d, dword [r8 + 0x3f60]
movsx rax, word [r8 + 0x6078]
lea rdx, [r8 + 0x607c]
lea rdx, [rdx + rax*8]
cmp dword [rdx], r10d
je 0x180009cbb
lea ecx, [rax + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6078], cx
movsx rax, cx
lea rdx, [r8 + 0x607c]
lea rdx, [rdx + rax*8]
mov dword [rdx], r10d
mov dword [rdx + 4], r15d
inc word [rdx + 4]
inc dword [r8 + 0x6070]
mov qword [rsp + 0x78], r9
lea rax, [rsp + 0x70]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], r9
test r9, r9
je 0x180009cf1
xor edx, edx
mov rcx, r9
call fcn.180033aa0
jmp 0x180009cf4
mov rax, r15
mov qword [0x180346a60], rax
call fcn.180038580
test rbx, rbx
je 0x180009d0c
mov qword [0x180346a60], rbx
mov ecx, 0x630
call fcn.180095730
mov rbx, rax
mov r9, qword [0x180346a60]
test r9, r9
je 0x180009d86
mov r8d, dword [r9 + 0x3f60]
movsx r10, word [r9 + 0x6078]
lea rdx, [r9 + 0x607c]
lea rdx, [rdx + r10*8]
cmp dword [rdx], r8d
je 0x180009d7b
lea ecx, [r10 + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r9 + 0x6078], cx
movsx rax, cx
lea rdx, [r9 + 0x607c]
lea rdx, [rdx + rax*8]
mov dword [rdx], r8d
mov dword [rdx + 4], r15d
inc word [rdx + 4]
inc dword [r9 + 0x6070]
mov qword [rsp + 0x78], rbx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rbx
test rbx, rbx
je 0x180009dc2
xor edx, edx
mov r8d, 0x630
mov rcx, rbx
call fcn.1800aff10
mov rcx, rbx
call fcn.18007cca0
mov rbx, rax
jmp 0x180009dc5
mov rbx, r15
mov rcx, rbx
call fcn.18007d0f0
cmp qword [0x180346a70], 0
jne 0x180009dde
mov qword [0x180346a70], rbx
mov rcx, qword [0x180346a60]
or dword [rcx + 8], 3
lea rax, [0x1800ec508]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
vmovss xmm3, dword [0x1800ecff8]
mov r8d, 0x240d74
lea rdx, [0x180103470]
mov rcx, qword [rcx + 0x38]
call fcn.180059b30
mov rcx, qword [0x1803468d8]
call fcn.18005f4f0
mov rdx, qword [0x1803468f8]
mov rcx, qword [0x1803468e0]
call fcn.18005f2f0
lea rax, [0x18000a530]
mov qword [0x180346b20], rax
mov edx, 0xfffffffc
mov rcx, qword [0x1803468d8]
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov qword [0x1803468f0], rax
lea r8, [0x180009020]
mov edx, 0xfffffffc
mov rcx, qword [0x1803468d8]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov rax, qword [0x180346a60]
vmovaps ymm0, ymmword [0x1800ed7a0]
vmovups ymmword [rax + 0x39d4], ymm0
vmovaps ymm4, ymmword [0x1800ed660]
vmovups ymmword [rax + 0x39f4], ymm4
vmovups xmmword [rax + 0x3a14], xmm4
vmovaps ymm3, ymmword [0x1800ed680]
vmovups xmmword [rax + 0x3a24], xmm3
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rax + 0x3a34], xmm0
vmovdqu xmm2, xmmword [0x1800ed410]
vmovups xmmword [rax + 0x3a44], xmm2
vmovaps ymm0, ymmword [0x1800ed700]
vmovups ymmword [rax + 0x3a54], ymm0
vmovups ymmword [rax + 0x3a74], ymm4
vmovups xmmword [rax + 0x3a94], xmm4
vmovaps ymm0, ymmword [0x1800ed5e0]
vmovups ymmword [rax + 0x3aa4], ymm0
vmovups xmmword [rax + 0x3ac4], xmm3
vmovaps ymm0, ymmword [0x1800ed840]
vmovups ymmword [rax + 0x3ad4], ymm0
vmovups ymmword [rax + 0x3af4], ymm3
vmovups xmmword [rax + 0x3b14], xmm0
vmovups xmmword [rax + 0x3b24], xmm2
vmovups xmmword [rax + 0x3b34], xmm3
vmovups xmmword [rax + 0x3b44], xmm0
vmovups xmmword [rax + 0x3b54], xmm3
vmovaps ymm0, ymmword [0x1800ed6e0]
vmovups ymmword [rax + 0x3b64], ymm0
vmovups xmmword [rax + 0x3b84], xmm3
vmovaps ymm0, ymmword [0x1800ed820]
vmovups ymmword [rax + 0x3b94], ymm0
vmovaps ymm0, ymmword [0x1800ed600]
vmovups ymmword [rax + 0x3bb4], ymm0
vmovdqu xmm0, xmmword [0x1800ed3a0]
vmovups xmmword [rax + 0x3bd4], xmm0
vmovups xmmword [rax + 0x3be4], xmm4
vmovups ymmword [rax + 0x3bf4], ymm3
vmovups xmmword [rax + 0x3c14], xmm4
vmovaps ymm0, ymmword [0x1800ed800]
vmovups ymmword [rax + 0x3c24], ymm0
vmovaps ymm0, ymmword [0x1800ed6c0]
vmovups ymmword [rax + 0x3c44], ymm0
vmovdqu xmm0, xmmword [0x1800ed3e0]
vmovups xmmword [rax + 0x3c64], xmm0
vmovaps ymm1, ymmword [0x1800ed640]
vmovups ymmword [rax + 0x3cc4], ymm1
vmovaps ymm1, ymmword [0x1800ed620]
vmovups ymmword [rax + 0x3ce4], ymm1
vmovaps ymm1, ymmword [0x1800ed5a0]
vmovups ymmword [rax + 0x3d04], ymm1
mov dword [rax + 0x38f0], 0x3f800000
mov word [rax + 0x39c9], 0x101
mov byte [rax + 0x39c8], 1
mov dword [rax + 0x3990], 0x3f000000
mov qword [rax + 0x3994], 0x3f000000
mov dword [rax + 0x394c], 0x40800000
mov qword [rax + 0x3950], 0x40000000
mov dword [rax + 0x3920], 0x3f800000
mov qword [rax + 0x3918], r15
mov dword [rax + 0x39d0], 0x3e99999a
mov dword [rax + 0x398c], 1
mov dword [rax + 0x3960], 0x40c00000
mov dword [rax + 0x39cc], 0x3fa00000
mov dword [rax + 0x38f4], 0x3f19999a
mov dword [rax + 0x39bc], 0x40400000
mov dword [rax + 0x39c0], 0x40400000
mov dword [rax + 0x39b4], 0x41980000
mov dword [rax + 0x39b8], 0x41980000
mov qword [rax + 0x3934], r15
mov dword [rax + 0x392c], 0x40800000
mov dword [rax + 0x3930], 0x40400000
mov qword [rax + 0x396c], 0x41200000
mov dword [rax + 0x395c], 0x41a80000
mov dword [rax + 0x3944], 0x40800000
mov dword [rax + 0x3948], 0x40800000
mov dword [rax + 0x393c], 0x41000000
mov dword [rax + 0x3940], 0x40800000
mov qword [rax + 0x3974], 0x40800000
mov dword [rax + 0x39c4], 0x3f800000
mov qword [rax + 0x3924], r15
mov qword [rax + 0x3964], 0x41600000
mov dword [rax + 0x399c], r15d
mov qword [rax + 0x397c], r15
mov dword [rax + 0x3958], r15d
mov dword [rax + 0x3904], r15d
mov dword [rax + 0x3908], 0x42000000
mov qword [rax + 0x390c], 0x42000000
mov dword [rax + 0x38f8], 0x41000000
mov qword [rax + 0x38fc], 0x41000000
mov dword [rax + 0x3914], 0x3f000000
mov byte [0x180346ac0], 1
mov byte [0x180346ad0], 0
jmp 0x18000a19f
mov rax, qword [0x180346a60]
test rax, rax
je 0x18000a1ad
mov rcx, qword [rax + 0x98]
jmp 0x18000a1b0
mov rcx, r15
cmp qword [rcx + 0x48], 0
jne 0x18000a1bf
vzeroupper
call fcn.18005ee10
vzeroupper
call fcn.18005ff70
call fcn.18003a290
mov rax, qword [0x180346a60]
or dword [rax + 0x49c8], 2
mov dword [rax + 0x49e8], 0x442f0000
mov dword [rax + 0x49ec], 0x43fa0000
mov dword [rax + 0x49d0], 1
mov r8d, 0x100
lea rdx, [0x180346ac1]
lea rcx, str.GENTA_HAX__Phasmophobia_
call fcn.18003fc40
lea rcx, str.memList
call fcn.1800762e0
test al, al
je 0x18000a358
mov rdi, qword [0x180346c08]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x18000a353
nop dword [rax + rax]
lea rdx, [rbx + 0x10]
lea r14, [rdx + 0x20]
cmp qword [rdx + 0x18], 0xf
jbe 0x18000a252
mov rdx, qword [rdx]
mov rsi, qword [0x180346a60]
mov rax, qword [rsi + 0x4008]
cmp byte [rax + 0xc3], 0
jne 0x18000a347
mov rsi, qword [rsi + 0x4e30]
test rsi, rsi
je 0x18000a347
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
call fcn.1800780c0
test al, al
je 0x18000a347
movsx rax, word [rsi + 0x78]
imul rdx, rax, 0x2c
mov rcx, qword [rsi + 8]
mov ecx, dword [rdx + rcx]
call fcn.180043120
mov rbp, qword [r14 + 8]
mov r14, qword [r14]
cmp r14, rbp
je 0x18000a30a
nop dword [rax]
mov rsi, qword [r14]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov rdx, qword [rsi]
mov rcx, rsi
cmp byte [rax + 0x40], 0
je 0x18000a2fe
call qword [rdx]
add rax, 0x20
cmp qword [rax + 0x18], 0xf
jbe 0x18000a2e7
mov rax, qword [rax]
mov rcx, rax
call fcn.180075500
test al, al
je 0x18000a301
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x10]
jmp 0x18000a301
call qword [rdx + 0x10]
add r14, 8
cmp r14, rbp
jne 0x18000a2c0
mov r8, qword [0x180346a60]
mov rdx, qword [r8 + 0x4008]
cmp byte [rdx + 0xc3], 0
jne 0x18000a347
mov r8, qword [r8 + 0x4e30]
test r8, r8
je 0x18000a347
movsx rax, word [r8 + 0x78]
imul rcx, rax, 0x2c
mov rax, qword [r8 + 8]
test byte [rcx + rax + 4], 8
jne 0x18000a347
dec dword [rdx + 0x100]
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x18000a240
call fcn.180076790
call fcn.180042250
mov rax, qword [0x180346a60]
mov dword [rax + 0x49e8], 0x3f800000
mov dword [rax + 0x49ec], 0x3f800000
mov dword [rax + 0x49d0], 1
or dword [rax + 0x49c8], 3
mov dword [rax + 0x49d8], 0xc47a0000
mov dword [rax + 0x49dc], 0xc47a0000
mov qword [rax + 0x49e0], r15
mov dword [rax + 0x49cc], 1
xor r8d, r8d
xor edx, edx
lea rcx, str.Draw__don_t_selected_
call fcn.18003fc40
test al, al
je 0x18000a4d0
mov rax, qword [0x180346a60]
mov rcx, qword [rax + 0x4ae0]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rcx]
call fcn.180039a60
mov rbx, rax
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, dword [0x180346904]
vmulss xmm0, xmm0, dword [0x1800ecf64]
vmovss dword [rsp + 0x70], xmm0
vxorps xmm1, xmm1, xmm1
vcvtsi2ss xmm1, xmm1, dword [0x180346908]
vmulss xmm2, xmm1, dword [0x1800ecf64]
vmovss dword [rsp + 0x74], xmm2
mov dword [rsp + 0x28], 3
vmovss xmm0, dword [0x1800ecfd8]
vmovss dword [rsp + 0x20], xmm0
vxorps xmm3, xmm3, xmm3
vmovss xmm2, dword [0x1800ecfc4]
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.180057fb0
vmovss xmm0, dword [0x1800ecfc0]
vmovss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 1
mov r9d, 0xff0000ff
mov r8d, dword [rbx + 0x78]
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
call fcn.1800568f0
mov dword [rbx + 0x78], r15d
mov r14, qword [0x180346c08]
mov rbx, qword [r14]
cmp rbx, r14
je 0x18000a4cb
nop
mov rbp, qword [rbx + 0x38]
mov rsi, qword [rbx + 0x30]
cmp rsi, rbp
je 0x18000a4c3
nop dword [rax]
mov rdi, qword [rsi]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
cmp byte [rax + 0x42], 0
je 0x18000a4ba
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
add rsi, 8
cmp rsi, rbp
jne 0x18000a4a0
mov rbx, qword [rbx]
cmp rbx, r14
jne 0x18000a490
call fcn.180042250
call fcn.18003c130
call fcn.18003c4e0
mov rcx, qword [0x1803468f8]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x1803468e8]
mov edx, 1
call qword [rax + pe_nt_image_headers64]
mov rax, qword [0x180346a60]
mov rcx, qword [rax + 0x4ae0]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], 0
cmove rcx, r15
add rsp, 0x38
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
jmp 0x18005e080
add rcx, 8
jmp 0x180009c20
push rbp
push r13
lea rbp, [rsp - 0x1b08]
mov eax, 0x1c08
call fcn.180084cd0
sub rsp, rax
vxorps xmm0, xmm0, xmm0
vcomiss xmm0, dword [rcx + 0x28]
mov r13, rcx
jae 0x18005eab3
vcomiss xmm0, dword [rcx + 0x2c]
jae 0x18005eab3
mov qword [rsp + 0x1c00], rbx
mov qword [rsp + 0x1bf8], rsi
mov rsi, qword [0x180346a60]
mov qword [rsp + 0x1bf0], rdi
mov qword [rsp + 0x1be8], r12
xor r12d, r12d
mov qword [rsp + 0x1be0], r14
test rsi, rsi
je 0x18005e0f6
mov rsi, qword [rsi + 0x98]
jmp 0x18005e0f9
mov rsi, r12
mov rcx, qword [rsi + 0x18]
mov rdi, qword [rsi + 8]
mov qword [rbp + 0x1b30], rdi
test rcx, rcx
je 0x18005e120
mov eax, dword [r13 + 0xc]
cmp dword [rsi + 0x70], eax
jge 0x18005e170
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsi + 0x18], r12
mov eax, dword [r13 + 0xc]
lea r9, [rsi + 0x18]
mov rcx, qword [rsi]
lea rdx, [rsp + 0x40]
add eax, 0x1388
mov qword [rsp + 0x50], r12
mov dword [rsi + 0x70], eax
xor r8d, r8d
mov dword [rsp + 0x44], 2
mov dword [rsp + 0x48], 1
lea eax, [rax + rax*4]
mov dword [rsp + 0x4c], 0x10000
shl eax, 2
mov dword [rsp + 0x40], eax
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
js 0x18005ea8b
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x18005e18c
mov eax, dword [r13 + 8]
cmp dword [rsi + 0x74], eax
jge 0x18005e1d8
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsi + 0x20], r12
mov eax, dword [r13 + 8]
lea r9, [rsi + 0x20]
mov rcx, qword [rsi]
lea rdx, [rsp + 0x40]
add eax, 0x2710
mov qword [rsp + 0x50], r12
mov dword [rsi + 0x74], eax
xor r8d, r8d
add eax, eax
mov dword [rsp + 0x44], 2
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x48], 2
mov dword [rsp + 0x4c], 0x10000
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
js 0x18005ea8b
mov rax, qword [rdi]
lea rcx, [rsp + 0x58]
mov rdx, qword [rsi + 0x18]
mov r9d, 4
mov qword [rsp + 0x28], rcx
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x20], r12d
call qword [rax + 0x70]
test eax, eax
jne 0x18005ea8b
mov rax, qword [rdi]
lea rcx, [rsp + 0x68]
mov rdx, qword [rsi + 0x20]
mov r9d, 4
mov qword [rsp + 0x28], rcx
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x20], r12d
call qword [rax + 0x70]
test eax, eax
jne 0x18005ea8b
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x1bd8], r15
mov r15, qword [rsp + 0x58]
cmp dword [r13 + 4], r12d
jle 0x18005e2bd
mov r14, r12
mov r12, rax
mov edi, r14d
nop dword [rax]
nop word [rax + rax]
mov rax, qword [r13 + 0x18]
mov rcx, r15
mov rbx, qword [r14 + rax]
movsxd rax, dword [rbx + 0x20]
mov rdx, qword [rbx + 0x28]
lea r8, [rax + rax*4]
shl r8, 2
call fcn.1800af870
movsxd r8, dword [rbx + 0x10]
mov rcx, r12
mov rdx, qword [rbx + 0x18]
add r8, r8
call fcn.1800af870
movsxd rax, dword [rbx + 0x20]
lea r14, [r14 + 8]
inc edi
lea rcx, [rax + rax*4]
movsxd rax, dword [rbx + 0x10]
lea r15, [r15 + rcx*4]
lea r12, [r12 + rax*2]
cmp edi, dword [r13 + 4]
jl 0x18005e260
mov rdi, qword [rbp + 0x1b30]
xor r12d, r12d
mov rax, qword [rdi]
xor r8d, r8d
mov rdx, qword [rsi + 0x18]
mov rcx, rdi
call qword [rax + 0x78]
mov rax, qword [rdi]
xor r8d, r8d
mov rdx, qword [rsi + 0x20]
mov rcx, rdi
call qword [rax + 0x78]
mov rax, qword [rdi]
lea rcx, [rsp + 0x30]
mov rdx, qword [rsi + 0x38]
mov r9d, 4
mov qword [rsp + 0x28], rcx
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x20], r12d
call qword [rax + 0x70]
test eax, eax
jne 0x18005ea83
vmovss xmm4, dword [r13 + 0x20]
vaddss xmm2, xmm4, dword [r13 + 0x28]
vmovss xmm5, dword [r13 + 0x24]
vmovss xmm1, dword [0x1800ecfc0]
vaddss xmm3, xmm5, dword [r13 + 0x2c]
mov rax, qword [rsp + 0x30]
xor r8d, r8d
vmovaps xmmword [rsp + 0x1bc0], xmm6
vmovaps xmmword [rsp + 0x1bb0], xmm7
vsubss xmm0, xmm2, xmm4
vdivss xmm0, xmm1, xmm0
vmovss dword [rax], xmm0
mov rax, qword [rsp + 0x30]
mov rcx, rdi
vsubss xmm0, xmm5, xmm3
vdivss xmm1, xmm1, xmm0
vsubss xmm0, xmm4, xmm2
mov dword [rax + 4], r12d
mov rax, qword [rsp + 0x30]
mov dword [rax + 8], r12d
mov rax, qword [rsp + 0x30]
mov dword [rax + 0xc], r12d
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x10], r12d
mov rax, qword [rsp + 0x30]
vmovss dword [rax + 0x14], xmm1
mov rax, qword [rsp + 0x30]
vaddss xmm1, xmm2, xmm4
vdivss xmm2, xmm1, xmm0
vaddss xmm1, xmm3, xmm5
mov dword [rax + 0x18], r12d
mov rax, qword [rsp + 0x30]
vsubss xmm0, xmm3, xmm5
mov dword [rax + 0x1c], r12d
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x20], r12d
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x24], r12d
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x28], 0x3f000000
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x2c], r12d
mov rax, qword [rsp + 0x30]
vmovss dword [rax + 0x30], xmm2
mov rax, qword [rsp + 0x30]
vdivss xmm2, xmm1, xmm0
vmovss dword [rax + 0x34], xmm2
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x38], 0x3f000000
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x3c], 0x3f800000
mov rax, qword [rdi]
mov rdx, qword [rsi + 0x38]
call qword [rax + 0x78]
xor edx, edx
lea rcx, [rbp - 0x78]
mov r8d, 0x1b20
call fcn.1800aff10
mov dword [rbp - 0x7c], 0x10
lea r8, [rbp - 0x78]
mov dword [rbp - 0x80], 0x10
lea rdx, [rbp - 0x80]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x300]
mov rax, qword [rdi]
lea r8, [rbp + 0x88]
lea rdx, [rbp - 0x7c]
mov rcx, rdi
call qword [rax + 0x2f8]
mov rax, qword [rdi]
lea rdx, [rbp + 0x208]
mov rcx, rdi
call qword [rax + 0x2f0]
mov rax, qword [rdi]
lea r9, [rbp + 0x228]
lea r8, [rbp + 0x218]
mov rcx, rdi
lea rdx, [rbp + 0x210]
call qword [rax + 0x2d8]
mov rax, qword [rdi]
lea r8, [rbp + 0x22c]
mov rcx, rdi
lea rdx, [rbp + 0x230]
call qword [rax + 0x2e0]
mov rax, qword [rdi]
lea r9, [rbp + 0x238]
xor edx, edx
mov r8d, 1
mov rcx, rdi
call qword [rax + 0x248]
mov rax, qword [rdi]
lea r9, [rbp + 0x240]
xor edx, edx
mov r8d, 1
mov rcx, rdi
call qword [rax + 0x258]
mov dword [rbp + 0x268], 0x100
lea r9, [rbp + 0x260]
mov dword [rbp + 0x264], 0x100
lea r8, [rbp + 0x270]
mov dword [rbp + 0x260], 0x100
lea rdx, [rbp + 0x248]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x250]
mov rax, qword [rdi]
lea r9, [rbp + 0x264]
lea r8, [rbp + 0xa70]
mov rcx, rdi
lea rdx, [rbp + 0x250]
call qword [rax + 0x260]
mov rax, qword [rdi]
lea r9, [rbp + 0x1a88]
xor edx, edx
mov r8d, 1
mov rcx, rdi
call qword [rax + 0x240]
mov rax, qword [rdi]
lea r9, [rbp + 0x268]
lea r8, [rbp + 0x1270]
mov rcx, rdi
lea rdx, [rbp + 0x258]
call qword [rax + 0x290]
mov rax, qword [rdi]
lea rdx, [rbp + 0x1a70]
mov rcx, rdi
call qword [rax + 0x298]
mov rax, qword [rdi]
lea r9, [rbp + 0x1a90]
lea r8, [rbp + 0x1a9c]
mov rcx, rdi
lea rdx, [rbp + 0x1a78]
call qword [rax + 0x280]
mov rax, qword [rdi]
lea rcx, [rbp + 0x1a98]
mov qword [rsp + 0x28], rcx
lea r9, [rbp + 0x1a80]
lea rcx, [rbp + 0x1a94]
xor edx, edx
mov qword [rsp + 0x20], rcx
mov r8d, 1
mov rcx, rdi
call qword [rax + 0x278]
mov rax, qword [rdi]
lea rdx, [rbp + 0x1aa0]
mov rcx, rdi
call qword [rax + 0x270]
mov rdx, rdi
mov rcx, r13
call fcn.18005dea0
cmp dword [r13 + 4], 0
mov ecx, r12d
vmovss xmm6, dword [r13 + 0x20]
vmovss xmm7, dword [r13 + 0x24]
mov edx, r12d
mov dword [rbp + 0x1b20], ecx
mov dword [rbp + 0x1b28], edx
mov r9d, r12d
mov dword [rbp + 0x1b30], r12d
jle 0x18005e794
mov r8, r12
mov qword [rbp + 0x1b38], r12
nop dword [rax]
mov rax, qword [r13 + 0x18]
mov r14d, r12d
mov rsi, qword [r8 + rax]
cmp dword [rsi], 0
jle 0x18005e763
mov r15, r12
mov r12d, dword [rbp + 0x1b20]
nop
mov rbx, qword [rsi + 8]
add rbx, r15
mov rax, qword [rbx + 0x28]
test rax, rax
je 0x18005e693
cmp rax, 0xfffffffffffffff8
jne 0x18005e686
mov rdx, rdi
mov rcx, r13
call fcn.18005dea0
jmp 0x18005e736
mov rdx, rbx
mov rcx, rsi
call rax
jmp 0x18005e736
vmovss xmm0, dword [rbx]
vmovss xmm1, dword [rbx + 4]
vsubss xmm4, xmm0, xmm6
vmovss xmm0, dword [rbx + 8]
vsubss xmm5, xmm0, xmm6
vcomiss xmm4, xmm5
vsubss xmm2, xmm1, xmm7
vmovss xmm1, dword [rbx + 0xc]
vsubss xmm3, xmm1, xmm7
jae 0x18005e736
vcomiss xmm2, xmm3
jae 0x18005e736
vcvttss2si eax, xmm4
mov dword [rsp + 0x40], eax
lea r8, [rsp + 0x40]
vcvttss2si eax, xmm2
mov dword [rsp + 0x44], eax
mov edx, 1
vcvttss2si eax, xmm5
mov dword [rsp + 0x48], eax
mov rcx, rdi
vcvttss2si eax, xmm3
mov dword [rsp + 0x4c], eax
mov rax, qword [rdi]
call qword [rax + 0x168]
mov rax, qword [rbx + 0x10]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x30], rax
xor edx, edx
mov rax, qword [rdi]
mov r8d, 1
mov rcx, rdi
call qword [rax + 0x40]
mov r9d, dword [rbp + 0x1b28]
mov rcx, rdi
mov r8d, dword [rbx + 0x1c]
mov r10, qword [rdi]
add r8d, r12d
add r9d, dword [rbx + 0x18]
mov edx, dword [rbx + 0x20]
call qword [r10 + 0x60]
inc r14d
add r15, 0x38
cmp r14d, dword [rsi]
jl 0x18005e660
mov ecx, dword [rbp + 0x1b20]
xor r12d, r12d
mov edx, dword [rbp + 0x1b28]
mov r8, qword [rbp + 0x1b38]
mov r9d, dword [rbp + 0x1b30]
add ecx, dword [rsi + 0x10]
inc r9d
add edx, dword [rsi + 0x20]
add r8, 8
mov dword [rbp + 0x1b20], ecx
mov dword [rbp + 0x1b28], edx
mov dword [rbp + 0x1b30], r9d
mov qword [rbp + 0x1b38], r8
cmp r9d, dword [r13 + 4]
jl 0x18005e640
mov rax, qword [rdi]
lea r8, [rbp - 0x78]
mov edx, dword [rbp - 0x80]
mov rcx, rdi
call qword [rax + 0x168]
mov rax, qword [rdi]
lea r8, [rbp + 0x88]
mov edx, dword [rbp - 0x7c]
mov rcx, rdi
call qword [rax + 0x160]
mov rax, qword [rdi]
mov rcx, rdi
mov rdx, qword [rbp + 0x208]
call qword [rax + 0x158]
mov rcx, qword [rbp + 0x208]
vmovaps xmm7, xmmword [rsp + 0x1bb0]
vmovaps xmm6, xmmword [rsp + 0x1bc0]
test rcx, rcx
je 0x18005e7f4
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
lea r8, [rbp + 0x218]
mov r9d, dword [rbp + 0x228]
mov rcx, rdi
mov rdx, qword [rbp + 0x210]
call qword [rax + 0x118]
mov rcx, qword [rbp + 0x210]
test rcx, rcx
je 0x18005e827
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
mov rcx, rdi
mov r8d, dword [rbp + 0x22c]
mov rdx, qword [rbp + 0x230]
call qword [rax + 0x120]
mov rcx, qword [rbp + 0x230]
test rcx, rcx
je 0x18005e853
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
lea r9, [rbp + 0x238]
xor edx, edx
mov r8d, 1
mov rcx, rdi
call qword [rax + 0x40]
mov rcx, qword [rbp + 0x238]
test rcx, rcx
je 0x18005e87d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
lea r9, [rbp + 0x240]
xor edx, edx
mov r8d, 1
mov rcx, rdi
call qword [rax + 0x50]
mov rcx, qword [rbp + 0x240]
test rcx, rcx
je 0x18005e8a7
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
lea r8, [rbp + 0x270]
mov r9d, dword [rbp + 0x260]
mov rcx, rdi
mov rdx, qword [rbp + 0x248]
call qword [rax + 0x48]
mov rcx, qword [rbp + 0x248]
test rcx, rcx
je 0x18005e8d7
mov rax, qword [rcx]
call qword [rax + 0x10]
mov edx, dword [rbp + 0x260]
mov ebx, r12d
test edx, edx
je 0x18005e911
nop dword [rax]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + rax*8 + 0x270]
test rcx, rcx
je 0x18005e90b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov edx, dword [rbp + 0x260]
inc ebx
cmp ebx, edx
jb 0x18005e8f0
mov rax, qword [rdi]
lea r8, [rbp + 0xa70]
mov r9d, dword [rbp + 0x264]
mov rcx, rdi
mov rdx, qword [rbp + 0x250]
call qword [rax + 0x58]
mov rcx, qword [rbp + 0x250]
test rcx, rcx
je 0x18005e941
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
lea r9, [rbp + 0x1a88]
xor edx, edx
mov r8d, 1
mov rcx, rdi
call qword [rax + 0x38]
mov rcx, qword [rbp + 0x1a88]
test rcx, rcx
je 0x18005e96b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
lea r8, [rbp + 0x1270]
mov r9d, dword [rbp + 0x268]
mov rcx, rdi
mov rdx, qword [rbp + 0x258]
call qword [rax + 0xb8]
mov rcx, qword [rbp + 0x258]
test rcx, rcx
je 0x18005e99e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov edx, dword [rbp + 0x264]
test edx, edx
je 0x18005e9d4
nop dword [rax + rax]
mov eax, r12d
mov rcx, qword [rbp + rax*8 + 0xa70]
test rcx, rcx
je 0x18005e9cc
mov rax, qword [rcx]
call qword [rax + 0x10]
mov edx, dword [rbp + 0x264]
inc r12d
cmp r12d, edx
jb 0x18005e9b0
mov rax, qword [rdi]
mov rcx, rdi
mov edx, dword [rbp + 0x1a70]
call qword [rax + 0xc0]
mov rax, qword [rdi]
mov rcx, rdi
mov r9d, dword [rbp + 0x1a90]
mov r8d, dword [rbp + 0x1a9c]
mov rdx, qword [rbp + 0x1a78]
call qword [rax + 0x98]
mov rcx, qword [rbp + 0x1a78]
test rcx, rcx
je 0x18005ea19
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
lea rcx, [rbp + 0x1a98]
mov qword [rsp + 0x28], rcx
lea r9, [rbp + 0x1a80]
lea rcx, [rbp + 0x1a94]
xor edx, edx
mov qword [rsp + 0x20], rcx
mov r8d, 1
mov rcx, rdi
call qword [rax + 0x90]
mov rcx, qword [rbp + 0x1a80]
test rcx, rcx
je 0x18005ea5e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
mov rcx, rdi
mov rdx, qword [rbp + 0x1aa0]
call qword [rax + 0x88]
mov rcx, qword [rbp + 0x1aa0]
test rcx, rcx
je 0x18005ea83
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r15, qword [rsp + 0x1bd8]
mov r12, qword [rsp + 0x1be8]
mov rdi, qword [rsp + 0x1bf0]
mov rsi, qword [rsp + 0x1bf8]
mov rbx, qword [rsp + 0x1c00]
mov r14, qword [rsp + 0x1be0]
add rsp, 0x1c08
pop r13
pop rbp
ret