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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm11
movaps xmmword [rax - 0xa8], xmm14
movaps xmmword [rax - 0xb8], xmm15
mov rax, qword [0x180093020]
xor rax, rsp
mov qword [rbp - 0x20], rax
mov r14, qword [0x1800a67f0]
mov ebx, r8d
xor r8d, r8d
mov qword [rbp - 0x58], rcx
xor edx, edx
mov r15, rcx
call fcn.18002a174
mov ecx, eax
call fcn.18002f0d0
xor esi, esi
mov qword [rsp + 0x60], rax
test rax, rax
mov rdi, rax
sete byte [rsp + 0x42]
test rax, rax
jne 0x180031314
mov edx, ebx
mov rcx, r15
call fcn.18002f17c
mov rdi, rax
mov r13d, dword [r14 + 0x1a30]
mov ecx, ebx
mov r9d, dword [rdi + 0x278]
mov eax, 0xc0200
mov r12d, ebx
mov dword [rbp - 0x74], r13d
or r12d, 6
mov dword [rbp - 0x78], r9d
and ecx, eax
mov r10d, 1
cmp ecx, eax
cmovne r12d, ebx
lea rbx, [r14 + 0x1a80]
cmp dword [rbx], esi
jne 0x18003135d
mov al, r10b
cmp byte [r14 + 0x1a3d], sil
jne 0x180031360
mov al, sil
mov r15d, dword [rdi + 0xa0]
mov byte [rdi + 0x86], al
lea eax, [r13 - 1]
cmp r9d, eax
mov dword [rsp + 0x70], r15d
setl r8b
mov byte [rsp + 0x43], r8b
bt r12d, 0x1a
jae 0x1800313bb
movsxd rax, dword [r14 + 0x1c10]
lea rdx, [rax + rax*2]
shl rdx, 4
add rdx, qword [r14 + 0x1c08]
cmp rdi, qword [rdx + 8]
mov eax, dword [rdx]
setne cl
cmp dword [rdi + 0x90], eax
setne al
or cl, al
or r8b, cl
mov byte [rsp + 0x43], r8b
test r8b, r8b
jne 0x1800313c8
mov al, sil
test r15d, r15d
jle 0x1800313cb
mov al, r10b
mov byte [rdi + 0x84], al
test al, al
je 0x1800313ef
mov r8b, r10b
mov edx, 8
mov rcx, rdi
call fcn.18002f070
mov r9d, dword [rbp - 0x78]
mov r10d, 1
cmp r9d, r13d
je 0x180031433
mov dword [rdi + 0xc], r12d
mov dword [rdi + 0x278], r13d
movsd xmm0, qword [r14 + 0x1a28]
mov word [rdi + 0x8c], si
cvtpd2ps xmm0, xmm0
movss dword [rdi + 0x27c], xmm0
movzx eax, word [r14 + 0x1aa0]
add dword [r14 + 0x1aa0], r10d
mov word [rdi + 0x8e], ax
jmp 0x180031437
mov r12d, dword [rdi + 0xc]
cmp dword [rbx], esi
jne 0x180031440
mov rcx, rsi
jmp 0x18003144f
movsxd rcx, dword [rbx]
mov rax, qword [r14 + 0x1a88]
mov rcx, qword [rax + rcx*8 - 8]
cmp r9d, r13d
je 0x180031466
mov eax, r12d
and eax, 0x5000000
neg eax
sbb r13, r13
and r13, rcx
jmp 0x18003146d
mov r13, qword [rdi + 0x398]
lea rcx, [rdi + 0xc0]
mov qword [rsp + 0x78], r13
cmp dword [rcx], esi
jne 0x180031486
lea rdx, [rdi + 8]
call fcn.180039518
mov eax, dword [rbx]
mov ecx, dword [rbx + 4]
cmp eax, ecx
jne 0x1800314bb
lea r8d, [rax + 1]
test ecx, ecx
je 0x1800314a2
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1800314a7
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.180039a78
mov eax, dword [rbx]
movsxd rcx, eax
mov r9d, 1
mov rax, qword [rbx + 8]
mov dl, r9b
mov qword [rax + rcx*8], rdi
mov rcx, rdi
add dword [rbx], r9d
mov qword [r14 + 0x1aa8], rsi
call fcn.1800339e4
mov eax, r12d
and eax, 0x4000000
mov dword [rsp + 0x48], eax
je 0x180031522
lea rcx, [r14 + 0x1c10]
movsxd rax, dword [rcx]
lea rbx, [rax + rax*2]
shl rbx, 4
add rbx, qword [r14 + 0x1c08]
mov rdx, rbx
mov qword [rbx + 8], rdi
call fcn.180039754
mov eax, dword [rbx]
mov r9d, 1
mov dword [rdi + 0x90], eax
mov ecx, 0x1000000
test r15d, r15d
jle 0x180031537
test ecx, r12d
jne 0x180031537
mov dword [rdi + 0x3c0], esi
mov ebx, dword [rbp - 0x74]
mov r15d, dword [rbp - 0x78]
cmp r15d, ebx
je 0x1800315bf
mov qword [rdi + 0x398], r13
mov qword [rdi + 0x3b0], rdi
mov qword [rdi + 0x3a8], rdi
mov qword [rdi + 0x3a0], rdi
test r13, r13
je 0x18003159c
mov eax, r12d
and eax, 0x3000000
cmp eax, ecx
jne 0x18003157e
mov rax, qword [r13 + 0x3a0]
mov qword [rdi + 0x3a0], rax
bt r12d, 0x1b
jb 0x18003159c
test r12d, 0x5000000
je 0x18003159c
mov rax, qword [r13 + 0x3a8]
mov qword [rdi + 0x3a8], rax
mov edx, 0x800000
test dword [rdi + 0xc], edx
je 0x1800315bf
mov rcx, rdi
mov rax, qword [rcx + 0x398]
mov qword [rdi + 0x3b0], rax
mov rcx, rax
test dword [rax + 0xc], edx
jne 0x1800315a9
mov byte [rsp + 0x44], sil
mov byte [rsp + 0x40], sil
mov byte [rsp + 0x41], sil
test byte [r14 + 0x1b48], r9b
je 0x18003165c
mov ecx, dword [rdi + 0xa4]
mov eax, ecx
mov r8d, dword [r14 + 0x1b4c]
and eax, r8d
setne dl
mov byte [rsp + 0x44], dl
test r8d, ecx
je 0x18003164d
movss xmm0, dword [r14 + 0x1b64]
movss xmm1, dword [r14 + 0x1b60]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x180087d84]
jbe 0x18003164d
movsd xmm0, qword [r14 + 0x1b58]
and ecx, 0xfffffff1
movsd qword [rdi + 0xb0], xmm0
movsd xmm1, qword [r14 + 0x1b60]
movsd qword [rdi + 0xb8], xmm1
mov dword [rdi + 0xa4], ecx
jmp 0x18003165c
lea rdx, [r14 + 0x1b58]
mov rcx, rdi
call fcn.1800335e8
mov eax, dword [r14 + 0x1b48]
xorps xmm10, xmm10
test al, 2
je 0x1800316c6
mov r8d, dword [r14 + 0x1b50]
lea rdx, [r14 + 0x1b68]
mov eax, r8d
and eax, dword [rdi + 0xa8]
je 0x180031695
movss xmm0, dword [rdx]
comiss xmm0, xmm10
jbe 0x180031695
mov byte [rsp + 0x40], r9b
jmp 0x18003169e
mov byte [rsp + 0x40], sil
test eax, eax
je 0x1800316b2
movss xmm0, dword [r14 + 0x1b6c]
comiss xmm0, xmm10
mov byte [rsp + 0x41], r9b
ja 0x1800316b7
mov byte [rsp + 0x41], sil
mov rcx, rdi
call fcn.1800336b4
mov eax, dword [r14 + 0x1b48]
test al, al
jns 0x1800316f8
movss xmm0, dword [r14 + 0x1b78]
comiss xmm0, xmm10
jb 0x1800316e1
movss dword [rdi + 0x64], xmm0
mov dword [rdi + 0x6c], esi
movss xmm0, dword [r14 + 0x1b7c]
comiss xmm0, xmm10
jb 0x1800316f8
movss dword [rdi + 0x68], xmm0
mov dword [rdi + 0x70], esi
test byte [r14 + 0x1b48], 4
je 0x180031712
movsd xmm0, qword [r14 + 0x1b70]
movsd qword [rdi + 0x30], xmm0
jmp 0x18003171b
cmp r15d, ebx
je 0x18003171b
mov qword [rdi + 0x30], rsi
mov eax, dword [r14 + 0x1b48]
test al, 8
je 0x180031754
mov ecx, dword [r14 + 0x1b54]
mov dl, byte [r14 + 0x1b80]
test ecx, ecx
je 0x180031740
test dword [rdi + 0xac], ecx
je 0x180031754
and dword [rdi + 0xac], 0xfffffff1
mov byte [rdi + 0x81], dl
mov eax, dword [r14 + 0x1b48]
test al, 0x20
je 0x180031760
mov rcx, rdi
call fcn.180033140
cmp byte [rdi + 0x84], sil
je 0x180031778
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 8]
call fcn.18002f070
cmp r15d, ebx
je 0x180032f27
mov byte [rdi + 0x87], sil
lea rcx, [rdi + 0xc0]
mov eax, r12d
mov ebx, 1
mov byte [rdi + 0x7e], bl
and eax, 0x3000000
mov dword [rsp + 0x4c], eax
mov edx, ebx
mov eax, 0xff7fffff
mov dword [rdi + 0x258], eax
mov dword [rdi + 0x25c], eax
mov eax, 0x7f7fffff
mov dword [rdi + 0x260], eax
mov dword [rdi + 0x264], eax
call fcn.180039ce8
cmp byte [rdi + 0x3e8], sil
je 0x1800317dd
mov rcx, rdi
call fcn.18002c030
mov r8, qword [rsp + 0x60]
cmp qword [r14 + 0x1d60], rsi
je 0x180031897
test dword [rdi + 0xc], 0x80000
jne 0x180031897
test r8, r8
je 0x180031897
mov r9, qword [rbp - 0x58]
mov r15, qword [rdi]
mov rax, r9
mov r8, r15
sub r8, r9
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180031828
add rax, rbx
test ecx, ecx
jne 0x180031815
test edx, edx
je 0x180031892
movsxd r13, dword [rdi + 0x48]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [r9 + rbx], sil
jne 0x180031834
inc rbx
cmp r13, rbx
jae 0x180031878
mov rcx, r15
call fcn.18002c560
mov rax, qword [0x1800a67f0]
test rax, rax
je 0x18003185f
inc dword [rax + 0x3bc]
mov rdx, qword [0x1800a67e0]
mov rcx, rbx
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r9, qword [rbp - 0x58]
mov r15, rax
mov r13, rbx
mov r8, rbx
mov rdx, r9
mov rcx, r15
call sub.VCRUNTIME140.dll_memcpy
mov qword [rdi], r15
mov ebx, 1
mov dword [rdi + 0x48], r13d
mov r8, qword [rsp + 0x60]
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.18002f6a8
lea r15, [rdi + 0x28]
movss xmm3, dword [rax]
movss xmm4, dword [rax + 4]
mov eax, dword [rdi + 0x9c]
movss dword [r15], xmm3
movss dword [r15 + 4], xmm4
test eax, eax
jle 0x1800318cd
dec eax
mov dword [rdi + 0x9c], eax
mov eax, dword [rdi + 0xa0]
test eax, eax
jle 0x1800318df
dec eax
mov dword [rdi + 0xa0], eax
mov r13b, byte [rsp + 0x40]
mov al, byte [rsp + 0x41]
test r8, r8
jne 0x1800318fc
test r13b, r13b
je 0x1800318f6
test al, al
jne 0x1800318fc
mov dword [rdi + 0xa0], ebx
mov r8d, 0x6000000
cmp byte [rsp + 0x43], sil
je 0x180031932
test r8d, r12d
je 0x180031932
mov dword [rdi + 0xa0], ebx
test r12b, 0x40
je 0x180031932
test r13b, r13b
jne 0x180031925
mov dword [rdi + 0x20], esi
mov dword [rdi + 0x18], esi
test al, al
jne 0x18003192f
mov dword [rdi + 0x24], esi
mov dword [rdi + 0x1c], esi
mov qword [r15], rsi
mov rcx, rdi
call fcn.18002bfe8
mov eax, r12d
mov ecx, 0x1000000
and eax, ecx
mov dword [rsp + 0x58], eax
je 0x180031955
movss xmm0, dword [r14 + 0x159c]
jmp 0x180031975
test r8d, r12d
je 0x18003196c
bt r12d, 0x1b
jb 0x18003196c
movss xmm0, dword [r14 + 0x15a4]
jmp 0x180031975
movss xmm0, dword [r14 + 0x1580]
movss dword [rdi + 0x44], xmm0
mov eax, r12d
movsd xmm0, qword [r14 + 0x1574]
and eax, 0x5010000
movsd qword [rdi + 0x38], xmm0
cmp eax, ecx
jne 0x1800319bf
movss xmm0, dword [rdi + 0x44]
ucomiss xmm0, xmm10
jp 0x1800319bf
jne 0x1800319bf
bt r12d, 0xa
jae 0x1800319b3
movss xmm0, dword [r14 + 0x1578]
jmp 0x1800319b7
movaps xmm0, xmm10
movss dword [rdi + 0x3c], xmm0
mov dword [rdi + 0x38], esi
test r12b, 0x21
jne 0x180031ac4
mov eax, dword [rdi + 0xc]
test bl, al
mov r11, qword [0x1800a67f0]
mov ebx, eax
je 0x1800319df
movaps xmm2, xmm10
jmp 0x180031a15
mov rcx, qword [rdi + 0x398]
movss xmm0, dword [r11 + 0x1954]
mulss xmm0, dword [rdi + 0x2a8]
test rcx, rcx
je 0x180031a04
mulss xmm0, dword [rcx + 0x2a8]
movss xmm2, dword [r11 + 0x15ac]
addss xmm2, xmm2
addss xmm2, xmm0
mov r10d, eax
movss xmm0, dword [rdi + 0x10]
movaps xmm1, xmm0
movss dword [rbp - 0x40], xmm0
addss xmm1, dword [rdi + 0x20]
addss xmm2, dword [rdi + 0x14]
movss xmm0, dword [rdi + 0x14]
movss dword [rbp - 0x3c], xmm0
movss dword [rbp - 0x38], xmm1
movss dword [rbp - 0x34], xmm2
cmp qword [r14 + 0x1ab0], rdi
jne 0x180031a85
cmp dword [r14 + 0x1adc], esi
jne 0x180031a85
cmp dword [r14 + 0x1ae4], esi
jne 0x180031a85
mov r8b, 1
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x40]
call fcn.18002e9f8
test al, al
je 0x180031a85
mov r10d, ebx
cmp byte [r14 + 0x42d], sil
je 0x180031a85
mov byte [rdi + 0x82], r8b
cmp byte [rdi + 0x82], sil
je 0x180031acb
cmp byte [rdi + 0x81], sil
sete al
mov byte [rdi + 0x81], al
bt r10d, 8
jb 0x180031aba
comiss xmm10, dword [r11 + 0x303c]
jb 0x180031aba
mov eax, dword [r11 + 0x1c]
mov dword [r11 + 0x303c], eax
mov rcx, rdi
call fcn.180033140
jmp 0x180031acb
mov byte [rdi + 0x81], sil
mov r8, r15
mov byte [rdi + 0x82], sil
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.18002f750
mov bl, byte [rsp + 0x42]
mov byte [rsp + 0x40], bl
test r12b, 0x40
je 0x180031b30
cmp byte [rdi + 0x81], sil
jne 0x180031b30
mov eax, 1
test r13b, r13b
jne 0x180031b10
movss xmm0, dword [rbp - 0x80]
movss dword [rdi + 0x20], xmm0
mov byte [rsp + 0x42], al
cmp byte [rsp + 0x41], sil
jne 0x180031be0
movss xmm0, dword [rbp - 0x7c]
mov bl, al
movss dword [rdi + 0x24], xmm0
mov byte [rsp + 0x40], al
jmp 0x180031be0
mov al, byte [rdi + 0x94]
test al, al
jg 0x180031b47
cmp byte [rdi + 0x95], sil
jle 0x180031be0
test r13b, r13b
jne 0x180031b7a
test al, al
jle 0x180031b7a
cmp byte [rdi + 0x97], sil
je 0x180031b65
movss xmm0, dword [rdi + 0x20]
maxss xmm0, dword [rbp - 0x80]
jmp 0x180031b6a
movss xmm0, dword [rbp - 0x80]
mov eax, 1
movss dword [rdi + 0x20], xmm0
mov byte [rsp + 0x42], al
jmp 0x180031b7f
mov eax, 1
cmp byte [rsp + 0x41], sil
jne 0x180031bb4
cmp byte [rdi + 0x95], sil
jle 0x180031bb4
cmp byte [rdi + 0x97], sil
je 0x180031ba4
movss xmm0, dword [rdi + 0x24]
maxss xmm0, dword [rbp - 0x7c]
jmp 0x180031ba9
movss xmm0, dword [rbp - 0x7c]
movss dword [rdi + 0x24], xmm0
mov bl, al
mov byte [rsp + 0x40], al
cmp byte [rdi + 0x81], sil
jne 0x180031be0
test dword [rdi + 0xc], 0x100
mov rcx, qword [0x1800a67f0]
jne 0x180031be0
comiss xmm10, dword [rcx + 0x303c]
jb 0x180031be0
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x303c], eax
mov r8, qword [rdi + 0x20]
lea rcx, [rbp - 0x70]
mov rdx, rdi
call fcn.18002f448
mov r15, qword [0x1800a67f0]
mov edx, dword [rsp + 0x58]
movss xmm2, dword [rax]
movss xmm0, dword [rax + 4]
movss dword [rdi + 0x20], xmm2
movss dword [rdi + 0x24], xmm0
cmp byte [rdi + 0x81], sil
je 0x180031c89
test edx, edx
jne 0x180031c89
mov eax, dword [rdi + 0xc]
lea r8d, [rdx + 1]
test r8b, al
je 0x180031c2d
movaps xmm1, xmm10
jmp 0x180031c63
mov rcx, qword [rdi + 0x398]
movss xmm0, dword [r15 + 0x1954]
mulss xmm0, dword [rdi + 0x2a8]
test rcx, rcx
je 0x180031c52
mulss xmm0, dword [rcx + 0x2a8]
movss xmm1, dword [r15 + 0x15ac]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [rdi + 0x10]
addss xmm1, dword [rdi + 0x14]
addss xmm0, xmm2
subss xmm1, dword [rdi + 0x14]
subss xmm0, dword [rdi + 0x10]
movss dword [rsp + 0x54], xmm1
movss dword [rsp + 0x50], xmm0
jmp 0x180031c9d
movsd xmm0, qword [rdi + 0x20]
mov r8d, 1
mov eax, dword [rdi + 0xc]
movsd qword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
movsd xmm0, qword [rcx]
movsd qword [rdi + 0x18], xmm0
test r8b, al
je 0x180031cb6
movaps xmm1, xmm10
jmp 0x180031cec
mov rcx, qword [rdi + 0x398]
movss xmm0, dword [r15 + 0x1954]
mulss xmm0, dword [rdi + 0x2a8]
test rcx, rcx
je 0x180031cdb
mulss xmm0, dword [rcx + 0x2a8]
movss xmm1, dword [r15 + 0x15ac]
addss xmm1, xmm1
addss xmm1, xmm0
bt eax, 0xa
jae 0x180031d36
mov rax, qword [rdi + 0x398]
movss xmm14, dword [r15 + 0x1954]
mulss xmm14, dword [rdi + 0x2a8]
test rax, rax
je 0x180031d19
mulss xmm14, dword [rax + 0x2a8]
movss xmm0, dword [r15 + 0x15ac]
addss xmm14, dword [rdi + 0x158]
addss xmm0, xmm0
addss xmm14, xmm0
jmp 0x180031d3a
movaps xmm14, xmm10
addss xmm14, xmm1
mov ecx, dword [rsp + 0x48]
mov r13b, byte [rsp + 0x44]
cmp byte [rsp + 0x43], sil
je 0x180031d8e
or dword [rdi + 0x98], 0xffffffff
test ecx, ecx
je 0x180031d8e
test r13b, r13b
jne 0x180031d8e
movsxd rax, dword [r14 + 0x1c10]
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 0x1c18]
add rcx, rcx
movss xmm0, dword [rax + rcx*8 - 0x10]
movss xmm1, dword [rax + rcx*8 - 0xc]
mov ecx, dword [rsp + 0x48]
movss dword [rdi + 0x10], xmm0
movss dword [rdi + 0x14], xmm1
test edx, edx
je 0x180031e32
mov rdx, qword [rsp + 0x78]
lea rbx, [rdx + 0x188]
movzx eax, word [rbx]
mov word [rdi + 0x8c], ax
mov eax, dword [rbx]
mov ecx, dword [rbx + 4]
cmp eax, ecx
jne 0x180031df3
lea r8d, [rax + 1]
test ecx, ecx
je 0x180031dc8
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180031dcd
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.180039a78
mov eax, dword [rbx]
mov r8d, 1
mov rdx, qword [rsp + 0x78]
mov r15, qword [0x1800a67f0]
movsxd rcx, eax
mov rax, qword [rbx + 8]
mov qword [rax + rcx*8], rdi
add dword [rbx], r8d
mov ecx, dword [rsp + 0x48]
mov eax, dword [rsp + 0x4c]
test ecx, ecx
jne 0x180031e2c
test r13b, r13b
jne 0x180031e2c
mov bl, byte [rsp + 0x40]
cmp eax, 0x3000000
je 0x180031e36
movsd xmm0, qword [rdx + 0xd0]
movsd qword [rdi + 0x10], xmm0
jmp 0x180031e36
mov bl, byte [rsp + 0x40]
jmp 0x180031e36
mov eax, dword [rsp + 0x4c]
movss xmm1, dword [rdi + 0xb0]
ucomiss xmm1, dword [0x180088008]
jp 0x180031e49
je 0x180031e99
cmp dword [rdi + 0xa0], esi
jne 0x180031e99
movss xmm0, dword [rdi + 0xb8]
lea rdx, [rsp + 0x50]
mulss xmm0, dword [rdi + 0x20]
xor r8d, r8d
mov rcx, rdi
subss xmm1, xmm0
movss xmm0, dword [rdi + 0xb4]
movss dword [rsp + 0x50], xmm1
movss xmm1, dword [rdi + 0xbc]
mulss xmm1, dword [rdi + 0x24]
subss xmm0, xmm1
movss dword [rsp + 0x54], xmm0
call fcn.1800335e8
jmp 0x180031ee1
bt r12d, 0x1c
jb 0x180031ec2
test ecx, ecx
je 0x180031eaf
test r13b, r13b
jne 0x180031eaf
cmp dword [rsp + 0x70], esi
jg 0x180031ec2
bt r12d, 0x19
jae 0x180031eeb
test r13b, r13b
jne 0x180031eeb
cmp eax, 0x3000000
je 0x180031eeb
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.1800351dc
movss xmm1, dword [rax + 4]
movss xmm0, dword [rax]
movss dword [rdi + 0x10], xmm0
movss dword [rdi + 0x14], xmm1
mov ecx, dword [rsp + 0x48]
mov r8d, 1
movss xmm2, dword [r15 + 0x10]
movss xmm15, dword [r15 + 0x14]
mov edx, dword [rsp + 0x58]
movss dword [rsp + 0x48], xmm2
movss dword [rbp - 0x38], xmm2
movss dword [rbp - 0x34], xmm15
movss dword [rbp - 0x40], xmm10
movss dword [rbp - 0x3c], xmm10
test r13b, r13b
jne 0x180032040
test edx, edx
jne 0x180032040
cmp byte [rdi + 0x94], sil
jg 0x180032040
cmp byte [rdi + 0x95], sil
jg 0x180032040
movss xmm4, dword [r14 + 0x1608]
movaps xmm0, xmm2
movss xmm3, dword [r14 + 0x160c]
subss xmm0, xmm10
maxss xmm4, dword [r14 + 0x1610]
maxss xmm3, dword [r14 + 0x1614]
comiss xmm0, xmm10
jbe 0x180032040
movaps xmm0, xmm15
subss xmm0, xmm10
comiss xmm0, xmm10
jbe 0x180032040
cmp byte [r15 + 0xcc], sil
je 0x180031fe4
test byte [rdi + 0xc], r8b
jne 0x180031fe4
mov rax, qword [rdi + 0x398]
movss xmm0, dword [r15 + 0x1954]
mulss xmm0, dword [rdi + 0x2a8]
test rax, rax
je 0x180031fc0
mulss xmm0, dword [rax + 0x2a8]
movss xmm1, dword [r15 + 0x15ac]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [rdi + 0x18]
movss dword [rsp + 0x50], xmm0
movss dword [rsp + 0x54], xmm1
jmp 0x180031fef
movsd xmm0, qword [rdi + 0x18]
movsd qword [rsp + 0x50], xmm0
lea rax, [rsp + 0x50]
movaps xmm1, xmm15
movss xmm0, dword [rax]
subss xmm2, xmm4
addss xmm0, dword [rdi + 0x10]
subss xmm1, xmm3
addss xmm4, xmm10
addss xmm3, xmm10
maxss xmm0, xmm4
subss xmm0, dword [rax]
minss xmm2, xmm0
movss xmm0, dword [rax + 4]
addss xmm0, dword [rdi + 0x14]
movss dword [rdi + 0x10], xmm2
maxss xmm0, xmm3
subss xmm0, dword [rax + 4]
minss xmm1, xmm0
movss dword [rdi + 0x14], xmm1
cvttss2si eax, dword [rdi + 0x10]
movd xmm0, eax
cvttss2si eax, dword [rdi + 0x14]
cvtdq2ps xmm0, xmm0
movd xmm1, eax
movss dword [rdi + 0x10], xmm0
cvtdq2ps xmm1, xmm1
movss dword [rdi + 0x14], xmm1
test edx, edx
je 0x180032071
movss xmm2, dword [r14 + 0x1598]
jmp 0x180032094
mov eax, r12d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x18003208b
movss xmm2, dword [r14 + 0x15a0]
jmp 0x180032094
movss xmm2, dword [r14 + 0x157c]
mov dl, sil
movss dword [rdi + 0x40], xmm2
mov dword [rsp + 0x5c], edx
cmp byte [rsp + 0x43], sil
je 0x1800320c8
bt r12d, 0xc
jb 0x1800320c8
test ecx, ecx
je 0x1800320b9
mov byte [rsp + 0x5c], r8b
jmp 0x1800320c8
cmp dword [rsp + 0x4c], esi
movzx edx, dl
cmove edx, r8d
mov dword [rsp + 0x5c], edx
or dword [rsp + 0x70], 0xffffffff
xorps xmm0, xmm0
mov al, byte [r14 + 0xcb]
addss xmm2, dword [0x180087e38]
movups xmmword [rbp - 0x30], xmm0
neg al
movss xmm0, dword [r14 + 0x1950]
movaps xmm1, xmm0
sbb ecx, ecx
mulss xmm0, dword [0x180087dd4]
neg ecx
add ecx, r8d
mulss xmm1, dword [0x180087e68]
mov dword [rsp + 0x50], ecx
addss xmm0, xmm2
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbp - 0x60], xmm0
cmp byte [rdi + 0x81], sil
jne 0x180032163
lea rax, [rbp - 0x30]
mov r9d, ecx
mov rcx, rdi
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x80]
call fcn.18002fc38
mov r15, qword [0x1800a67f0]
mov r8d, 1
test al, al
je 0x180032163
mov bl, r8b
mov cl, r8b
jmp 0x180032167
mov cl, byte [rsp + 0x42]
mov al, byte [rsp + 0x70]
mov byte [rdi + 0x88], al
cmp byte [rdi + 0x81], sil
jne 0x1800322b0
lea rax, [rsp + 0x60]
movss xmm2, dword [rdi + 0x230]
movss xmm3, dword [rdi + 0x234]
subss xmm2, dword [rdi + 0x228]
subss xmm3, dword [rdi + 0x22c]
movss xmm5, dword [rdi + 0x24]
subss xmm5, xmm14
movss xmm4, dword [rdi + 0x20]
addss xmm2, dword [rdi + 0x74]
addss xmm3, dword [rdi + 0x78]
cmp qword [rsp + 0x60], rsi
jne 0x1800321cd
and dword [rsp + 0x60], esi
and dword [rsp + 0x64], esi
jmp 0x1800321f5
movss xmm0, dword [rdi + 0x38]
movss xmm1, dword [rdi + 0x3c]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [rdi + 0x28]
addss xmm1, dword [rdi + 0x2c]
movss dword [rsp + 0x60], xmm0
movss dword [rsp + 0x64], xmm1
movss xmm6, dword [rax]
movss xmm1, dword [rax + 4]
test cl, cl
jne 0x180032205
movaps xmm4, xmm2
test bl, bl
jne 0x18003220c
movaps xmm5, xmm3
bt r12d, 0xe
jb 0x180032223
comiss xmm1, xmm5
jbe 0x18003221e
test r12b, 8
je 0x180032223
mov cl, sil
jmp 0x180032226
mov cl, r8b
mov byte [rdi + 0x7d], cl
bt r12d, 0xf
jb 0x180032260
test cl, cl
je 0x18003223f
movss xmm0, dword [r14 + 0x15d8]
jmp 0x180032243
movaps xmm0, xmm10
subss xmm4, xmm0
comiss xmm6, xmm4
jbe 0x18003225b
mov eax, r12d
and eax, 0x808
cmp eax, 0x800
je 0x180032260
mov dl, sil
jmp 0x180032263
mov dl, r8b
mov byte [rdi + 0x7c], dl
mov al, cl
test dl, dl
je 0x18003228f
test cl, cl
jne 0x180032284
comiss xmm1, xmm5
jbe 0x18003227e
mov al, r8b
test r12b, 8
je 0x180032281
mov al, sil
mov byte [rdi + 0x7d], al
movss xmm1, dword [r14 + 0x15d8]
jmp 0x180032293
movaps xmm1, xmm10
test al, al
je 0x1800322a2
movss xmm0, dword [r14 + 0x15d8]
jmp 0x1800322a6
movaps xmm0, xmm10
movss dword [rdi + 0x74], xmm0
movss dword [rdi + 0x78], xmm1
mov r13d, r12d
and r13d, 0x5000000
cmp r13d, 0x1000000
jne 0x1800322da
cmp dword [rsp + 0x4c], 0x3000000
je 0x1800322da
mov rax, qword [rsp + 0x78]
add rax, 0x258
jmp 0x1800322de
lea rax, [rbp - 0x40]
movups xmm0, xmmword [rax]
movss xmm5, dword [rdi + 0x10]
movaps xmm3, xmm5
movss xmm6, dword [rdi + 0x14]
movaps xmm4, xmm6
addss xmm3, dword [rdi + 0x18]
addss xmm4, dword [rdi + 0x1c]
movdqu xmmword [rsp + 0x60], xmm0
test byte [rdi + 0xc], r8b
je 0x18003230d
movaps xmm0, xmm10
jmp 0x180032343
mov rax, qword [rdi + 0x398]
movss xmm1, dword [r15 + 0x1954]
mulss xmm1, dword [rdi + 0x2a8]
test rax, rax
je 0x180032332
mulss xmm1, dword [rax + 0x2a8]
movss xmm0, dword [r15 + 0x15ac]
addss xmm0, xmm0
addss xmm0, xmm1
movss dword [rbp - 0x70], xmm5
movaps xmm1, xmm6
addss xmm1, xmm0
movaps xmm2, xmm5
movss xmm0, dword [rdi + 0x14]
mov eax, r12d
addss xmm2, dword [rdi + 0x20]
movss dword [rbp - 0x6c], xmm0
and eax, 0x401
movss dword [rbp - 0x64], xmm1
movss dword [rbp - 0x68], xmm2
movss dword [rdi + 0x218], xmm5
movss dword [rdi + 0x21c], xmm6
movss dword [rdi + 0x220], xmm3
movss dword [rdi + 0x224], xmm4
movss xmm1, dword [rdi + 0x218]
movss xmm0, dword [rdi + 0x21c]
movss xmm3, dword [rsp + 0x60]
movss xmm4, dword [rsp + 0x64]
maxss xmm1, xmm3
maxss xmm0, xmm4
movss dword [rdi + 0x218], xmm1
movss dword [rdi + 0x21c], xmm0
movss xmm1, dword [rdi + 0x220]
movss xmm0, dword [rdi + 0x224]
minss xmm1, dword [rsp + 0x68]
minss xmm0, dword [rsp + 0x6c]
movss dword [rdi + 0x220], xmm1
movss dword [rdi + 0x224], xmm0
movss xmm7, dword [rdi + 0x10]
movss xmm8, dword [rdi + 0x14]
movaps xmm9, xmm7
movss dword [rdi + 0x228], xmm7
movaps xmm11, xmm8
addss xmm11, xmm14
addss xmm9, dword [rdi + 0x18]
addss xmm8, dword [rdi + 0x1c]
movss dword [rdi + 0x22c], xmm11
subss xmm9, dword [rdi + 0x74]
subss xmm8, dword [rdi + 0x78]
movss dword [rdi + 0x230], xmm9
movss dword [rdi + 0x234], xmm8
cmp eax, r8d
jne 0x180032455
movss xmm5, dword [rdi + 0x44]
movaps xmm6, xmm5
jmp 0x180032463
movss xmm5, dword [r14 + 0x15b4]
movss xmm6, dword [rdi + 0x44]
movss xmm2, dword [0x180087df8]
xorps xmm1, xmm1
movss xmm0, dword [rdi + 0x38]
addss xmm7, xmm2
mulss xmm0, xmm2
addss xmm11, xmm2
addss xmm9, xmm2
addss xmm8, xmm2
cvttss2si eax, xmm0
xorps xmm0, xmm0
addss xmm11, xmm5
subss xmm8, xmm6
cvtsi2ss xmm1, eax
maxss xmm1, xmm6
addss xmm7, xmm1
subss xmm9, xmm1
cvttss2si eax, xmm7
xorps xmm7, xmm7
cvtsi2ss xmm7, eax
cvttss2si eax, xmm11
movss dword [rdi + 0x238], xmm7
cvtsi2ss xmm0, eax
cvttss2si eax, xmm9
movss dword [rdi + 0x23c], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
cvttss2si eax, xmm8
movss dword [rdi + 0x240], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
movss dword [rdi + 0x244], xmm0
movss xmm0, dword [rdi + 0x23c]
comiss xmm4, xmm0
jbe 0x18003250a
movaps xmm1, xmm4
jmp 0x180032514
movss xmm1, dword [rsp + 0x6c]
minss xmm1, xmm0
comiss xmm3, xmm7
jbe 0x18003251e
movaps xmm0, xmm3
jmp 0x180032528
movss xmm0, dword [rsp + 0x68]
minss xmm0, xmm7
movss dword [rdi + 0x238], xmm0
movss dword [rdi + 0x23c], xmm1
movss xmm0, dword [rdi + 0x244]
comiss xmm4, xmm0
ja 0x18003254f
movss xmm4, dword [rsp + 0x6c]
minss xmm4, xmm0
movss xmm0, dword [rdi + 0x240]
comiss xmm3, xmm0
ja 0x180032566
movss xmm3, dword [rsp + 0x68]
minss xmm3, xmm0
movss dword [rdi + 0x240], xmm3
movss dword [rdi + 0x244], xmm4
movss xmm0, dword [rdi + 0x18]
comiss xmm0, xmm10
jbe 0x180032594
test r12d, 0x2000040
jne 0x180032594
mulss xmm0, dword [0x180087e04]
jmp 0x1800325a5
movss xmm0, dword [r14 + 0x1950]
mulss xmm0, dword [0x180087f34]
cvttss2si eax, xmm0
mov rdx, rdi
lea rcx, [rbp - 0x50]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x280], xmm0
movss xmm0, dword [rdi + 0x230]
subss xmm0, dword [rdi + 0x228]
movss xmm1, dword [rdi + 0x38]
addss xmm1, xmm1
addss xmm1, dword [rdi + 0x28]
subss xmm1, xmm0
movaps xmm0, xmm10
maxss xmm0, xmm1
movss xmm1, dword [rdi + 0x3c]
addss xmm1, xmm1
movss dword [rdi + 0x5c], xmm0
movss xmm0, dword [rdi + 0x234]
subss xmm0, dword [rdi + 0x22c]
addss xmm1, dword [rdi + 0x2c]
subss xmm1, xmm0
movaps xmm0, xmm10
maxss xmm0, xmm1
movss dword [rdi + 0x60], xmm0
call fcn.180034384
mov rcx, qword [rdi + 0x2b0]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
mov eax, 0x7f7fffff
mov dword [rdi + 0x64], eax
mov dword [rdi + 0x68], eax
movss dword [rdi + 0x54], xmm0
movss dword [rdi + 0x58], xmm1
call fcn.18003f7b0
mov rax, qword [r14 + 0x1948]
mov rcx, qword [rdi + 0x2b0]
mov rdx, qword [rax + 0x48]
mov rdx, qword [rdx + 8]
call fcn.18003fd34
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x60]
call fcn.18002e28c
bt r12d, 0x1b
jae 0x18003269d
call fcn.1800349cc
cmp rdi, rax
jne 0x18003269d
cmp dword [rdi + 0xa0], esi
jg 0x18003269d
mov r15d, 1
mov dl, r15b
jmp 0x1800326a6
mov dl, sil
mov r15d, 1
mov rax, qword [r14 + 0x1d58]
test rax, rax
je 0x1800326be
mov bl, r15b
cmp rdi, qword [rax + 0x3a0]
je 0x1800326c1
mov bl, sil
test dl, dl
jne 0x1800326cd
test bl, bl
je 0x180032823
mov rcx, qword [0x1800a67f0]
movzx eax, dl
add rax, 0x3c
add rax, rax
movss xmm0, dword [rcx + 0x1570]
mulss xmm0, dword [r14 + 0x1df8]
movdqu xmm1, xmmword [rcx + rax*8 + 0x1568]
lea rcx, [rbp - 0x50]
movups xmmword [rbp - 0x50], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x44], xmm1
call fcn.18002a8d8
mov rcx, qword [rdi + 0x2b0]
lea rdx, [rbp - 0x40]
mov r9d, eax
mov dword [rsp + 0x28], 0xf
lea r8, [rbp - 0x38]
movss dword [rsp + 0x20], xmm10
call fcn.1800419e4
test bl, bl
je 0x180032823
movss xmm7, dword [rsp + 0x48]
cmp rdi, qword [r14 + 0x1d58]
jne 0x180032829
movss xmm0, dword [r14 + 0x1950]
movss xmm2, dword [rdi + 0x10]
movss xmm3, dword [rdi + 0x14]
movaps xmm1, xmm2
addss xmm2, dword [rdi + 0x18]
movaps xmm4, xmm3
subss xmm1, xmm0
addss xmm3, dword [rdi + 0x1c]
subss xmm4, xmm0
addss xmm2, xmm0
comiss xmm10, xmm1
addss xmm3, xmm0
movss dword [rbp - 0x40], xmm1
movss dword [rbp - 0x38], xmm2
movss dword [rbp - 0x3c], xmm4
movss dword [rbp - 0x34], xmm3
jb 0x1800327b1
comiss xmm10, xmm4
jb 0x1800327b1
comiss xmm2, xmm7
jb 0x1800327b1
comiss xmm3, xmm15
jae 0x180032829
mov rax, qword [0x1800a67f0]
lea rcx, [rbp - 0x50]
movss xmm0, dword [r14 + 0x1d6c]
mulss xmm0, dword [0x180087dd8]
movdqu xmm1, xmmword [rax + 0x1918]
mulss xmm0, dword [rax + 0x1570]
movups xmmword [rbp - 0x50], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x44], xmm1
call fcn.18002a8d8
movss xmm5, dword [r14 + 0x157c]
lea r8, [rbp - 0x38]
mov rcx, qword [rdi + 0x2b0]
lea rdx, [rbp - 0x40]
mov r9d, eax
mov dword [rsp + 0x28], 0xf
movss dword [rsp + 0x20], xmm5
call fcn.1800419e4
jmp 0x180032829
movss xmm7, dword [rsp + 0x48]
cmp r13d, 0x1000000
mov bl, sil
mov r13, qword [rsp + 0x78]
jne 0x180032872
cmp dword [rsp + 0x4c], 0x3000000
je 0x180032872
mov rdx, qword [rdi + 0x2b0]
movsxd rax, dword [rdx]
imul rcx, rax, 0x38
mov rax, qword [rdx + 8]
cmp dword [rcx + rax - 0x18], esi
jne 0x180032872
mov rax, qword [r13 + 0x2b0]
cmp dword [rax + 0x20], esi
jle 0x180032872
mov bl, r15b
mov qword [rdi + 0x2b0], rax
mov rax, qword [r14 + 0x1d50]
test rax, rax
jne 0x180032885
mov rax, qword [r14 + 0x1c20]
mov r15d, dword [rsp + 0x5c]
test r15b, r15b
jne 0x1800328a9
test rax, rax
je 0x1800328a4
mov rax, qword [rax + 0x3a8]
cmp qword [rdi + 0x3a8], rax
je 0x1800328a9
mov r8b, sil
jmp 0x1800328af
mov r8d, 1
movss xmm0, dword [rbp - 0x60]
lea rax, [rbp - 0x30]
mov r9d, dword [rsp + 0x50]
lea rdx, [rbp - 0x70]
movss dword [rsp + 0x28], xmm0
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.1800307c8
test bl, bl
je 0x1800328e6
lea rax, [rdi + 0x2b8]
mov qword [rdi + 0x2b0], rax
cmp qword [r14 + 0x1d58], rdi
jne 0x180032a04
movss xmm1, dword [r14 + 0x1950]
movss xmm3, dword [rdi + 0x10]
movss xmm2, dword [rdi + 0x14]
movaps xmm4, xmm3
addss xmm3, dword [rdi + 0x18]
movss xmm6, dword [rdi + 0x40]
subss xmm4, xmm1
maxss xmm6, dword [r14 + 0x157c]
movaps xmm0, xmm2
addss xmm2, dword [rdi + 0x1c]
addss xmm3, xmm1
comiss xmm10, xmm4
subss xmm0, xmm1
movss dword [rbp - 0x50], xmm4
addss xmm2, xmm1
movss dword [rbp - 0x48], xmm3
movss dword [rbp - 0x4c], xmm0
movss dword [rbp - 0x44], xmm2
jb 0x18003299a
comiss xmm10, xmm0
jb 0x18003299a
comiss xmm3, xmm7
jb 0x18003299a
comiss xmm2, xmm15
jb 0x18003299a
xorps xmm1, xmmword [0x180088740]
subss xmm1, dword [0x180087e38]
movss xmm6, dword [rdi + 0x40]
subss xmm0, xmm1
subss xmm4, xmm1
movss dword [rbp - 0x4c], xmm0
movaps xmm0, xmm1
addss xmm0, xmm3
movss dword [rbp - 0x50], xmm4
addss xmm1, xmm2
movss dword [rbp - 0x48], xmm0
movss dword [rbp - 0x44], xmm1
mov rax, qword [0x1800a67f0]
lea rcx, [rbp - 0x30]
movdqu xmm1, xmmword [rax + 0x1918]
movss xmm0, dword [rax + 0x1570]
mulss xmm0, dword [r14 + 0x1d6c]
movups xmmword [rbp - 0x30], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x24], xmm1
call fcn.18002a8d8
movss xmm5, dword [0x180087ef4]
lea r8, [rbp - 0x48]
mov rcx, qword [rdi + 0x2b0]
lea rdx, [rbp - 0x50]
movss dword [rsp + 0x30], xmm5
mov r9d, eax
or dword [rsp + 0x28], 0xffffffff
movss dword [rsp + 0x20], xmm6
call fcn.1800418f0
movss xmm7, dword [rdi + 0x30]
mov ecx, r12d
shr ecx, 3
mov r8d, 1
not cl
and cl, r8b
ucomiss xmm7, xmm10
jp 0x180032a5b
jne 0x180032a5b
movss xmm0, dword [rdi + 0x38]
mov eax, r12d
movss xmm1, dword [rdi + 0x18]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
subss xmm1, dword [rdi + 0x74]
cmp eax, 0x800
jne 0x180032a50
movss xmm9, dword [rdi + 0x28]
jmp 0x180032a54
movaps xmm9, xmm10
maxss xmm9, xmm1
jmp 0x180032a5f
movaps xmm9, xmm7
movss xmm5, dword [rdi + 0x34]
ucomiss xmm5, xmm10
jp 0x180032aa2
jne 0x180032aa2
movss xmm4, dword [rdi + 0x3c]
movss xmm1, dword [rdi + 0x1c]
movaps xmm0, xmm4
addss xmm0, xmm4
subss xmm1, xmm0
subss xmm1, xmm14
subss xmm1, dword [rdi + 0x78]
test cl, cl
je 0x180032a97
movss xmm8, dword [rdi + 0x2c]
jmp 0x180032a9b
movaps xmm8, xmm10
maxss xmm8, xmm1
jmp 0x180032aab
movss xmm4, dword [rdi + 0x3c]
movaps xmm8, xmm5
ucomiss xmm7, xmm10
movss xmm6, dword [rdi + 0x38]
movss xmm0, dword [rdi + 0x228]
movaps xmm1, xmm6
maxss xmm1, dword [rdi + 0x44]
subss xmm0, dword [rdi + 0x54]
addss xmm1, xmm0
movss xmm0, dword [rdi + 0x22c]
subss xmm0, dword [rdi + 0x58]
cvttss2si eax, xmm1
movaps xmm1, xmm4
maxss xmm1, dword [rdi + 0x44]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
addss xmm1, xmm0
movss dword [rdi + 0x248], xmm3
addss xmm3, xmm9
cvttss2si eax, xmm1
movss xmm1, dword [rdi + 0x10]
subss xmm1, dword [rdi + 0x54]
movss dword [rdi + 0x250], xmm3
movd xmm2, eax
cvtdq2ps xmm2, xmm2
addss xmm1, xmm6
movss dword [rdi + 0x24c], xmm2
addss xmm2, xmm8
movss dword [rdi + 0x268], xmm1
movss dword [rdi + 0x254], xmm2
movss xmm2, dword [rdi + 0x14]
subss xmm2, dword [rdi + 0x58]
addss xmm2, xmm4
addss xmm2, xmm14
movss dword [rdi + 0x26c], xmm2
jp 0x180032b70
jne 0x180032b70
movss xmm7, dword [rdi + 0x18]
movaps xmm0, xmm6
addss xmm0, xmm6
subss xmm7, xmm0
subss xmm7, dword [rdi + 0x74]
ucomiss xmm5, xmm10
addss xmm1, xmm7
movss dword [rdi + 0x270], xmm1
jp 0x180032b9e
jne 0x180032b9e
movss xmm5, dword [rdi + 0x1c]
movaps xmm0, xmm4
addss xmm0, xmm4
subss xmm5, xmm0
subss xmm5, xmm14
subss xmm5, dword [rdi + 0x78]
addss xmm4, xmm14
mov qword [rdi + 0x10c], rsi
addss xmm2, xmm5
movaps xmm0, xmm6
addss xmm0, xmm10
subss xmm4, dword [rdi + 0x58]
movss dword [rdi + 0x274], xmm2
subss xmm0, dword [rdi + 0x54]
addss xmm4, dword [rdi + 0x14]
movss dword [rdi + 0x108], xmm0
addss xmm0, xmm10
movss dword [rdi + 0xe4], xmm4
movss dword [rdi + 0xd4], xmm4
addss xmm0, dword [rdi + 0x10]
movss dword [rdi + 0xe0], xmm0
movss dword [rdi + 0xd0], xmm0
movss dword [rdi + 0xd8], xmm0
movss dword [rdi + 0xdc], xmm4
movsd xmm0, qword [rdi + 0xe0]
movsd qword [rdi + 0xe8], xmm0
mov qword [rdi + 0xf8], rsi
mov qword [rdi + 0xf0], rsi
mov qword [rdi + 0x100], rsi
mov dword [rdi + 0x13c], esi
mov dword [rdi + 0x140], r8d
mov eax, dword [rdi + 0x148]
mov dword [rdi + 0x144], eax
mov dword [rdi + 0x148], esi
cmp dword [rsp + 0x58], esi
je 0x180032c62
mov eax, dword [r13 + 0x14c]
jmp 0x180032c64
mov eax, esi
mov dword [rdi + 0x14c], eax
lea rcx, [rdi + 0x174]
mov byte [rdi + 0x150], sil
movss xmm0, dword [rdi + 0x60]
comiss xmm0, xmm10
seta al
mov byte [rdi + 0x151], al
mov byte [rdi + 0x152], sil
maxss xmm6, dword [r14 + 0x15b8]
maxss xmm6, dword [r14 + 0x1bac]
movss dword [rdi + 0x154], xmm6
mov eax, dword [r14 + 0x1bb0]
mov dword [rdi + 0x158], eax
movss xmm0, dword [r14 + 0x15b8]
movss dword [rdi + 0x15c], xmm0
mov qword [rdi + 0x160], rsi
cmp byte [rsp + 0x43], sil
je 0x180032cdf
xor eax, eax
mov qword [rcx], rax
mov dword [rcx + 8], eax
mov rdx, rsi
test rdx, rdx
je 0x180032d09
movss xmm0, dword [rcx]
comiss xmm0, xmm10
jbe 0x180032d09
movss xmm0, dword [rdi + 0x15c]
addss xmm0, dword [rdi + 0x160]
movss dword [rdi + 0x160], xmm0
cvttss2si eax, dword [rdi + 0x160]
add rdx, r8
movss xmm1, dword [rcx]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx - 0xc], xmm0
addss xmm1, dword [rdi + 0x160]
movss dword [rdi + 0x160], xmm1
mov dword [rcx], esi
add rcx, 4
cmp rdx, 3
jl 0x180032ce2
lea rbx, [rdi + 0x188]
mov qword [rdi + 0x180], rsi
cmp dword [rbx + 4], esi
jge 0x180032d73
mov eax, dword [rbx + 4]
mov rcx, rbx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, dword [rbx + 4]
test eax, eax
cmovg edx, eax
call fcn.180039a78
mov r8d, 1
mov dword [rbx], esi
lea rax, [rdi + 0x288]
mov qword [rdi + 0x198], rax
mov qword [rdi + 0x1a0], rsi
mov dword [rdi + 0x1a8], r8d
test r13, r13
je 0x180032d9f
mov eax, dword [r13 + 0x1a8]
jmp 0x180032da2
mov eax, r8d
mov dword [rdi + 0x1ac], eax
lea rbx, [rdi + 0x1c8]
or dword [rdi + 0x1b4], 0xffffffff
or dword [rdi + 0x1b0], 0xffffffff
mov eax, dword [rdi + 0x280]
mov dword [rdi + 0x1bc], eax
mov dword [rdi + 0x1c0], 0xbf800000
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x180032e4d
mov eax, ecx
mov r15d, esi
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg r15d, eax
cmp r15d, ecx
jle 0x180032e48
mov rax, qword [0x1800a67f0]
test rax, rax
je 0x180032e04
add dword [rax + 0x3bc], r8d
mov rdx, qword [0x1800a67e0]
movsxd rcx, r15d
shl rcx, 2
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rdx, qword [rbx + 8]
mov r13, rax
test rdx, rdx
je 0x180032e3b
movsxd r8, dword [rbx]
mov rcx, rax
shl r8, 2
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 8]
call fcn.18002c560
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x78]
mov dword [rbx + 4], r15d
mov r15d, dword [rsp + 0x5c]
lea rcx, [rdi + 0x1d8]
mov dword [rbx], esi
call fcn.180039b9c
lea rcx, [rdi + 0x1e8]
call fcn.180039b9c
lea rcx, [rdi + 0x1f8]
xor edx, edx
call fcn.180039470
test r13, r13
je 0x180032e83
mov eax, dword [r13 + 0x1b8]
jmp 0x180032e85
mov eax, esi
lea rdx, [rdi + 0x1b8]
mov dword [rdx], eax
test r13, r13
je 0x180032e9b
mov rcx, rbx
call fcn.180039518
mov al, byte [rdi + 0x94]
mov ebx, 1
test al, al
jle 0x180032eb2
sub al, bl
mov byte [rdi + 0x94], al
mov al, byte [rdi + 0x95]
test al, al
jle 0x180032ec4
sub al, bl
mov byte [rdi + 0x95], al
test r15b, r15b
je 0x180032edb
mov rcx, rdi
call fcn.180033140
xor edx, edx
mov rcx, rdi
call fcn.180035cf4
test bl, r12b
jne 0x180032ef0
mov r8, qword [rbp - 0x58]
lea rdx, [rbp - 0x70]
mov rcx, rdi
call fcn.180030e98
mov eax, dword [rdi + 0x4c]
lea rdx, [rbp - 0x68]
xor r8d, r8d
mov dword [rdi + 0x114], eax
lea rcx, [rbp - 0x70]
call fcn.18002e9f8
movups xmm0, xmmword [rbp - 0x70]
mov ebx, dword [rbp - 0x74]
mov r15d, dword [rbp - 0x78]
movzx ecx, al
mov dword [rdi + 0x118], ecx
movdqu xmmword [rdi + 0x11c], xmm0
jmp 0x180032f2f
mov rcx, rdi
call fcn.18002bfe8
lea rdx, [rdi + 0x240]
mov r8d, 1
lea rcx, [rdi + 0x238]
call fcn.18002e28c
cmp r15d, ebx
je 0x180032f54
mov byte [rdi + 0x80], sil
mov ecx, 1
add word [rdi + 0x8a], cx
mov dword [r14 + 0x1b48], esi
bt r12d, 0x18
jae 0x180032fe3
test r12b, 0x40
jne 0x180032fae
cmp byte [rdi + 0x94], sil
jg 0x180032fae
cmp byte [rdi + 0x95], sil
jg 0x180032fae
movss xmm0, dword [rdi + 0x218]
comiss xmm0, dword [rdi + 0x220]
jae 0x180032fa8
movss xmm0, dword [rdi + 0x21c]
comiss xmm0, dword [rdi + 0x224]
jb 0x180032fae
mov dword [rdi + 0x9c], ecx
test r13, r13
je 0x180032fe3
cmp byte [r13 + 0x81], sil
jne 0x180032fc5
cmp dword [r13 + 0x9c], esi
jle 0x180032fd4
mov dword [rdi + 0x9c], ecx
cmp byte [r13 + 0x81], sil
jne 0x180032fdd
cmp dword [r13 + 0xa0], esi
jle 0x180032fe3
mov dword [rdi + 0xa0], ecx
comiss xmm10, dword [r14 + 0x1570]
jb 0x180032ff5
mov dword [rdi + 0x9c], ecx
jmp 0x180033008
cmp dword [rdi + 0x9c], esi
jg 0x180033008
mov al, sil
cmp dword [rdi + 0xa0], esi
jle 0x18003300a
mov al, cl
mov byte [rdi + 0x85], al
cmp byte [rdi + 0x81], sil
jne 0x180033023
cmp byte [rdi + 0x7e], sil
je 0x180033023
test al, al
je 0x180033045
cmp byte [rdi + 0x94], sil
jg 0x180033045
cmp byte [rdi + 0x95], sil
jg 0x180033045
cmp dword [rdi + 0xa0], esi
movzx eax, sil
cmovle eax, ecx
mov sil, al
mov byte [rdi + 0x83], sil
xor sil, cl
mov al, sil
mov rcx, qword [rbp - 0x20]
xor rcx, rsp
call fcn.1800774c0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm14, xmmword [r11 - 0x70]
movaps xmm15, xmmword [r11 - 0x80]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret