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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbp
push rbx
lea rbp, [rax - 0x1f8]
sub rsp, 0x2e8
mov qword [rax + 8], rsi
xor esi, esi
mov qword [rax - 0x18], rdi
mov rdi, rdx
mov qword [rax - 0x20], r12
mov r12d, r8d
mov qword [rax - 0x28], r13
mov r13, rcx
mov qword [rax - 0x30], r14
mov qword [rax - 0x38], r15
cmp dword [rdx + 0x484], esi
jge 0x180066880
test byte [rdx], 2
lea rcx, [rdx + 0x58]
lea rdx, [rbp - 0x40]
mov dword [rbp - 0x3c], 0xffffffff
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], rsi
mov dword [rbp - 0x40], 0x1b00f5
je 0x180066870
mov dword [rbp - 0x40], 0x20002
call fcn.18005a9e0
mov eax, dword [rdi + 0x58]
dec eax
mov dword [rdi + 0x484], eax
cmp dword [rdi + 0x488], esi
jge 0x1800668bf
test byte [rdi], 4
jne 0x1800668bf
lea rdx, [rbp - 0x40]
mov dword [rbp - 0x3c], 0xffffffff
lea rcx, [rdi + 0x58]
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], rsi
mov dword [rbp - 0x40], 0x400041
call fcn.18005a9e0
mov eax, dword [rdi + 0x58]
dec eax
mov dword [rdi + 0x488], eax
mov rcx, qword [rdi + 0x20]
mov qword [rdi + 8], rsi
mov qword [rdi + 0x30], rsi
mov qword [rdi + 0x38], rsi
mov qword [rdi + 0x40], rsi
test rcx, rcx
je 0x1800668f0
mov rax, qword [0x180141f68]
test rax, rax
je 0x1800668ea
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x180066911
mov rax, qword [0x180141f68]
test rax, rax
je 0x18006690b
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r14d, dword [rdi + 0x68]
mov r15, rsi
mov qword [rdi + 0x20], rsi
mov edx, 8
mov qword [rdi + 0x28], rsi
mov byte [rdi + 0x1a], sil
mov byte [rbp + 0x218], sil
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x68], rsi
mov dword [rsp + 0x7c], r14d
test r14d, r14d
jle 0x180066976
cmp r14d, edx
mov eax, r14d
cmovl eax, edx
test eax, eax
jle 0x180066976
mov rcx, qword [0x180141f68]
test rcx, rcx
je 0x180066961
inc dword [rcx + 0xf4]
cdqe
imul rcx, rax, 0x70
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp - 0x80], rax
mov edx, 8
mov ebx, dword [rdi + 0x48]
mov dword [rsp + 0x68], ebx
test ebx, ebx
jle 0x1800669b3
cmp ebx, 8
mov ecx, ebx
cmovl ecx, edx
test ecx, ecx
jle 0x1800669b3
mov rax, qword [0x180141f68]
test rax, rax
je 0x18006699f
inc dword [rax + 0xf4]
movsxd rcx, ecx
shl rcx, 5
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
mov qword [rbp - 0x68], rax
mov rdi, qword [rbp - 0x80]
xor edx, edx
imul ecx, r14d, 0x70
movsxd r8, ecx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov ecx, ebx
xor edx, edx
shl ecx, 5
movsxd r8, ecx
mov rcx, r15
call sub.VCRUNTIME140.dll_memset
mov r9, qword [rbp + 0x208]
mov r15d, esi
cmp dword [r9 + 0x68], esi
jle 0x180066b14
mov r14, rsi
lea rbx, [rdi + 0x44]
nop word [rax + rax]
mov rdi, qword [r9 + 0x70]
mov edx, esi
add rdi, r14
mov dword [rbx - 4], 0xffffffff
cmp dword [r9 + 0x48], 0
jle 0x180066b0d
mov eax, 0xffffffff
mov r8, rsi
cmp eax, 0xffffffff
jne 0x180066a58
mov rax, qword [r9 + 0x50]
mov rcx, qword [r8 + rax]
cmp qword [rdi + 0x80], rcx
jne 0x180066a40
mov dword [rbx - 4], edx
mov eax, edx
jmp 0x180066a43
mov eax, dword [rbx - 4]
inc edx
add r8, 8
cmp edx, dword [r9 + 0x48]
jl 0x180066a23
cmp eax, 0xffffffff
je 0x180066b0d
mov r9d, r12d
lea rcx, [rbx - 0x44]
mov r8, rdi
mov rdx, r13
call fcn.180065830
test al, al
je 0x180066b0d
mov eax, dword [rdi + 0x4c]
lea rdx, [0x180119f3c]
movsxd r8, dword [rbx - 4]
mov r10, qword [rbp - 0x68]
shr eax, 8
and al, 1
shl r8, 5
or byte [rbp + 0x218], al
add r8, r10
mov rax, qword [rdi + 0x38]
test rax, rax
cmovne rdx, rax
mov qword [rbx - 0xc], rdx
cmp word [rdx], 0
je 0x180066acc
nop dword [rax + rax]
movzx eax, word [rdx + 2]
test ax, ax
je 0x180066acc
cmp dword [rbx], eax
mov ecx, eax
cmovge ecx, dword [rbx]
add rdx, 4
mov dword [rbx], ecx
cmp word [rdx], 0
jne 0x180066ab0
inc dword [r8]
mov esi, 0
mov ecx, dword [rbx]
cmp dword [r8 + 4], ecx
mov r9, qword [rbp + 0x208]
cmovge ecx, dword [r8 + 4]
inc r15d
add rbx, 0x70
mov dword [r8 + 4], ecx
add r14, 0x88
cmp r15d, dword [r9 + 0x68]
jl 0x180066a00
mov r14d, dword [rsp + 0x7c]
mov rdi, qword [rbp - 0x80]
jmp 0x180066b18
xor bl, bl
jmp 0x180067c7a
mov r10, qword [rbp - 0x68]
xor r12d, r12d
movaps xmmword [rsp + 0x2b0], xmm6
movaps xmmword [rsp + 0x250], xmm12
mov r13d, r12d
mov dword [rsp + 0x60], r12d
test r14d, r14d
jle 0x180066e50
mov esi, dword [rsp + 0x7c]
lea r14, [rdi + 0x58]
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x50], rsi
nop dword [rax]
movsxd r15, dword [r14 - 0x18]
mov ebx, dword [r14 - 0x14]
mov ecx, dword [r14 - 4]
add ebx, 0x20
shl r15, 5
add r15, r10
sar ebx, 5
cmp ebx, ecx
jle 0x180066b91
test ecx, ecx
je 0x180066b7c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180066b81
mov eax, 8
cmp eax, ebx
lea rcx, [r14 - 8]
mov edx, ebx
cmovg edx, eax
call fcn.180053350
mov dword [r14 - 8], ebx
xor edx, edx
mov rcx, qword [r14]
movsxd r8, ebx
shl r8, 2
call sub.VCRUNTIME140.dll_memset
cmp dword [r15 + 0x10], 0
jne 0x180066bf9
mov ebx, dword [r15 + 4]
mov ecx, dword [r15 + 0x14]
add ebx, 0x20
sar ebx, 5
cmp ebx, ecx
jle 0x180066be3
test ecx, ecx
je 0x180066bce
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180066bd3
mov eax, 8
cmp eax, ebx
lea rcx, [r15 + 0x10]
mov edx, ebx
cmovg edx, eax
call fcn.180053350
mov dword [r15 + 0x10], ebx
xor edx, edx
mov rcx, qword [r15 + 0x18]
movsxd r8, ebx
shl r8, 2
call sub.VCRUNTIME140.dll_memset
mov r12, qword [r14 - 0x20]
movzx eax, word [r12]
test ax, ax
je 0x180066ca3
nop dword [rax + rax]
movzx ecx, word [r12 + 2]
test cx, cx
je 0x180066c9f
movzx edi, ax
cmp edi, ecx
ja 0x180066c8c
nop word [rax + rax]
mov rax, qword [r15 + 0x18]
mov esi, edi
movsxd rbx, edi
and esi, 0x1f
sar rbx, 5
mov eax, dword [rax + rbx*4]
bt eax, esi
jb 0x180066c7b
mov rcx, qword [r14 - 0x40]
mov edx, edi
call fcn.18006ddd0
test eax, eax
je 0x180066c7b
inc dword [r14 - 0x10]
inc dword [r15 + 8]
mov rcx, qword [r14]
mov eax, dword [rcx + rbx*4]
bts eax, esi
mov dword [rcx + rbx*4], eax
mov rcx, qword [r15 + 0x18]
mov eax, dword [rcx + rbx*4]
bts eax, esi
mov dword [rcx + rbx*4], eax
inc r13d
movzx eax, word [r12 + 2]
inc edi
cmp edi, eax
jle 0x180066c30
mov dword [rsp + 0x60], r13d
movzx eax, word [r12 + 4]
add r12, 4
test ax, ax
jne 0x180066c10
mov rsi, qword [rbp - 0x50]
mov r10, qword [rbp - 0x68]
add r14, 0x70
sub rsi, 1
mov qword [rbp - 0x50], rsi
jne 0x180066b50
mov r14, qword [rbp - 0x80]
add r14, 0x68
movsxd rbx, dword [r14 - 0x20]
cmp ebx, dword [r14 - 4]
jle 0x180066d31
mov rax, qword [0x180141f68]
test rax, rax
je 0x180066cdd
inc dword [rax + 0xf4]
lea rcx, [rbx + rbx*4]
shl rcx, 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, qword [r14]
mov rdi, rax
test rdx, rdx
je 0x180066d2a
movsxd rcx, dword [r14 - 8]
lea r8, [rcx + rcx*4]
mov rcx, rax
shl r8, 3
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [r14]
test rcx, rcx
je 0x180066d24
mov rax, qword [0x180141f68]
test rax, rax
je 0x180066d24
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [r14], rdi
mov dword [r14 - 4], ebx
mov r12, qword [r14 - 0x10]
movsxd rax, dword [r14 - 0x18]
mov rsi, r12
lea rax, [r12 + rax*4]
mov qword [rbp - 0x48], rax
cmp r12, rax
jae 0x180066e10
xor r13d, r13d
mov r15d, dword [rsi]
test r15d, r15d
je 0x180066e03
mov edi, r13d
nop
bt r15d, edi
jae 0x180066df4
xor eax, eax
lea rcx, [rsi*8]
mov qword [rbp - 0x20], rax
xorps xmm6, xmm6
lea rax, [r12*8]
sub ecx, eax
and ecx, 0xffffffe0
add ecx, edi
movzx eax, cx
mov ecx, dword [r14 - 4]
movups xmmword [rbp - 0x30], xmm6
mov dword [rbp - 0x28], eax
mov eax, dword [r14 - 8]
cmp eax, ecx
jne 0x180066dcf
lea r8d, [rax + 1]
test ecx, ecx
je 0x180066db3
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180066db8
mov eax, 8
cmp eax, r8d
lea rcx, [r14 - 8]
cmovg r8d, eax
mov edx, r8d
call fcn.180067e40
mov eax, dword [r14 - 8]
movups xmm0, xmmword [rbp - 0x30]
cdqe
movsd xmm1, qword [rbp - 0x20]
lea rcx, [rax + rax*4]
mov rax, qword [r14]
movups xmmword [rax + rcx*8], xmm6
movups xmmword [rax + rcx*8 + 0x10], xmm0
movsd qword [rax + rcx*8 + 0x20], xmm1
inc dword [r14 - 8]
inc edi
cmp edi, 0x20
jb 0x180066d60
mov rax, qword [rbp - 0x48]
add rsi, 4
cmp rsi, rax
jb 0x180066d50
mov rcx, qword [r14 - 0x10]
xor r12d, r12d
test rcx, rcx
je 0x180066e3c
mov rax, qword [0x180141f68]
mov qword [r14 - 0x18], r12
test rax, rax
je 0x180066e32
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [r14 - 0x10], r12
add r14, 0x70
sub qword [rbp - 0x78], 1
jne 0x180066cc1
mov r13d, dword [rsp + 0x60]
mov eax, dword [rsp + 0x68]
test eax, eax
jle 0x180066e97
mov rbx, qword [rbp - 0x68]
mov edi, eax
add rbx, 0x18
mov rcx, qword [rbx]
test rcx, rcx
je 0x180066e8d
mov rax, qword [0x180141f68]
mov qword [rbx - 8], 0
test rax, rax
je 0x180066e84
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx], r12
add rbx, 0x20
sub rdi, 1
jne 0x180066e62
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x180066ebc
mov rax, qword [0x180141f68]
test rax, rax
je 0x180066eb2
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x50], r12
mov rsi, r12
mov edi, 8
test r13d, r13d
jle 0x180066f03
cmp r13d, edi
mov eax, r13d
cmovl eax, edi
test eax, eax
jle 0x180066f03
mov rcx, qword [0x180141f68]
test rcx, rcx
je 0x180066eec
inc dword [rcx + 0xf4]
cdqe
lea rcx, [rax + rax*2]
shl rcx, 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
mov qword [rbp - 0x50], rax
lea ecx, [r13*2]
xor edx, edx
add ecx, r13d
shl ecx, 3
movsxd r8, ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [0x180141f68]
mov dword [rsp + 0x60], r12d
test rcx, rcx
je 0x180066f35
inc dword [rcx + 0xf4]
mov ecx, 0x40000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, qword [0x180141f68]
mov rbx, rax
test rdx, rdx
je 0x180066f55
inc dword [rdx + 0xf4]
mov ecx, 0x40
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
movss xmm12, dword [0x18011a924]
mov ecx, r12d
mov qword [rbp - 0x58], rax
mov r14d, edi
mov dword [rsp + 0x78], 1
mov r10d, r12d
mov qword [rax], rbx
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x70], ecx
test eax, eax
jle 0x180067324
mov rbx, qword [rbp - 0x80]
mov r9, r12
mov rdi, qword [rbp + 0x208]
add rbx, 0x60
mov qword [rbp - 0x78], r12
mov r11d, eax
mov qword [rbp - 0x18], rax
nop
mov edx, dword [rbx - 0x18]
mov r8, qword [rdi + 0x70]
test edx, edx
je 0x180067302
movsxd rax, r10d
add r10d, edx
mov dword [rbp - 0x70], r10d
lea rcx, [rax + rax*2]
lea rax, [rsi + rcx*8]
mov qword [rbx - 0x30], rax
movss xmm1, dword [r9 + r8 + 0x50]
ucomiss xmm1, xmm12
je 0x18006702b
mov byte [rsp + 0x64], 1
lea r9, [rbp + 0x50]
mov r8d, r12d
nop
mov eax, r8d
lea r9, [r9 + 1]
xorps xmm0, xmm0
mov edx, 0xff
cvtsi2ss xmm0, rax
mulss xmm0, xmm1
cvttss2si rcx, xmm0
cmp ecx, edx
movzx eax, cl
cmovbe edx, eax
inc r8d
mov byte [r9 - 1], dl
cmp r8d, 0x100
jb 0x180066ff0
mov r9, qword [rbp - 0x78]
jmp 0x180067030
mov byte [rsp + 0x64], 0
cmp dword [rbx], 0
mov eax, dword [rdi + 0x14]
mov dword [rbp - 0x60], eax
mov dword [rsp + 0x68], r12d
jle 0x1800672fb
xor eax, eax
mov r13d, eax
mov esi, eax
nop dword [rax + rax]
mov r15, qword [rbx + 8]
mov rcx, qword [rbx - 0x48]
mov edx, dword [rsi + r15 + 0x18]
call fcn.18006ddd0
test eax, eax
je 0x1800672c5
mov r8d, dword [rbx - 0x3c]
mov edx, eax
mov rcx, qword [rbx - 0x48]
call fcn.18006edd0
test eax, eax
jne 0x1800672c5
mov rax, qword [rbx - 0x48]
mov rdi, qword [rax + 0x78]
mov eax, dword [rbx - 0x40]
test al, 0x20
je 0x18006709b
mov rcx, rdi
call fcn.180077510
mov eax, dword [rbx - 0x40]
test al, 0x40
je 0x1800670a7
mov rcx, rdi
call fcn.180077610
lea rax, [rdi + 0x30]
test rax, rax
je 0x1800672c5
mov rax, qword [rbx - 0x48]
mov edx, dword [rbx - 0x38]
mov rdi, qword [rax + 0x78]
mov rcx, rdi
call fcn.180071810
test eax, eax
jne 0x1800672c5
mov rax, qword [rbx - 0x48]
mov r9, qword [rax + 0x78]
add r9, 0x68
mov qword [rbp - 0x10], r9
mov r8d, dword [r9 + 4]
mov dword [rsi + r15], r8d
mov r12d, dword [r9]
mov dword [rsi + r15 + 4], r12d
mov rax, qword [rbx - 0x48]
mov rcx, qword [rax + 0x78]
mov eax, dword [rcx + 0x90]
mov dword [rsi + r15 + 8], eax
mov rax, qword [rbx - 0x48]
mov rcx, qword [rax + 0x78]
mov eax, dword [rcx + 0x94]
neg eax
mov dword [rsi + r15 + 0xc], eax
mov eax, dword [rdi + 0x58]
mov edi, dword [rsp + 0x60]
add eax, 0x3f
and eax, 0xffffffc0
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + r15 + 0x10], xmm0
cmp byte [r9 + 0x1a], 7
sete al
imul r12d, r8d
mov byte [rsi + r15 + 0x14], al
shl r12d, 2
lea eax, [r12 + rdi]
cmp eax, 0x40000
jle 0x18006723d
mov rax, qword [0x180141f68]
xor edi, edi
mov dword [rsp + 0x60], edi
test rax, rax
je 0x180067177
inc dword [rax + 0xf4]
mov ecx, 0x40000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8d, dword [rsp + 0x78]
mov qword [rbp - 0x48], rax
cmp r8d, r14d
jne 0x180067224
test r14d, r14d
je 0x1800671a6
mov eax, r14d
cdq
sub eax, edx
sar eax, 1
add eax, r14d
jmp 0x1800671ab
mov eax, 8
lea edi, [r8 + 1]
cmp eax, edi
cmovg edi, eax
cmp edi, r14d
jle 0x180067220
mov rax, qword [0x180141f68]
test rax, rax
je 0x1800671cb
inc dword [rax + 0xf4]
movsxd rcx, edi
shl rcx, 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, qword [rbp - 0x58]
mov r14, rax
test rcx, rcx
je 0x180067214
movsxd r8, dword [rsp + 0x78]
mov rdx, rcx
shl r8, 3
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [0x180141f68]
test rdx, rdx
je 0x18006720a
dec dword [rdx + 0xf4]
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r8d, dword [rsp + 0x78]
mov qword [rbp - 0x58], r14
mov r14d, edi
mov edi, dword [rsp + 0x60]
mov rdx, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x48]
movsxd rax, r8d
inc r8d
mov dword [rsp + 0x78], r8d
mov qword [rdx + rax*8], rcx
jmp 0x180067246
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rbp - 0x58]
mov r9d, dword [rsi + r15]
movsxd rax, r8d
movsxd rcx, edi
add edi, r12d
mov dword [rsp + 0x60], edi
mov r8, qword [rdx + rax*8 - 8]
lea rax, [rbp + 0x50]
mov rdx, qword [rbp - 0x10]
add r8, rcx
cmp byte [rsp + 0x64], 0
mov ecx, 0
mov qword [rsi + r15 + 0x20], r8
cmove rax, rcx
mov qword [rsp + 0x20], rax
call fcn.180065a20
mov ecx, dword [rsi + r15]
add ecx, dword [rbp - 0x60]
mov rax, qword [rbx - 0x30]
mov r12d, dword [rsp + 0x68]
mov dword [rax + r13 + 4], ecx
mov ecx, dword [rsi + r15 + 4]
add ecx, dword [rbp - 0x60]
mov rax, qword [rbx - 0x30]
mov dword [rax + r13 + 8], ecx
mov rcx, qword [rbx - 0x30]
mov eax, dword [rcx + r13 + 8]
imul eax, dword [rcx + r13 + 4]
mov ecx, dword [rsp + 0x70]
add ecx, eax
mov dword [rsp + 0x70], ecx
jmp 0x1800672c9
mov ecx, dword [rsp + 0x70]
inc r12d
add rsi, 0x28
add r13, 0x18
mov dword [rsp + 0x68], r12d
cmp r12d, dword [rbx]
jl 0x180067050
mov r9, qword [rbp - 0x78]
mov r10d, dword [rbp - 0x70]
mov r11, qword [rbp - 0x18]
mov rdi, qword [rbp + 0x208]
mov rsi, qword [rbp - 0x50]
jmp 0x1800672ff
mov ecx, dword [rsp + 0x70]
xor r12d, r12d
add r9, 0x88
add rbx, 0x70
sub r11, 1
mov qword [rbp - 0x78], r9
mov qword [rbp - 0x18], r11
jne 0x180066fb0
mov edi, 8
mov r15, qword [rbp + 0x208]
mov ebx, dword [r15 + 0x10]
mov dword [r15 + 0x34], r12d
test ebx, ebx
jg 0x180067386
movd xmm0, ecx
xorps xmm1, xmm1
cvtdq2ps xmm0, xmm0
sqrtss xmm1, xmm0
cvttss2si eax, xmm1
inc eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x18011ade0]
jb 0x180067362
mov ebx, 0x1000
jmp 0x180067386
comiss xmm0, dword [0x18011adc8]
jb 0x180067372
mov ebx, 0x800
jmp 0x180067386
comiss xmm0, dword [0x18011adb8]
mov ebx, 0x200
mov eax, 0x400
cmovae ebx, eax
mov dword [r15 + 0x30], ebx
mov r13, r12
sub ebx, dword [r15 + 0x14]
mov qword [rbp - 0x48], r12
test ebx, ebx
jle 0x1800673cb
cmp ebx, 8
mov eax, ebx
cmovl eax, edi
test eax, eax
jle 0x1800673cb
mov rcx, qword [0x180141f68]
test rcx, rcx
je 0x1800673b7
inc dword [rcx + 0xf4]
movsxd rcx, eax
shl rcx, 4
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r13, rax
mov qword [rbp - 0x48], rax
mov edx, dword [r15 + 0x30]
lea rcx, [rbp]
mov r9, r13
mov dword [rsp + 0x20], ebx
call fcn.180066440
mov ebx, dword [r15 + 0x58]
mov rdi, r12
test ebx, ebx
jle 0x180067420
cmp ebx, 8
mov eax, ebx
mov ecx, 8
cmovl eax, ecx
test eax, eax
jle 0x180067420
mov rcx, qword [0x180141f68]
test rcx, rcx
je 0x18006740d
inc dword [rcx + 0xf4]
cdqe
lea rcx, [rax + rax*2]
shl rcx, 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
lea ecx, [rbx + rbx*2]
xor edx, edx
shl ecx, 3
movsxd r8, ecx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
cmp dword [r15 + 0x58], 0
mov r9d, r12d
jle 0x18006747b
mov rdx, r12
lea r8, [rdi + 8]
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [r15 + 0x60]
lea rdx, [rdx + 0x20]
inc r9d
lea r8, [r8 + 0x18]
movzx ecx, word [rdx + rax - 0x20]
mov dword [r8 - 0x1c], ecx
mov rax, qword [r15 + 0x60]
movzx ecx, word [rdx + rax - 0x1e]
mov dword [r8 - 0x18], ecx
cmp r9d, dword [r15 + 0x58]
jl 0x180067450
mov r8d, ebx
lea rcx, [rbp]
mov rdx, rdi
call fcn.180053830
test ebx, ebx
jle 0x1800674d9
mov r8, r12
lea rdx, [rdi + 0x10]
mov r9, rbx
cmp dword [rdx + 4], 0
je 0x1800674cb
mov rcx, qword [r15 + 0x60]
movzx eax, word [rdx - 4]
mov word [r8 + rcx + 4], ax
mov rcx, qword [r15 + 0x60]
movzx eax, word [rdx]
mov word [r8 + rcx + 6], ax
mov ecx, dword [rdx - 8]
add ecx, dword [rdx]
cmp dword [r15 + 0x34], ecx
cmovge ecx, dword [r15 + 0x34]
mov dword [r15 + 0x34], ecx
add r8, 0x20
add rdx, 0x18
sub r9, 1
jne 0x180067498
test rdi, rdi
je 0x1800674f9
mov rax, qword [0x180141f68]
test rax, rax
je 0x1800674f0
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov esi, dword [rsp + 0x7c]
mov r14, qword [rbp - 0x80]
test esi, esi
jle 0x180067566
lea rbx, [r14 + 0x48]
mov edi, esi
nop dword [rax + rax]
mov r8d, dword [rbx]
test r8d, r8d
je 0x18006755c
mov rdx, qword [rbx - 0x18]
lea rcx, [rbp]
call fcn.180066600
cmp dword [rbx], 0
mov r8d, r12d
jle 0x18006755c
mov rdx, r12
mov rax, qword [rbx - 0x18]
cmp dword [rdx + rax + 0x14], 0
je 0x180067550
mov ecx, dword [rdx + rax + 0x10]
add ecx, dword [rdx + rax + 8]
cmp dword [r15 + 0x34], ecx
cmovge ecx, dword [r15 + 0x34]
mov dword [r15 + 0x34], ecx
inc r8d
add rdx, 0x18
cmp r8d, dword [rbx]
jl 0x180067530
add rbx, 0x70
sub rdi, 1
jne 0x180067510
test byte [r15], 1
mov eax, dword [r15 + 0x34]
jne 0x180067595
lea ecx, [rax - 1]
mov eax, ecx
sar eax, 1
or ecx, eax
mov eax, ecx
sar eax, 2
or ecx, eax
mov eax, ecx
sar eax, 4
or ecx, eax
mov eax, ecx
sar eax, 8
or ecx, eax
mov eax, ecx
sar eax, 0x10
or eax, ecx
lea ecx, [rax + 1]
movaps xmm2, xmm12
movsxd rax, dword [r15 + 0x30]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
movsxd rbx, ecx
mov dword [r15 + 0x34], ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
imul rbx, rax
divss xmm2, xmm0
cmp byte [rbp + 0x218], 0
mov rax, qword [0x180141f68]
movaps xmm0, xmm12
divss xmm0, xmm1
movss dword [r15 + 0x38], xmm2
movss dword [r15 + 0x3c], xmm0
je 0x180067603
lea rbx, [rbx*4]
test rax, rax
je 0x1800675f4
inc dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [r15 + 0x28], rax
jmp 0x18006761b
test rax, rax
je 0x18006760e
inc dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [r15 + 0x20], rax
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
xor al, al
movaps xmmword [rsp + 0x2a0], xmm7
movaps xmmword [rsp + 0x290], xmm8
mov byte [rbp + 0x218], al
test esi, esi
jle 0x1800679d0
movaps xmmword [rsp + 0x280], xmm9
lea r13, [r14 + 8]
movaps xmmword [rsp + 0x270], xmm10
mov rbx, r12
movaps xmmword [rsp + 0x260], xmm11
mov rdi, rsi
movss xmm11, dword [0x18011a7f4]
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x78], rsi
nop
cmp dword [r13 + 0x40], 0
je 0x180067989
mov r10, qword [r15 + 0x70]
movss xmm6, dword [r13 - 4]
add r10, rbx
movss xmm7, dword [r13]
mov qword [rbp - 0x60], r10
cmp byte [r10 + 0x48], 0
mov r9, qword [r10 + 0x80]
mov qword [rbp - 0x70], r9
jne 0x1800676e6
mov rcx, r9
call fcn.180058e70
mov r9, qword [rbp - 0x70]
mov r10, qword [rbp - 0x60]
mov eax, dword [r10 + 0x14]
mov dword [r9 + 0x14], eax
movzx eax, r12w
movss dword [r9 + 0x60], xmm6
movss dword [r9 + 0x64], xmm7
mov qword [r9 + 0x48], r10
mov qword [r9 + 0x40], r15
jmp 0x1800676f1
movzx eax, word [r9 + 0x50]
movss xmm6, dword [r9 + 0x60]
inc ax
mov dword [rsp + 0x68], r12d
mov word [r9 + 0x50], ax
addss xmm6, xmm11
cmp dword [r13 + 0x40], 0
mov r8d, dword [r15 + 0x14]
movss xmm10, dword [r10 + 0x2c]
mov dword [rsp + 0x60], r8d
cvttss2si eax, xmm6
movd xmm9, eax
cvtdq2ps xmm9, xmm9
addss xmm9, dword [r10 + 0x30]
jle 0x180067985
mov rdx, r12
mov rbx, r12
mov qword [rsp + 0x70], rdx
nop dword [rax + rax]
mov rcx, qword [r13 + 0x28]
mov rdi, qword [r13 + 0x60]
cmp dword [rdx + rcx + 4], 0
jne 0x18006775a
cmp dword [rdx + rcx + 8], 0
je 0x18006795c
mov r14d, dword [rdx + rcx + 0x10]
movaps xmm2, xmm12
mov esi, dword [rdx + rcx + 0xc]
add r14d, r8d
mov edx, dword [rbx + rdi + 4]
add esi, r8d
mov ecx, dword [rbx + rdi]
movaps xmm1, xmm12
movd xmm0, dword [r15 + 0x34]
movd xmm8, dword [rbx + rdi + 0xc]
movd xmm3, dword [rbx + rdi + 8]
lea eax, [rdx + r14]
movzx r8d, word [rbx + rdi + 0x18]
cvtdq2ps xmm0, xmm0
movd xmm7, eax
lea eax, [rcx + rsi]
divss xmm2, xmm0
movd xmm0, dword [r15 + 0x30]
cvtdq2ps xmm0, xmm0
movd xmm5, r14d
divss xmm1, xmm0
movss xmm0, dword [rbx + rdi + 0x10]
movss dword [rsp + 0x58], xmm0
movd xmm6, eax
movd xmm4, esi
cvtdq2ps xmm5, xmm5
cvtdq2ps xmm4, xmm4
mulss xmm5, xmm2
mulss xmm4, xmm1
cvtdq2ps xmm3, xmm3
cvtdq2ps xmm7, xmm7
addss xmm3, xmm10
mulss xmm7, xmm2
movd xmm2, edx
mov rdx, r10
cvtdq2ps xmm2, xmm2
movss dword [rsp + 0x50], xmm7
cvtdq2ps xmm6, xmm6
cvtdq2ps xmm8, xmm8
mulss xmm6, xmm1
movd xmm1, ecx
addss xmm8, xmm9
cvtdq2ps xmm1, xmm1
mov rcx, r9
movss dword [rsp + 0x48], xmm6
addss xmm2, xmm8
movss dword [rsp + 0x40], xmm5
addss xmm1, xmm3
movss dword [rsp + 0x38], xmm4
movss dword [rsp + 0x30], xmm2
movss dword [rsp + 0x28], xmm1
movss dword [rsp + 0x20], xmm8
call fcn.1800594e0
cmp byte [rbx + rdi + 0x14], 0
mov rdx, qword [rbp - 0x70]
movsxd rax, dword [rdx + 0x28]
lea rcx, [rax + rax*4]
mov rax, qword [rdx + 0x30]
je 0x180067866
or dword [rax + rcx*8 - 0x28], 1
mov byte [rbp + 0x218], 1
mov r11, qword [rbp + 0x208]
movsxd r15, dword [r15 + 0x30]
movsxd rdx, dword [rbx + rdi]
mov r10, qword [rbx + rdi + 0x20]
mov rcx, qword [r11 + 0x20]
movsxd rax, r14d
imul rax, r15
movsxd r8, esi
mov esi, r12d
test rcx, rcx
je 0x1800678e9
lea r11, [rcx + r8]
add r11, rax
cmp dword [rbx + rdi + 4], 0
jle 0x180067943
lea r14, [rdx*4]
nop word [rax + rax]
mov r9d, r12d
test edx, edx
jle 0x1800678d9
mov rcx, r11
lea r8, [r10 + 3]
nop
movzx eax, byte [r8]
lea r8, [r8 + 4]
mov byte [rcx], al
lea rcx, [rcx + 1]
mov edx, dword [rbx + rdi]
inc r9d
cmp r9d, edx
jl 0x1800678c0
inc esi
add r11, r15
add r10, r14
cmp esi, dword [rbx + rdi + 4]
jl 0x1800678b0
jmp 0x180067943
cmp dword [rbx + rdi + 4], 0
lea rcx, [r8 + rax]
mov rax, qword [r11 + 0x28]
lea r11, [rax + rcx*4]
jle 0x180067943
lea r15, [r15*4]
lea r14, [rdx*4]
nop dword [rax]
mov r8d, r12d
test edx, edx
jle 0x180067935
mov r9, r10
mov rcx, r11
sub r9, r11
mov eax, dword [r9 + rcx]
inc r8d
mov dword [rcx], eax
lea rcx, [rcx + 4]
mov edx, dword [rbx + rdi]
cmp r8d, edx
jl 0x180067920
inc esi
add r11, r15
add r10, r14
cmp esi, dword [rbx + rdi + 4]
jl 0x180067910
mov r8d, dword [rsp + 0x60]
mov r10, qword [rbp - 0x60]
mov r9, qword [rbp - 0x70]
mov r15, qword [rbp + 0x208]
mov rdx, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x68]
add rdx, 0x18
inc ecx
mov qword [rsp + 0x70], rdx
add rbx, 0x28
mov dword [rsp + 0x68], ecx
cmp ecx, dword [r13 + 0x40]
jl 0x180067740
mov rbx, qword [rbp - 0x18]
mov rdi, qword [rbp - 0x78]
mov qword [r13 + 0x28], r12
add rbx, 0x88
add r13, 0x70
sub rdi, 1
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x78], rdi
jne 0x180067680
movzx eax, byte [rbp + 0x218]
mov r13, qword [rbp - 0x48]
mov esi, dword [rsp + 0x7c]
movaps xmm11, xmmword [rsp + 0x260]
movaps xmm10, xmmword [rsp + 0x270]
movaps xmm9, xmmword [rsp + 0x280]
movaps xmm12, xmmword [rsp + 0x250]
mov r14, qword [rbp - 0x58]
mov byte [r15 + 0x1a], al
mov eax, dword [rsp + 0x78]
test eax, eax
jle 0x180067a1a
mov rbx, r14
mov edi, eax
nop
mov rcx, qword [rbx]
test rcx, rcx
je 0x180067a0a
mov rax, qword [0x180141f68]
test rax, rax
je 0x180067a0a
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add rbx, 8
sub rdi, 1
jne 0x1800679f0
test esi, esi
jle 0x180067a8c
mov rbx, qword [rbp - 0x80]
add rbx, 0x18
mov edi, esi
nop dword [rax + rax]
mov rcx, qword [rbx + 0x50]
test rcx, rcx
je 0x180067a51
mov rax, qword [0x180141f68]
test rax, rax
je 0x180067a4b
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x180067a72
mov rax, qword [0x180141f68]
test rax, rax
je 0x180067a6c
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbx]
test rcx, rcx
je 0x180067a82
call fcn.18006d7d0
mov qword [rbx], r12
add rbx, 0x70
sub rdi, 1
jne 0x180067a30
mov rbx, qword [rbp - 0x80]
test rbx, rbx
je 0x180067ab4
mov rax, qword [0x180141f68]
test rax, rax
je 0x180067aa7
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbp - 0x80], r12
mov rcx, r15
call fcn.180058b40
mov rcx, r15
call fcn.180058c80
cmp dword [r15 + 0x58], 0
mov edi, r12d
jle 0x180067bcf
mov rbx, r12
nop word [rax + rax]
mov r10, qword [r15 + 0x60]
mov rsi, qword [rbx + r10 + 0x18]
test rsi, rsi
je 0x180067bbf
mov r11d, dword [rbx + r10 + 8]
test r11d, r11d
je 0x180067bbf
movzx ecx, word [rbx + r10 + 6]
movzx edx, word [rbx + r10 + 2]
movzx r8d, word [rbx + r10 + 4]
movzx r9d, word [rbx + r10]
movss xmm8, dword [rbx + r10 + 0x14]
movss xmm3, dword [rbx + r10 + 0x10]
lea eax, [rdx + rcx]
movss xmm0, dword [rbx + r10 + 0xc]
movss dword [rsp + 0x58], xmm0
movd xmm7, eax
lea eax, [r9 + r8]
movd xmm5, ecx
mov rcx, rsi
movd xmm4, r8d
movzx r8d, r11w
movd xmm2, edx
xor edx, edx
movd xmm6, eax
cvtdq2ps xmm5, xmm5
movd xmm1, r9d
mulss xmm5, dword [r15 + 0x3c]
cvtdq2ps xmm4, xmm4
cvtdq2ps xmm2, xmm2
mulss xmm4, dword [r15 + 0x38]
cvtdq2ps xmm1, xmm1
addss xmm2, xmm8
addss xmm1, xmm3
cvtdq2ps xmm7, xmm7
cvtdq2ps xmm6, xmm6
mulss xmm7, dword [r15 + 0x3c]
mulss xmm6, dword [r15 + 0x38]
movss dword [rsp + 0x50], xmm7
movss dword [rsp + 0x48], xmm6
movss dword [rsp + 0x40], xmm5
movss dword [rsp + 0x38], xmm4
movss dword [rsp + 0x30], xmm2
movss dword [rsp + 0x28], xmm1
movss dword [rsp + 0x20], xmm8
call fcn.1800594e0
inc edi
add rbx, 0x20
cmp edi, dword [r15 + 0x58]
jl 0x180067ae0
cmp dword [r15 + 0x48], 0
movaps xmm8, xmmword [rsp + 0x290]
movaps xmm7, xmmword [rsp + 0x2a0]
movaps xmm6, xmmword [rsp + 0x2b0]
jle 0x180067c12
mov rbx, r12
mov rax, qword [r15 + 0x50]
mov rcx, qword [rbx + rax]
cmp byte [rcx + 0x58], 0
je 0x180067c05
call fcn.180058f20
inc r12d
add rbx, 8
cmp r12d, dword [r15 + 0x48]
jl 0x180067bf2
mov byte [r15 + 0x19], 1
mov bl, 1
test r13, r13
je 0x180067c39
mov rax, qword [0x180141f68]
test rax, rax
je 0x180067c30
dec dword [rax + 0xf4]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test r14, r14
je 0x180067c59
mov rax, qword [0x180141f68]
test rax, rax
je 0x180067c50
dec dword [rax + 0xf4]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x180067c7a
mov rax, qword [0x180141f68]
test rax, rax
je 0x180067c74
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp - 0x68]
mov r15, qword [rsp + 0x2c0]
mov r14, qword [rsp + 0x2c8]
mov r13, qword [rsp + 0x2d0]
mov r12, qword [rsp + 0x2d8]
mov rdi, qword [rsp + 0x2e0]
mov rsi, qword [rsp + 0x300]
test rcx, rcx
je 0x180067ccb
mov rax, qword [0x180141f68]
test rax, rax
je 0x180067cc5
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rbp - 0x80]
test rax, rax
je 0x180067cef
mov rcx, qword [0x180141f68]
test rcx, rcx
je 0x180067ce6
dec dword [rcx + 0xf4]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
movzx eax, bl
add rsp, 0x2e8
pop rbx
pop rbp
ret