Function at 0x18003aeb0
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 - 0x1d8]
sub rsp, 0x2a0
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 [0x180053040]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov qword [rbp - 0x70], r8
mov r13, rcx
mov qword [rbp - 0x18], rcx
mov rbx, qword [0x180054d20]
mov r15, rbx
mov qword [rsp + 0x78], rbx
mov rax, qword [rbx + 0x3ed0]
mov byte [rax + 0xb8], 1
mov r14, qword [rbx + 0x3ed0]
mov qword [rbp - 0x78], r14
cmp byte [r14 + 0xbb], 0
jne 0x18003b41b
mov r12d, dword [rbp + 0x208]
mov edi, r12d
shr edi, 0x1a
and dil, 1
mov dword [rsp + 0x74], edi
mov eax, r12d
shr eax, 0xe
and al, 1
mov dword [rsp + 0x60], eax
mov eax, r12d
shr eax, 0xf
and al, 1
mov dword [rbp - 0x44], eax
mov eax, r12d
shr eax, 0x10
not al
and al, 1
mov dword [rbp - 0x50], eax
mov eax, r12d
shr eax, 0x12
and al, 1
mov dword [rbp - 0x2c], eax
test dil, dil
je 0x18003afb9
call fcn.180013980
mov rbx, qword [0x180054d20]
movsxd r8, dword [r14 + 0xf0]
mov rax, qword [r14 + 0xf8]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
mov rcx, r13
call fcn.180004260
mov esi, eax
mov dword [rsp + 0x6c], eax
mov rcx, qword [r14]
cmp dword [rcx + 0x3f18], eax
jne 0x18003affd
mov r8, r13
mov edx, 0xb
mov ecx, eax
call fcn.18001adf0
mov rbx, qword [0x180054d20]
mov rcx, r13
cmp r13, 0xffffffffffffffff
jae 0x18003b023
movzx edx, byte [rcx]
test dl, dl
je 0x18003b023
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x18003b01a
cmp byte [rax], dl
je 0x18003b023
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x18003b006
movss xmm0, dword [rbx + 0x3c08]
movss xmm1, dword [0x18004ba40]
movss dword [rbp - 0x24], xmm1
movss xmm10, dword [0x18004ba30]
xorps xmm7, xmm7
cmp r13, rcx
jne 0x18003b04f
xorps xmm8, xmm8
jmp 0x18003b095
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r13
movss dword [rsp + 0x20], xmm1
movaps xmm3, xmm10
movaps xmm2, xmm0
lea rdx, [rbp - 0x60]
mov rcx, qword [rbx + 0x3c00]
call fcn.180030200
movss xmm0, dword [rbp - 0x60]
addss xmm0, dword [0x18004b974]
cvttss2si eax, xmm0
movd xmm8, eax
cvtdq2ps xmm8, xmm8
movss xmm0, dword [rbp - 0x5c]
movss dword [rbp - 0x20], xmm8
test dil, dil
je 0x18003b0b1
movss xmm0, dword [r15 + 0x3c08]
mulss xmm0, dword [0x18004b9b8]
movss xmm6, dword [r15 + 0x3810]
movaps xmm3, xmm6
addss xmm3, xmm6
addss xmm3, xmm0
mov rax, qword [rbx + 0x3ed0]
test byte [rbx + 0x4758], 1
je 0x18003b0df
movss xmm0, dword [rbx + 0x475c]
jmp 0x18003b0e7
movss xmm0, dword [rax + 0x1bc]
movss xmm2, dword [0x18004b97c]
comiss xmm7, xmm0
jbe 0x18003b12b
movss xmm1, dword [rax + 0x250]
cmp qword [rax + 0x1a8], 0
jne 0x18003b110
cmp qword [rbx + 0x4b30], 0
je 0x18003b118
movss xmm1, dword [rax + 0x220]
subss xmm1, dword [rax + 0x100]
addss xmm1, xmm0
movaps xmm0, xmm2
maxss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mov rdx, qword [rbp + 0x200]
mov rdx, qword [rdx]
lea rcx, [rbp - 0x60]
call fcn.180013860
comiss xmm8, xmm7
jbe 0x18003b15e
movaps xmm1, xmm8
addss xmm1, dword [r15 + 0x3824]
jmp 0x18003b161
xorps xmm1, xmm1
movss xmm13, dword [r14 + 0x104]
movss dword [rbp - 0x68], xmm13
movaps xmm0, xmm13
movss xmm8, dword [rbp - 0x5c]
movss dword [rbp - 0x28], xmm8
addss xmm0, xmm8
movss xmm11, dword [r14 + 0x100]
movss dword [rbp - 0x38], xmm11
movaps xmm12, xmm11
movss xmm9, dword [rbp - 0x60]
movss dword [rbp - 0x30], xmm9
addss xmm12, xmm9
movss dword [rbp - 0x34], xmm12
movss dword [rbp - 0x10], xmm11
movss dword [rbp - 0xc], xmm13
movss dword [rbp - 8], xmm12
movss dword [rbp - 4], xmm0
movaps xmm2, xmm13
addss xmm2, xmm8
addss xmm1, xmm9
addss xmm1, xmm11
movss dword [rbp + 0x80], xmm11
movss dword [rbp + 0x84], xmm13
movss dword [rbp + 0x88], xmm1
movss dword [rbp + 0x8c], xmm2
mov rbx, r14
mov qword [rbp - 0x60], rbx
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
subss xmm2, xmm13
subss xmm1, xmm11
test dil, dil
je 0x18003b4e4
movss dword [rbp - 0x60], xmm1
movss dword [rbp - 0x5c], xmm2
movaps xmm1, xmm6
lea rcx, [rbp - 0x60]
call fcn.1800133e0
mov r9d, 0x400
lea r8, [rbp - 0x10]
mov edx, esi
lea rcx, [rbp + 0x80]
call fcn.180013550
test al, al
je 0x18003b416
mov r13d, dword [r15 + 0x4774]
movups xmm0, xmmword [r15 + 0x476c]
movups xmmword [rbp + 0xb0], xmm0
movss dword [r14 + 0x100], xmm11
movss dword [r14 + 0x104], xmm13
mov rbx, qword [0x180054d20]
mov dword [rbp + 0x80], 3
movups xmm0, xmmword [rbx + 0x38dc]
movups xmmword [rbp + 0x84], xmm0
lea rcx, [rbx + 0x4818]
lea rdx, [rbp + 0x80]
call fcn.18001b550
movups xmm0, xmmword [r15 + 0x391c]
movups xmmword [rbx + 0x38dc], xmm0
movss xmm6, dword [r15 + 0x3814]
mov rbx, qword [0x180054d20]
lea rcx, [rbx + 0x4828]
movss xmm0, dword [rbx + 0x37fc]
mov dword [rbp - 0x60], 7
movss dword [rbp - 0x5c], xmm0
lea rdx, [rbp - 0x60]
call fcn.18001b460
movss dword [rbx + 0x37fc], xmm6
movss xmm6, dword [r15 + 0x3818]
mov rbx, qword [0x180054d20]
lea rcx, [rbx + 0x4828]
movss xmm0, dword [rbx + 0x3800]
mov dword [rbp - 0x60], 8
movss dword [rbp - 0x5c], xmm0
lea rdx, [rbp - 0x60]
call fcn.18001b460
movss dword [rbx + 0x3800], xmm6
mov rbx, qword [0x180054d20]
lea rcx, [rbx + 0x4828]
movss xmm1, dword [rbx + 0x37d8]
movss xmm0, dword [rbx + 0x37dc]
mov dword [rbp - 0x60], 2
movss dword [rbp - 0x5c], xmm1
movss dword [rbp - 0x58], xmm0
lea rdx, [rbp - 0x60]
call fcn.18001b460
xor r12d, r12d
mov qword [rbx + 0x37d8], r12
movss xmm1, dword [rbp - 4]
movss xmm13, dword [rbp - 0xc]
movss dword [rbp - 0x68], xmm13
subss xmm1, xmm13
movss xmm6, dword [rbp - 8]
movss dword [rbp - 0x34], xmm6
movaps xmm0, xmm6
movss xmm11, dword [rbp - 0x10]
movss dword [rbp - 0x38], xmm11
subss xmm0, xmm11
movss dword [rbp - 0x60], xmm0
movss dword [rbp - 0x5c], xmm1
lea r8, [rbp - 0x60]
mov edx, esi
mov rcx, qword [rbp - 0x18]
call fcn.18000b110
movzx ebx, al
lea ecx, [r12 + 3]
call fcn.180004b30
mov r8, qword [0x180054d20]
movsxd rax, dword [r8 + 0x4818]
cmp eax, 1
jl 0x18003b40d
lea rdx, [rax + rax*4]
mov rcx, qword [r8 + 0x4820]
movsxd rax, dword [rcx + rdx*4 - 0x14]
add rax, rax
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
movups xmmword [r8 + rax*8 + 0x38ac], xmm0
dec dword [r8 + 0x4818]
test bl, bl
jne 0x18003b47f
call fcn.18000b310
call fcn.180013ab0
xor al, al
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.1800411f0
lea r11, [rsp + 0x2a0]
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
mov rbx, qword [r15 + 0x3ed0]
mov qword [rbp - 0x60], rbx
movsx ecx, word [rbx + 0x15e]
mov eax, dword [rbx + 0x158]
bts ecx, eax
mov word [rbx + 0x15e], cx
movss xmm0, dword [rbx + 0x100]
addss xmm0, dword [r15 + 0x380c]
movss dword [rbx + 0x100], xmm0
movss xmm1, dword [r15 + 0x3810]
addss xmm1, dword [rbx + 0x104]
movss dword [rbx + 0x104], xmm1
subss xmm9, dword [rbx + 0xac]
movss dword [rbp - 0x30], xmm9
jmp 0x18003b54d
movss dword [rbp - 0x40], xmm1
movss dword [rbp - 0x3c], xmm2
movaps xmm1, xmm6
lea rcx, [rbp - 0x40]
call fcn.1800133e0
bt r12d, 0x1c
jb 0x18003b543
mov r9d, 0x400
lea r8, [rbp - 0x10]
mov edx, esi
lea rcx, [rbp + 0x80]
call fcn.180013550
test al, al
je 0x18003b41b
movss xmm0, dword [rbp - 8]
movss dword [rbp - 0x34], xmm0
movss xmm13, dword [rbp - 0xc]
movss dword [rbp - 0x68], xmm13
movss xmm11, dword [rbp - 0x10]
movss dword [rbp - 0x38], xmm11
mov r13d, dword [r15 + 0x4774]
xor r12d, r12d
mov edx, esi
lea rcx, [rbp - 0x10]
call fcn.180007e20
movzx ecx, al
mov byte [rsp + 0x64], al
test al, al
je 0x18003b56e
mov dword [r15 + 0x4a70], 1
mov rdi, qword [0x180054d20]
test esi, esi
je 0x18003b58a
cmp dword [rdi + 0x4c08], esi
jne 0x18003b58a
add rdi, 0x4c00
jmp 0x18003b58d
mov rdi, r12
shr r13d, 8
and r13b, 1
mov eax, dword [r15 + 0x3f30]
cmp eax, esi
je 0x18003b5c4
cmp dword [r15 + 0x48c0], esi
jne 0x18003b5c4
test byte [r15 + 0x48cc], 1
jne 0x18003b5bd
cmp dword [r15 + 0x48e4], 2
jne 0x18003b5c4
mov byte [rsp + 0x52], 1
jmp 0x18003b5c9
mov byte [rsp + 0x52], 0
test cl, cl
je 0x18003b5dc
cmp byte [r15 + 0x3748], 0
je 0x18003b5dc
mov r12b, 1
jmp 0x18003b5df
xor r12b, r12b
mov byte [rsp + 0x54], r12b
mov r8d, dword [rsp + 0x74]
test r8b, r8b
je 0x18003b64f
test rdi, rdi
je 0x18003b64f
test eax, eax
jne 0x18003b64f
movsxd r8, dword [rbx + 0xf0]
mov rax, qword [rbx + 0xf8]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
lea rcx, str.SCROLLY
call fcn.180004260
mov ebx, eax
mov rcx, qword [rbp - 0x60]
mov rcx, qword [rcx]
cmp dword [rcx + 0x3f18], eax
jne 0x18003b63c
lea r8, str.SCROLLY
mov edx, 0xb
mov ecx, eax
call fcn.18001adf0
cmp dword [r15 + 0x3f60], ebx
jne 0x18003b64a
mov sil, 1
jmp 0x18003b65c
mov r8d, dword [rsp + 0x74]
xor sil, sil
test r8b, r8b
je 0x18003b6d2
test rdi, rdi
je 0x18003b6d2
mov rax, qword [rbp - 0x60]
movsxd r8, dword [rax + 0xf0]
mov rax, qword [rax + 0xf8]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
lea rcx, str.SCROLLY
call fcn.180004260
mov ebx, eax
mov rcx, qword [rbp - 0x60]
mov rcx, qword [rcx]
cmp dword [rcx + 0x3f18], eax
jne 0x18003b6a5
lea r8, str.SCROLLY
mov edx, 0xb
mov ecx, eax
call fcn.18001adf0
mov r8d, dword [rsp + 0x74]
cmp dword [r15 + 0x3f30], ebx
jne 0x18003b6d2
mov bl, 1
mov byte [rsp + 0x53], bl
mov byte [rsp + 0x55], 0
mov byte [rsp + 0x68], 0
mov rax, qword [rbp - 0x60]
movss xmm10, dword [rax + 0x88]
jmp 0x18003b6fa
mov byte [rsp + 0x55], 0
mov byte [rsp + 0x68], 0
xor bl, bl
mov byte [rsp + 0x53], bl
test r8b, r8b
je 0x18003b6f6
mov rax, qword [rbp - 0x60]
movss xmm10, dword [rax + 0x88]
jmp 0x18003b6fa
mov byte [rsp + 0x53], bl
test rdi, rdi
je 0x18003b70f
movzx eax, r8b
xor al, 1
cmp byte [rdi + 0x6b], al
je 0x18003b70f
mov r15b, 1
jmp 0x18003b712
xor r15b, r15b
test r12b, r12b
jne 0x18003b73c
test sil, sil
jne 0x18003b73c
cmp byte [rsp + 0x52], sil
jne 0x18003b73c
test r13b, r13b
jne 0x18003b73c
mov byte [rsp + 0x51], r13b
test bl, bl
jne 0x18003b741
mov byte [rsp + 0x5c], bl
mov rax, qword [rsp + 0x78]
jmp 0x18003b757
mov byte [rsp + 0x51], 1
mov byte [rsp + 0x5c], 1
mov rax, qword [rsp + 0x78]
mov edx, dword [rsp + 0x6c]
cmp dword [rax + 0x3f30], edx
jne 0x18003b760
test r15b, r15b
je 0x18003b9ad
lea rdi, [rax + 0x4c00]
mov dword [rdi + 0xe80], 0xbe99999a
mov ecx, dword [rdi + 8]
call fcn.18003adf0
mov rbx, 0xffffffffffffffff
mov rax, qword [rbp - 0x70]
inc rbx
cmp byte [rax + rbx], 0
jne 0x18003b784
lea esi, [rbx + 1]
mov ecx, dword [rdi + 0x3c]
cmp esi, ecx
jle 0x18003b7bb
test ecx, ecx
je 0x18003b7a6
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18003b7ab
mov eax, 8
mov edx, esi
cmp eax, esi
cmovg edx, eax
lea rcx, [rdi + 0x38]
call fcn.18001ba60
mov dword [rdi + 0x38], esi
movsxd r8, esi
mov rsi, qword [rbp - 0x70]
mov rdx, rsi
mov rcx, qword [rdi + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov r14d, dword [rsp + 0x6c]
cmp dword [rdi + 8], r14d
jne 0x18003b803
test r15b, r15b
jne 0x18003b803
mov r12b, 1
cmp dword [rdi + 0x10], ebx
jne 0x18003b803
cmp byte [rdi + 0x48], r15b
je 0x18003b806
movsxd r8, ebx
mov rdx, rsi
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x18003b806
xor r12b, r12b
mov dword [rdi + 8], r14d
mov ecx, dword [rdi + 0x1c]
cmp ecx, 0x42
jge 0x18003b839
test ecx, ecx
je 0x18003b821
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18003b826
mov eax, 8
mov edx, 0x42
cmp eax, edx
cmovg edx, eax
lea rcx, [rdi + 0x18]
call fcn.18001baf0
mov dword [rdi + 0x18], 0x42
mov ecx, dword [rdi + 0x2c]
test ecx, ecx
jns 0x18003b862
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
mov edx, ecx
test eax, eax
cmovg edx, eax
lea rcx, [rdi + 0x28]
call fcn.18001ba60
xor ecx, ecx
mov dword [rdi + 0x28], ecx
mov byte [rdi + 0x48], cl
mov r15, qword [rdi + 0x20]
mov rbx, r15
lea r14, [r15 + 0x80]
cmp r15, r14
jae 0x18003b8ac
nop dword [rax]
cmp byte [rsi], 0
je 0x18003b8aa
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x40]
call fcn.180004580
movsxd rcx, eax
add rsi, rcx
movzx eax, word [rbp - 0x40]
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x18003b880
xor ecx, ecx
mov word [rbx], cx
sub rbx, r15
sar rbx, 1
mov dword [rdi + 0xc], ebx
mov rax, qword [rbp - 0x70]
sub esi, eax
mov dword [rdi + 0x10], esi
mov r8d, dword [rsp + 0x74]
test r12b, r12b
je 0x18003b8ef
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 0x18003b936
mov qword [rdi + 0x50], 0
mov dword [rdi + 0xe72], 0x630000
mov dword [rdi + 0xe78], ecx
mov dword [rdi + 0xe7c], 0x3e7
mov qword [rdi + 0x58], 0
mov word [rdi + 0x69], 1
mov dword [rdi + 0x70], ecx
mov byte [rdi + 0x68], 0
movzx eax, r8b
xor al, 1
mov byte [rdi + 0x6b], al
mov byte [rdi + 0x60], 0
mov dword [rdi + 0x64], ecx
test r8b, r8b
jne 0x18003b98e
mov edx, dword [rbp + 0x208]
test dl, 0x10
mov eax, dword [rsp + 0x68]
movzx eax, al
mov ecx, 1
cmovne eax, ecx
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x78]
cmp byte [rsp + 0x52], r8b
je 0x18003b975
test r12b, r12b
je 0x18003b971
test byte [rax + 0x48cc], 4
jne 0x18003b975
mov byte [rsp + 0x68], cl
test r13b, r13b
jne 0x18003b98a
cmp byte [rsp + 0x54], r13b
je 0x18003b98e
cmp byte [rax + 0xe24], r13b
je 0x18003b98e
mov byte [rsp + 0x68], cl
mov r14, qword [rbp - 0x78]
movzx r12d, byte [rsp + 0x54]
movzx ebx, byte [rsp + 0x53]
test dword [rbp + 0x208], 0x2000
je 0x18003b9ad
mov byte [rdi + 0x60], 1
mov r15, qword [rsp + 0x78]
movzx ecx, byte [r15 + 0x79]
mov byte [rsp + 0x70], cl
mov r13d, dword [rsp + 0x6c]
movzx esi, byte [rsp + 0x51]
cmp dword [r15 + 0x3f30], r13d
je 0x18003b9fd
test sil, sil
je 0x18003b9fd
mov rdx, r14
mov ecx, r13d
call fcn.180007b00
mov rdx, r14
mov ecx, r13d
call fcn.180014ec0
xor edx, edx
mov rcx, r14
call fcn.180010350
movzx ecx, byte [rsp + 0x70]
mov r8d, dword [rsp + 0x74]
mov r14d, r13d
cmp dword [r15 + 0x3f30], r13d
jne 0x18003bb54
test r12b, r12b
je 0x18003ba30
mov rax, qword [0x180054d20]
mov dword [rax + 0x4588], r13d
mov dword [rax + 0x4584], r13d
mov word [rax + 0x458c], 0
mov eax, dword [r15 + 0x4740]
or eax, 3
mov dword [r15 + 0x4740], eax
mov edx, dword [rbp + 0x208]
test r8b, r8b
jne 0x18003ba50
test dl, dl
jns 0x18003ba5a
or eax, 0xc
mov dword [r15 + 0x4740], eax
mov rax, qword [0x180054d20]
mov dword [rax + 0x3fd0], r13d
mov dword [rax + 0x3fcc], r13d
mov word [rax + 0x3fd4], 0
mov dword [rax + 0x3fdc], r13d
mov dword [rax + 0x3fd8], r13d
mov word [rax + 0x3fe0], 0
test r8b, r8b
je 0x18003bac2
mov dword [rax + 0x3fb8], r13d
mov dword [rax + 0x3fb4], r13d
mov word [rax + 0x3fbc], 0
mov dword [rax + 0x3fc4], r13d
mov dword [rax + 0x3fc0], r13d
mov word [rax + 0x3fc8], 0
test cl, cl
je 0x18003badd
mov dword [rax + 0x45f4], r13d
mov dword [rax + 0x45f0], r13d
mov word [rax + 0x45f8], 0
test edx, 0x440
je 0x18003bb15
mov ecx, 0x200
call fcn.180011110
mov rdx, qword [0x180054d20]
lea ecx, [r13 - 1]
cmp ecx, 0xfffffffd
mov ecx, r13d
jbe 0x18003bb08
mov ecx, dword [rdx + 0x474c]
cmp byte [rax + 4], 0
jbe 0x18003bb15
mov dword [rax + 0xc], ecx
mov byte [rax + 4], 0
cmp dword [r15 + 0x3f30], r13d
jne 0x18003bb54
test rdi, rdi
jne 0x18003bb2c
xor edx, edx
xor ecx, ecx
call fcn.180007b00
cmp dword [r15 + 0x3f30], r13d
jne 0x18003bb54
cmp byte [r15 + 0x3748], 0
je 0x18003bb5d
cmp byte [rsp + 0x5c], 0
jne 0x18003bb5d
test sil, sil
jne 0x18003bb5d
mov byte [rsp + 0x55], 1
mov cl, 1
jmp 0x18003bb63
test rdi, rdi
je 0x18003bb61
test bl, bl
je 0x18003bb61
mov cl, 1
jmp 0x18003bb63
xor cl, cl
mov byte [rsp + 0x50], cl
mov r13d, dword [rsp + 0x68]
test rdi, rdi
je 0x18003bb87
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18003bb7e
test r13b, r13b
je 0x18003bb87
test cl, cl
je 0x18003bb87
mov r15b, 1
jmp 0x18003bb8a
xor r15b, r15b
mov dword [rsp + 0x58], r15d
movzx r12d, r15b
xor r8b, r8b
mov byte [rsp + 0x51], r8b
mov byte [rsp + 0x5c], r8b
mov eax, dword [rsp + 0x60]
test al, al
je 0x18003bc91
test rdi, rdi
je 0x18003bc91
test cl, cl
jne 0x18003bbc2
test r15b, r15b
je 0x18003bc9a
mov ecx, dword [rdi + 0x1c]
cmp ecx, 0x42
jge 0x18003bbf1
test ecx, ecx
je 0x18003bbd9
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18003bbde
mov eax, 8
mov edx, 0x42
cmp eax, edx
cmovg edx, eax
lea rcx, [rdi + 0x18]
call fcn.18001baf0
mov dword [rdi + 0x18], 0x42
mov rax, qword [rbp - 0x70]
mov rsi, rax
mov r15, qword [rdi + 0x20]
mov rbx, r15
lea r14, [r15 + 0x82]
cmp r15, r14
jae 0x18003bc40
cmp byte [rsi], 0
je 0x18003bc3c
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x40]
call fcn.180004580
movsxd rcx, eax
add rsi, rcx
movzx eax, word [rbp - 0x40]
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x18003bc12
mov rax, qword [rbp - 0x70]
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 r15d, edx
cmp ecx, ebx
cmovne r15d, r12d
mov dword [rsp + 0x58], r15d
mov r14d, dword [rsp + 0x6c]
movzx ecx, byte [rsp + 0x50]
mov eax, dword [rsp + 0x60]
test cl, cl
jne 0x18003bcab
test r15b, r15b
jne 0x18003bcab
mov r12, qword [rsp + 0x78]
cmp dword [r12 + 0x3f30], r14d
jne 0x18003bcc2
jmp 0x18003bcb0
mov r12, qword [rsp + 0x78]
test al, al
jne 0x18003bcc2
test rdi, rdi
je 0x18003bcc2
cmp byte [rdi + 0x48], al
mov byte [rbp - 0x7f], 1
jne 0x18003bcc6
mov byte [rbp - 0x7f], 0
cmp byte [rbp - 0x44], 0
je 0x18003bd60
mov rdx, qword [r12 + 0x3c00]
cmp dword [rdx + 0x18], 0x2a
ja 0x18003bce4
mov r8, qword [rdx + 0x38]
jmp 0x18003bd08
mov rax, qword [rdx + 0x20]
movzx ecx, word [rax + 0x54]
mov eax, 0xffff
cmp cx, ax
jne 0x18003bcfc
mov r8, qword [rdx + 0x38]
jmp 0x18003bd08
lea rcx, [rcx + rcx*4]
mov rax, qword [rdx + 0x30]
lea r8, [rax + rcx*8]
lea rcx, [r12 + 0x5aa8]
mov eax, dword [rdx + 0x14]
mov dword [rcx + 0x14], eax
mov rax, qword [r12 + 0x3c00]
mov edx, dword [rax + 0x64]
mov dword [rcx + 0x64], edx
mov rax, qword [r12 + 0x3c00]
mov edx, dword [rax + 0x68]
mov dword [rcx + 0x68], edx
mov rax, qword [r12 + 0x3c00]
mov edx, dword [rax + 0x6c]
mov dword [rcx + 0x6c], edx
mov rax, qword [r12 + 0x3c00]
mov rdx, qword [rax + 0x40]
mov qword [rcx + 0x40], rdx
mov qword [rcx + 0x38], r8
mov eax, dword [r8 + 4]
mov dword [rcx + 0x10], eax
call fcn.1800108b0
xor ecx, ecx
mov dword [rbp - 0x40], ecx
mov ebx, 0x20000c
mov ecx, 0x100
movss xmm0, dword [0x18004b944]
cmp dword [r12 + 0x3f30], r14d
jne 0x18003c2d2
mov eax, dword [rdi + 0x10]
mov dword [rbp - 0x40], eax
mov byte [rdi + 0xe86], 0
mov dword [rdi + 0x4c], 0x41
mov edx, dword [rbp + 0x208]
mov dword [rdi + 0xe88], edx
cmp byte [r12 + 0xe10], 0
sete al
mov byte [r12 + 0x3f3d], al
movss xmm6, dword [r12 + 0xe08]
subss xmm6, xmm11
subss xmm6, dword [r12 + 0x380c]
addss xmm6, dword [rdi + 0x50]
mov r15d, dword [rsp + 0x74]
test r15b, r15b
je 0x18003bdf9
movss xmm2, dword [r12 + 0xe0c]
mov rax, qword [rbp - 0x60]
subss xmm2, dword [rax + 0x104]
jmp 0x18003be07
movss xmm2, dword [r12 + 0x3c08]
mulss xmm2, xmm0
test r13b, r13b
je 0x18003be2c
xor r15d, r15d
mov dword [rdi + 0x58], r15d
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], r15b
mov byte [rdi + 0xe85], 1
jmp 0x18003c132
movzx eax, byte [rsp + 0x64]
test al, al
je 0x18003bfd5
cmp word [r12 + 0x3752], 2
jb 0x18003bfd5
cmp byte [r12 + 0xe25], 0
jne 0x18003bfd5
cmp byte [rdi + 0x6b], 0
je 0x18003be78
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp + 0x80]
call fcn.1800389b0
movss xmm2, dword [rbp + 0x8c]
movaps xmm1, xmm6
mov rcx, rdi
call fcn.180038f50
mov dword [rdi + 0x54], eax
mov dword [rdi + 0x58], eax
mov dword [rdi + 0x5c], eax
mov byte [rdi + 0x6a], 0
movzx ecx, word [r12 + 0x3752]
sub ecx, 2
test cl, 1
jne 0x18003bf4d
test eax, eax
je 0x18003bebc
movsxd rcx, eax
mov rax, qword [rdi + 0x20]
cmp word [rax + rcx*2 - 2], 0xa
je 0x18003bebc
xor cl, cl
jmp 0x18003bebe
mov cl, 1
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18003beca
test cl, cl
jne 0x18003beea
lea rdx, [rdi + 0x54]
mov r8d, ebx
mov rcx, rdi
call fcn.180039410
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18003bf05
cmp dword [rdi + 0x58], eax
jne 0x18003bf02
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x58], eax
jmp 0x18003bf05
mov dword [rdi + 0x54], eax
mov edx, dword [rdi + 0x54]
mov rcx, rdi
call fcn.180038b90
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 0x18003bf3c
cmp ecx, eax
jle 0x18003bf2c
mov dword [rdi + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x18003bf35
mov dword [rdi + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x18003bf3c
mov dword [rdi + 0x54], ecx
cmp dword [rdi + 0x54], eax
jle 0x18003c11a
mov dword [rdi + 0x54], eax
jmp 0x18003c11a
mov rcx, qword [rdi + 0x20]
cdqe
movzx ebx, word [rcx + rax*2]
mov r8d, 0x200004
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180039410
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov r8d, 0x600005
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180039410
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov r8d, 0x600001
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180039410
cmp bx, 0xa
je 0x18003bfc9
test r15b, r15b
je 0x18003bfc9
mov ecx, dword [rdi + 0x58]
mov eax, dword [rdi + 0x5c]
mov dword [rdi + 0x58], eax
mov dword [rdi + 0x5c], ecx
mov dword [rdi + 0x54], ecx
mov byte [rdi + 0xe84], 0
jmp 0x18003c11a
cmp byte [r12 + 0x3748], 0
je 0x18003c09a
cmp byte [rdi + 0xe85], 0
jne 0x18003c09a
test al, al
je 0x18003c12f
cmp byte [r12 + 0xe25], 0
je 0x18003c052
cmp byte [rdi + 0x6b], 0
je 0x18003c024
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp + 0x80]
call fcn.1800389b0
movss xmm2, dword [rbp + 0x8c]
lea rbx, [rdi + 0x5c]
mov eax, dword [rbx]
cmp dword [rdi + 0x58], eax
jne 0x18003c035
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x58], eax
movaps xmm1, xmm6
mov rcx, rdi
call fcn.180038f50
mov ecx, 0x54
mov rdx, rdi
mov dword [rbx], eax
mov dword [rdx + rcx], eax
jmp 0x18003c11a
cmp byte [rdi + 0x6b], 0
je 0x18003c072
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp + 0x80]
call fcn.1800389b0
movss xmm2, dword [rbp + 0x8c]
movaps xmm1, xmm6
mov rcx, rdi
call fcn.180038f50
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 0x18003c11a
cmp byte [r12 + 0xe10], 0
je 0x18003c12f
cmp byte [rdi + 0xe85], 0
jne 0x18003c12f
movss xmm0, dword [r12 + 0xf8]
ucomiss xmm0, xmm7
jp 0x18003c0d4
jne 0x18003c0d4
movss xmm0, dword [r12 + 0xfc]
ucomiss xmm0, xmm7
jp 0x18003c0d4
je 0x18003c12f
cmp byte [rdi + 0x6b], 0
je 0x18003c0f4
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp + 0x80]
call fcn.1800389b0
movss xmm2, dword [rbp + 0x8c]
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18003c102
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x58], eax
movaps xmm1, xmm6
mov rcx, rdi
call fcn.180038f50
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0xe84], 1
mov ecx, 0x100
mov edx, dword [rbp + 0x208]
mov dword [rdi + 0xe80], 0xbe99999a
xor r15d, r15d
cmp byte [rdi + 0xe85], 0
je 0x18003c14d
cmp byte [r12 + 0xe10], 0
jne 0x18003c14d
mov byte [rdi + 0xe85], 0
bt edx, 0xa
jae 0x18003c1e0
mov rbx, qword [0x180054d20]
mov r8d, ecx
mov edx, r14d
mov ecx, 0x200
call fcn.1800112d0
test al, al
je 0x18003c1da
cmp dword [rbx + 0xe28], 0
jne 0x18003c1da
xor r8d, r8d
mov edx, r14d
mov ecx, 0x200
call fcn.1800113f0
mov ecx, dword [rsp + 0x60]
mov edx, dword [rbp + 0x208]
test al, al
je 0x18003c1e4
test cl, cl
jne 0x18003c1e4
mov dword [rbp - 0x78], 9
mov dword [rsp + 0x20], 2
lea rcx, [rbp - 0x78]
call fcn.18003a970
test al, al
je 0x18003c1da
lea rdx, [rdi + 0x54]
mov r8d, dword [rbp - 0x78]
mov rcx, rdi
call fcn.180039410
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov edx, dword [rbp + 0x208]
mov ecx, dword [rsp + 0x60]
cmp byte [r12 + 0xe24], 0
je 0x18003c1fa
cmp byte [r12 + 0xe26], 0
je 0x18003c20c
cmp byte [rsp + 0x70], 0
je 0x18003c210
cmp byte [r12 + 0xe27], 0
je 0x18003c210
mov al, 1
jmp 0x18003c212
xor al, al
cmp dword [r12 + 0x37c0], 0
jle 0x18003c2d2
test al, al
jne 0x18003c2a0
test cl, cl
jne 0x18003c2a0
cmp byte [rsp + 0x52], cl
jne 0x18003c2a0
mov esi, r15d
mov rbx, r15
nop word [rax + rax]
mov rax, qword [r12 + 0x37c8]
movzx ecx, word [rbx + rax]
mov dword [rbp - 0x78], ecx
cmp ecx, 9
je 0x18003c28a
mov dword [rsp + 0x20], 2
lea rcx, [rbp - 0x78]
call fcn.18003a970
test al, al
je 0x18003c28a
lea rdx, [rdi + 0x54]
mov r8d, dword [rbp - 0x78]
mov rcx, rdi
call fcn.180039410
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
inc esi
add rbx, 2
cmp esi, dword [r12 + 0x37c0]
mov edx, dword [rbp + 0x208]
jl 0x18003c240
mov ecx, dword [r12 + 0x37c4]
test ecx, ecx
jns 0x18003c2ca
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov edx, r15d
test eax, eax
cmovg edx, eax
lea rcx, [r12 + 0x37c0]
call fcn.18001baf0
mov dword [r12 + 0x37c0], r15d
xor r14b, r14b
mov byte [rbp - 0x80], r14b
mov r13d, dword [rsp + 0x6c]
cmp dword [r12 + 0x3f30], r13d
jne 0x18003d1b1
cmp byte [r12 + 0x3f3c], r14b
jne 0x18003d1b1
cmp byte [rsp + 0x55], r14b
jne 0x18003d1b1
movaps xmm0, xmm8
subss xmm0, dword [r12 + 0x3810]
divss xmm0, dword [r12 + 0x3c08]
cvttss2si eax, xmm0
mov ecx, 1
cmp eax, ecx
cmovge ecx, eax
mov dword [rbp - 0x78], ecx
mov dword [rdi + 0x64], ecx
movzx eax, byte [r12 + 0xe25]
neg al
sbb r14d, r14d
and r14d, 0x400000
movzx r15d, byte [rsp + 0x70]
test r15b, r15b
je 0x18003c37f
movzx eax, byte [r12 + 0xe26]
mov byte [rsp + 0x53], al
cmp byte [r12 + 0xe27], 0
je 0x18003c38c
cmp byte [r12 + 0xe24], 0
jne 0x18003c38c
test al, al
jne 0x18003c38c
mov byte [rsp + 0x52], 1
jmp 0x18003c391
movzx eax, byte [r12 + 0xe24]
mov byte [rsp + 0x53], al
mov byte [rsp + 0x52], 0
mov rsi, qword [0x180054d20]
mov r8d, 0x101
mov edx, r13d
mov ecx, 0xa39
call fcn.1800112d0
mov ecx, 0x8000
mov rbx, qword [0x180054d20]
test al, al
je 0x18003c3ea
mov eax, 0x1000
cmp byte [rbx + 0x79], 0
cmovne eax, ecx
cmp dword [rsi + 0xe28], eax
mov esi, 1
jne 0x18003c3ef
mov r8d, esi
mov edx, r13d
mov ecx, 0x239
call fcn.1800113f0
test al, al
jne 0x18003c42d
jmp 0x18003c3ef
mov esi, 1
mov r8d, 0x101
mov edx, r13d
mov ecx, 0x220a
call fcn.1800112d0
test al, al
je 0x18003c450
cmp dword [rbx + 0xe28], 0x2000
jne 0x18003c450
mov r8d, esi
mov edx, r13d
mov ecx, 0x20a
call fcn.1800113f0
test al, al
je 0x18003c450
mov rbx, qword [0x180054d20]
cmp byte [rsp + 0x60], 0
jne 0x18003c457
cmp byte [rbp - 0x44], 0
jne 0x18003c457
cmp byte [rsp + 0x74], 0
je 0x18003c449
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x18003c457
mov byte [rsp + 0x54], 1
jmp 0x18003c45c
mov rbx, qword [0x180054d20]
mov byte [rsp + 0x54], 0
mov r8d, 0x100
mov edx, r13d
mov ecx, 0xa24
call fcn.1800112d0
mov rsi, qword [0x180054d20]
test al, al
je 0x18003c4a7
mov eax, 0x1000
cmp byte [rsi + 0x79], 0
mov ecx, 0x8000
cmovne eax, ecx
cmp dword [rbx + 0xe28], eax
jne 0x18003c4a7
xor r8d, r8d
mov edx, r13d
mov ecx, 0x224
call fcn.1800113f0
test al, al
jne 0x18003c4e5
mov r8d, 0x100
mov edx, r13d
mov ecx, 0x1209
call fcn.1800112d0
test al, al
je 0x18003c500
cmp dword [rsi + 0xe28], 0x1000
jne 0x18003c500
xor r8d, r8d
mov edx, r13d
mov ecx, 0x209
call fcn.1800113f0
test al, al
je 0x18003c500
mov rsi, qword [0x180054d20]
cmp byte [rbp - 0x44], 0
jne 0x18003c507
cmp byte [rsp + 0x74], 0
je 0x18003c4fa
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x18003c507
mov byte [rbp - 0x46], 1
jmp 0x18003c50b
mov rsi, qword [0x180054d20]
mov byte [rbp - 0x46], 0
mov r8d, 0x101
mov edx, r13d
mov ecx, 0xa37
call fcn.1800112d0
mov rbx, qword [0x180054d20]
test al, al
je 0x18003c55d
mov eax, 0x1000
cmp byte [rbx + 0x79], 0
mov ecx, 0x8000
cmovne eax, ecx
cmp dword [rsi + 0xe28], eax
mov esi, 1
jne 0x18003c562
mov r8d, esi
mov edx, r13d
mov ecx, 0x237
call fcn.1800113f0
test al, al
jne 0x18003c5a0
jmp 0x18003c562
mov esi, 1
mov r8d, 0x101
mov edx, r13d
mov ecx, 0x2209
call fcn.1800112d0
test al, al
je 0x18003c5ae
cmp dword [rbx + 0xe28], 0x2000
jne 0x18003c5ae
mov r8d, esi
mov edx, r13d
mov ecx, 0x209
call fcn.1800113f0
test al, al
je 0x18003c5ae
mov rbx, qword [0x180054d20]
cmp byte [rsp + 0x60], 0
jne 0x18003c5b5
mov byte [rsp + 0x64], 1
jmp 0x18003c5ba
mov rbx, qword [0x180054d20]
mov byte [rsp + 0x64], 0
mov r8d, 0x101
mov edx, r13d
mov ecx, 0xa3b
call fcn.1800112d0
mov rsi, qword [0x180054d20]
test al, al
je 0x18003c61e
mov eax, 0x1000
cmp byte [rsi + 0x79], 0
mov ecx, 0x8000
cmovne eax, ecx
cmp dword [rbx + 0xe28], eax
jne 0x18003c61e
mov r8d, 1
mov edx, r13d
mov ecx, 0x23b
call fcn.1800113f0
mov r13d, dword [rbp - 0x50]
test al, al
je 0x18003c622
cmp byte [rsp + 0x60], 0
jne 0x18003c622
test r13b, r13b
je 0x18003c622
mov byte [rbp - 0x48], 1
jmp 0x18003c626
mov r13d, dword [rbp - 0x50]
mov byte [rbp - 0x48], 0
mov r8d, 0x101
mov edx, dword [rsp + 0x6c]
mov ecx, 0xa3a
call fcn.1800112d0
mov rbx, qword [0x180054d20]
test al, al
je 0x18003c676
mov eax, 0x1000
cmp byte [rbx + 0x79], 0
mov ecx, 0x8000
cmovne eax, ecx
cmp dword [rsi + 0xe28], eax
jne 0x18003c676
mov r8d, 1
mov edx, dword [rsp + 0x6c]
mov ecx, 0x23a
call fcn.1800113f0
test al, al
jne 0x18003c6d1
test r15b, r15b
je 0x18003c6e1
mov rsi, rbx
mov r8d, 0x101
mov r15d, dword [rsp + 0x6c]
mov edx, r15d
mov ecx, 0x2a3b
call fcn.1800112d0
mov rbx, qword [0x180054d20]
test al, al
je 0x18003c6e1
mov eax, 0x3000
mov edx, 0xa000
cmp byte [rbx + 0x79], 0
cmovne eax, edx
cmp dword [rsi + 0xe28], eax
jne 0x18003c6e1
mov r8d, 1
mov edx, r15d
mov ecx, 0x23b
call fcn.1800113f0
test al, al
je 0x18003c6e1
cmp byte [rsp + 0x60], 0
jne 0x18003c6e1
test r13b, r13b
mov byte [rbp - 0x47], 1
jne 0x18003c6e5
mov byte [rbp - 0x47], 0
mov r8d, 0x100
mov r15d, dword [rsp + 0x6c]
mov edx, r15d
mov ecx, 0xa22
call fcn.1800112d0
mov rsi, qword [0x180054d20]
test al, al
jne 0x18003c70d
xor r13b, r13b
jmp 0x18003c741
mov eax, 0x1000
cmp byte [rsi + 0x79], 0
mov ecx, 0x8000
cmovne eax, ecx
cmp dword [rbx + 0xe28], eax
je 0x18003c72b
xor r13b, r13b
jmp 0x18003c741
xor r8d, r8d
mov edx, r15d
mov ecx, 0x222
call fcn.1800113f0
test al, al
setne r13b
test byte [r12 + 8], 2
je 0x18003c755
test byte [r12 + 0xc], 1
je 0x18003c755
mov bl, 1
jmp 0x18003c757
xor bl, bl
mov r15d, 1
mov r8d, r15d
xor edx, edx
mov ecx, 0x20d
call fcn.1800113f0
test al, al
jne 0x18003c788
mov r8d, r15d
xor edx, edx
mov ecx, 0x267
call fcn.1800113f0
test al, al
jne 0x18003c788
xor r12b, r12b
jmp 0x18003c78c
movzx r12d, r15b
test bl, bl
je 0x18003c7b6
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.1800113f0
test al, al
jne 0x18003c7b9
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.1800113f0
test al, al
jne 0x18003c7b9
xor r15b, r15b
mov r8d, 0x101
mov edx, dword [rsp + 0x6c]
mov ecx, 0x20e
call fcn.1800112d0
test al, al
je 0x18003c7f6
cmp dword [rsi + 0xe28], 0
mov esi, dword [rsp + 0x6c]
jne 0x18003c7fa
mov r8d, 1
mov edx, esi
mov ecx, 0x20e
call fcn.1800113f0
test al, al
jne 0x18003c83a
jmp 0x18003c7fa
mov esi, dword [rsp + 0x6c]
test bl, bl
je 0x18003c83e
mov rbx, qword [0x180054d20]
mov r8d, 0x101
mov edx, esi
mov ecx, 0x26c
call fcn.1800112d0
test al, al
je 0x18003c83e
cmp dword [rbx + 0xe28], 0
jne 0x18003c83e
mov r8d, 1
mov edx, esi
mov ecx, 0x26c
call fcn.1800113f0
test al, al
je 0x18003c83e
mov bl, 1
jmp 0x18003c840
xor bl, bl
mov esi, 1
mov r8d, esi
xor edx, edx
mov ecx, 0x201
call fcn.1800113f0
test al, al
je 0x18003c8a5
cmp byte [rsp + 0x52], 0
je 0x18003c866
mov eax, 0x200004
jmp 0x18003c878
mov eax, 0x200000
cmp byte [rsp + 0x53], 0
mov ecx, 0x20000c
cmovne eax, ecx
or r14d, eax
lea rdx, [rdi + 0x54]
mov r8d, r14d
mov rcx, rdi
call fcn.180039410
mov byte [rdi + 0xe84], sil
mov dword [rdi + 0xe80], 0xbe99999a
mov r12, qword [rsp + 0x78]
jmp 0x18003d185
mov r8d, esi
xor edx, edx
mov ecx, 0x202
call fcn.1800113f0
test al, al
je 0x18003c8e0
cmp byte [rsp + 0x52], 0
je 0x18003c8c9
mov ecx, 0x200005
or r14d, ecx
jmp 0x18003c87b
mov ecx, 0x200001
mov eax, 0x20000d
cmp byte [rsp + 0x53], 0
cmovne ecx, eax
or r14d, ecx
jmp 0x18003c87b
mov r8d, esi
xor edx, edx
mov ecx, 0x203
call fcn.1800113f0
mov esi, dword [rsp + 0x74]
test al, al
je 0x18003c973
test sil, sil
je 0x18003c973
mov r12, qword [rsp + 0x78]
cmp byte [r12 + 0xe24], 0
je 0x18003c941
mov rdx, qword [rbp - 0x60]
movss xmm0, dword [rdx + 0x88]
subss xmm0, dword [r12 + 0x3c08]
maxss xmm0, xmm7
movss dword [rdx + 0x98], xmm0
xor eax, eax
mov dword [rdx + 0xa0], eax
mov dword [rdx + 0xa8], eax
jmp 0x18003d185
movzx eax, byte [rsp + 0x52]
lea r8d, [rax*4 + 0x200002]
or r8d, r14d
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180039410
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
jmp 0x18003d185
xor edx, edx
mov ecx, 0x204
lea r8d, [rdx + 1]
call fcn.1800113f0
test al, al
je 0x18003c9f5
test sil, sil
je 0x18003c9f5
mov r12, qword [rsp + 0x78]
cmp byte [r12 + 0xe24], 0
je 0x18003c9e3
mov rax, qword [0x180054d20]
mov rcx, qword [rax + 0x3ed0]
movss xmm0, dword [r12 + 0x3c08]
mov rax, qword [rbp - 0x60]
addss xmm0, dword [rax + 0x88]
minss xmm0, dword [rcx + 0x90]
movss dword [rax + 0x98], xmm0
xor ecx, ecx
mov dword [rax + 0xa0], ecx
mov dword [rax + 0xa8], ecx
jmp 0x18003d185
movzx eax, byte [rsp + 0x52]
lea r8d, [rax*4 + 0x200003]
jmp 0x18003c94e
xor edx, edx
mov ecx, 0x205
lea r8d, [rdx + 1]
call fcn.1800113f0
test al, al
je 0x18003ca56
test sil, sil
je 0x18003ca56
or r14d, 0x20000e
lea rdx, [rdi + 0x54]
mov r8d, r14d
mov rcx, rdi
call fcn.180039410
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
movd xmm0, dword [rbp - 0x78]
cvtdq2ps xmm0, xmm0
mov r12, qword [rsp + 0x78]
mulss xmm0, dword [r12 + 0x3c08]
subss xmm10, xmm0
jmp 0x18003d185
xor edx, edx
mov ecx, 0x206
lea r8d, [rdx + 1]
call fcn.1800113f0
test al, al
je 0x18003cab7
test sil, sil
je 0x18003cab7
or r14d, 0x20000f
lea rdx, [rdi + 0x54]
mov r8d, r14d
mov rcx, rdi
call fcn.180039410
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
movd xmm0, dword [rbp - 0x78]
cvtdq2ps xmm0, xmm0
mov r12, qword [rsp + 0x78]
mulss xmm0, dword [r12 + 0x3c08]
addss xmm10, xmm0
jmp 0x18003d185
mov esi, 1
mov r8d, esi
xor edx, edx
mov ecx, 0x207
call fcn.1800113f0
test al, al
je 0x18003cb15
mov eax, r14d
or eax, 0x200006
or r14d, 0x200004
mov r12, qword [rsp + 0x78]
cmp byte [r12 + 0xe24], 0
cmovne r14d, eax
lea rdx, [rdi + 0x54]
mov r8d, r14d
mov rcx, rdi
call fcn.180039410
mov byte [rdi + 0xe84], sil
mov dword [rdi + 0xe80], 0xbe99999a
jmp 0x18003d185
mov r8d, esi
xor edx, edx
mov ecx, 0x208
call fcn.1800113f0
test al, al
je 0x18003cb6d
mov eax, r14d
or eax, 0x200007
mov r8d, 0x200005
or r8d, r14d
mov r12, qword [rsp + 0x78]
cmp byte [r12 + 0xe24], 0
cmovne r8d, eax
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180039410
mov byte [rdi + 0xe84], sil
mov dword [rdi + 0xe80], 0xbe99999a
jmp 0x18003d185
mov r8d, esi
xor edx, edx
mov ecx, 0x20a
call fcn.1800113f0
movzx esi, byte [rsp + 0x54]
test al, al
je 0x18003cbf4
cmp byte [rsp + 0x60], 0
jne 0x18003cbf4
test sil, sil
jne 0x18003cbf4
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18003cbc3
cmp byte [rsp + 0x53], sil
je 0x18003cbc3
lea rdx, [rdi + 0x54]
mov r8d, 0x60000d
mov rcx, rdi
call fcn.180039410
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.180039410
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov r12, qword [rsp + 0x78]
jmp 0x18003d185
xor edx, edx
mov ecx, 0x20b
lea r8d, [rdx + 1]
call fcn.1800113f0
mov r8d, dword [rsp + 0x60]
test al, al
je 0x18003ccbf
test r8b, r8b
jne 0x18003ccbf
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18003cc4c
cmp byte [rsp + 0x53], r8b
je 0x18003cc60
lea rdx, [rdi + 0x54]
mov r8d, 0x60000c
mov rcx, rdi
call fcn.180039410
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov r12, qword [rsp + 0x78]
or r14d, 0x200009
mov r8d, r14d
jmp 0x18003c951
cmp byte [rsp + 0x70], 0
je 0x18003cc4c
mov r12, qword [rsp + 0x78]
cmp byte [r12 + 0xe27], 0
je 0x18003cc51
cmp byte [r12 + 0xe26], 0
jne 0x18003cc51
cmp byte [r12 + 0xe24], 0
jne 0x18003cc51
lea rdx, [rdi + 0x54]
mov r8d, 0x600004
mov rcx, rdi
call fcn.180039410
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
or r14d, 0x200009
mov r8d, r14d
jmp 0x18003c951
test r12b, r12b
jne 0x18003d0fa
test r15b, r15b
jne 0x18003d0fa
test bl, bl
je 0x18003cd2a
test dword [rbp + 0x208], 0x100000
je 0x18003cd0b
mov eax, dword [rdi + 0x10]
test eax, eax
jg 0x18003ccf9
xor cl, cl
mov dword [rsp + 0x58], ecx
mov byte [rsp + 0x50], cl
mov byte [rsp + 0x55], 1
test eax, eax
setg r14b
mov byte [rbp - 0x80], r14b
mov r12, qword [rsp + 0x78]
jmp 0x18003d188
mov r14b, 1
mov byte [rbp - 0x80], r14b
mov byte [rsp + 0x55], r14b
xor r15b, r15b
xor cl, cl
mov byte [rsp + 0x50], cl
mov r12, qword [rsp + 0x78]
jmp 0x18003d192
movzx eax, byte [rbp - 0x48]
test al, al
jne 0x18003d0bc
cmp byte [rbp - 0x47], al
jne 0x18003d0bc
test r13b, r13b
je 0x18003cd67
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 r12, qword [rsp + 0x78]
jmp 0x18003d185
test sil, sil
jne 0x18003cf11
cmp byte [rbp - 0x46], sil
jne 0x18003cf11
cmp byte [rsp + 0x64], sil
je 0x18003c89b
mov rcx, qword [0x180054d20]
mov rax, qword [rcx + 0xb0]
test rax, rax
je 0x18003cdb6
mov rcx, qword [rcx + 0xc0]
call rax
mov rbx, rax
test rax, rax
je 0x18003c89b
mov rcx, qword [0x180054d20]
jmp 0x18003cdbd
lea rbx, [0x180044b08]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x18003cdc4
test rcx, rcx
je 0x18003cdd8
inc dword [rcx + 0xf4]
inc eax
movsxd rcx, eax
add rcx, rcx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
mov qword [rbp - 0x50], rax
xor r12d, r12d
mov r14d, r12d
cmp byte [rbx], r12b
je 0x18003ce54
mov rsi, rax
mov r15d, dword [rbp + 0x208]
nop dword [rax]
nop word [rax + rax]
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.180004580
movsxd rcx, eax
add rbx, rcx
mov dword [rsp + 0x20], 4
mov edx, r15d
lea rcx, [rbp - 0x78]
call fcn.18003a970
test al, al
je 0x18003ce4b
movzx eax, word [rbp - 0x78]
mov word [rsi], ax
inc r14d
add rsi, 2
cmp byte [rbx], r12b
jne 0x18003ce10
mov r15, qword [rbp - 0x50]
movsxd rax, r14d
mov word [r15 + rax*2], r12w
test r14d, r14d
jle 0x18003cee7
mov eax, dword [rdi + 0xc]
mov edx, dword [rdi + 0x5c]
mov ecx, dword [rdi + 0x58]
cmp ecx, edx
je 0x18003ce8b
cmp ecx, eax
jle 0x18003ce7b
mov dword [rdi + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x18003ce84
mov dword [rdi + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x18003ce8b
mov dword [rdi + 0x54], ecx
cmp dword [rdi + 0x54], eax
jle 0x18003ce93
mov dword [rdi + 0x54], eax
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180039370
mov r9d, r14d
mov r8, r15
mov edx, dword [rdi + 0x54]
mov rcx, rdi
call fcn.180038dc0
test al, al
je 0x18003cee0
mov esi, dword [rdi + 0x54]
lea rcx, [rdi + 0x74]
xor edx, edx
call fcn.18003a460
test rax, rax
je 0x18003ced8
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 0x18003cefe
mov rax, qword [0x180054d20]
test rax, rax
je 0x18003cefe
dec dword [rax + 0xf4]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r12, qword [rsp + 0x78]
jmp 0x18003d185
mov r12, qword [rsp + 0x78]
cmp qword [r12 + 0xb8], 0
je 0x18003d06f
mov esi, dword [rdi + 0x5c]
mov eax, dword [rdi + 0x58]
cmp eax, esi
je 0x18003cf3e
mov r14d, esi
cmovl r14d, eax
cmovge esi, eax
xor r13d, r13d
jmp 0x18003cf47
xor r13d, r13d
mov r14d, r13d
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, r13d
mov r9d, 0x800
mov r10d, 0x80
test r8, r8
je 0x18003cf72
cmp rdx, r8
jae 0x18003cf95
movzx eax, word [rdx]
test ax, ax
je 0x18003cf95
add rdx, 2
cmp ax, r10w
jae 0x18003cf88
inc ecx
jmp 0x18003cf68
cmp ax, r9w
sbb eax, eax
add eax, 3
add ecx, eax
jmp 0x18003cf68
inc ecx
mov rax, qword [0x180054d20]
test rax, rax
je 0x18003cfa9
inc dword [rax + 0xf4]
movsxd rbx, ecx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
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 0x18003d024
mov r13d, 0x80
test r11, r11
je 0x18003cfea
cmp r10, r11
jae 0x18003d021
movzx eax, word [r10]
test ax, ax
je 0x18003d021
mov r8d, eax
add r10, 2
cmp eax, r13d
jae 0x18003d007
mov byte [r9], r8b
inc r9
jmp 0x18003d01c
mov edx, esi
sub edx, r9d
dec edx
mov rcx, r9
call fcn.180004730
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x18003cfe0
xor r13d, r13d
mov byte [r9], 0
mov rax, qword [0x180054d20]
mov r8, qword [rax + 0xb8]
test r8, r8
je 0x18003d04f
mov rdx, r15
mov rcx, qword [rax + 0xc0]
call r8
mov rax, qword [0x180054d20]
test r15, r15
je 0x18003d05f
test rax, rax
je 0x18003d05f
dec dword [rax + 0xf4]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
movzx esi, byte [rsp + 0x54]
jmp 0x18003d072
xor r13d, r13d
test sil, sil
je 0x18003d185
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18003d094
mov dword [rdi + 0x58], r13d
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 eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x18003d185
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180039370
mov byte [rdi + 0x6a], 0
jmp 0x18003d185
mov r8d, eax
xor r8d, 1
add r8d, 0x20000a
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180039410
mov byte [rdi + 0xe84], 1
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x58], eax
mov dword [rdi + 0xe80], 0xbe99999a
mov r12, qword [rsp + 0x78]
jmp 0x18003d185
mov edx, dword [rbp + 0x208]
mov eax, edx
shr eax, 0xb
and al, 1
mov ecx, dword [rsp + 0x74]
mov r12, qword [rsp + 0x78]
test cl, cl
je 0x18003d127
test r15b, r15b
jne 0x18003d127
test al, al
je 0x18003d14b
cmp byte [r12 + 0xe24], r15b
jne 0x18003d156
mov byte [rsp + 0x5c], 1
cmp byte [r12 + 0x7c], 0
je 0x18003d180
test cl, cl
jne 0x18003d180
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], cl
jmp 0x18003d185
cmp byte [r12 + 0xe24], 0
jne 0x18003d127
test r8b, r8b
jne 0x18003d185
mov dword [rbp - 0x78], 0xa
mov dword [rsp + 0x20], 2
lea rcx, [rbp - 0x78]
call fcn.18003a970
test al, al
je 0x18003d185
mov r8d, dword [rbp - 0x78]
jmp 0x18003c951
mov byte [rsp + 0x55], 1
xor r14b, r14b
mov r15d, dword [rsp + 0x58]
movzx ecx, byte [rsp + 0x50]
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x18003d1a2
test cl, cl
je 0x18003d1a2
mov al, 1
jmp 0x18003d1a4
xor al, al
or r15b, al
mov dword [rsp + 0x58], r15d
mov r13d, dword [rsp + 0x6c]
xor r10d, r10d
mov qword [rbp - 0x50], r10
mov dword [rsp + 0x68], r10d
cmp dword [r12 + 0x3f30], r13d
jne 0x18003d948
mov r15d, dword [rsp + 0x60]
test r15b, r15b
jne 0x18003d494
test r14b, r14b
je 0x18003d3f2
test dword [rbp + 0x208], 0x100000
je 0x18003d261
lea rax, [0x180044b08]
mov qword [rbp - 0x50], rax
mov dword [rsp + 0x68], r10d
movsxd rbx, dword [rdi + 0xc]
lea rcx, [rdi + 0x74]
xor r9d, r9d
mov r8d, ebx
xor edx, edx
call fcn.18003a5b0
mov r9, rax
test rax, rax
je 0x18003d245
test ebx, ebx
jle 0x18003d245
xor eax, eax
mov edx, eax
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rdi + 0x20]
movzx eax, word [rcx + rdx*2]
mov word [r9 + rdx*2], ax
inc rdx
cmp rdx, rbx
jl 0x18003d230
mov r8d, dword [rdi + 0xc]
xor edx, edx
mov rcx, rdi
call fcn.180038cf0
xor eax, eax
mov qword [rdi + 0x58], rax
mov dword [rdi + 0x54], eax
jmp 0x18003d3f2
mov r9, qword [rdi + 0x40]
mov rax, qword [rbp - 0x70]
mov r8, r9
sub r8, rax
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18003d283
inc rax
test ecx, ecx
jne 0x18003d270
test edx, edx
je 0x18003d3f2
mov r12, r9
mov qword [rbp - 0x50], r9
mov eax, dword [rdi + 0x38]
dec eax
mov dword [rsp + 0x68], eax
mov byte [rsp + 0x51], 1
mov qword [rbp + 0x80], r10
mov r15d, r10d
mov r13, r10
mov qword [rbp + 0x88], r10
test eax, eax
jle 0x18003d3a8
movsxd rsi, eax
add rsi, r9
mov rbx, r9
mov r14d, r10d
test rsi, rsi
je 0x18003d2d2
cmp rbx, rsi
jae 0x18003d2f1
cmp byte [rbx], 0
je 0x18003d2f1
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.180004580
movsxd rcx, eax
add rbx, rcx
inc r14d
jmp 0x18003d2c8
lea r15d, [r14 + 1]
test r15d, r15d
jle 0x18003d33b
mov ebx, r15d
cmp r15d, 8
mov eax, 8
cmovl ebx, eax
test ebx, ebx
jle 0x18003d33b
mov rax, qword [0x180054d20]
test rax, rax
je 0x18003d31f
inc dword [rax + 0xf4]
movsxd rcx, ebx
add rcx, rcx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r13, rax
mov qword [rbp + 0x88], rax
mov dword [rbp + 0x84], ebx
mov dword [rbp + 0x80], r15d
movsxd rax, dword [rsp + 0x68]
lea r14, [r12 + rax]
mov rbx, r12
mov rsi, r13
movsxd r12, r15d
lea r12, [r12*2 - 2]
add r12, r13
cmp r13, r12
jae 0x18003d39c
test r14, r14
je 0x18003d36e
cmp rbx, r14
jae 0x18003d398
cmp byte [rbx], 0
je 0x18003d398
mov r8, r14
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.180004580
movsxd rcx, eax
add rbx, rcx
movzx eax, word [rbp - 0x78]
mov word [rsi], ax
add rsi, 2
cmp rsi, r12
jb 0x18003d364
mov eax, dword [rsp + 0x68]
xor r10d, r10d
mov word [rsi], r10w
movzx r14d, byte [rbp - 0x80]
lea r9d, [r15 - 1]
test eax, eax
cmovle r9d, r10d
lea rdx, [rdi + 0x54]
mov r8, r13
mov rcx, rdi
call fcn.18003a8b0
nop
test r13, r13
je 0x18003d3e3
mov rax, qword [0x180054d20]
test rax, rax
je 0x18003d3d9
dec dword [rax + 0xf4]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov r12, qword [rsp + 0x78]
mov r13d, dword [rsp + 0x6c]
mov r15d, dword [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 0x18003d42b
test ecx, ecx
je 0x18003d416
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18003d41b
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rdi + 0x28]
call fcn.18001ba60
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 0x18003d48d
mov r15d, 0x80
nop dword [rax + rax]
movzx eax, word [r10]
test ax, ax
je 0x18003d488
mov r8d, eax
add r10, 2
cmp eax, r15d
jae 0x18003d46d
mov byte [r9], r8b
inc r9
jmp 0x18003d483
mov edx, r11d
sub edx, r9d
dec edx
mov rcx, r9
call fcn.180004730
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x18003d450
mov r15d, dword [rsp + 0x60]
mov byte [r9], 0
xor r10d, r10d
test r14b, r14b
je 0x18003d507
cmp byte [rsp + 0x5c], 0
je 0x18003d4ad
mov r14d, dword [rbp + 0x208]
test r14b, 0x20
jne 0x18003d50e
mov r13, qword [rbp - 0x70]
mov r8d, dword [rsp + 0x60]
movzx r11d, byte [rsp + 0x51]
mov r10, qword [rbp - 0x50]
mov r9d, dword [rsp + 0x68]
mov r15d, dword [rsp + 0x6c]
cmp dword [r12 + 0x5a90], r15d
jne 0x18003d9ed
cmp dword [r12 + 0x3f30], r15d
je 0x18003d9e0
mov rax, qword [0x180054d20]
mov ecx, dword [rax + 0x4774]
test cl, 0x20
je 0x18003d95f
shr ecx, 6
test cl, 1
jmp 0x18003d979
mov r14d, dword [rbp + 0x208]
test r14d, 0x801c0
je 0x18003d8e8
mov ebx, r10d
test r14b, 0x40
je 0x18003d571
mov rsi, qword [0x180054d20]
mov r8d, 0x100
mov edx, r13d
mov ecx, 0x200
call fcn.1800112d0
test al, al
je 0x18003d571
cmp dword [rsi + 0xe28], 0
jne 0x18003d571
xor r8d, r8d
mov edx, r13d
mov ecx, 0x200
call fcn.1800113f0
test al, al
je 0x18003d571
mov eax, 0x40
mov ebx, 0x200
xor r10d, r10d
jmp 0x18003d5f3
test r14b, r14b
jns 0x18003d5c7
mov esi, 1
mov r8d, esi
xor edx, edx
mov ecx, 0x203
call fcn.1800113f0
test al, al
je 0x18003d5a1
mov r11d, 0x80
mov eax, r11d
mov ebx, 0x203
xor r10d, r10d
jmp 0x18003d5f9
mov r8d, esi
xor edx, edx
mov ecx, 0x204
call fcn.1800113f0
test al, al
je 0x18003d5c7
mov r11d, 0x80
mov eax, r11d
mov ebx, 0x204
xor r10d, r10d
jmp 0x18003d5f9
mov eax, 0x80000
test eax, r14d
je 0x18003d5df
cmp byte [rdi + 0xe86], 0
je 0x18003d5df
xor r10d, r10d
jmp 0x18003d5f3
mov ecx, 0x100
test ecx, r14d
mov r10d, 0
mov eax, r10d
cmovne eax, ecx
mov r11d, 0x80
test eax, eax
je 0x18003d8e8
mov dword [rbp + 0x18], r10d
mov qword [rbp + 0x31], r10
mov dword [rbp + 0x39], r10d
mov word [rbp + 0x3d], r10w
mov byte [rbp + 0x3f], 0
mov qword [rbp], r12
mov dword [rbp + 8], eax
mov dword [rbp + 0xc], r14d
mov qword [rbp + 0x10], r10
test r15b, r15b
mov rax, qword [rbp - 0x70]
jne 0x18003d632
mov rax, qword [rdi + 0x30]
mov dword [rbp + 0x1c], ebx
mov qword [rbp + 0x20], rax
mov eax, dword [rdi + 0x10]
mov dword [rbp + 0x28], eax
mov eax, dword [rdi + 0x4c]
mov dword [rbp + 0x2c], eax
mov byte [rbp + 0x30], 0
mov rdx, qword [rdi + 0x20]
movsxd rax, dword [rdi + 0x54]
lea r8, [rdx + rax*2]
mov rcx, rdx
mov ebx, r10d
mov r9d, 0x800
test r8, r8
je 0x18003d66b
cmp rcx, r8
jae 0x18003d68e
movzx eax, word [rcx]
test ax, ax
je 0x18003d68e
add rcx, 2
cmp ax, r11w
jae 0x18003d681
inc ebx
jmp 0x18003d661
cmp ax, r9w
sbb eax, eax
add eax, 3
add ebx, eax
jmp 0x18003d661
mov dword [rbp + 0x34], ebx
movsxd rax, dword [rdi + 0x58]
lea r8, [rdx + rax*2]
mov rcx, rdx
mov r15d, r10d
nop
test r8, r8
je 0x18003d6aa
cmp rcx, r8
jae 0x18003d6cf
movzx eax, word [rcx]
test ax, ax
je 0x18003d6cf
add rcx, 2
cmp ax, r11w
jae 0x18003d6c1
inc r15d
jmp 0x18003d6a0
cmp ax, r9w
sbb eax, eax
add eax, 3
add r15d, eax
jmp 0x18003d6a0
mov dword [rbp + 0x38], r15d
movsxd rax, dword [rdi + 0x5c]
lea rcx, [rdx + rax*2]
mov r14d, r10d
nop
test rcx, rcx
je 0x18003d6ea
cmp rdx, rcx
jae 0x18003d70f
movzx eax, word [rdx]
test ax, ax
je 0x18003d70f
add rdx, 2
cmp ax, r11w
jae 0x18003d701
inc r14d
jmp 0x18003d6e0
cmp ax, r9w
sbb eax, eax
add eax, 3
add r14d, eax
jmp 0x18003d6e0
mov dword [rbp + 0x3c], r14d
lea rcx, [rbp]
call r10
movzx r13d, byte [rbp + 0x30]
movsxd rcx, dword [rbp + 0x34]
cmp ecx, ebx
jne 0x18003d72c
test r13b, r13b
je 0x18003d77c
mov rbx, qword [rbp + 0x20]
lea rsi, [rbx + rcx]
xor edx, edx
mov r12d, edx
nop dword [rax]
test rsi, rsi
je 0x18003d74a
cmp rbx, rsi
jae 0x18003d769
cmp byte [rbx], 0
je 0x18003d769
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.180004580
movsxd rcx, eax
add rbx, rcx
inc r12d
jmp 0x18003d740
mov dword [rdi + 0x54], r12d
mov byte [rdi + 0xe84], 1
mov ecx, dword [rbp + 0x34]
mov r12, qword [rsp + 0x78]
movsxd rax, dword [rbp + 0x38]
cmp eax, r15d
jne 0x18003d78a
test r13b, r13b
je 0x18003d7d1
cmp eax, ecx
jne 0x18003d794
mov r15d, dword [rdi + 0x54]
jmp 0x18003d7cd
mov rbx, qword [rbp + 0x20]
lea rsi, [rbx + rax]
xor eax, eax
mov r15d, eax
test rsi, rsi
je 0x18003d7ab
cmp rbx, rsi
jae 0x18003d7ca
cmp byte [rbx], 0
je 0x18003d7ca
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.180004580
movsxd rcx, eax
add rbx, rcx
inc r15d
jmp 0x18003d7a1
mov eax, dword [rbp + 0x38]
mov dword [rdi + 0x58], r15d
movsxd rcx, dword [rbp + 0x3c]
cmp ecx, r14d
jne 0x18003d7e3
test r13b, r13b
je 0x18003d8e8
cmp ecx, eax
jne 0x18003d833
mov r14d, dword [rdi + 0x58]
mov dword [rdi + 0x5c], r14d
test r13b, r13b
je 0x18003d8e8
mov r8d, dword [rbp + 0x28]
mov rdx, qword [rbp + 0x20]
mov rcx, rdi
call fcn.18003ab90
mov ebx, dword [rbp + 0x28]
mov eax, dword [rbp - 0x40]
cmp ebx, eax
jle 0x18003d881
cmp byte [rbp - 0x2c], 0
je 0x18003d881
sub ebx, eax
add ebx, dword [rdi + 0x18]
mov ecx, dword [rdi + 0x1c]
cmp ebx, ecx
jle 0x18003d87e
test ecx, ecx
je 0x18003d869
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18003d86e
mov rbx, qword [rbp + 0x20]
lea rsi, [rbx + rcx]
xor eax, eax
mov r14d, eax
test rsi, rsi
je 0x18003d84a
cmp rbx, rsi
jae 0x18003d7eb
cmp byte [rbx], 0
je 0x18003d7eb
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.180004580
movsxd rcx, eax
add rbx, rcx
inc r14d
jmp 0x18003d840
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rdi + 0x18]
call fcn.18001baf0
mov dword [rdi + 0x18], ebx
mov rsi, qword [rbp + 0x20]
mov r15, qword [rdi + 0x20]
mov rbx, r15
movsxd r14, dword [rdi + 0x18]
dec r14
lea r14, [r15 + r14*2]
cmp r15, r14
jae 0x18003d8ca
nop dword [rax]
cmp byte [rsi], 0
je 0x18003d8ca
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x40]
call fcn.180004580
movsxd rcx, eax
add rsi, rcx
movzx eax, word [rbp - 0x40]
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x18003d8a0
xor eax, eax
mov word [rbx], ax
sub rbx, r15
sar rbx, 1
mov dword [rdi + 0xc], ebx
mov eax, dword [rbp + 0x28]
mov dword [rdi + 0x10], eax
mov dword [rdi + 0xe80], 0xbe99999a
mov r8d, dword [rsp + 0x60]
mov r13, qword [rbp - 0x70]
test r8b, r8b
jne 0x18003d4b6
mov r9, qword [rdi + 0x30]
mov rax, r9
mov r8, r13
sub r8, r9
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18003d923
inc rax
test ecx, ecx
jne 0x18003d910
mov r8d, dword [rsp + 0x60]
test edx, edx
je 0x18003d4b6
mov r10, r9
mov qword [rbp - 0x50], r9
mov r9d, dword [rdi + 0x10]
mov r11b, 1
mov byte [rsp + 0x51], r11b
jmp 0x18003d4c5
mov r9d, r10d
mov r10d, r9d
mov r13, qword [rbp - 0x70]
mov r8d, dword [rsp + 0x60]
xor r11b, r11b
jmp 0x18003d4c5
mov edx, dword [rax + 0x476c]
mov ecx, dword [rax + 0x3f60]
cmp ecx, edx
jne 0x18003d9e0
test ecx, ecx
je 0x18003d9e0
cmp dword [rax + 0x3f30], edx
je 0x18003d9e0
cmp byte [rax + 0x3f65], 0
jne 0x18003d996
cmp dword [rax + 0x3f30], 0
jne 0x18003d9e0
cmp byte [rax + 0x3f40], 0
je 0x18003d9e0
test r8b, r8b
jne 0x18003d9e0
mov r10, qword [r12 + 0x5aa0]
mov qword [rbp - 0x50], r10
mov r9d, dword [r12 + 0x5a98]
dec r9d
mov rax, r10
mov r8, r13
sub r8, r10
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18003d9d3
inc rax
test ecx, ecx
jne 0x18003d9c0
test edx, edx
setne al
or r11b, al
mov byte [rsp + 0x51], r11b
xor r14d, r14d
mov dword [r12 + 0x5a90], r14d
jmp 0x18003d9f0
xor r14d, r14d
test r10, r10
je 0x18003da85
mov ecx, 0x41
cmp byte [rbp - 0x2c], 0
je 0x18003da5b
mov qword [rbp + 0x58], r14
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x40], r12
mov dword [rbp + 0x48], 0x40000
mov eax, dword [rbp + 0x208]
mov dword [rbp + 0x4c], eax
mov qword [rbp + 0x60], r13
mov dword [rbp + 0x68], r9d
lea eax, [r9 + 1]
cmp eax, ecx
cmovle eax, ecx
mov dword [rbp + 0x6c], eax
mov qword [rbp + 0x50], r14
lea rcx, [rbp + 0x40]
call r14
mov r13, qword [rbp + 0x60]
mov ecx, dword [rbp + 0x6c]
lea r9d, [rcx - 1]
cmp dword [rbp + 0x68], r9d
cmovl r9d, dword [rbp + 0x68]
mov r10, qword [rbp - 0x50]
lea eax, [r9 + 1]
cmp eax, ecx
cmovl ecx, eax
movsxd rbx, ecx
cmp rbx, 1
jb 0x18003da85
jbe 0x18003da7f
lea r8, [rbx - 1]
mov rdx, r10
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [rbx + r13 - 1], 0
cmp dword [r12 + 0x3f30], r15d
jne 0x18003daa3
cmp byte [rsp + 0x55], 0
je 0x18003db85
xor edx, edx
xor ecx, ecx
call fcn.180007b00
mov eax, 1
mov r11d, dword [rsp + 0x74]
test r11b, r11b
jne 0x18003db97
mov r8d, eax
mov edx, r15d
lea rcx, [rbp - 0x10]
call fcn.180005b60
mov rax, qword [0x180054d20]
movups xmm0, xmmword [rax + 0x391c]
movups xmmword [rbp + 0x80], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37d0]
movss dword [rbp + 0x8c], xmm0
lea rcx, [rbp + 0x80]
call fcn.1800047f0
mov r8d, eax
movss xmm0, dword [r12 + 0x3814]
movss dword [rsp + 0x20], xmm0
mov r9b, 1
mov rdx, qword [rbp - 8]
movaps xmm0, xmm11
unpcklps xmm0, xmm13
movq rcx, xmm0
call fcn.1800059c0
movaps xmm14, xmm9
addss xmm14, xmm11
movss dword [rbp + 0xa8], xmm14
movaps xmm12, xmm13
addss xmm12, xmm8
movss dword [rbp + 0xac], xmm12
movaps xmm0, xmm11
addss xmm0, dword [r12 + 0x380c]
movss dword [rbp - 0x70], xmm0
movaps xmm1, xmm13
addss xmm1, dword [r12 + 0x3810]
movss dword [rbp - 0x6c], xmm1
movss dword [rbp - 0x50], xmm14
movaps xmm15, xmm12
mov r8, qword [rbp - 0x60]
mov r11d, dword [rsp + 0x74]
jmp 0x18003dbd9
mov eax, 1
mov dword [r12 + 0x5e34], eax
jmp 0x18003daa8
movaps xmm1, xmm11
addss xmm1, xmm9
movss dword [rbp - 0x50], xmm1
movaps xmm14, xmm1
movss dword [rbp + 0xa8], xmm1
movaps xmm15, xmm8
addss xmm15, xmm13
movaps xmm12, xmm15
movss dword [rbp + 0xac], xmm15
mov r8, qword [rbp - 0x60]
movsd xmm0, qword [r8 + 0x100]
movsd qword [rbp - 0x70], xmm0
lea rax, [rbp - 0x70]
movss dword [rbp + 0xa4], xmm13
movss dword [rbp + 0xa0], xmm11
movsd xmm0, qword [rax]
movsd qword [rbp + 0x98], xmm0
movss dword [rsp + 0x68], xmm7
movaps xmm8, xmm7
movss dword [rbp - 0x78], xmm7
cmp byte [rbp - 0x7f], 0
je 0x18003dc14
mov r13, qword [rdi + 0x30]
movzx eax, byte [rsp + 0x50]
mov ecx, dword [rsp + 0x58]
test al, al
jne 0x18003de05
test cl, cl
jne 0x18003de05
test r11b, r11b
je 0x18003dc89
mov ecx, r14d
movzx edx, byte [r13]
lea rsi, [r13 + 1]
test dl, dl
je 0x18003dc57
lea eax, [rcx + 1]
cmp dl, 0xa
cmovne eax, ecx
mov ecx, eax
movzx edx, byte [rsi]
inc rsi
test dl, dl
jne 0x18003dc42
dec rsi
movzx eax, byte [rsi]
cmp al, 0xa
je 0x18003dc67
cmp al, 0xd
je 0x18003dc67
inc ecx
movss dword [rsp + 0x68], xmm9
movd xmm8, ecx
cvtdq2ps xmm8, xmm8
mulss xmm8, dword [r12 + 0x3c08]
movss dword [rbp - 0x78], xmm8
jmp 0x18003dcbf
cmp dword [r12 + 0x3f30], r15d
jne 0x18003dc99
movsxd rsi, dword [rdi + 0x10]
jmp 0x18003dcaa
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [rsi + r13], 0
jne 0x18003dca0
add rsi, r13
mov rax, rsi
sub rax, r13
cmp rax, 0x200000
jge 0x18003e713
mov rax, qword [0x180054d20]
movups xmm0, xmmword [rax + 0x38ac]
movups xmmword [rbp + 0x80], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37d0]
movss dword [rbp + 0x8c], xmm0
lea rcx, [rbp + 0x80]
call fcn.1800047f0
mov r9d, eax
mov r8, qword [r8 + 0x298]
lea rdx, [rbp + 0xa0]
test r11b, r11b
cmovne rdx, r14
mov rcx, rsi
movss xmm2, dword [r12 + 0x3c08]
mov r10, qword [r12 + 0x3c00]
test eax, 0xff000000
je 0x18003e713
test rsi, rsi
jne 0x18003dd4d
mov rcx, 0xffffffffffffffff
nop dword [rax + rax]
inc rcx
cmp byte [rcx + r13], 0
jne 0x18003dd40
add rcx, r13
cmp r13, rcx
je 0x18003e713
test r10, r10
jne 0x18003dd63
mov rax, qword [r8 + 0x38]
mov r10, qword [rax + 8]
ucomiss xmm2, xmm7
jp 0x18003dd73
jne 0x18003dd73
mov rax, qword [r8 + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm1, xmmword [r8 + 0x88]
movups xmmword [rbp - 0x10], xmm1
test rdx, rdx
je 0x18003ddc9
movss xmm0, dword [rdx]
comiss xmm1, xmm0
jae 0x18003dd92
movss dword [rbp - 0x10], xmm0
movss xmm1, dword [rdx + 4]
movss xmm0, dword [rbp - 0xc]
comiss xmm0, xmm1
jae 0x18003dda6
movss dword [rbp - 0xc], xmm1
movss xmm0, dword [rdx + 8]
comiss xmm0, dword [rbp - 8]
ja 0x18003ddb6
movss dword [rbp - 8], xmm0
movss xmm0, dword [rdx + 0xc]
comiss xmm0, dword [rbp - 4]
ja 0x18003ddc6
movss dword [rbp - 4], xmm0
test rdx, rdx
setne al
mov byte [rsp + 0x48], al
movss dword [rsp + 0x40], xmm7
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r13
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
lea r9, [rbp + 0x98]
mov rdx, r8
mov rcx, r10
call fcn.180030420
jmp 0x18003e713
movsxd rsi, dword [rdi + 0x10]
add rsi, r13
mov r15, qword [rdi + 0x20]
movaps xmm6, xmm7
mov r10, r14
mov r8d, 0xfffffc18
mov ebx, r8d
xor r9d, r9d
mov edx, r9d
test al, al
je 0x18003de39
movsxd rax, dword [rdi + 0x54]
lea r10, [r15 + rax*2]
lea edx, [r9 + 1]
lea r8d, [r9 - 1]
test cl, cl
je 0x18003de55
mov ecx, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], ecx
cmovl ecx, dword [rdi + 0x58]
movsxd rax, ecx
lea r14, [r15 + rax*2]
mov ebx, 0xffffffff
inc edx
movzx eax, r11b
add edx, eax
mov rax, r15
movzx ecx, word [r15]
test cx, cx
je 0x18003dea3
cmp cx, 0xa
jne 0x18003de97
inc r9d
cmp r8d, 0xffffffff
jne 0x18003de84
cmp rax, r10
jb 0x18003de84
mov r8d, r9d
dec edx
test edx, edx
jle 0x18003dea3
cmp ebx, 0xffffffff
jne 0x18003de97
cmp rax, r14
jb 0x18003de97
mov ebx, r9d
dec edx
test edx, edx
jle 0x18003dea3
add rax, 2
movzx ecx, word [rax]
test cx, cx
jne 0x18003de67
inc r9d
mov r11d, r9d
cmp r8d, 0xffffffff
cmovne r11d, r8d
cmp ebx, 0xffffffff
cmove ebx, r9d
mov rdx, r10
cmp r10, r15
jbe 0x18003ded2
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x18003ded2
mov rdx, rax
cmp rax, r15
ja 0x18003dec0
mov r8, qword [r12 + 0x3c00]
movss xmm2, dword [r12 + 0x3c08]
divss xmm2, dword [r8 + 0x14]
xorps xmm9, xmm9
xorps xmm1, xmm1
xorps xmm11, xmm11
cmp rdx, r10
jae 0x18003df40
nop word [rax + rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x18003df17
maxss xmm1, xmm11
movaps xmm11, xmm9
jmp 0x18003df3b
cmp ecx, 0xd
je 0x18003df3b
cmp ecx, dword [r8]
jge 0x18003df2c
mov rax, qword [r8 + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x18003df32
movss xmm0, dword [r8 + 0x10]
mulss xmm0, xmm2
addss xmm11, xmm0
cmp rdx, r10
jb 0x18003df00
maxss xmm11, xmm1
movss xmm0, dword [r12 + 0x3c08]
movd xmm13, r11d
cvtdq2ps xmm13, xmm13
mulss xmm13, xmm0
test ebx, ebx
js 0x18003dffa
mov rdx, r14
cmp r14, r15
jbe 0x18003df82
nop dword [rax]
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x18003df82
mov rdx, rax
cmp rax, r15
ja 0x18003df70
movaps xmm3, xmm0
divss xmm3, dword [r8 + 0x14]
movaps xmm1, xmm9
movaps xmm6, xmm9
cmp rdx, r14
jae 0x18003dfe1
nop dword [rax + rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x18003dfb6
maxss xmm1, xmm6
movaps xmm6, xmm9
jmp 0x18003dfdc
cmp ecx, 0xd
je 0x18003dfdc
cmp ecx, dword [r8]
jge 0x18003dfcb
mov rax, qword [r8 + 8]
movss xmm2, dword [rax + rcx*4]
jmp 0x18003dfd1
movss xmm2, dword [r8 + 0x10]
movaps xmm0, xmm3
mulss xmm0, xmm2
addss xmm6, xmm0
cmp rdx, r14
jb 0x18003dfa0
movss xmm0, dword [r12 + 0x3c08]
movd xmm7, ebx
cvtdq2ps xmm7, xmm7
mulss xmm7, xmm0
maxss xmm6, xmm1
mov r11d, dword [rsp + 0x74]
movss xmm3, dword [rbp - 0x30]
test r11b, r11b
je 0x18003e023
movss dword [rsp + 0x68], xmm3
movd xmm8, r9d
cvtdq2ps xmm8, xmm8
mulss xmm8, xmm0
movss dword [rbp - 0x78], xmm8
movzx r8d, byte [rsp + 0x50]
test r8b, r8b
je 0x18003e163
cmp byte [rdi + 0xe84], 0
je 0x18003e163
test dword [rbp + 0x208], 0x1000
jne 0x18003e0a0
movaps xmm2, xmm3
mulss xmm2, dword [0x18004b930]
subss xmm3, dword [r12 + 0x380c]
movss xmm1, dword [rdi + 0x50]
comiss xmm1, xmm11
jbe 0x18003e07d
movaps xmm1, xmm11
subss xmm1, xmm2
movaps xmm0, xmm9
maxss xmm0, xmm1
jmp 0x18003e08e
movaps xmm0, xmm11
subss xmm0, xmm3
comiss xmm0, xmm1
jb 0x18003e0a5
addss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x50], xmm0
jmp 0x18003e0a5
xor eax, eax
mov dword [rdi + 0x50], eax
test r11b, r11b
je 0x18003e15c
movaps xmm0, xmm13
subss xmm0, dword [r12 + 0x3c08]
movss xmm3, dword [rbp - 0x28]
comiss xmm10, xmm0
jbe 0x18003e0d2
movaps xmm10, xmm9
maxss xmm10, xmm0
jmp 0x18003e103
movss xmm2, dword [r12 + 0x3810]
addss xmm2, xmm2
movaps xmm1, xmm3
subss xmm1, xmm2
movaps xmm0, xmm13
subss xmm0, xmm1
comiss xmm0, xmm10
jb 0x18003e103
movaps xmm10, xmm13
subss xmm10, xmm3
addss xmm10, xmm2
movss xmm2, dword [r12 + 0x3810]
comiss xmm9, xmm10
jbe 0x18003e119
movaps xmm2, xmm9
jmp 0x18003e130
addss xmm2, xmm2
addss xmm2, xmm8
subss xmm2, xmm3
maxss xmm2, xmm9
minss xmm2, xmm10
mov rax, qword [rbp - 0x60]
movss xmm0, dword [rax + 0x88]
subss xmm0, xmm2
movss xmm1, dword [rbp + 0x9c]
addss xmm1, xmm0
movss dword [rbp + 0x9c], xmm1
movss dword [rax + 0x88], xmm2
mov byte [rdi + 0xe84], 0
movss xmm10, dword [rdi + 0x50]
cmp byte [rsp + 0x58], 0
je 0x18003e3e2
mov edx, dword [rdi + 0x5c]
mov ecx, dword [rdi + 0x58]
mov eax, edx
cmp ecx, edx
cmovl eax, ecx
cdqe
lea rbx, [r15 + rax*2]
cmovge edx, ecx
movsxd rax, edx
lea r14, [r15 + rax*2]
test r8b, r8b
je 0x18003e1a0
movss xmm1, dword [0x18004b97c]
jmp 0x18003e1a8
movss xmm1, dword [0x18004b948]
mov rax, qword [0x180054d20]
movups xmm0, xmmword [rax + 0x3b9c]
movups xmmword [rbp + 0x80], xmm0
mulss xmm1, dword [rax + 0x37d0]
shufps xmm0, xmm0, 0xff
mulss xmm0, xmm1
movss dword [rbp + 0x8c], xmm0
lea rcx, [rbp + 0x80]
call fcn.1800047f0
mov r15d, eax
test r11b, r11b
je 0x18003e1f1
movss dword [rbp - 0x24], xmm9
jmp 0x18003e1fa
movss xmm9, dword [0x18004b990]
movss xmm8, dword [rbp + 0x98]
movaps xmm4, xmm8
addss xmm4, xmm6
subss xmm4, xmm10
movss xmm6, dword [rbp + 0x9c]
addss xmm6, xmm7
xorps xmm7, xmm7
subss xmm6, xmm7
cmp rbx, r14
jae 0x18003e3ee
movss xmm1, dword [rbp - 0x68]
movss xmm3, dword [r12 + 0x3c08]
movaps xmm0, xmm12
addss xmm0, xmm3
comiss xmm6, xmm0
ja 0x18003e3db
comiss xmm1, xmm6
jbe 0x18003e27b
cmp rbx, r14
jae 0x18003e3bf
nop word [rax + rax]
movzx eax, word [rbx]
add rbx, 2
cmp ax, 0xa
je 0x18003e3bf
cmp rbx, r14
jb 0x18003e260
jmp 0x18003e3bf
mov rdx, qword [r12 + 0x3c00]
divss xmm3, dword [rdx + 0x14]
movaps xmm5, xmm7
movaps xmm1, xmm7
cmp rbx, r14
jae 0x18003e2d4
movzx ecx, word [rbx]
add rbx, 2
cmp ecx, 0xa
je 0x18003e2ca
cmp ecx, 0xd
je 0x18003e2c3
cmp ecx, dword [rdx]
jge 0x18003e2b3
mov rax, qword [rdx + 8]
movss xmm2, dword [rax + rcx*4]
jmp 0x18003e2b8
movss xmm2, dword [rdx + 0x10]
movaps xmm0, xmm3
mulss xmm0, xmm2
addss xmm1, xmm0
cmp rbx, r14
jb 0x18003e293
jmp 0x18003e2d4
movaps xmm5, xmm7
maxss xmm5, xmm1
movaps xmm1, xmm7
maxss xmm1, xmm5
comiss xmm7, xmm1
jb 0x18003e308
cmp dword [rdx], 0x20
jle 0x18003e2f0
mov rax, qword [rdx + 8]
movss xmm0, dword [rax + 0x80]
jmp 0x18003e2f5
movss xmm0, dword [rdx + 0x10]
mulss xmm0, dword [0x18004b944]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm1, xmm4
movaps xmm0, xmm9
addss xmm0, xmm6
addss xmm4, xmm7
movss xmm2, dword [rbp - 0x24]
subss xmm2, dword [r12 + 0x3c08]
addss xmm2, xmm6
movss xmm3, dword [rbp - 0x38]
maxss xmm4, xmm3
maxss xmm2, dword [rbp - 0x68]
movss dword [rbp + 0x80], xmm4
movss dword [rbp + 0x84], xmm2
minss xmm1, xmm14
minss xmm0, xmm12
movss dword [rbp + 0x88], xmm1
movss dword [rbp + 0x8c], xmm0
comiss xmm0, dword [rbp - 0x68]
jbe 0x18003e3ba
comiss xmm12, xmm2
jbe 0x18003e3ba
comiss xmm1, xmm3
jbe 0x18003e3ba
comiss xmm14, xmm4
jbe 0x18003e3ba
xor eax, eax
mov dword [rsp + 0x28], eax
movss dword [rsp + 0x20], xmm7
mov r9d, r15d
lea r8, [rbp + 0x88]
lea rdx, [rbp + 0x80]
mov rax, qword [rbp - 0x60]
mov rcx, qword [rax + 0x298]
call fcn.18002c430
movss xmm0, dword [rbp - 0x50]
movss dword [rbp - 0x50], xmm0
movss xmm8, dword [rbp + 0x98]
movss xmm1, dword [rbp - 0x68]
movaps xmm4, xmm8
subss xmm4, xmm10
addss xmm6, dword [r12 + 0x3c08]
cmp rbx, r14
jb 0x18003e231
mov r11d, dword [rsp + 0x74]
jmp 0x18003e3ee
movss xmm8, dword [rbp + 0x98]
xorps xmm7, xmm7
test r11b, r11b
jne 0x18003e405
mov rax, rsi
sub rax, r13
cmp rax, 0x200000
jge 0x18003e563
mov rax, qword [0x180054d20]
movups xmm0, xmmword [rax + 0x38ac]
movups xmmword [rbp + 0x80], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37d0]
movss dword [rbp + 0x8c], xmm0
lea rcx, [rbp + 0x80]
call fcn.1800047f0
mov r9d, eax
mov rbx, qword [rbp - 0x60]
mov r8, qword [rbx + 0x298]
mov rcx, rsi
subss xmm8, xmm10
movss dword [rbp - 0x70], xmm8
movss xmm0, dword [rbp + 0x9c]
subss xmm0, xmm7
movss dword [rbp - 0x6c], xmm0
movss xmm2, dword [r12 + 0x3c08]
mov r10, qword [r12 + 0x3c00]
lea rdx, [rbp + 0xa0]
test r11b, r11b
mov eax, 0
cmovne rdx, rax
test r9d, 0xff000000
je 0x18003e567
test rsi, rsi
jne 0x18003e4b1
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rcx + r13], al
jne 0x18003e4a5
add rcx, r13
cmp r13, rcx
je 0x18003e567
test r10, r10
jne 0x18003e4c7
mov rax, qword [r8 + 0x38]
mov r10, qword [rax + 8]
ucomiss xmm2, xmm7
jp 0x18003e4d7
jne 0x18003e4d7
mov rax, qword [r8 + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm1, xmmword [r8 + 0x88]
movups xmmword [rbp - 0x10], xmm1
test rdx, rdx
je 0x18003e52d
movss xmm0, dword [rdx]
comiss xmm1, xmm0
jae 0x18003e4f6
movss dword [rbp - 0x10], xmm0
movss xmm1, dword [rdx + 4]
movss xmm0, dword [rbp - 0xc]
comiss xmm0, xmm1
jae 0x18003e50a
movss dword [rbp - 0xc], xmm1
movss xmm0, dword [rdx + 8]
comiss xmm0, dword [rbp - 8]
ja 0x18003e51a
movss dword [rbp - 8], xmm0
movss xmm0, dword [rdx + 0xc]
comiss xmm0, dword [rbp - 4]
ja 0x18003e52a
movss dword [rbp - 4], xmm0
test rdx, rdx
setne al
mov byte [rsp + 0x48], al
movss dword [rsp + 0x40], xmm7
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r13
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
lea r9, [rbp - 0x70]
mov rdx, r8
mov rcx, r10
call fcn.180030420
jmp 0x18003e567
mov rbx, qword [rbp - 0x60]
cmp byte [rsp + 0x50], 0
je 0x18003e708
movss xmm0, dword [r12 + 0x18]
addss xmm0, dword [rdi + 0xe80]
movss dword [rdi + 0xe80], xmm0
cmp byte [r12 + 0x7b], 0
je 0x18003e5b4
comiss xmm7, xmm0
jae 0x18003e5b4
movss xmm1, dword [0x18004b984]
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
movss xmm1, dword [0x18004b968]
comiss xmm1, xmm0
jae 0x18003e5b4
xor cl, cl
jmp 0x18003e5b6
mov cl, 1
movss xmm0, dword [rbp + 0x98]
addss xmm0, xmm11
subss xmm0, xmm10
cvttss2si eax, xmm0
movd xmm6, eax
cvtdq2ps xmm6, xmm6
movss xmm0, dword [rbp + 0x9c]
addss xmm0, xmm13
subss xmm0, xmm7
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss dword [rbp + 0x80], xmm6
movaps xmm0, xmm7
subss xmm0, dword [r12 + 0x3c08]
addss xmm0, dword [0x18004b944]
movss dword [rbp + 0x84], xmm0
movaps xmm2, xmm6
movss xmm8, dword [0x18004b97c]
addss xmm2, xmm8
movss dword [rbp + 0x88], xmm2
movaps xmm1, xmm7
subss xmm1, dword [0x18004b98c]
movss dword [rbp + 0x8c], xmm1
movss xmm13, dword [rbp - 0x68]
test cl, cl
je 0x18003e6bd
comiss xmm1, xmm13
jbe 0x18003e6bd
comiss xmm15, xmm0
jbe 0x18003e6bd
comiss xmm2, dword [rbp - 0x38]
jbe 0x18003e6bd
movss xmm0, dword [rbp - 0x50]
comiss xmm0, xmm6
jbe 0x18003e6bd
mov rax, qword [0x180054d20]
movups xmm0, xmmword [rax + 0x38ac]
movups xmmword [rbp - 0x10], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37d0]
movss dword [rbp - 4], xmm0
movss dword [rbp - 0x70], xmm6
movss dword [rbp - 0x6c], xmm1
lea rcx, [rbp - 0x10]
call fcn.1800047f0
mov r9d, eax
movss dword [rsp + 0x20], xmm8
lea r8, [rbp - 0x70]
lea rdx, [rbp + 0x80]
mov rcx, qword [rbx + 0x298]
call fcn.18002c1c0
mov r15d, dword [rsp + 0x6c]
cmp byte [rsp + 0x60], 0
jne 0x18003e703
mov byte [r12 + 0x5bc0], 1
subss xmm6, xmm8
movss xmm0, dword [r12 + 0x3c08]
subss xmm7, xmm0
movss dword [r12 + 0x5bc4], xmm6
movss dword [r12 + 0x5bc8], xmm7
movss dword [r12 + 0x5bcc], xmm0
xorps xmm7, xmm7
jmp 0x18003e71c
movss xmm13, dword [rbp - 0x68]
mov r15d, dword [rsp + 0x6c]
movss xmm8, dword [0x18004b97c]
mov ebx, dword [rbp - 0x44]
test bl, bl
je 0x18003e728
call fcn.180010950
cmp byte [rsp + 0x74], 0
je 0x18003e7c5
movss xmm0, dword [rsp + 0x68]
movss dword [rbp - 0x70], xmm0
movss xmm0, dword [rbp - 0x78]
addss xmm0, dword [r12 + 0x3810]
movss dword [rbp - 0x6c], xmm0
lea rcx, [rbp - 0x70]
call fcn.180037c80
mov ebx, dword [r12 + 0x4750]
mov eax, ebx
or eax, 0x401
mov dword [r12 + 0x4750], eax
call fcn.18000b310
mov eax, dword [r12 + 0x4774]
and eax, 0x80
mov edi, dword [rbp + 0xb8]
or edi, eax
mov dword [r12 + 0x4750], ebx
call fcn.180013ab0
mov ebx, dword [rbp - 0x44]
cmp dword [r12 + 0x476c], 0
jne 0x18003e7c5
mov dword [r12 + 0x476c], r15d
mov eax, dword [rbp + 0xb4]
mov dword [r12 + 0x4770], eax
mov dword [r12 + 0x4774], edi
cmp byte [r12 + 0x5c78], 0
je 0x18003e955
test bl, bl
jne 0x18003e955
mov rdi, qword [0x180054d20]
mov r14, qword [rdi + 0x3ed0]
xor eax, eax
mov qword [rdi + 0x5ca0], rax
mov qword [rdi + 0x5c98], rax
test rsi, rsi
jne 0x18003e825
mov rsi, r13
cmp r13, 0xffffffffffffffff
jae 0x18003e825
movzx ecx, byte [rsi]
test cl, cl
je 0x18003e825
lea rax, [rsi + 1]
cmp cl, 0x23
jne 0x18003e81c
cmp byte [rax], cl
je 0x18003e825
mov rsi, rax
cmp rax, 0xffffffffffffffff
jb 0x18003e808
movss xmm0, dword [rdi + 0x3810]
addss xmm0, dword [rdi + 0x5ca8]
addss xmm0, xmm8
movss xmm1, dword [rbp + 0x9c]
movss dword [rdi + 0x5ca8], xmm1
comiss xmm1, xmm0
jbe 0x18003e862
lea rcx, [0x18004a224]
call fcn.180019800
mov byte [rdi + 0x5cac], 1
lea r8, [0x18004b879]
lea rdx, [0x18004b878]
lea rcx, [rbp + 0x98]
call fcn.180019840
mov eax, dword [r14 + 0x188]
mov ecx, dword [rdi + 0x5cb0]
cmp ecx, eax
jle 0x18003e895
mov dword [rdi + 0x5cb0], eax
mov ecx, eax
mov r14d, dword [r14 + 0x188]
sub r14d, ecx
mov r15d, 1
nop word [rax + rax]
mov r8, rsi
sub r8, r13
mov edx, 0xa
mov rcx, r13
call sub.VCRUNTIME140.dll_memchr
mov rbx, rsi
test rax, rax
cmovne rbx, rax
cmp r13, rbx
jne 0x18003e8d7
cmp rbx, rsi
je 0x18003e936
mov r9d, ebx
sub r9d, r13d
cmp byte [rdi + 0x5cac], 0
lea edx, [r14*4]
jne 0x18003e8f1
mov edx, r15d
mov qword [rsp + 0x20], r13
lea r8, [0x180044b08]
lea rcx, str._s_.s
call fcn.180019800
mov byte [rdi + 0x5cac], 0
cmp byte [rbx], 0xa
jne 0x18003e928
lea rcx, [0x18004a224]
call fcn.180019800
mov byte [rdi + 0x5cac], r15b
cmp rbx, rsi
je 0x18003e936
lea r13, [rbx + 1]
jmp 0x18003e8b0
lea r8, [0x18004b875]
lea rdx, [0x18004b874]
lea rcx, [rbp + 0x98]
call fcn.180019840
mov r15d, dword [rsp + 0x6c]
movss xmm0, dword [rbp - 0x20]
comiss xmm0, xmm7
jbe 0x18003e990
movss xmm0, dword [rbp - 0x34]
addss xmm0, dword [r12 + 0x3824]
addss xmm13, dword [r12 + 0x3810]
mov r9b, 1
xor r8d, r8d
mov rdx, qword [rbp - 0x18]
unpcklps xmm0, xmm13
movq rcx, xmm0
call fcn.180004da0
movzx r8d, byte [rsp + 0x51]
mov edx, dword [rbp + 0x208]
test r8b, r8b
je 0x18003e9cd
bt edx, 0x1b
jb 0x18003e9cd
mov rax, qword [0x180054d20]
mov ecx, dword [rax + 0x3f30]
cmp ecx, r15d
je 0x18003e9bd
test ecx, ecx
jne 0x18003e9c6
mov word [rax + 0x3f40], 0x101
or dword [rax + 0x4774], 4
test dl, 0x20
mov eax, r8d
movzx ecx, byte [rsp + 0x5c]
cmovne eax, ecx
jmp 0x18003b41d