Function at 0x180036270
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, [rax - 0xe8]
sub rsp, 0x1b0
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], xmm12
movaps xmmword [rax - 0xb8], xmm13
movaps xmmword [rax - 0xc8], xmm14
movaps xmmword [rax - 0xd8], xmm15
mov rax, qword [0x180138240]
xor rax, rsp
mov qword [rbp], rax
mov qword [rbp - 0x78], r8
mov r14, rcx
mov qword [rbp - 0x20], rcx
mov rbx, qword [0x1801389c8]
mov r12, rbx
mov qword [rsp + 0x60], rbx
mov rax, qword [rbx + 0x4000]
mov byte [rax + 0xc0], 1
mov rdi, qword [rbx + 0x4000]
mov qword [rbp - 0x50], rdi
cmp byte [rdi + 0xc3], 0
je 0x180036323
xor al, al
jmp 0x180038ba1
movsxd r8, dword [rdi + 0x100]
mov rax, qword [rdi + 0x108]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
call fcn.180003ce0
mov esi, eax
mov dword [rsp + 0x7c], eax
mov rcx, qword [rdi]
cmp dword [rcx + 0x404c], eax
jne 0x180036364
mov r8, r14
mov edx, 0xb
mov ecx, eax
call fcn.180019df0
mov rbx, qword [0x1801389c8]
mov rcx, r14
cmp r14, 0xffffffffffffffff
jae 0x18003638d
nop dword [rax]
movzx edx, byte [rcx]
test dl, dl
je 0x18003638d
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x180036384
cmp byte [rax], dl
je 0x18003638d
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x180036370
movss xmm0, dword [rbx + 0x3d38]
movss xmm1, dword [0x180131498]
xorps xmm10, xmm10
cmp r14, rcx
jne 0x1800363ab
xorps xmm7, xmm7
jmp 0x1800363f3
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r14
movss dword [rsp + 0x20], xmm1
movss xmm3, dword [0x18013148c]
movaps xmm2, xmm0
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 0x3d30]
call fcn.18002a0e0
movss xmm0, dword [rbp - 0x40]
addss xmm0, dword [0x1801313d0]
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss xmm0, dword [rbp - 0x3c]
movss dword [rbp - 0x38], xmm7
movss xmm6, dword [r12 + 0x3928]
movaps xmm3, xmm6
addss xmm3, xmm6
addss xmm3, xmm0
call fcn.1800130b0
movaps xmm2, xmm0
mov rdx, qword [rbp + 0x110]
mov rdx, qword [rdx]
lea rcx, [rbp - 0x40]
call fcn.180013130
comiss xmm7, xmm10
jbe 0x18003643d
movaps xmm1, xmm7
addss xmm1, dword [r12 + 0x393c]
jmp 0x180036440
xorps xmm1, xmm1
movss xmm12, dword [rdi + 0x114]
movss dword [rsp + 0x74], xmm12
movaps xmm8, xmm12
movss xmm7, dword [rbp - 0x3c]
addss xmm8, xmm7
movss xmm11, dword [rdi + 0x110]
movss dword [rbp - 0x68], xmm11
movaps xmm13, xmm11
movss xmm9, dword [rbp - 0x40]
addss xmm13, xmm9
movss dword [rbp - 0x40], xmm13
movss dword [rbp - 0x10], xmm11
movss dword [rbp - 0xc], xmm12
movss dword [rbp - 8], xmm13
movss dword [rbp - 4], xmm8
movaps xmm0, xmm12
addss xmm0, xmm7
addss xmm1, xmm9
addss xmm1, xmm11
subss xmm0, xmm12
subss xmm1, xmm11
movss dword [rbp - 0x70], xmm1
movss dword [rbp - 0x6c], xmm0
movaps xmm1, xmm6
lea rcx, [rbp - 0x70]
call fcn.180012e90
mov r8d, dword [r12 + 0x49b4]
mov edx, esi
lea rcx, [rbp - 0x10]
call fcn.180006f90
mov byte [rsp + 0x58], al
mov rdx, r12
test al, al
je 0x1800364f6
mov dword [r12 + 0x4ee8], 1
mov rdi, qword [0x1801389c8]
xor r9d, r9d
test esi, esi
je 0x180036515
cmp dword [rdi + 0x4f00], esi
jne 0x180036515
add rdi, 0x4ef8
jmp 0x180036518
mov rdi, r9
mov ecx, dword [rdx + 0x49b4]
mov r8d, 0x80
and ecx, r8d
shl ecx, 7
or ecx, 0x18000010
mov dword [rbp - 0x70], ecx
shr ecx, 0xe
mov dword [rsp + 0x70], ecx
cmp dword [rdx + 0x4064], esi
je 0x180036560
cmp dword [rdx + 0x4b38], esi
jne 0x180036560
test byte [rdx + 0x4b44], 1
jne 0x18003655c
cmp dword [rdx + 0x4b64], 2
jne 0x180036560
mov cl, 1
jmp 0x180036562
xor cl, cl
mov byte [rsp + 0x51], cl
test al, al
je 0x180036577
cmp byte [rdx + 0x3860], r9b
je 0x180036577
mov bl, 1
jmp 0x180036579
xor bl, bl
mov byte [rsp + 0x53], bl
xor r12b, r12b
mov dword [rbp - 0x80], r12d
xor r14b, r14b
mov dword [rsp + 0x78], r14d
test rdi, rdi
je 0x18003659f
cmp byte [rdi + 0xe8c], r9b
je 0x18003659f
mov r13b, 1
jmp 0x1800365a7
xor r13b, r13b
test rdi, rdi
je 0x1800365b2
cmp byte [rdi + 0x6b], 1
je 0x1800365b2
mov r15b, 1
jmp 0x1800365b5
xor r15b, r15b
test bl, bl
jne 0x1800365c4
test cl, cl
jne 0x1800365c4
mov byte [rsp + 0x52], r9b
jmp 0x1800365d1
mov byte [rsp + 0x52], 1
cmp dword [rdx + 0x4064], esi
jne 0x1800365df
test r15b, r15b
jne 0x1800365df
test r13b, r13b
je 0x1800369b1
lea rdi, [rdx + 0x4ef8]
mov dword [rdi + 0xe80], 0xbe99999a
mov byte [rdi + 0xe8c], r9b
mov ecx, dword [rdi + 8]
call fcn.180036190
mov rbx, 0xffffffffffffffff
mov r14, qword [rbp - 0x78]
nop word [rax + rax]
inc rbx
cmp byte [r14 + rbx], 0
jne 0x180036610
test r13b, r13b
jne 0x180036667
lea esi, [rbx + 1]
mov ecx, dword [rdi + 0x3c]
cmp esi, ecx
jle 0x18003664d
test ecx, ecx
je 0x180036638
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18003663d
mov eax, 8
mov edx, esi
cmp eax, esi
cmovg edx, eax
lea rcx, [rdi + 0x38]
call fcn.18001ad30
mov dword [rdi + 0x38], esi
movsxd r8, esi
mov r14, qword [rbp - 0x78]
mov rdx, r14
mov rcx, qword [rdi + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov esi, dword [rsp + 0x7c]
cmp dword [rdi + 8], esi
jne 0x180036698
test r15b, r15b
jne 0x180036698
test r13b, r13b
jne 0x180036698
mov r12b, 1
cmp dword [rdi + 0x10], ebx
jne 0x180036698
cmp byte [rdi + 0x48], r13b
je 0x18003669b
movsxd r8, ebx
mov rdx, r14
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x18003669b
xor r12b, r12b
mov dword [rdi + 8], esi
mov ecx, dword [rdi + 0x1c]
cmp ecx, 0x21
jge 0x1800366cd
test ecx, ecx
je 0x1800366b5
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1800366ba
mov eax, 8
mov edx, 0x21
cmp eax, edx
cmovg edx, eax
lea rcx, [rdi + 0x18]
call fcn.18001ae10
mov dword [rdi + 0x18], 0x21
mov ecx, dword [rdi + 0x2c]
test ecx, ecx
jns 0x1800366f8
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor r9d, r9d
mov edx, r9d
test eax, eax
cmovg edx, eax
lea rcx, [rdi + 0x28]
call fcn.18001ad30
xor r9d, r9d
mov dword [rdi + 0x28], r9d
mov byte [rdi + 0x48], r9b
mov rsi, r14
mov r15, qword [rdi + 0x20]
mov rbx, r15
lea r14, [r15 + 0x3e]
cmp r15, r14
jae 0x180036745
cmp byte [rsi], 0
je 0x180036742
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x54]
call fcn.1800040e0
movsxd rcx, eax
add rsi, rcx
movzx eax, word [rsp + 0x54]
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x180036716
xor r9d, r9d
mov word [rbx], r9w
sub rbx, r15
sar rbx, 1
mov dword [rdi + 0xc], ebx
sub esi, dword [rbp - 0x78]
mov dword [rdi + 0x10], esi
test r12b, r12b
je 0x180036781
mov ecx, ebx
cmp dword [rdi + 0x54], ebx
cmovl ecx, dword [rdi + 0x54]
mov dword [rdi + 0x54], ecx
mov ecx, ebx
cmp dword [rdi + 0x58], ebx
cmovl ecx, dword [rdi + 0x58]
mov dword [rdi + 0x58], ecx
cmp dword [rdi + 0x5c], ebx
cmovl ebx, dword [rdi + 0x5c]
mov dword [rdi + 0x5c], ebx
jmp 0x1800367c6
mov qword [rdi + 0x50], 0
mov dword [rdi + 0xe72], 0x630000
mov dword [rdi + 0xe78], r9d
mov dword [rdi + 0xe7c], 0x3e7
mov qword [rdi + 0x58], 0
mov word [rdi + 0x69], 1
mov dword [rdi + 0x70], r9d
mov byte [rdi + 0x68], 0
mov byte [rdi + 0x6b], 1
mov byte [rdi + 0x60], 0
mov dword [rdi + 0x64], r9d
test r13b, r13b
movzx r13d, byte [rsp + 0x51]
je 0x180036957
mov edx, dword [rdi + 0xc]
mov eax, dword [rdi + 0xe94]
mov ecx, edx
cmp eax, edx
cmovl ecx, eax
mov dword [rdi + 0x54], ecx
mov eax, dword [rdi + 0xe90]
cmp eax, edx
cmovl edx, eax
mov dword [rdi + 0x58], edx
mov dword [rdi + 0x5c], ecx
movzx ebx, byte [rsp + 0x53]
mov r14d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x60]
mov r12d, dword [rbp - 0x80]
movzx ecx, byte [rdx + 0x59]
mov byte [rsp + 0x68], cl
mov r15d, dword [rsp + 0x7c]
movzx esi, byte [rsp + 0x52]
cmp dword [rdx + 0x4064], r15d
je 0x180036866
test sil, sil
je 0x180036859
mov rdx, qword [rbp - 0x50]
mov ecx, r15d
call fcn.180006c10
mov rdx, qword [rbp - 0x50]
mov ecx, r15d
call fcn.180014430
xor edx, edx
mov rcx, qword [rbp - 0x50]
call fcn.18000f590
movzx ecx, byte [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
cmp dword [rdx + 0x4064], r15d
jne 0x1800369bc
test bl, bl
je 0x180036888
mov rax, qword [0x1801389c8]
mov dword [rax + 0x4794], r15d
mov dword [rax + 0x4790], r15d
mov word [rax + 0x4798], 0
or dword [rdx + 0x4970], 3
mov rax, qword [0x1801389c8]
mov dword [rax + 0x417c], r15d
mov dword [rax + 0x4178], r15d
mov word [rax + 0x4180], 0
mov dword [rax + 0x4644], r15d
mov dword [rax + 0x4640], r15d
mov word [rax + 0x4648], 0
mov dword [rax + 0x4134], r15d
mov dword [rax + 0x4130], r15d
mov word [rax + 0x4138], 0
mov dword [rax + 0x4140], r15d
mov dword [rax + 0x413c], r15d
mov word [rax + 0x4144], 0
test cl, cl
je 0x18003690d
mov dword [rax + 0x4800], r15d
mov dword [rax + 0x47fc], r15d
mov word [rax + 0x4804], 0
cmp dword [rdx + 0x4064], r15d
jne 0x1800369bc
test rdi, rdi
jne 0x180036929
call fcn.180006d70
mov rdx, qword [rsp + 0x60]
cmp dword [rdx + 0x4064], r15d
jne 0x1800369bc
cmp byte [rdx + 0x3860], 0
je 0x180036953
movzx r12d, r12b
test sil, sil
mov eax, 1
cmove r12d, eax
mov dword [rbp - 0x80], r12d
mov cl, 1
jmp 0x1800369be
mov r14b, 1
mov dword [rsp + 0x78], r14d
test r13b, r13b
je 0x180036981
test r12b, r12b
je 0x180036979
mov r12, qword [rsp + 0x60]
test byte [r12 + 0x4b44], 4
jne 0x180036981
mov r14b, 1
mov dword [rsp + 0x78], r14d
movzx ebx, byte [rsp + 0x53]
test bl, bl
je 0x180036803
movzx r14d, r14b
mov rdx, qword [rsp + 0x60]
cmp byte [rdx + 0xe5c], 0
mov eax, 1
cmovne r14d, eax
mov dword [rsp + 0x78], r14d
jmp 0x180036808
movzx r13d, byte [rsp + 0x51]
jmp 0x18003680c
xor cl, cl
mov byte [rsp + 0x50], cl
test rdi, rdi
je 0x1800369dd
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x1800369d4
test r14b, r14b
je 0x1800369dd
test cl, cl
je 0x1800369dd
mov r8b, 1
jmp 0x1800369e0
xor r8b, r8b
mov dword [rsp + 0x54], r8d
movzx r12d, r8b
mov byte [rsp + 0x53], 0
mov esi, dword [rsp + 0x70]
test sil, sil
je 0x180036ae6
test rdi, rdi
je 0x180036ae6
test cl, cl
jne 0x180036a11
test r8b, r8b
je 0x180036aef
mov ecx, dword [rdi + 0x1c]
cmp ecx, 0x21
jge 0x180036a40
test ecx, ecx
je 0x180036a28
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180036a2d
mov eax, 8
mov edx, 0x21
cmp eax, edx
cmovg edx, eax
lea rcx, [rdi + 0x18]
call fcn.18001ae10
mov dword [rdi + 0x18], 0x21
mov rax, qword [rbp - 0x78]
mov rsi, rax
mov r15, qword [rdi + 0x20]
mov rbx, r15
lea r14, [r15 + 0x40]
cmp r15, r14
jae 0x180036a90
nop
cmp byte [rsi], 0
je 0x180036a8c
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x54]
call fcn.1800040e0
movsxd rcx, eax
add rsi, rcx
movzx eax, word [rsp + 0x54]
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x180036a60
mov rax, qword [rbp - 0x78]
xor edx, edx
mov word [rbx], dx
sub rbx, r15
sar rbx, 1
mov dword [rdi + 0xc], ebx
sub esi, eax
mov dword [rdi + 0x10], esi
mov ecx, ebx
cmp dword [rdi + 0x54], ebx
cmovl ecx, dword [rdi + 0x54]
mov dword [rdi + 0x54], ecx
mov ecx, ebx
cmp dword [rdi + 0x58], ebx
cmovl ecx, dword [rdi + 0x58]
mov dword [rdi + 0x58], ecx
cmp dword [rdi + 0x5c], ebx
cmovl ebx, dword [rdi + 0x5c]
mov dword [rdi + 0x5c], ebx
mov r8d, edx
cmp ecx, ebx
cmovne r8d, r12d
mov dword [rsp + 0x54], r8d
mov r15d, dword [rsp + 0x7c]
mov rdx, qword [rsp + 0x60]
movzx ecx, byte [rsp + 0x50]
mov esi, dword [rsp + 0x70]
test cl, cl
jne 0x180036af8
test r8b, r8b
jne 0x180036af8
cmp dword [rdx + 0x4064], r15d
jne 0x180036b0d
test sil, sil
jne 0x180036b0d
test rdi, rdi
je 0x180036b0d
cmp byte [rdi + 0x48], sil
mov byte [rsp + 0x6a], 1
jne 0x180036b12
mov byte [rsp + 0x6a], 0
mov ebx, 0x20000c
movss xmm0, dword [0x1801313a4]
cmp dword [rdx + 0x4064], r15d
jne 0x180036f0b
mov byte [rdi + 0xe86], 0
mov dword [rdi + 0x4c], 0x20
mov eax, dword [rbp - 0x70]
mov dword [rdi + 0xe88], eax
cmp byte [rdx + 0xe48], 0
sete al
mov byte [rdx + 0x4071], al
movss xmm1, dword [rdx + 0xe40]
subss xmm1, xmm11
subss xmm1, dword [rdx + 0x3924]
addss xmm1, dword [rdi + 0x50]
movss xmm2, dword [rdx + 0x3d38]
mulss xmm2, xmm0
cmp byte [rsp + 0x78], 0
je 0x180036ba0
xor r14d, r14d
mov dword [rdi + 0x58], r14d
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], r14b
mov byte [rdi + 0xe85], 1
jmp 0x180036e04
movzx eax, byte [rsp + 0x58]
test al, al
je 0x180036d0f
cmp word [rdx + 0x386a], 2
jb 0x180036d0f
cmp byte [rdx + 0xe5d], 0
jne 0x180036d0f
cmp byte [rdi + 0x6b], 0
je 0x180036bd2
movaps xmm2, xmm10
mov rcx, rdi
call fcn.1800344c0
mov dword [rdi + 0x54], eax
mov dword [rdi + 0x58], eax
mov dword [rdi + 0x5c], eax
mov byte [rdi + 0x6a], 0
mov r12, qword [rsp + 0x60]
movzx ecx, word [r12 + 0x386a]
sub ecx, 2
test cl, 1
jne 0x180036ca8
test eax, eax
je 0x180036c18
movsxd rcx, eax
mov rax, qword [rdi + 0x20]
cmp word [rax + rcx*2 - 2], 0xa
je 0x180036c18
xor cl, cl
jmp 0x180036c1a
mov cl, 1
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x180036c26
test cl, cl
jne 0x180036c46
lea rdx, [rdi + 0x54]
mov r8d, ebx
mov rcx, rdi
call fcn.180034980
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x180036c61
cmp dword [rdi + 0x58], eax
jne 0x180036c5e
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x58], eax
jmp 0x180036c61
mov dword [rdi + 0x54], eax
mov edx, dword [rdi + 0x54]
mov rcx, rdi
call fcn.180034100
mov dword [rdi + 0x54], eax
mov dword [rdi + 0x5c], eax
mov eax, dword [rdi + 0xc]
mov edx, dword [rdi + 0x5c]
mov ecx, dword [rdi + 0x58]
cmp ecx, edx
je 0x180036c98
cmp ecx, eax
jle 0x180036c88
mov dword [rdi + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x180036c91
mov dword [rdi + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x180036c98
mov dword [rdi + 0x54], ecx
cmp dword [rdi + 0x54], eax
jle 0x180036d07
mov dword [rdi + 0x54], eax
mov rdx, r12
jmp 0x180036df7
mov r8d, 0x200004
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180034980
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov r8d, 0x600005
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180034980
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov r8d, 0x600001
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180034980
mov byte [rdi + 0xe84], 0
mov rdx, r12
jmp 0x180036df7
cmp byte [rdx + 0x3860], 0
je 0x180036d93
cmp byte [rdi + 0xe85], 0
jne 0x180036d93
test al, al
je 0x180036e01
cmp byte [rdx + 0xe5d], 0
je 0x180036d67
cmp byte [rdi + 0x6b], 0
je 0x180036d3c
movaps xmm2, xmm10
lea rbx, [rdi + 0x5c]
mov eax, dword [rbx]
cmp dword [rdi + 0x58], eax
jne 0x180036d4d
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x58], eax
mov rcx, rdi
call fcn.1800344c0
mov ecx, 0x54
mov rdx, rdi
mov dword [rbx], eax
mov dword [rdx + rcx], eax
jmp 0x180036df2
cmp byte [rdi + 0x6b], 0
je 0x180036d71
movaps xmm2, xmm10
mov rcx, rdi
call fcn.1800344c0
mov dword [rdi + 0x58], eax
mov byte [rdi + 0x6a], 0
lea rbx, [rdi + 0x5c]
mov ecx, 0x54
mov rdx, rdi
mov dword [rbx], eax
mov dword [rdx + rcx], eax
jmp 0x180036df2
cmp byte [rdx + 0xe48], 0
je 0x180036e01
cmp byte [rdi + 0xe85], 0
jne 0x180036e01
movss xmm0, dword [rdx + 0xe8]
ucomiss xmm0, xmm10
jp 0x180036dc5
jne 0x180036dc5
movss xmm0, dword [rdx + 0xec]
ucomiss xmm0, xmm10
jp 0x180036dc5
je 0x180036e01
cmp byte [rdi + 0x6b], 0
je 0x180036dcf
movaps xmm2, xmm10
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x180036ddd
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x58], eax
mov rcx, rdi
call fcn.1800344c0
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0xe84], 1
mov rdx, qword [rsp + 0x60]
mov dword [rdi + 0xe80], 0xbe99999a
xor r14d, r14d
cmp byte [rdi + 0xe85], 0
je 0x180036e1d
cmp byte [rdx + 0xe48], 0
jne 0x180036e1d
mov byte [rdi + 0xe85], 0
cmp byte [rdx + 0xe5c], 0
je 0x180036e2f
cmp byte [rdx + 0xe5e], 0
je 0x180036e3f
cmp byte [rsp + 0x68], 0
je 0x180036e43
cmp byte [rdx + 0xe5f], 0
je 0x180036e43
mov al, 1
jmp 0x180036e45
xor al, al
cmp dword [rdx + 0x38d8], 0
jle 0x180036f0b
test al, al
jne 0x180036ed5
test sil, sil
jne 0x180036ed5
test r13b, r13b
mov r13, qword [rsp + 0x60]
jne 0x180036eda
mov esi, r14d
mov rbx, r14
mov r15d, dword [rbp - 0x70]
nop
mov rax, qword [r13 + 0x38e0]
movzx ecx, word [rbx + rax]
mov dword [rsp + 0x78], ecx
cmp ecx, 9
je 0x180036ebf
mov byte [rsp + 0x28], 0
mov r8d, r15d
lea rdx, [rsp + 0x78]
mov rcx, r13
call fcn.180035f50
test al, al
je 0x180036ebf
lea rdx, [rdi + 0x54]
mov r8d, dword [rsp + 0x78]
mov rcx, rdi
call fcn.180034980
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
inc esi
add rbx, 2
cmp esi, dword [r13 + 0x38d8]
jl 0x180036e70
mov r15d, dword [rsp + 0x7c]
jmp 0x180036eda
mov r13, qword [rsp + 0x60]
mov ecx, dword [r13 + 0x38dc]
test ecx, ecx
jns 0x180036f02
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov edx, r14d
test eax, eax
cmovg edx, eax
lea rcx, [r13 + 0x38d8]
call fcn.18001ae10
mov dword [r13 + 0x38d8], r14d
jmp 0x180036f10
mov r13, qword [rsp + 0x60]
xor cl, cl
mov byte [rsp + 0x58], cl
cmp dword [r13 + 0x4064], r15d
jne 0x180037cfc
cmp byte [r13 + 0x4070], cl
jne 0x180037cfc
cmp byte [rbp - 0x80], cl
jne 0x180037cfc
movaps xmm0, xmm7
subss xmm0, dword [r13 + 0x3928]
divss xmm0, dword [r13 + 0x3d38]
cvttss2si eax, xmm0
mov ecx, 1
cmp eax, ecx
cmovge ecx, eax
mov dword [rdi + 0x64], ecx
movzx eax, byte [r13 + 0xe5d]
neg al
sbb r14d, r14d
and r14d, 0x400000
movzx esi, byte [rsp + 0x68]
test sil, sil
je 0x180036fa8
movzx eax, byte [r13 + 0xe5e]
mov byte [rsp + 0x52], al
cmp byte [r13 + 0xe5f], 0
je 0x180036fb4
cmp byte [r13 + 0xe5c], 0
jne 0x180036fb4
test al, al
jne 0x180036fb4
mov byte [rsp + 0x69], 1
jmp 0x180036fb9
movzx eax, byte [r13 + 0xe5c]
mov byte [rsp + 0x52], al
mov byte [rsp + 0x69], 0
mov ebx, r15d
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x180036fdf
mov rcx, qword [0x1801389c8]
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x180036fdf
mov ebx, dword [rcx + 0x4980]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0xa39
call fcn.180010730
test al, al
je 0x18003700b
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0xa39
call fcn.180012ab0
test al, al
jne 0x18003705d
mov ebx, r15d
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x180037031
mov rcx, qword [0x1801389c8]
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x180037031
mov ebx, dword [rcx + 0x4980]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0x220a
call fcn.180010730
test al, al
je 0x18003706e
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0x220a
call fcn.180012ab0
test al, al
je 0x18003706e
mov r12d, dword [rsp + 0x70]
test r12b, r12b
jne 0x180037073
mov byte [rsp + 0x51], 1
jmp 0x180037078
mov r12d, dword [rsp + 0x70]
mov byte [rsp + 0x51], 0
mov ebx, r15d
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x18003709e
mov rcx, qword [0x1801389c8]
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x18003709e
mov ebx, dword [rcx + 0x4980]
mov r8d, 0x1000
mov edx, ebx
mov ecx, 0xa24
call fcn.180010730
test al, al
je 0x1800370ca
mov r8d, 0x1000
mov edx, ebx
mov ecx, 0xa24
call fcn.180012ab0
test al, al
jne 0x18003711c
mov ebx, r15d
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x1800370f0
mov rcx, qword [0x1801389c8]
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x1800370f0
mov ebx, dword [rcx + 0x4980]
mov r8d, 0x1000
mov edx, ebx
mov ecx, 0x1209
call fcn.180010730
test al, al
je 0x180037123
mov r8d, 0x1000
mov edx, ebx
mov ecx, 0x1209
call fcn.180012ab0
test al, al
je 0x180037123
mov byte [rsp + 0x6d], 1
jmp 0x180037128
mov byte [rsp + 0x6d], 0
mov ebx, r15d
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x18003714e
mov rcx, qword [0x1801389c8]
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x18003714e
mov ebx, dword [rcx + 0x4980]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0xa37
call fcn.180010730
test al, al
je 0x18003717a
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0xa37
call fcn.180012ab0
test al, al
jne 0x1800371cc
mov ebx, r15d
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x1800371a0
mov rcx, qword [0x1801389c8]
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x1800371a0
mov ebx, dword [rcx + 0x4980]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0x2209
call fcn.180010730
test al, al
je 0x1800371d6
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0x2209
call fcn.180012ab0
test al, al
je 0x1800371d6
test r12b, r12b
mov byte [rsp + 0x6e], 1
je 0x1800371db
mov byte [rsp + 0x6e], 0
mov ebx, r15d
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x180037201
mov rcx, qword [0x1801389c8]
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x180037201
mov ebx, dword [rcx + 0x4980]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0xa3b
call fcn.180010730
test al, al
je 0x180037237
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0xa3b
call fcn.180012ab0
test al, al
je 0x180037237
test r12b, r12b
mov byte [rsp + 0x6b], 1
je 0x18003723c
mov byte [rsp + 0x6b], 0
mov ebx, r15d
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x180037262
mov rcx, qword [0x1801389c8]
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x180037262
mov ebx, dword [rcx + 0x4980]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0xa3a
call fcn.180010730
test al, al
je 0x18003728e
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0xa3a
call fcn.180012ab0
test al, al
jne 0x1800372e5
test sil, sil
je 0x1800372ef
mov ebx, r15d
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x1800372b9
mov rcx, qword [0x1801389c8]
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x1800372b9
mov ebx, dword [rcx + 0x4980]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0x2a3b
call fcn.180010730
test al, al
je 0x1800372ef
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0x2a3b
call fcn.180012ab0
test al, al
je 0x1800372ef
test r12b, r12b
mov byte [rsp + 0x6c], 1
je 0x1800372f4
mov byte [rsp + 0x6c], 0
mov ebx, r15d
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x18003731a
mov rcx, qword [0x1801389c8]
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x18003731a
mov ebx, dword [rcx + 0x4980]
mov r8d, 0x1000
mov edx, ebx
mov ecx, 0xa22
call fcn.180010730
test al, al
jne 0x180037335
xor r13b, r13b
jmp 0x18003734d
mov r8d, 0x1000
mov edx, ebx
mov ecx, 0xa22
call fcn.180012ab0
test al, al
setne r13b
mov r12, qword [rsp + 0x60]
test byte [r12 + 8], 2
je 0x180037367
test byte [r12 + 0xc], 1
je 0x180037367
mov sil, 1
jmp 0x18003736a
xor sil, sil
mov ebx, 1
mov r8d, ebx
xor edx, edx
mov ecx, 0x20d
call fcn.1800109d0
test al, al
jne 0x18003739a
mov r8d, ebx
xor edx, edx
mov ecx, 0x273
call fcn.1800109d0
test al, al
jne 0x18003739a
xor r12b, r12b
jmp 0x18003739e
movzx r12d, bl
test sil, sil
je 0x1800373cf
xor r8d, r8d
xor edx, edx
mov ecx, 0x27c
call fcn.1800109d0
test al, al
jne 0x1800373c9
xor r8d, r8d
xor edx, edx
mov ecx, 0x27b
call fcn.1800109d0
test al, al
je 0x1800373cf
movzx r15d, bl
jmp 0x1800373d2
xor r15b, r15b
mov edx, dword [rsp + 0x7c]
mov ebx, edx
lea eax, [rdx + 1]
test eax, 0xfffffffe
jne 0x1800373f9
mov rcx, qword [0x1801389c8]
lea eax, [rdx + 1]
test eax, 0xfffffffe
jne 0x1800373f9
mov ebx, dword [rcx + 0x4980]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0x20e
call fcn.180010730
test al, al
je 0x180037425
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0x20e
call fcn.180012ab0
test al, al
jne 0x18003747d
test sil, sil
je 0x180037481
mov edx, dword [rsp + 0x7c]
mov ebx, edx
lea eax, [rdx + 1]
test eax, 0xfffffffe
jne 0x180037451
mov rcx, qword [0x1801389c8]
lea eax, [rdx + 1]
test eax, 0xfffffffe
jne 0x180037451
mov ebx, dword [rcx + 0x4980]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0x27a
call fcn.180010730
test al, al
je 0x180037481
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0x27a
call fcn.180012ab0
test al, al
je 0x180037481
mov bl, 1
jmp 0x180037483
xor bl, bl
mov esi, 1
mov r8d, esi
xor edx, edx
mov ecx, 0x201
call fcn.1800109d0
test al, al
je 0x18003750b
cmp byte [rsp + 0x69], 0
je 0x1800374a9
mov eax, 0x200004
jmp 0x1800374bb
mov eax, 0x200000
cmp byte [rsp + 0x52], 0
mov ecx, 0x20000c
cmovne eax, ecx
or r14d, eax
lea rdx, [rdi + 0x54]
mov r8d, r14d
mov rcx, rdi
call fcn.180034980
mov byte [rdi + 0xe84], sil
mov dword [rdi + 0xe80], 0xbe99999a
mov r13, qword [rsp + 0x60]
movzx r8d, byte [rsp + 0x50]
mov edx, dword [rsp + 0x54]
xor cl, cl
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x180037cef
test r8b, r8b
je 0x180037cef
mov al, 1
jmp 0x180037cf1
mov r8d, esi
xor edx, edx
mov ecx, 0x202
call fcn.1800109d0
test al, al
je 0x180037549
cmp byte [rsp + 0x69], 0
je 0x18003752f
mov ecx, 0x200005
or r14d, ecx
jmp 0x1800374be
mov ecx, 0x200001
mov eax, 0x20000d
cmp byte [rsp + 0x52], 0
cmovne ecx, eax
or r14d, ecx
jmp 0x1800374be
mov r8d, esi
xor edx, edx
mov ecx, 0x203
call fcn.1800109d0
mov r8d, esi
xor edx, edx
mov ecx, 0x204
call fcn.1800109d0
mov r8d, esi
xor edx, edx
mov ecx, 0x205
call fcn.1800109d0
mov r8d, esi
xor edx, edx
mov ecx, 0x206
call fcn.1800109d0
mov r8d, esi
xor edx, edx
mov ecx, 0x207
call fcn.1800109d0
test al, al
je 0x1800375dd
mov eax, r14d
or eax, 0x200006
or r14d, 0x200004
mov r13, qword [rsp + 0x60]
cmp byte [r13 + 0xe5c], 0
cmovne r14d, eax
mov r8d, r14d
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180034980
mov byte [rdi + 0xe84], sil
mov dword [rdi + 0xe80], 0xbe99999a
jmp 0x1800374e3
mov r8d, esi
xor edx, edx
mov ecx, 0x208
call fcn.1800109d0
test al, al
je 0x180037614
mov eax, r14d
or eax, 0x200007
mov r8d, 0x200005
or r8d, r14d
mov r13, qword [rsp + 0x60]
cmp byte [r13 + 0xe5c], 0
cmovne r8d, eax
jmp 0x1800375bb
mov r8d, esi
xor edx, edx
mov ecx, 0x20a
call fcn.1800109d0
movzx esi, byte [rsp + 0x51]
test al, al
je 0x18003768c
cmp byte [rsp + 0x70], 0
jne 0x18003768c
test sil, sil
jne 0x18003768c
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18003766a
cmp byte [rsp + 0x52], sil
je 0x18003766a
lea rdx, [rdi + 0x54]
mov r8d, 0x60000d
mov rcx, rdi
call fcn.180034980
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
or r14d, 0x200008
lea rdx, [rdi + 0x54]
mov r8d, r14d
mov rcx, rdi
call fcn.180034980
mov byte [rdi + 0xe84], 1
jmp 0x1800374d4
xor edx, edx
mov ecx, 0x20b
lea r8d, [rdx + 1]
call fcn.1800109d0
test al, al
je 0x180037761
cmp byte [rsp + 0x70], 0
jne 0x180037761
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x1800376e1
cmp byte [rsp + 0x52], 0
je 0x180037712
lea rdx, [rdi + 0x54]
mov r8d, 0x60000c
mov rcx, rdi
call fcn.180034980
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov r13, qword [rsp + 0x60]
or r14d, 0x200009
lea rdx, [rdi + 0x54]
mov r8d, r14d
mov rcx, rdi
call fcn.180034980
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
jmp 0x1800374e3
cmp byte [rsp + 0x68], 0
je 0x1800376e1
mov r13, qword [rsp + 0x60]
cmp byte [r13 + 0xe5f], 0
je 0x1800376e6
cmp byte [r13 + 0xe5e], 0
jne 0x1800376e6
cmp byte [r13 + 0xe5c], 0
jne 0x1800376e6
lea rdx, [rdi + 0x54]
mov r8d, 0x600004
mov rcx, rdi
call fcn.180034980
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
jmp 0x1800376e6
test r12b, r12b
jne 0x180037cb9
test r15b, r15b
jne 0x180037cb9
test bl, bl
je 0x180037794
mov cl, 1
mov byte [rsp + 0x58], cl
mov byte [rbp - 0x80], cl
xor dl, dl
xor r8b, r8b
mov byte [rsp + 0x50], r8b
mov r13, qword [rsp + 0x60]
jmp 0x1800374ef
movzx eax, byte [rsp + 0x6b]
test al, al
jne 0x180037c80
cmp byte [rsp + 0x6c], al
jne 0x180037c80
test r13b, r13b
je 0x1800377d0
xor r9d, r9d
mov dword [rdi + 0x58], r9d
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], r9b
mov byte [rdi + 0xe84], 1
jmp 0x1800374de
test sil, sil
jne 0x180037a35
cmp byte [rsp + 0x6d], sil
jne 0x180037a35
cmp byte [rsp + 0x6e], sil
je 0x1800374de
mov rcx, qword [0x1801389c8]
mov rax, qword [rcx + 0xa8]
test rax, rax
je 0x180037819
mov rcx, qword [rcx + 0xb8]
call rax
mov rbx, rax
test rax, rax
je 0x1800374de
jmp 0x180037820
lea rbx, [0x1800456cf]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x180037827
movsxd rcx, eax
lea rcx, [rcx*2 + 2]
call fcn.180007200
mov r15, rax
mov qword [rbp - 0x60], rax
xor r12d, r12d
mov r14d, r12d
mov r13, qword [rsp + 0x60]
cmp byte [rbx], r12b
je 0x1800378a4
mov rsi, rax
mov r15d, dword [rbp - 0x70]
nop
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.1800040e0
movsxd rcx, eax
add rbx, rcx
mov byte [rsp + 0x28], 1
mov r8d, r15d
lea rdx, [rbp - 0x70]
mov rcx, r13
call fcn.180035f50
test al, al
je 0x18003789b
movzx eax, word [rbp - 0x70]
mov word [rsi], ax
inc r14d
add rsi, 2
cmp byte [rbx], r12b
jne 0x180037860
mov r15, qword [rbp - 0x60]
movsxd rax, r14d
mov word [r15 + rax*2], r12w
test r14d, r14d
jle 0x1800379b6
mov ecx, dword [rdi + 0xc]
mov r8d, dword [rdi + 0x5c]
mov eax, dword [rdi + 0x58]
cmp eax, r8d
je 0x1800378ea
mov edx, eax
cmp eax, ecx
jle 0x1800378cf
mov dword [rdi + 0x58], ecx
mov edx, ecx
mov r9d, r8d
cmp r8d, ecx
jle 0x1800378dd
mov dword [rdi + 0x5c], ecx
mov r9d, ecx
mov r8d, r9d
mov eax, edx
cmp edx, r9d
jne 0x1800378ea
mov dword [rdi + 0x54], edx
mov r9d, dword [rdi + 0x54]
cmp r9d, ecx
jle 0x1800378f9
mov dword [rdi + 0x54], ecx
mov r9d, ecx
mov ecx, dword [rdi + 0xc]
cmp eax, r8d
je 0x18003792a
mov edx, eax
cmp eax, ecx
jle 0x18003790c
mov dword [rdi + 0x58], ecx
mov edx, ecx
mov r10d, r8d
cmp r8d, ecx
jle 0x18003791a
mov dword [rdi + 0x5c], ecx
mov r10d, ecx
mov r8d, r10d
mov eax, edx
cmp edx, r10d
jne 0x18003792a
mov dword [rdi + 0x54], edx
mov r9d, edx
cmp r9d, ecx
jle 0x180037932
mov dword [rdi + 0x54], ecx
cmp eax, r8d
je 0x18003796e
lea rdx, [rdi + 0x54]
mov rcx, rdi
jge 0x180037956
sub r8d, eax
mov r9d, r8d
mov r8d, eax
call fcn.180034800
mov eax, dword [rdi + 0x58]
mov dword [rdi + 0x5c], eax
jmp 0x180037967
sub eax, r8d
mov r9d, eax
call fcn.180034800
mov eax, dword [rdi + 0x5c]
mov dword [rdi + 0x58], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], r12b
mov r9d, r14d
mov r8, r15
mov edx, dword [rdi + 0x54]
mov rcx, rdi
call fcn.180034330
test al, al
je 0x1800379af
mov esi, dword [rdi + 0x54]
lea rcx, [rdi + 0x74]
xor edx, edx
call fcn.180035a40
test rax, rax
je 0x1800379a7
mov dword [rax], esi
mov dword [rax + 4], r12d
mov dword [rax + 8], r14d
mov dword [rax + 0xc], 0xffffffff
add dword [rdi + 0x54], r14d
mov byte [rdi + 0x6a], r12b
mov byte [rdi + 0xe84], 1
test r15, r15
je 0x180037a27
mov r8, qword [0x1801389c8]
test r8, r8
je 0x180037a27
mov r9d, dword [r8 + 0x3f58]
movsx rdx, word [r8 + 0x60f0]
lea rcx, [r8 + 0x60f4]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x180037a1c
lea ecx, [rdx + 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 + 0x60f0], cx
movsx rax, cx
lea rcx, [r8 + 0x60f4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r12d
inc word [rcx + 6]
inc dword [r8 + 0x60ec]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1800374e3
mov r13, qword [rsp + 0x60]
cmp qword [r13 + 0xb0], 0
je 0x180037bd4
mov esi, dword [rdi + 0x5c]
mov eax, dword [rdi + 0x58]
cmp eax, esi
je 0x180037a61
mov r14d, esi
cmovl r14d, eax
cmovge esi, eax
xor r9d, r9d
jmp 0x180037a6a
xor r9d, r9d
mov r14d, r9d
mov esi, dword [rdi + 0xc]
mov rcx, qword [rdi + 0x20]
movsxd rax, esi
lea r8, [rcx + rax*2]
movsxd rax, r14d
lea rdx, [rcx + rax*2]
mov ecx, r9d
mov r9d, 0x800
mov r12d, 0x80
nop dword [rax + rax]
test r8, r8
je 0x180037a9a
cmp rdx, r8
jae 0x180037abd
movzx eax, word [rdx]
test ax, ax
je 0x180037abd
add rdx, 2
cmp ax, r12w
jae 0x180037ab0
inc ecx
jmp 0x180037a90
cmp ax, r9w
sbb eax, eax
add eax, 3
add ecx, eax
jmp 0x180037a90
lea eax, [rcx + 1]
movsxd rbx, eax
mov rcx, rbx
call fcn.180007200
mov r15, rax
mov rdx, qword [rdi + 0x20]
movsxd rcx, esi
lea r11, [rdx + rcx*2]
movsxd rcx, r14d
lea r10, [rdx + rcx*2]
mov r9, rax
lea rsi, [rax + rbx]
lea rbx, [rsi - 1]
cmp rax, rbx
jae 0x180037b31
test r11, r11
je 0x180037afa
cmp r10, r11
jae 0x180037b31
movzx eax, word [r10]
test ax, ax
je 0x180037b31
mov r8d, eax
add r10, 2
cmp eax, r12d
jae 0x180037b17
mov byte [r9], r8b
inc r9
jmp 0x180037b2c
mov edx, esi
sub edx, r9d
dec edx
mov rcx, r9
call fcn.180004290
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x180037af0
mov byte [r9], 0
mov r8, qword [0x1801389c8]
mov rax, qword [r8 + 0xb0]
test rax, rax
je 0x180037b5b
mov rdx, r15
mov rcx, qword [r8 + 0xb8]
call rax
mov r8, qword [0x1801389c8]
test r15, r15
je 0x180037bc6
test r8, r8
je 0x180037bc6
mov r9d, dword [r8 + 0x3f58]
movsx rdx, word [r8 + 0x60f0]
lea rcx, [rdx*8 + 0x60f4]
add rcx, r8
cmp dword [rcx], r9d
je 0x180037bbb
lea ecx, [rdx + 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 + 0x60f0], cx
movsx rax, cx
lea rcx, [rax*8 + 0x60f4]
add rcx, r8
mov dword [rcx], r9d
xor eax, eax
mov dword [rcx + 4], eax
inc word [rcx + 6]
inc dword [r8 + 0x60ec]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
movzx esi, byte [rsp + 0x51]
test sil, sil
je 0x1800374e3
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x180037bf7
xor eax, eax
mov dword [rdi + 0x58], eax
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], 0
mov byte [rdi + 0xe84], 1
mov r8d, dword [rdi + 0x5c]
mov eax, dword [rdi + 0x58]
cmp eax, r8d
je 0x1800374e3
mov ecx, dword [rdi + 0xc]
cmp eax, ecx
jle 0x180037c1a
mov dword [rdi + 0x58], ecx
mov eax, ecx
cmp r8d, ecx
jle 0x180037c25
mov dword [rdi + 0x5c], ecx
mov r8d, ecx
cmp eax, r8d
jne 0x180037c2d
mov dword [rdi + 0x54], eax
cmp dword [rdi + 0x54], ecx
jle 0x180037c35
mov dword [rdi + 0x54], ecx
cmp eax, r8d
je 0x180037c77
lea rdx, [rdi + 0x54]
mov rcx, rdi
jge 0x180037c63
sub r8d, eax
mov r9d, r8d
mov r8d, eax
call fcn.180034800
mov eax, dword [rdi + 0x58]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], 0
jmp 0x1800374e3
sub eax, r8d
mov r9d, eax
call fcn.180034800
mov eax, dword [rdi + 0x5c]
mov dword [rdi + 0x58], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], 0
jmp 0x1800374e3
mov r8d, eax
xor r8d, 1
add r8d, 0x20000a
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180034980
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x58], eax
jmp 0x1800374de
mov r13, qword [rsp + 0x60]
mov edx, dword [rsp + 0x54]
movzx r8d, byte [rsp + 0x50]
cmp byte [r13 + 0x5c], 0
je 0x180037ce6
xor eax, eax
mov dword [rdi + 0x58], eax
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], 0
jmp 0x1800374ed
mov byte [rbp - 0x80], 1
jmp 0x1800374ed
xor al, al
or dl, al
mov dword [rsp + 0x54], edx
mov r15d, dword [rsp + 0x7c]
xor ebx, ebx
mov r14d, ebx
mov r12d, ebx
cmp dword [r13 + 0x4064], r15d
jne 0x180037fd5
mov eax, dword [rsp + 0x70]
test al, al
jne 0x180037f94
test cl, cl
je 0x180037ef6
mov r9, qword [rdi + 0x40]
mov rax, qword [rbp - 0x78]
mov r8, r9
sub r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180037d46
inc rax
test ecx, ecx
jne 0x180037d33
test edx, edx
je 0x180037ef6
mov r14, r9
mov qword [rbp - 0x60], r9
mov r12d, dword [rdi + 0x38]
dec r12d
mov dword [rsp + 0x78], r12d
mov byte [rsp + 0x53], 1
mov qword [rbp - 0x30], rbx
mov r15d, ebx
mov r13, rbx
mov qword [rbp - 0x28], rbx
test r12d, r12d
jle 0x180037e52
movsxd rsi, r12d
add rsi, r9
mov rbx, r9
xor eax, eax
mov r14d, eax
nop dword [rax + rax]
test rsi, rsi
je 0x180037d9a
cmp rbx, rsi
jae 0x180037db9
cmp byte [rbx], 0
je 0x180037db9
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.1800040e0
movsxd rcx, eax
add rbx, rcx
inc r14d
jmp 0x180037d90
lea r15d, [r14 + 1]
test r15d, r15d
jle 0x180037dea
mov ebx, r15d
cmp r15d, 8
mov eax, 8
cmovl ebx, eax
test ebx, ebx
jle 0x180037dea
movsxd rcx, ebx
add rcx, rcx
call fcn.180007200
mov r13, rax
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x2c], ebx
mov dword [rbp - 0x30], r15d
movsxd r14, r12d
mov rbx, qword [rbp - 0x60]
add r14, rbx
mov rsi, r13
movsxd r12, r15d
lea r12, [r12*2 - 2]
add r12, r13
cmp r13, r12
jae 0x180037e44
nop
test r14, r14
je 0x180037e1a
cmp rbx, r14
jae 0x180037e44
cmp byte [rbx], 0
je 0x180037e44
mov r8, r14
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.1800040e0
movsxd rcx, eax
add rbx, rcx
movzx eax, word [rbp - 0x70]
mov word [rsi], ax
add rsi, 2
cmp rsi, r12
jb 0x180037e10
xor ebx, ebx
mov word [rsi], bx
mov r12d, dword [rsp + 0x78]
mov r14, qword [rbp - 0x60]
lea r9d, [r15 - 1]
test r12d, r12d
cmovle r9d, ebx
lea rdx, [rdi + 0x54]
mov r8, r13
mov rcx, rdi
call fcn.180035e90
nop
test r13, r13
je 0x180037eec
mov r8, qword [0x1801389c8]
test r8, r8
je 0x180037ee2
mov r9d, dword [r8 + 0x3f58]
movsx r10, word [r8 + 0x60f0]
lea rdx, [r8 + 0x60f4]
lea rdx, [rdx + r10*8]
cmp dword [rdx], r9d
je 0x180037ed7
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 [r8 + 0x60f0], cx
movsx rax, cx
lea rdx, [r8 + 0x60f4]
lea rdx, [rdx + rax*8]
mov dword [rdx], r9d
mov dword [rdx + 4], 0
inc word [rdx + 6]
inc dword [r8 + 0x60ec]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov r15d, dword [rsp + 0x7c]
mov r13, qword [rsp + 0x60]
mov byte [rdi + 0x48], 1
mov eax, dword [rdi + 0x18]
lea ebx, [rax*4 + 1]
mov ecx, dword [rdi + 0x2c]
cmp ebx, ecx
jle 0x180037f2f
test ecx, ecx
je 0x180037f1a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180037f1f
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rdi + 0x28]
call fcn.18001ad30
mov dword [rdi + 0x28], ebx
mov r10, qword [rdi + 0x20]
mov r9, qword [rdi + 0x30]
movsxd r11, ebx
add r11, r9
lea rbx, [r11 - 1]
cmp r9, rbx
jae 0x180037f8a
nop dword [rax]
movzx eax, word [r10]
test ax, ax
je 0x180037f8a
mov r8d, eax
add r10, 2
cmp eax, 0x80
jae 0x180037f6f
mov byte [r9], r8b
inc r9
jmp 0x180037f85
mov edx, r11d
sub edx, r9d
dec edx
mov rcx, r9
call fcn.180004290
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x180037f50
mov byte [r9], 0
mov eax, dword [rsp + 0x70]
xor ebx, ebx
mov r10, qword [rbp - 0x78]
cmp byte [rsp + 0x58], 0
jne 0x180037fd9
test al, al
jne 0x180037fd9
mov r9, qword [rdi + 0x30]
mov rax, r9
mov r8, r10
sub r8, r9
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180037fc3
inc rax
test ecx, ecx
jne 0x180037fb0
test edx, edx
je 0x180037fd9
mov r14, r9
mov r12d, dword [rdi + 0x10]
mov byte [rsp + 0x53], 1
jmp 0x180037fd9
mov r10, qword [rbp - 0x78]
cmp dword [r13 + 0x5d90], r15d
jne 0x180038090
cmp dword [r13 + 0x4064], r15d
je 0x180038089
mov rax, qword [0x1801389c8]
mov ecx, dword [rax + 0x49b8]
test cl, 0x20
je 0x18003800d
shr ecx, 6
test cl, 1
jmp 0x180038027
mov edx, dword [rax + 0x49b0]
mov ecx, dword [rax + 0x4094]
cmp ecx, edx
jne 0x180038089
test ecx, ecx
je 0x180038089
cmp dword [rax + 0x4064], edx
je 0x180038089
cmp byte [rax + 0x4099], 0
jne 0x180038044
cmp dword [rax + 0x4064], 0
jne 0x180038089
cmp byte [rax + 0x4074], 0
je 0x180038089
cmp byte [rsp + 0x70], 0
jne 0x180038089
mov r9, qword [r13 + 0x5da0]
mov rax, r9
mov r8, r10
sub r8, r9
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180038073
inc rax
test ecx, ecx
jne 0x180038060
test edx, edx
je 0x180038089
mov r14, r9
mov r12d, dword [r13 + 0x5d98]
dec r12d
mov byte [rsp + 0x53], 1
mov dword [r13 + 0x5d90], ebx
test r14, r14
je 0x1800380cc
lea eax, [r12 + 1]
cmp eax, 0x20
mov ecx, 0x20
cmovl ecx, eax
movsxd rbx, ecx
cmp rbx, 1
jb 0x1800380cc
mov r12, qword [rbp - 0x78]
jbe 0x1800380c4
lea r8, [rbx - 1]
mov rdx, r14
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [r12 + rbx - 1], 0
jmp 0x1800380d0
mov r12, qword [rbp - 0x78]
cmp dword [r13 + 0x4064], r15d
jne 0x1800380f1
cmp byte [rbp - 0x80], 0
je 0x1800380e6
call fcn.180006d70
jmp 0x1800380f1
mov dword [r13 + 0x6228], 1
xor r8d, r8d
mov edx, r15d
lea rcx, [rbp - 0x10]
call fcn.180005870
movss xmm15, dword [0x1801313d8]
movaps xmm1, xmm15
mov ecx, 7
call fcn.1800047b0
mov r8d, eax
movss xmm0, dword [r13 + 0x392c]
movss dword [rsp + 0x20], xmm0
mov r9b, 1
movaps xmm1, xmm13
unpcklps xmm1, xmm8
movq rdx, xmm1
movaps xmm0, xmm11
unpcklps xmm0, xmm12
movq rcx, xmm0
call fcn.180005700
movaps xmm14, xmm11
addss xmm14, xmm9
movaps xmm13, xmm12
addss xmm13, xmm7
movaps xmm0, xmm11
addss xmm0, dword [r13 + 0x3924]
movaps xmm1, xmm12
addss xmm1, dword [r13 + 0x3928]
unpcklps xmm0, xmm1
movsd qword [rbp - 0x18], xmm0
cmp byte [rsp + 0x6a], 0
je 0x18003818a
mov r12, qword [rdi + 0x30]
movzx eax, byte [rsp + 0x50]
mov ecx, dword [rsp + 0x54]
test al, al
jne 0x1800382cf
test cl, cl
jne 0x1800382cf
cmp dword [r13 + 0x4064], r15d
jne 0x1800381b2
movsxd rsi, dword [rdi + 0x10]
jmp 0x1800381ca
mov rsi, 0xffffffffffffffff
nop dword [rax]
inc rsi
cmp byte [r12 + rsi], 0
jne 0x1800381c0
add rsi, r12
mov rax, rsi
sub rax, r12
cmp rax, 0x200000
jge 0x1800389e8
movaps xmm1, xmm15
xor ecx, ecx
call fcn.1800047b0
mov r9d, eax
mov rax, qword [rbp - 0x50]
mov rdx, qword [rax + 0x2a8]
mov rcx, rsi
movss xmm2, dword [r13 + 0x3d38]
mov r8, qword [r13 + 0x3d30]
test r9d, 0xff000000
je 0x1800389e8
test rsi, rsi
jne 0x180038231
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [r12 + rcx], 0
jne 0x180038224
add rcx, r12
cmp r12, rcx
je 0x1800389e8
test r8, r8
jne 0x180038247
mov rax, qword [rdx + 0x38]
mov r8, qword [rax + 8]
ucomiss xmm2, xmm10
jp 0x180038258
jne 0x180038258
mov rax, qword [rdx + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm0, xmmword [rdx + 0x88]
movups xmmword [rbp - 0x60], xmm0
comiss xmm0, xmm11
jae 0x18003826f
movss dword [rbp - 0x60], xmm11
movss xmm0, dword [rbp - 0x5c]
comiss xmm0, xmm12
jae 0x180038280
movss dword [rbp - 0x5c], xmm12
comiss xmm14, dword [rbp - 0x58]
ja 0x18003828d
movss dword [rbp - 0x58], xmm14
comiss xmm13, dword [rbp - 0x54]
ja 0x18003829a
movss dword [rbp - 0x54], xmm13
mov byte [rsp + 0x48], 1
movss dword [rsp + 0x40], xmm10
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r12
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
lea r9, [rbp - 0x18]
mov rcx, r8
call fcn.18002a300
jmp 0x1800389e8
movsxd rsi, dword [rdi + 0x10]
add rsi, r12
mov r14, qword [rdi + 0x20]
xorps xmm5, xmm5
xorps xmm6, xmm6
xorps xmm7, xmm7
xor r8d, r8d
mov r10d, r8d
mov ebx, r8d
mov r9d, 0xfffffc18
mov r15d, r9d
mov edx, r8d
test al, al
je 0x18003830c
movsxd rax, dword [rdi + 0x54]
lea r10, [r14 + rax*2]
lea edx, [r8 + 1]
lea r9d, [r8 - 1]
test cl, cl
je 0x180038329
mov ecx, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], ecx
cmovl ecx, dword [rdi + 0x58]
movsxd rax, ecx
lea rbx, [r14 + rax*2]
mov r15d, 0xffffffff
inc edx
mov ecx, r8d
mov rax, r14
movzx r8d, word [r14]
test r8w, r8w
je 0x18003837f
nop dword [rax]
cmp r8w, 0xa
jne 0x180038371
inc ecx
cmp r9d, 0xffffffff
jne 0x18003835d
cmp rax, r10
jb 0x18003835d
mov r9d, ecx
dec edx
test edx, edx
jle 0x18003837f
cmp r15d, 0xffffffff
jne 0x180038371
cmp rax, rbx
jb 0x180038371
mov r15d, ecx
dec edx
test edx, edx
jle 0x18003837f
add rax, 2
movzx r8d, word [rax]
test r8w, r8w
jne 0x180038340
inc ecx
mov r11d, ecx
cmp r9d, 0xffffffff
cmovne r11d, r9d
cmp r15d, 0xffffffff
cmove r15d, ecx
mov rdx, r10
cmp r10, r14
jbe 0x1800383b2
nop dword [rax]
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x1800383b2
mov rdx, rax
cmp rax, r14
ja 0x1800383a0
mov r8, qword [r13 + 0x3d30]
movss xmm2, dword [r13 + 0x3d38]
divss xmm2, dword [r8 + 0x14]
movaps xmm1, xmm5
movaps xmm11, xmm5
cmp rdx, r10
jae 0x180038414
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x1800383eb
maxss xmm1, xmm11
movaps xmm11, xmm5
jmp 0x18003840f
cmp ecx, 0xd
je 0x18003840f
cmp ecx, dword [r8]
jge 0x180038400
mov rax, qword [r8 + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x180038406
movss xmm0, dword [r8 + 0x10]
mulss xmm0, xmm2
addss xmm11, xmm0
cmp rdx, r10
jb 0x1800383d4
maxss xmm11, xmm1
movd xmm12, r11d
cvtdq2ps xmm12, xmm12
mulss xmm12, dword [r13 + 0x3d38]
test r15d, r15d
js 0x1800384c5
mov rdx, rbx
cmp rbx, r14
jbe 0x180038452
nop dword [rax]
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x180038452
mov rdx, rax
cmp rax, r14
ja 0x180038440
movss xmm3, dword [r13 + 0x3d38]
divss xmm3, dword [r8 + 0x14]
movaps xmm2, xmm5
movaps xmm6, xmm5
cmp rdx, rbx
jae 0x1800384b0
nop dword [rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x180038485
maxss xmm2, xmm6
movaps xmm6, xmm5
jmp 0x1800384ab
cmp ecx, 0xd
je 0x1800384ab
cmp ecx, dword [r8]
jge 0x18003849a
mov rax, qword [r8 + 8]
movss xmm1, dword [rax + rcx*4]
jmp 0x1800384a0
movss xmm1, dword [r8 + 0x10]
movaps xmm0, xmm3
mulss xmm0, xmm1
addss xmm6, xmm0
cmp rdx, rbx
jb 0x180038470
movd xmm7, r15d
cvtdq2ps xmm7, xmm7
mulss xmm7, dword [r13 + 0x3d38]
maxss xmm6, xmm2
movzx r15d, byte [rsp + 0x50]
test r15b, r15b
je 0x18003852f
cmp byte [rdi + 0xe84], 0
je 0x18003852f
movaps xmm0, xmm9
mulss xmm0, dword [0x180131388]
subss xmm9, dword [r13 + 0x3924]
movss xmm2, dword [rdi + 0x50]
movaps xmm1, xmm11
comiss xmm2, xmm11
jbe 0x18003850a
subss xmm1, xmm0
movaps xmm0, xmm5
maxss xmm0, xmm1
jmp 0x180038518
subss xmm1, xmm9
comiss xmm1, xmm2
jb 0x180038528
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x50], xmm0
mov byte [rdi + 0xe84], 0
movss xmm10, dword [rdi + 0x50]
cmp byte [rsp + 0x54], 0
je 0x180038876
mov edx, dword [rdi + 0x5c]
mov ecx, dword [rdi + 0x58]
mov eax, edx
cmp ecx, edx
cmovl eax, ecx
cdqe
lea rbx, [r14 + rax*2]
cmovge edx, ecx
movsxd rax, edx
lea r14, [r14 + rax*2]
test r15b, r15b
je 0x180038568
movaps xmm1, xmm15
jmp 0x180038570
movss xmm1, dword [0x1801313a8]
mov ecx, 0x2f
call fcn.1800047b0
mov r15d, eax
movss xmm9, dword [rbp - 0x18]
addss xmm6, xmm9
subss xmm6, xmm10
movss xmm8, dword [rbp - 0x14]
addss xmm8, xmm7
xorps xmm5, xmm5
subss xmm8, xmm5
cmp rbx, r14
jae 0x1800385f6
movss xmm7, dword [0x1801313f8]
movss xmm1, dword [rsp + 0x74]
movss xmm3, dword [r13 + 0x3d38]
movaps xmm0, xmm3
addss xmm0, xmm13
comiss xmm8, xmm0
ja 0x1800385f6
comiss xmm1, xmm8
jbe 0x180038723
cmp rbx, r14
jae 0x180038856
nop dword [rax]
movzx eax, word [rbx]
add rbx, 2
cmp ax, 0xa
je 0x180038856
cmp rbx, r14
jb 0x1800385e0
movzx r15d, byte [rsp + 0x50]
mov rax, rsi
sub rax, r12
cmp rax, 0x200000
jge 0x180038881
movaps xmm1, xmm15
xor ecx, ecx
call fcn.1800047b0
mov r9d, eax
mov rbx, qword [rbp - 0x50]
mov rdx, qword [rbx + 0x2a8]
mov rcx, rsi
subss xmm9, xmm10
movss dword [rbp - 0x60], xmm9
movss xmm0, dword [rbp - 0x14]
xorps xmm6, xmm6
subss xmm0, xmm6
movss dword [rbp - 0x5c], xmm0
movss xmm2, dword [r13 + 0x3d38]
mov r8, qword [r13 + 0x3d30]
test eax, 0xff000000
je 0x180038888
test rsi, rsi
jne 0x18003867d
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [r12 + rcx], 0
jne 0x180038670
add rcx, r12
cmp r12, rcx
je 0x180038888
test r8, r8
jne 0x180038693
mov rax, qword [rdx + 0x38]
mov r8, qword [rax + 8]
ucomiss xmm2, xmm6
jp 0x1800386a3
jne 0x1800386a3
mov rax, qword [rdx + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm0, xmmword [rdx + 0x88]
movups xmmword [rbp - 0x50], xmm0
movss xmm8, dword [rbp - 0x68]
comiss xmm0, xmm8
jae 0x1800386c0
movss dword [rbp - 0x50], xmm8
movss xmm0, dword [rbp - 0x4c]
movss xmm1, dword [rsp + 0x74]
comiss xmm0, xmm1
jae 0x1800386d5
movss dword [rbp - 0x4c], xmm1
comiss xmm14, dword [rbp - 0x48]
ja 0x1800386e2
movss dword [rbp - 0x48], xmm14
comiss xmm13, dword [rbp - 0x44]
ja 0x1800386ef
movss dword [rbp - 0x44], xmm13
mov byte [rsp + 0x48], 1
movss dword [rsp + 0x40], xmm6
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r12
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
lea r9, [rbp - 0x60]
mov rcx, r8
call fcn.18002a300
jmp 0x18003888e
mov rdx, qword [r13 + 0x3d30]
divss xmm3, dword [rdx + 0x14]
movaps xmm4, xmm5
movaps xmm2, xmm5
cmp rbx, r14
jae 0x180038781
nop word [rax + rax]
movzx ecx, word [rbx]
add rbx, 2
cmp ecx, 0xa
je 0x180038777
cmp ecx, 0xd
je 0x180038770
cmp ecx, dword [rdx]
jge 0x180038760
mov rax, qword [rdx + 8]
movss xmm1, dword [rax + rcx*4]
jmp 0x180038765
movss xmm1, dword [rdx + 0x10]
movaps xmm0, xmm3
mulss xmm0, xmm1
addss xmm2, xmm0
cmp rbx, r14
jb 0x180038740
jmp 0x180038781
movaps xmm4, xmm5
maxss xmm4, xmm2
movaps xmm2, xmm5
maxss xmm2, xmm4
comiss xmm5, xmm2
jb 0x1800387b5
cmp dword [rdx], 0x20
jle 0x18003879d
mov rax, qword [rdx + 8]
movss xmm0, dword [rax + 0x80]
jmp 0x1800387a2
movss xmm0, dword [rdx + 0x10]
mulss xmm0, dword [0x1801313a4]
cvttss2si eax, xmm0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
addss xmm2, xmm6
movaps xmm0, xmm8
addss xmm0, xmm7
addss xmm6, xmm5
movss xmm1, dword [0x180131498]
subss xmm1, dword [r13 + 0x3d38]
addss xmm1, xmm8
movss xmm3, dword [rbp - 0x68]
maxss xmm6, xmm3
maxss xmm1, dword [rsp + 0x74]
movss dword [rbp - 0x10], xmm6
movss dword [rbp - 0xc], xmm1
minss xmm2, xmm14
minss xmm0, xmm13
movss dword [rbp - 8], xmm2
movss dword [rbp - 4], xmm0
comiss xmm0, dword [rsp + 0x74]
jbe 0x180038850
comiss xmm13, xmm1
jbe 0x180038850
comiss xmm2, xmm3
jbe 0x180038850
comiss xmm14, xmm6
jbe 0x180038850
xor eax, eax
mov dword [rsp + 0x28], eax
movss dword [rsp + 0x20], xmm5
mov r9d, r15d
lea r8, [rbp - 8]
lea rdx, [rbp - 0x10]
mov rax, qword [rbp - 0x50]
mov rcx, qword [rax + 0x2a8]
call fcn.180026310
movss xmm9, dword [rbp - 0x18]
xorps xmm5, xmm5
movss xmm1, dword [rsp + 0x74]
movaps xmm6, xmm9
subss xmm6, xmm10
addss xmm8, dword [r13 + 0x3d38]
cmp rbx, r14
jb 0x1800385b3
jmp 0x1800385f6
movss xmm9, dword [rbp - 0x18]
jmp 0x1800385fc
xorps xmm6, xmm6
mov rbx, qword [rbp - 0x50]
movss xmm8, dword [rbp - 0x68]
test r15b, r15b
je 0x1800389dd
movss xmm0, dword [r13 + 0x18]
addss xmm0, dword [rdi + 0xe80]
movss dword [rdi + 0xe80], xmm0
cmp byte [r13 + 0x5b], 0
je 0x1800388d7
comiss xmm6, xmm0
jae 0x1800388d7
movss xmm1, dword [0x1801313e0]
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
movss xmm1, dword [0x1801313c4]
comiss xmm1, xmm0
jae 0x1800388d7
xor cl, cl
jmp 0x1800388d9
mov cl, 1
addss xmm11, dword [rbp - 0x18]
subss xmm11, xmm10
cvttss2si eax, xmm11
movd xmm6, eax
cvtdq2ps xmm6, xmm6
movss xmm0, dword [rbp - 0x14]
addss xmm0, xmm12
xorps xmm10, xmm10
subss xmm0, xmm10
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss dword [rbp - 0x10], xmm6
movaps xmm0, xmm7
subss xmm0, dword [r13 + 0x3d38]
addss xmm0, dword [0x1801313a4]
movss dword [rbp - 0xc], xmm0
movaps xmm2, xmm6
addss xmm2, xmm15
movss dword [rbp - 8], xmm2
movaps xmm1, xmm7
subss xmm1, dword [0x1801313e8]
movss dword [rbp - 4], xmm1
movss xmm12, dword [rsp + 0x74]
test cl, cl
je 0x18003899f
comiss xmm1, xmm12
jbe 0x18003899f
comiss xmm13, xmm0
jbe 0x18003899f
comiss xmm2, xmm8
jbe 0x18003899f
comiss xmm14, xmm6
jbe 0x18003899f
movss dword [rbp - 0x60], xmm6
movss dword [rbp - 0x5c], xmm1
movaps xmm1, xmm15
xor ecx, ecx
call fcn.1800047b0
mov r9d, eax
movss dword [rsp + 0x20], xmm15
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x10]
mov rcx, qword [rbx + 0x2a8]
call fcn.1800260a0
cmp byte [rsp + 0x70], 0
jne 0x1800389e8
mov byte [r13 + 0x5f48], 1
subss xmm6, xmm15
movss xmm0, dword [r13 + 0x3d38]
subss xmm7, xmm0
movss dword [r13 + 0x5f4c], xmm6
movss dword [r13 + 0x5f50], xmm7
movss dword [r13 + 0x5f54], xmm0
jmp 0x1800389e8
xorps xmm10, xmm10
movss xmm12, dword [rsp + 0x74]
cmp byte [r13 + 0x6008], 0
je 0x180038b62
mov rdi, qword [0x1801389c8]
mov r14, qword [rdi + 0x4000]
xor eax, eax
mov qword [rdi + 0x6030], rax
mov qword [rdi + 0x6028], rax
test rsi, rsi
jne 0x180038a3f
mov rsi, r12
cmp r12, 0xffffffffffffffff
jae 0x180038a3f
movzx ecx, byte [rsi]
test cl, cl
je 0x180038a3f
lea rax, [rsi + 1]
cmp cl, 0x23
jne 0x180038a36
cmp byte [rax], cl
je 0x180038a3f
mov rsi, rax
cmp rax, 0xffffffffffffffff
jb 0x180038a22
movss xmm0, dword [rdi + 0x3928]
addss xmm0, dword [rdi + 0x6038]
addss xmm0, xmm15
movss xmm1, dword [rbp - 0x14]
movss dword [rdi + 0x6038], xmm1
comiss xmm1, xmm0
jbe 0x180038a79
lea rcx, [0x1800465c4]
call fcn.180018760
mov byte [rdi + 0x603c], 1
lea r8, [0x180130de1]
lea rdx, [0x180130de0]
lea rcx, [rbp - 0x18]
call fcn.1800187a0
mov eax, dword [r14 + 0x198]
mov ecx, dword [rdi + 0x6040]
cmp ecx, eax
jle 0x180038aa9
mov dword [rdi + 0x6040], eax
mov ecx, eax
mov r14d, dword [r14 + 0x198]
sub r14d, ecx
mov r13d, 1
nop dword [rax]
mov r8, rsi
sub r8, r12
mov edx, 0xa
mov rcx, r12
call sub.VCRUNTIME140.dll_memchr
mov rbx, rsi
test rax, rax
cmovne rbx, rax
cmp r12, rbx
jne 0x180038ae7
cmp rbx, rsi
je 0x180038b46
mov r9d, ebx
sub r9d, r12d
cmp byte [rdi + 0x603c], 0
lea edx, [r14*4]
jne 0x180038b01
mov edx, r13d
mov qword [rsp + 0x20], r12
lea r8, [0x1800456cf]
lea rcx, str._s_.s
call fcn.180018760
mov byte [rdi + 0x603c], 0
cmp byte [rbx], 0xa
jne 0x180038b38
lea rcx, [0x1800465c4]
call fcn.180018760
mov byte [rdi + 0x603c], r13b
cmp rbx, rsi
je 0x180038b46
lea r12, [rbx + 1]
jmp 0x180038ac0
lea r8, [0x180130ddd]
lea rdx, [0x180130ddc]
lea rcx, [rbp - 0x18]
call fcn.1800187a0
mov r13, qword [rsp + 0x60]
movss xmm0, dword [rbp - 0x38]
comiss xmm0, xmm10
jbe 0x180038b9c
movss xmm0, dword [rbp - 0x40]
addss xmm0, dword [r13 + 0x393c]
addss xmm12, dword [r13 + 0x3928]
mov r9b, 1
xor r8d, r8d
mov rdx, qword [rbp - 0x20]
unpcklps xmm0, xmm12
movq rcx, xmm0
call fcn.180004b10
movzx eax, byte [rsp + 0x53]
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.180043220
lea r11, [rsp + 0x1b0]
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 xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret