Function at 0x18004e200
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 - 0x1a8]
sub rsp, 0x270
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 [0x180082010]
xor rax, rsp
mov qword [rbp + 0xc8], rax
mov qword [rbp - 0x48], r8
mov rdi, rcx
mov rbx, qword [0x180098080]
mov r15, rbx
mov qword [rsp + 0x68], rbx
mov rax, qword [rbx + 0x3eb8]
mov byte [rax + 0xb0], 1
mov r12, qword [rbx + 0x3eb8]
mov qword [rbp - 0x80], r12
cmp byte [r12 + 0xb3], 0
jne 0x18004e693
mov r13d, dword [rbp + 0x1d8]
mov dword [rsp + 0x70], r13d
mov r14d, r13d
shr r14d, 0x1a
and r14b, 1
mov dword [rsp + 0x5c], r14d
mov eax, r13d
shr eax, 0xe
and al, 1
mov dword [rsp + 0x60], eax
mov eax, r13d
shr eax, 0xf
and al, 1
mov dword [rbp - 0x50], eax
mov eax, r13d
shr eax, 0x10
not al
and al, 1
mov dword [rbp - 0x58], eax
mov eax, r13d
shr eax, 0x12
and al, 1
mov dword [rbp - 0x78], eax
test r14b, r14b
je 0x18004e30d
call fcn.18002ae30
mov rbx, qword [0x180098080]
movsxd r8, dword [r12 + 0xe8]
mov rax, qword [r12 + 0xf0]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
mov rcx, rdi
call fcn.18001b7d0
mov esi, eax
mov dword [rsp + 0x7c], eax
cmp dword [rbx + 0x3f00], eax
jne 0x18004e350
mov r8, rdi
mov edx, 0xb
mov ecx, eax
call fcn.180032410
mov rbx, qword [0x180098080]
mov rcx, rdi
cmp rdi, 0xffffffffffffffff
jae 0x18004e37d
nop dword [rax]
movzx edx, byte [rcx]
test dl, dl
je 0x18004e37d
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x18004e374
cmp byte [rax], dl
je 0x18004e37d
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x18004e360
movss xmm0, dword [rbx + 0x3c18]
movss xmm1, dword [0x18007442c]
movss dword [rbp - 0x2c], xmm1
movss xmm10, dword [0x180074408]
xorps xmm9, xmm9
cmp rdi, rcx
jne 0x18004e3a9
xorps xmm6, xmm6
jmp 0x18004e3ed
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdi
movss dword [rsp + 0x20], xmm1
movaps xmm3, xmm10
movaps xmm2, xmm0
lea rdx, [rbp - 0x70]
mov rcx, qword [rbx + 0x3c10]
call fcn.180043360
movss xmm0, dword [rbp - 0x70]
addss xmm0, dword [0x180074274]
cvttss2si eax, xmm0
movd xmm6, eax
cvtdq2ps xmm6, xmm6
movss xmm0, dword [rbp - 0x6c]
test r14b, r14b
je 0x18004e403
movss xmm0, dword [r15 + 0x3c18]
mulss xmm0, dword [0x180074334]
movss xmm7, dword [r15 + 0x3820]
movaps xmm3, xmm7
addss xmm3, xmm7
addss xmm3, xmm0
call fcn.18002ac90
subss xmm0, dword [0x1800743c4]
movaps xmm2, xmm0
mov rdx, qword [rbp + 0x1d0]
mov rdx, qword [rdx]
lea rcx, [rbp - 0x70]
call fcn.18002ad10
comiss xmm6, xmm9
jbe 0x18004e44b
addss xmm6, dword [r15 + 0x3834]
jmp 0x18004e44e
xorps xmm6, xmm6
movss xmm12, dword [r12 + 0x100]
movss dword [rbp - 0x40], xmm12
movaps xmm1, xmm12
movss xmm8, dword [rbp - 0x6c]
movss dword [rbp - 0x30], xmm8
addss xmm1, xmm8
movss xmm13, dword [r12 + 0xfc]
movss dword [rbp - 0x34], xmm13
movaps xmm0, xmm13
movss xmm11, dword [rbp - 0x70]
addss xmm0, xmm11
movss dword [rbp + 0x50], xmm13
movss dword [rbp + 0x54], xmm12
movss dword [rbp + 0x58], xmm0
movss dword [rbp + 0x5c], xmm1
movaps xmm2, xmm12
addss xmm2, xmm8
addss xmm6, xmm11
addss xmm6, xmm13
movss dword [rbp + 0x60], xmm13
movss dword [rbp + 0x64], xmm12
movss dword [rbp + 0x68], xmm6
movss dword [rbp + 0x6c], xmm2
mov rbx, r12
mov qword [rbp - 0x70], rbx
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
subss xmm2, xmm12
subss xmm6, xmm13
movaps xmm1, xmm7
test r14b, r14b
je 0x18004e756
movss dword [rbp - 0x70], xmm6
movss dword [rbp - 0x6c], xmm2
lea rcx, [rbp - 0x70]
call fcn.18002a860
mov r9d, 0x400
lea r8, [rbp + 0x50]
mov edx, esi
lea rcx, [rbp + 0x60]
call fcn.18002a9d0
test al, al
je 0x18004e68e
mov r13d, dword [r15 + 0x475c]
movups xmm0, xmmword [r15 + 0x4754]
movups xmmword [rbp + 0x88], xmm0
movss dword [r12 + 0xfc], xmm13
movss dword [r12 + 0x100], xmm12
mov rbx, qword [0x180098080]
mov dword [rbp + 0x60], 3
movups xmm0, xmmword [rbx + 0x38ec]
movups xmmword [rbp + 0x64], xmm0
lea rcx, [rbx + 0x4800]
lea rdx, [rbp + 0x60]
call fcn.180032e60
movups xmm0, xmmword [r15 + 0x392c]
movups xmmword [rbx + 0x38ec], xmm0
movss xmm1, dword [r15 + 0x3824]
mov ecx, 7
call fcn.18001c4c0
movss xmm1, dword [r15 + 0x3828]
mov ecx, 8
call fcn.18001c4c0
mov rbx, qword [0x180098080]
lea rcx, [rbx + 0x4810]
movss xmm1, dword [rbx + 0x37e8]
movss xmm0, dword [rbx + 0x37ec]
mov dword [rbp - 0x70], 2
movss dword [rbp - 0x6c], xmm1
movss dword [rbp - 0x68], xmm0
lea rdx, [rbp - 0x70]
call fcn.180032d40
xor r14d, r14d
mov qword [rbx + 0x37e8], r14
movss xmm1, dword [rbp + 0x5c]
movss xmm12, dword [rbp + 0x54]
movss dword [rbp - 0x40], xmm12
subss xmm1, xmm12
movss xmm0, dword [rbp + 0x58]
movss xmm13, dword [rbp + 0x50]
movss dword [rbp - 0x34], xmm13
subss xmm0, xmm13
movss dword [rbp - 0x70], xmm0
movss dword [rbp - 0x6c], xmm1
mov dword [rsp + 0x20], 4
lea r8, [rbp - 0x70]
mov edx, esi
mov rcx, rdi
call fcn.1800226e0
movzx ebx, al
lea ecx, [r14 + 3]
call fcn.18001c540
mov r8, qword [0x180098080]
movsxd rax, dword [r8 + 0x4800]
cmp eax, 1
jl 0x18004e685
lea rdx, [rax + rax*4]
mov rcx, qword [r8 + 0x4808]
movsxd rax, dword [rcx + rdx*4 - 0x14]
add rax, rax
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
movups xmmword [r8 + rax*8 + 0x38bc], xmm0
dec dword [r8 + 0x4800]
test bl, bl
jne 0x18004e6f7
call fcn.180022b30
call fcn.18002af60
xor al, al
mov rcx, qword [rbp + 0xc8]
xor rcx, rsp
call fcn.1800636e0
lea r11, [rsp + 0x270]
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 + 0x3eb8]
mov qword [rbp - 0x70], rbx
movsx ecx, word [rbx + 0x15a]
mov eax, dword [rbx + 0x154]
bts ecx, eax
mov word [rbx + 0x15a], cx
movss xmm0, dword [rbx + 0xfc]
addss xmm0, dword [r15 + 0x381c]
movss dword [rbx + 0xfc], xmm0
movss xmm1, dword [r15 + 0x3820]
addss xmm1, dword [rbx + 0x100]
movss dword [rbx + 0x100], xmm1
subss xmm11, dword [rbx + 0xa4]
jmp 0x18004e7af
movss dword [rbp - 0x3c], xmm6
movss dword [rbp - 0x38], xmm2
lea rcx, [rbp - 0x3c]
call fcn.18002a860
bt r13d, 0x1c
jb 0x18004e7a5
mov r9d, 0x400
lea r8, [rbp + 0x50]
mov edx, esi
lea rcx, [rbp + 0x60]
call fcn.18002a9d0
test al, al
je 0x18004e693
movss xmm12, dword [rbp + 0x54]
movss dword [rbp - 0x40], xmm12
movss xmm13, dword [rbp + 0x50]
movss dword [rbp - 0x34], xmm13
mov r13d, dword [r15 + 0x475c]
xor r14d, r14d
mov edx, esi
lea rcx, [rbp + 0x50]
call fcn.18001f5a0
movzx ecx, al
mov byte [rsp + 0x64], al
test al, al
je 0x18004e7d0
mov dword [r15 + 0x4a40], 1
mov rdi, qword [0x180098080]
test esi, esi
je 0x18004e7ec
cmp dword [rdi + 0x4bd8], esi
jne 0x18004e7ec
add rdi, 0x4bd0
jmp 0x18004e7ef
mov rdi, r14
shr r13d, 8
and r13b, 1
mov eax, dword [r15 + 0x3f18]
cmp eax, esi
je 0x18004e825
cmp dword [r15 + 0x48b4], esi
je 0x18004e81e
cmp dword [r15 + 0x48a8], esi
jne 0x18004e825
cmp dword [r15 + 0x48d0], 2
jne 0x18004e825
mov byte [rsp + 0x51], 1
jmp 0x18004e82a
mov byte [rsp + 0x51], 0
test cl, cl
je 0x18004e83d
cmp byte [r15 + 0x3738], 0
je 0x18004e83d
mov r14b, 1
jmp 0x18004e840
xor r14b, r14b
mov byte [rsp + 0x52], r14b
mov r8d, dword [rsp + 0x5c]
test r8b, r8b
je 0x18004e8b0
test rdi, rdi
je 0x18004e8b0
test eax, eax
jne 0x18004e8b0
movsxd r8, dword [rbx + 0xe8]
mov rax, qword [rbx + 0xf0]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
lea rcx, str.SCROLLY
call fcn.18001b7d0
mov ebx, eax
mov rcx, qword [0x180098080]
cmp dword [rcx + 0x3f00], eax
jne 0x18004e89d
lea r8, str.SCROLLY
mov edx, 0xb
mov ecx, eax
call fcn.180032410
cmp dword [r15 + 0x3f48], ebx
jne 0x18004e8ab
mov sil, 1
jmp 0x18004e8bd
mov r8d, dword [rsp + 0x5c]
xor sil, sil
test r8b, r8b
je 0x18004e933
test rdi, rdi
je 0x18004e933
mov rax, qword [rbp - 0x70]
movsxd r8, dword [rax + 0xe8]
mov rax, qword [rax + 0xf0]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
lea rcx, str.SCROLLY
call fcn.18001b7d0
mov ebx, eax
mov rcx, qword [0x180098080]
cmp dword [rcx + 0x3f00], eax
jne 0x18004e906
lea r8, str.SCROLLY
mov edx, 0xb
mov ecx, eax
call fcn.180032410
mov r8d, dword [rsp + 0x5c]
cmp dword [r15 + 0x3f18], ebx
jne 0x18004e933
mov cl, 1
mov byte [rsp + 0x59], cl
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x54], 0
mov rax, qword [rbp - 0x70]
movss xmm10, dword [rax + 0x80]
jmp 0x18004e95b
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x54], 0
xor cl, cl
mov byte [rsp + 0x59], cl
test r8b, r8b
je 0x18004e957
mov rax, qword [rbp - 0x70]
movss xmm10, dword [rax + 0x80]
jmp 0x18004e95b
mov byte [rsp + 0x59], cl
test rdi, rdi
je 0x18004e970
movzx eax, r8b
xor al, 1
cmp byte [rdi + 0x6b], al
je 0x18004e970
mov r15b, 1
jmp 0x18004e973
xor r15b, r15b
test r14b, r14b
jne 0x18004e99d
test sil, sil
jne 0x18004e99d
cmp byte [rsp + 0x51], sil
jne 0x18004e99d
test r13b, r13b
jne 0x18004e99d
mov byte [rsp + 0x50], r13b
test cl, cl
jne 0x18004e9a2
mov byte [rsp + 0x5a], cl
mov rax, qword [rsp + 0x68]
jmp 0x18004e9b8
mov byte [rsp + 0x50], 1
mov byte [rsp + 0x5a], 1
mov rax, qword [rsp + 0x68]
mov edx, dword [rsp + 0x7c]
cmp dword [rax + 0x3f18], edx
jne 0x18004e9c1
test r15b, r15b
je 0x18004ebfa
lea rdi, [rax + 0x4bd0]
mov dword [rdi + 0xe80], 0xbe99999a
mov rbx, 0xffffffffffffffff
mov rax, qword [rbp - 0x48]
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x18004e9e0
lea esi, [rbx + 1]
mov ecx, dword [rdi + 0x3c]
cmp esi, ecx
jle 0x18004ea17
test ecx, ecx
je 0x18004ea02
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18004ea07
mov eax, 8
mov edx, esi
cmp eax, esi
cmovg edx, eax
lea rcx, [rdi + 0x38]
call fcn.180033b90
mov dword [rdi + 0x38], esi
movsxd r8, esi
mov rsi, qword [rbp - 0x48]
mov rdx, rsi
mov rcx, qword [rdi + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov r14d, dword [rsp + 0x7c]
cmp dword [rdi + 8], r14d
jne 0x18004ea5f
test r15b, r15b
jne 0x18004ea5f
mov r12b, 1
cmp dword [rdi + 0x10], ebx
jne 0x18004ea5f
cmp byte [rdi + 0x48], r15b
je 0x18004ea62
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 0x18004ea62
xor r12b, r12b
mov dword [rdi + 8], r14d
mov ecx, dword [rdi + 0x1c]
cmp ecx, 0x21
jge 0x18004ea95
test ecx, ecx
je 0x18004ea7d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18004ea82
mov eax, 8
mov edx, 0x21
cmp eax, edx
cmovg edx, eax
lea rcx, [rdi + 0x18]
call fcn.180033c50
mov dword [rdi + 0x18], 0x21
mov ecx, dword [rdi + 0x2c]
test ecx, ecx
jns 0x18004eabe
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.180033b90
xor ecx, ecx
mov dword [rdi + 0x28], ecx
mov byte [rdi + 0x48], cl
mov r15, qword [rdi + 0x20]
mov rbx, r15
lea r14, [r15 + 0x3e]
cmp r15, r14
jae 0x18004eb02
cmp byte [rsi], 0
je 0x18004eb00
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x3c]
call fcn.18001baf0
movsxd rcx, eax
add rsi, rcx
movzx eax, word [rbp - 0x3c]
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x18004ead6
xor ecx, ecx
mov word [rbx], cx
sub rbx, r15
sar rbx, 1
mov dword [rdi + 0xc], ebx
mov rax, qword [rbp - 0x48]
sub esi, eax
mov dword [rdi + 0x10], esi
mov r8d, dword [rsp + 0x5c]
test r12b, r12b
je 0x18004eb45
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 0x18004eb8c
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 0x18004ebe2
mov ecx, dword [rsp + 0x70]
test cl, 0x10
mov eax, dword [rsp + 0x54]
movzx eax, al
mov ecx, 1
cmovne eax, ecx
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x68]
cmp byte [rsp + 0x51], r8b
je 0x18004ebc9
test r12b, r12b
je 0x18004ebc5
test byte [rax + 0x48b8], 4
jne 0x18004ebc9
mov byte [rsp + 0x54], cl
test r13b, r13b
jne 0x18004ebde
cmp byte [rsp + 0x52], r13b
je 0x18004ebe2
cmp byte [rax + 0xe14], r13b
je 0x18004ebe2
mov byte [rsp + 0x54], cl
movzx r14d, byte [rsp + 0x52]
mov r12, qword [rbp - 0x80]
test dword [rsp + 0x70], 0x2000
je 0x18004ebfa
mov byte [rdi + 0x60], 1
mov rsi, qword [rsp + 0x68]
movzx r15d, byte [rsi + 0x79]
mov byte [rsp + 0x74], r15b
mov r13d, dword [rsp + 0x7c]
movzx ebx, byte [rsp + 0x50]
cmp dword [rsi + 0x3f18], r13d
je 0x18004ec50
test bl, bl
je 0x18004ec43
mov rdx, r12
mov ecx, r13d
call fcn.18001f360
mov rdx, r12
mov ecx, r13d
call fcn.18002ca40
mov rcx, r12
call fcn.180027980
mov r8d, dword [rsp + 0x5c]
cmp dword [rsi + 0x3f18], r13d
jne 0x18004ed82
test r14b, r14b
je 0x18004ec73
mov rax, qword [0x180098080]
mov dword [rax + 0x4570], r13d
mov dword [rax + 0x456c], r13d
mov word [rax + 0x4574], 0
mov eax, dword [rsi + 0x4728]
or eax, 3
mov dword [rsi + 0x4728], eax
mov ecx, dword [rsp + 0x70]
test r8b, r8b
jne 0x18004ec8f
test cl, cl
jns 0x18004ec98
or eax, 0xc
mov dword [rsi + 0x4728], eax
mov rax, qword [0x180098080]
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 r8b, r8b
je 0x18004ed00
mov dword [rax + 0x3fa0], r13d
mov dword [rax + 0x3f9c], r13d
mov word [rax + 0x3fa4], 0
mov dword [rax + 0x3fac], r13d
mov dword [rax + 0x3fa8], r13d
mov word [rax + 0x3fb0], 0
test r15b, r15b
je 0x18004ed23
mov rax, qword [0x180098080]
mov dword [rax + 0x45dc], r13d
mov dword [rax + 0x45d8], r13d
mov word [rax + 0x45e0], 0
test ecx, 0x440
je 0x18004ed49
mov rax, qword [0x180098080]
mov dword [rax + 0x3f64], r13d
mov dword [rax + 0x3f60], r13d
mov word [rax + 0x3f68], 0
cmp dword [rsi + 0x3f18], r13d
jne 0x18004ed82
test rdi, rdi
jne 0x18004ed5c
call fcn.18001f4b0
cmp dword [rsi + 0x3f18], r13d
jne 0x18004ed82
cmp byte [rsi + 0x3738], 0
je 0x18004ed8e
cmp byte [rsp + 0x5a], 0
jne 0x18004ed8e
test bl, bl
jne 0x18004ed8e
mov byte [rsp + 0x58], 1
mov cl, 1
jmp 0x18004ed94
test rdi, rdi
je 0x18004ed92
cmp byte [rsp + 0x59], 0
je 0x18004ed92
mov cl, 1
jmp 0x18004ed94
xor cl, cl
mov byte [rsp + 0x50], cl
mov r13d, dword [rsp + 0x54]
test rdi, rdi
je 0x18004edb7
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18004edaf
test r13b, r13b
je 0x18004edb7
test cl, cl
je 0x18004edb7
mov dl, 1
jmp 0x18004edb9
xor dl, dl
mov dword [rsp + 0x54], edx
movzx r12d, dl
mov byte [rsp + 0x76], 0
mov byte [rsp + 0x5a], 0
mov eax, dword [rsp + 0x60]
test al, al
je 0x18004eebc
test rdi, rdi
je 0x18004eebc
test cl, cl
jne 0x18004edec
test dl, dl
je 0x18004eec4
mov ecx, dword [rdi + 0x1c]
cmp ecx, 0x21
jge 0x18004ee1b
test ecx, ecx
je 0x18004ee03
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18004ee08
mov eax, 8
mov edx, 0x21
cmp eax, edx
cmovg edx, eax
lea rcx, [rdi + 0x18]
call fcn.180033c50
mov dword [rdi + 0x18], 0x21
mov rax, qword [rbp - 0x48]
mov rsi, rax
mov r15, qword [rdi + 0x20]
mov rbx, r15
lea r14, [r15 + 0x40]
cmp r15, r14
jae 0x18004ee6e
nop dword [rax]
cmp byte [rsi], 0
je 0x18004ee6a
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x3c]
call fcn.18001baf0
movsxd rcx, eax
add rsi, rcx
movzx eax, word [rbp - 0x3c]
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x18004ee40
mov rax, qword [rbp - 0x48]
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
cmp ecx, ebx
cmovne edx, r12d
mov dword [rsp + 0x54], edx
movzx r15d, byte [rsp + 0x74]
movzx ecx, byte [rsp + 0x50]
mov eax, dword [rsp + 0x60]
test cl, cl
jne 0x18004eed9
test dl, dl
jne 0x18004eed9
mov r12, qword [rsp + 0x68]
mov ebx, dword [rsp + 0x7c]
cmp dword [r12 + 0x3f18], ebx
jne 0x18004eef4
jmp 0x18004eee2
mov ebx, dword [rsp + 0x7c]
mov r12, qword [rsp + 0x68]
test al, al
jne 0x18004eef4
test rdi, rdi
je 0x18004eef4
cmp byte [rdi + 0x48], al
mov byte [rbp - 0x5e], 1
jne 0x18004eef8
mov byte [rbp - 0x5e], 0
mov esi, dword [rbp - 0x50]
test sil, sil
je 0x18004ef94
mov rdx, qword [r12 + 0x3c10]
cmp dword [rdx + 0x18], 0x2a
ja 0x18004ef18
mov r8, qword [rdx + 0x38]
jmp 0x18004ef3c
mov rax, qword [rdx + 0x20]
movzx ecx, word [rax + 0x54]
mov eax, 0xffff
cmp cx, ax
jne 0x18004ef30
mov r8, qword [rdx + 0x38]
jmp 0x18004ef3c
lea rcx, [rcx + rcx*4]
mov rax, qword [rdx + 0x30]
lea r8, [rax + rcx*8]
lea rcx, [r12 + 0x5a60]
mov eax, dword [rdx + 0x14]
mov dword [rcx + 0x14], eax
mov rax, qword [r12 + 0x3c10]
mov edx, dword [rax + 0x64]
mov dword [rcx + 0x64], edx
mov rax, qword [r12 + 0x3c10]
mov edx, dword [rax + 0x68]
mov dword [rcx + 0x68], edx
mov rax, qword [r12 + 0x3c10]
mov edx, dword [rax + 0x6c]
mov dword [rcx + 0x6c], edx
mov rax, qword [r12 + 0x3c10]
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.180027d30
xor ecx, ecx
mov dword [rbp - 0x3c], ecx
movss xmm0, dword [0x180074240]
cmp dword [r12 + 0x3f18], ebx
jne 0x18004f468
mov eax, dword [rdi + 0x10]
mov dword [rbp - 0x3c], eax
mov byte [rdi + 0xe86], cl
mov dword [rdi + 0x4c], 0x20
mov esi, dword [rsp + 0x70]
mov dword [rdi + 0xe88], esi
cmp byte [r12 + 0xe04], cl
sete al
mov byte [r12 + 0x3f25], al
mov ecx, 1
mov dword [r12 + 0x5de4], ecx
movss xmm1, dword [r12 + 0xdfc]
subss xmm1, xmm13
subss xmm1, dword [r12 + 0x381c]
addss xmm1, dword [rdi + 0x50]
mov r14d, dword [rsp + 0x5c]
test r14b, r14b
je 0x18004f02c
movss xmm2, dword [r12 + 0xe00]
mov rax, qword [rbp - 0x70]
subss xmm2, dword [rax + 0x100]
jmp 0x18004f03a
movss xmm2, dword [r12 + 0x3c18]
mulss xmm2, xmm0
test r13b, r13b
je 0x18004f05e
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], cl
jmp 0x18004f2d9
movzx ecx, byte [rsp + 0x64]
test cl, cl
je 0x18004f1f5
cmp word [r12 + 0x3742], 2
jb 0x18004f1f5
cmp byte [r12 + 0xe15], 0
jne 0x18004f1f5
cmp byte [rdi + 0x6b], 0
je 0x18004f094
movaps xmm2, xmm9
mov rcx, rdi
call fcn.18004c650
movsxd rdx, eax
mov dword [rdi + 0x54], edx
mov dword [rdi + 0x58], edx
mov dword [rdi + 0x5c], edx
mov byte [rdi + 0x6a], 0
movzx eax, word [r12 + 0x3742]
sub eax, 2
test al, 1
jne 0x18004f16b
test edx, edx
je 0x18004f0d4
mov rax, qword [rdi + 0x20]
cmp word [rax + rdx*2 - 2], 0xa
je 0x18004f0d4
xor cl, cl
jmp 0x18004f0d6
mov cl, 1
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18004f0e2
test cl, cl
jne 0x18004f108
mov r8d, 0x20000c
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.18004cad0
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov edx, dword [rdi + 0x54]
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18004f122
cmp dword [rdi + 0x58], eax
jne 0x18004f11d
mov dword [rdi + 0x5c], edx
mov dword [rdi + 0x58], edx
jmp 0x18004f122
mov dword [rdi + 0x54], eax
mov edx, eax
mov rcx, rdi
call fcn.18004c1e0
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 0x18004f156
cmp ecx, eax
jle 0x18004f146
mov dword [rdi + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x18004f14f
mov dword [rdi + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x18004f156
mov dword [rdi + 0x54], ecx
cmp dword [rdi + 0x54], eax
jle 0x18004f1ec
mov dword [rdi + 0x54], eax
mov esi, dword [rsp + 0x70]
jmp 0x18004f2c8
mov rcx, qword [rdi + 0x20]
movzx ebx, word [rcx + rdx*2]
mov r8d, 0x200004
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.18004cad0
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov r8d, 0x600005
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.18004cad0
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov r8d, 0x600001
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.18004cad0
cmp bx, 0xa
je 0x18004f1e5
test r14b, r14b
je 0x18004f1e5
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
mov esi, dword [rsp + 0x70]
jmp 0x18004f2c8
movzx eax, byte [rdi + 0xe85]
cmp byte [r12 + 0x3738], 0
je 0x18004f268
test al, al
jne 0x18004f268
test cl, cl
je 0x18004f2d2
cmp byte [r12 + 0xe15], al
je 0x18004f247
cmp byte [rdi + 0x6b], al
je 0x18004f226
movaps xmm2, xmm9
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18004f234
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x58], eax
mov rcx, rdi
call fcn.18004c650
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
jmp 0x18004f2c8
cmp byte [rdi + 0x6b], 0
je 0x18004f251
movaps xmm2, xmm9
mov rcx, rdi
call fcn.18004c650
mov dword [rdi + 0x58], eax
mov byte [rdi + 0x6a], 0
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
jmp 0x18004f2c8
cmp byte [r12 + 0xe04], 0
je 0x18004f2d2
test al, al
jne 0x18004f2d2
movss xmm0, dword [r12 + 0xf8]
ucomiss xmm0, xmm9
jp 0x18004f29b
jne 0x18004f29b
movss xmm0, dword [r12 + 0xfc]
ucomiss xmm0, xmm9
jp 0x18004f29b
je 0x18004f2d2
cmp byte [rdi + 0x6b], 0
je 0x18004f2a5
movaps xmm2, xmm9
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18004f2b3
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x58], eax
mov rcx, rdi
call fcn.18004c650
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
xor r14d, r14d
lea ecx, [r14 + 1]
cmp byte [rdi + 0xe85], 0
je 0x18004f2f4
cmp byte [r12 + 0xe04], 0
jne 0x18004f2f4
mov byte [rdi + 0xe85], 0
cmp byte [r12 + 0xe14], 0
je 0x18004f30a
cmp byte [r12 + 0xe16], 0
je 0x18004f31a
test r15b, r15b
je 0x18004f31e
cmp byte [r12 + 0xe17], 0
je 0x18004f31e
mov bl, 1
jmp 0x18004f320
xor bl, bl
bt esi, 0xa
jae 0x18004f38e
mov r8d, ecx
xor edx, edx
mov ecx, 0x200
call fcn.1800287e0
test al, al
mov eax, dword [rsp + 0x60]
je 0x18004f392
test bl, bl
jne 0x18004f392
cmp byte [r12 + 0xe15], bl
jne 0x18004f392
test al, al
jne 0x18004f392
mov dword [rbp - 0x80], 9
mov dword [rsp + 0x20], 2
mov edx, esi
lea rcx, [rbp - 0x80]
call fcn.18004ddc0
test al, al
je 0x18004f38e
lea rdx, [rdi + 0x54]
mov r8d, dword [rbp - 0x80]
mov rcx, rdi
call fcn.18004cad0
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov eax, dword [rsp + 0x60]
cmp dword [r12 + 0x37b0], 0
jle 0x18004f465
test bl, bl
jne 0x18004f433
test al, al
jne 0x18004f433
cmp byte [rsp + 0x51], al
jne 0x18004f433
mov esi, r14d
mov rbx, r14
mov r15d, dword [rsp + 0x70]
nop dword [rax]
nop word [rax + rax]
mov rax, qword [r12 + 0x37b8]
movzx ecx, word [rax + rbx]
mov dword [rbp - 0x80], ecx
cmp ecx, 9
je 0x18004f41d
mov dword [rsp + 0x20], 2
mov edx, r15d
lea rcx, [rbp - 0x80]
call fcn.18004ddc0
test al, al
je 0x18004f41d
lea rdx, [rdi + 0x54]
mov r8d, dword [rbp - 0x80]
mov rcx, rdi
call fcn.18004cad0
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
inc esi
add rbx, 2
cmp esi, dword [r12 + 0x37b0]
jl 0x18004f3d0
movzx r15d, byte [rsp + 0x74]
mov ecx, dword [r12 + 0x37b4]
test ecx, ecx
jns 0x18004f45d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov edx, r14d
test eax, eax
cmovg edx, eax
lea rcx, [r12 + 0x37b0]
call fcn.180033c50
mov dword [r12 + 0x37b0], r14d
mov esi, dword [rbp - 0x50]
xor r14b, r14b
mov byte [rsp + 0x75], r14b
lea rcx, [0x18006ac86]
mov r13d, dword [rsp + 0x7c]
cmp dword [r12 + 0x3f18], r13d
jne 0x180050017
cmp byte [r12 + 0x3f24], r14b
jne 0x180050017
cmp byte [rsp + 0x58], r14b
jne 0x180050017
movaps xmm0, xmm8
subss xmm0, dword [r12 + 0x3820]
divss xmm0, dword [r12 + 0x3c18]
cvttss2si eax, xmm0
mov ecx, 1
cmp eax, ecx
cmovge ecx, eax
mov dword [rbp - 0x80], ecx
mov dword [rdi + 0x64], ecx
movzx eax, byte [r12 + 0xe15]
neg al
sbb ebx, ebx
and ebx, 0x400000
test r15b, r15b
je 0x18004f513
movzx eax, byte [r12 + 0xe16]
mov byte [rsp + 0x52], al
cmp byte [r12 + 0xe17], r14b
je 0x18004f520
cmp byte [r12 + 0xe14], r14b
jne 0x18004f520
test al, al
jne 0x18004f520
mov byte [rsp + 0x51], 1
jmp 0x18004f525
movzx eax, byte [r12 + 0xe14]
mov byte [rsp + 0x52], al
mov byte [rsp + 0x51], r14b
mov r12d, 1
mov r8d, r12d
mov edx, r13d
mov ecx, 0xa39
call fcn.18002a680
test al, al
jne 0x18004f553
mov r8d, r12d
mov edx, r13d
mov ecx, 0x220a
call fcn.18002a680
test al, al
je 0x18004f57a
mov r14d, dword [rsp + 0x60]
test r14b, r14b
jne 0x18004f57f
test sil, sil
mov esi, dword [rsp + 0x5c]
jne 0x18004f583
test sil, sil
je 0x18004f573
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x18004f583
mov byte [rsp + 0x59], r12b
jmp 0x18004f588
mov r14d, dword [rsp + 0x60]
mov esi, dword [rsp + 0x5c]
mov byte [rsp + 0x59], 0
xor r8d, r8d
mov edx, r13d
mov ecx, 0xa24
call fcn.18002a680
test al, al
jne 0x18004f5b0
xor r8d, r8d
mov edx, r13d
mov ecx, 0x1209
call fcn.18002a680
test al, al
je 0x18004f5c9
cmp byte [rbp - 0x50], 0
jne 0x18004f5c9
test sil, sil
je 0x18004f5c3
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x18004f5c9
mov byte [rbp - 0x5f], r12b
jmp 0x18004f5cd
mov byte [rbp - 0x5f], 0
mov r8d, r12d
mov edx, r13d
mov ecx, 0xa37
call fcn.18002a680
test al, al
jne 0x18004f5f5
mov r8d, r12d
mov edx, r13d
mov ecx, 0x2209
call fcn.18002a680
test al, al
je 0x18004f5ff
test r14b, r14b
mov byte [rsp + 0x64], r12b
je 0x18004f604
mov byte [rsp + 0x64], 0
mov r8d, r12d
mov edx, r13d
mov ecx, 0xa3b
call fcn.18002a680
mov esi, dword [rbp - 0x58]
test al, al
je 0x18004f629
test r14b, r14b
jne 0x18004f629
test sil, sil
mov byte [rbp - 0x60], r12b
jne 0x18004f62d
mov byte [rbp - 0x60], 0
mov r8d, r12d
mov edx, r13d
mov ecx, 0xa3a
call fcn.18002a680
test al, al
jne 0x18004f65a
test r15b, r15b
je 0x18004f664
mov r8d, r12d
mov edx, r13d
mov ecx, 0x2a3b
call fcn.18002a680
test al, al
je 0x18004f664
test r14b, r14b
jne 0x18004f664
test sil, sil
jne 0x18004f667
xor r12b, r12b
xor r8d, r8d
mov edx, r13d
mov ecx, 0xa22
call fcn.18002a680
movzx r13d, al
mov rax, qword [rsp + 0x68]
test byte [rax + 8], 2
je 0x18004f691
test byte [rax + 0xc], 1
je 0x18004f691
mov sil, 1
jmp 0x18004f694
xor sil, sil
mov r14d, 1
mov r8d, r14d
xor edx, edx
mov ecx, 0x20d
call fcn.1800287e0
test al, al
jne 0x18004f6c5
mov r8d, r14d
xor edx, edx
mov ecx, 0x267
call fcn.1800287e0
test al, al
jne 0x18004f6c5
xor r15b, r15b
jmp 0x18004f6c9
movzx r15d, r14b
test sil, sil
je 0x18004f6f4
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.1800287e0
test al, al
jne 0x18004f6f7
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.1800287e0
test al, al
jne 0x18004f6f7
xor r14b, r14b
mov r8d, 1
mov edx, dword [rsp + 0x7c]
mov ecx, 0x20e
call fcn.18002a680
test al, al
jne 0x18004f731
test sil, sil
je 0x18004f72c
mov r8d, 1
mov edx, dword [rsp + 0x7c]
mov ecx, 0x26c
call fcn.18002a680
test al, al
jne 0x18004f731
xor sil, sil
jmp 0x18004f734
mov sil, 1
xor edx, edx
mov ecx, 0x201
lea r8d, [rdx + 1]
call fcn.1800287e0
test al, al
je 0x18004f794
cmp byte [rsp + 0x51], 0
je 0x18004f756
mov eax, 0x200004
jmp 0x18004f768
mov eax, 0x200000
cmp byte [rsp + 0x52], 0
mov ecx, 0x20000c
cmovne eax, ecx
or ebx, eax
lea rdx, [rdi + 0x54]
mov r8d, ebx
mov rcx, rdi
call fcn.18004cad0
mov dword [rdi + 0xe80], 0xbe99999a
mov byte [rdi + 0xe84], 1
mov r12, qword [rsp + 0x68]
jmp 0x18004ffe7
xor edx, edx
mov ecx, 0x202
lea r8d, [rdx + 1]
call fcn.1800287e0
test al, al
je 0x18004f7ce
cmp byte [rsp + 0x51], 0
je 0x18004f7b8
mov ecx, 0x200005
or ebx, ecx
jmp 0x18004f76a
mov ecx, 0x200001
mov eax, 0x20000d
cmp byte [rsp + 0x52], 0
cmovne ecx, eax
or ebx, ecx
jmp 0x18004f76a
xor edx, edx
mov ecx, 0x203
lea r8d, [rdx + 1]
call fcn.1800287e0
test al, al
je 0x18004f869
cmp byte [rsp + 0x5c], 0
je 0x18004f869
mov r12, qword [rsp + 0x68]
cmp byte [r12 + 0xe14], 0
je 0x18004f837
mov r8, qword [rbp - 0x70]
movss xmm0, dword [r8 + 0x80]
subss xmm0, dword [r12 + 0x3c18]
maxss xmm0, xmm9
movss dword [r8 + 0x90], xmm0
xor eax, eax
mov dword [r8 + 0x98], eax
mov dword [r8 + 0xa0], eax
jmp 0x18004ffe7
movzx eax, byte [rsp + 0x51]
lea r8d, [rax*4 + 0x200002]
or r8d, ebx
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.18004cad0
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
jmp 0x18004ffe7
xor edx, edx
mov ecx, 0x204
lea r8d, [rdx + 1]
call fcn.1800287e0
test al, al
je 0x18004f8ed
cmp byte [rsp + 0x5c], 0
je 0x18004f8ed
mov r12, qword [rsp + 0x68]
cmp byte [r12 + 0xe14], 0
je 0x18004f8db
mov rax, qword [0x180098080]
mov rcx, qword [rax + 0x3eb8]
movss xmm0, dword [r12 + 0x3c18]
mov rax, qword [rbp - 0x70]
addss xmm0, dword [rax + 0x80]
minss xmm0, dword [rcx + 0x88]
movss dword [rax + 0x90], xmm0
xor ecx, ecx
mov dword [rax + 0x98], ecx
mov dword [rax + 0xa0], ecx
jmp 0x18004ffe7
movzx eax, byte [rsp + 0x51]
lea r8d, [rax*4 + 0x200003]
jmp 0x18004f844
xor edx, edx
mov ecx, 0x205
lea r8d, [rdx + 1]
call fcn.1800287e0
test al, al
je 0x18004f94f
cmp byte [rsp + 0x5c], 0
je 0x18004f94f
or ebx, 0x20000e
lea rdx, [rdi + 0x54]
mov r8d, ebx
mov rcx, rdi
call fcn.18004cad0
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
movd xmm0, dword [rbp - 0x80]
cvtdq2ps xmm0, xmm0
mov r12, qword [rsp + 0x68]
mulss xmm0, dword [r12 + 0x3c18]
subss xmm10, xmm0
jmp 0x18004ffe7
xor edx, edx
mov ecx, 0x206
lea r8d, [rdx + 1]
call fcn.1800287e0
test al, al
je 0x18004f9b1
cmp byte [rsp + 0x5c], 0
je 0x18004f9b1
or ebx, 0x20000f
lea rdx, [rdi + 0x54]
mov r8d, ebx
mov rcx, rdi
call fcn.18004cad0
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
movd xmm0, dword [rbp - 0x80]
cvtdq2ps xmm0, xmm0
mov r12, qword [rsp + 0x68]
mulss xmm0, dword [r12 + 0x3c18]
addss xmm10, xmm0
jmp 0x18004ffe7
xor edx, edx
mov ecx, 0x207
lea r8d, [rdx + 1]
call fcn.1800287e0
test al, al
je 0x18004f9eb
mov eax, ebx
or eax, 0x200006
or ebx, 0x200004
mov r12, qword [rsp + 0x68]
cmp byte [r12 + 0xe14], 0
cmovne ebx, eax
mov r8d, ebx
jmp 0x18004f847
xor edx, edx
mov ecx, 0x208
lea r8d, [rdx + 1]
call fcn.1800287e0
test al, al
je 0x18004fa26
mov eax, ebx
or eax, 0x200007
mov r8d, 0x200005
or r8d, ebx
mov r12, qword [rsp + 0x68]
cmp byte [r12 + 0xe14], 0
cmovne r8d, eax
jmp 0x18004f847
xor edx, edx
mov ecx, 0x20a
lea r8d, [rdx + 1]
call fcn.1800287e0
test al, al
je 0x18004fa85
cmp byte [rsp + 0x60], 0
jne 0x18004fa85
cmp byte [rsp + 0x59], 0
jne 0x18004fa85
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18004fa7a
cmp byte [rsp + 0x52], 0
je 0x18004fa7a
lea rdx, [rdi + 0x54]
mov r8d, 0x60000d
mov rcx, rdi
call fcn.18004cad0
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
or ebx, 0x200008
jmp 0x18004f76a
xor edx, edx
mov ecx, 0x20b
lea r8d, [rdx + 1]
call fcn.1800287e0
mov r8d, dword [rsp + 0x60]
test al, al
je 0x18004fb4e
test r8b, r8b
jne 0x18004fb4e
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18004fadd
cmp byte [rsp + 0x52], r8b
je 0x18004faf0
lea rdx, [rdi + 0x54]
mov r8d, 0x60000c
mov rcx, rdi
call fcn.18004cad0
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov r12, qword [rsp + 0x68]
or ebx, 0x200009
mov r8d, ebx
jmp 0x18004f847
cmp byte [rsp + 0x74], 0
je 0x18004fadd
mov r12, qword [rsp + 0x68]
cmp byte [r12 + 0xe17], 0
je 0x18004fae2
cmp byte [r12 + 0xe16], 0
jne 0x18004fae2
cmp byte [r12 + 0xe14], 0
jne 0x18004fae2
lea rdx, [rdi + 0x54]
mov r8d, 0x600004
mov rcx, rdi
call fcn.18004cad0
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
or ebx, 0x200009
mov r8d, ebx
jmp 0x18004f847
test r15b, r15b
jne 0x18004ff56
test r14b, r14b
jne 0x18004ff56
test sil, sil
je 0x18004fbb9
test dword [rsp + 0x70], 0x100000
je 0x18004fb9a
mov eax, dword [rdi + 0x10]
test eax, eax
jg 0x18004fb87
xor cl, cl
mov dword [rsp + 0x54], ecx
mov byte [rsp + 0x50], cl
mov byte [rsp + 0x58], 1
test eax, eax
setg r14b
mov byte [rsp + 0x75], r14b
mov r12, qword [rsp + 0x68]
jmp 0x18004ffea
mov r14b, 1
mov byte [rsp + 0x75], r14b
mov byte [rsp + 0x58], r14b
xor cl, cl
xor dl, dl
mov byte [rsp + 0x50], dl
mov r12, qword [rsp + 0x68]
jmp 0x18004fff3
movzx eax, byte [rbp - 0x60]
test al, al
jne 0x18004ff2e
test r12b, r12b
jne 0x18004ff2e
test r13b, r13b
je 0x18004fbf6
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], r12b
mov byte [rdi + 0xe84], 1
mov r12, qword [rsp + 0x68]
jmp 0x18004ffe7
movzx r12d, byte [rsp + 0x59]
test r12b, r12b
jne 0x18004fd8b
cmp byte [rbp - 0x5f], r12b
jne 0x18004fd8b
cmp byte [rsp + 0x64], r12b
je 0x18004f78a
mov rcx, qword [0x180098080]
mov rax, qword [rcx + 0xb0]
test rax, rax
je 0x18004fc4b
mov rcx, qword [rcx + 0xc0]
call rax
mov rbx, rax
test rax, rax
je 0x18004f78a
mov rcx, qword [0x180098080]
jmp 0x18004fc52
lea rbx, [0x18006ac86]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x18004fc60
test rcx, rcx
je 0x18004fc74
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 - 0x58], rax
xor r12d, r12d
mov r14d, r12d
cmp byte [rbx], r12b
je 0x18004fce4
mov rsi, rax
mov r15d, dword [rsp + 0x70]
nop dword [rax]
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.18001baf0
movsxd rcx, eax
add rbx, rcx
mov dword [rsp + 0x20], 4
mov edx, r15d
lea rcx, [rbp - 0x80]
call fcn.18004ddc0
test al, al
je 0x18004fcdb
movzx eax, word [rbp - 0x80]
mov word [rsi], ax
inc r14d
add rsi, 2
cmp byte [rbx], r12b
jne 0x18004fca0
mov r15, qword [rbp - 0x58]
movsxd rax, r14d
mov word [r15 + rax*2], r12w
test r14d, r14d
jle 0x18004fd61
mov eax, dword [rdi + 0xc]
mov edx, dword [rdi + 0x5c]
mov ecx, dword [rdi + 0x58]
cmp ecx, edx
je 0x18004fd17
cmp ecx, eax
jle 0x18004fd07
mov dword [rdi + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x18004fd10
mov dword [rdi + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x18004fd17
mov dword [rdi + 0x54], ecx
cmp dword [rdi + 0x54], eax
jle 0x18004fd1f
mov dword [rdi + 0x54], eax
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.18004c990
mov r9d, r14d
mov r8, r15
mov edx, dword [rdi + 0x54]
mov rcx, rdi
call fcn.18004c4c0
test al, al
je 0x18004fd5a
lea rcx, [rdi + 0x74]
mov r9d, r14d
xor r8d, r8d
mov edx, dword [rdi + 0x54]
call fcn.18004d8d0
add dword [rdi + 0x54], r14d
mov byte [rdi + 0x6a], r12b
mov byte [rdi + 0xe84], 1
test r15, r15
je 0x18004fd78
mov rax, qword [0x180098080]
test rax, rax
je 0x18004fd78
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 + 0x68]
jmp 0x18004ffe7
mov rax, qword [rsp + 0x68]
cmp qword [rax + 0xb8], 0
je 0x18004fedc
mov eax, dword [rdi + 0x5c]
mov ecx, dword [rdi + 0x58]
cmp ecx, eax
je 0x18004fdb5
mov edx, eax
cmovl edx, ecx
cmovge eax, ecx
xor r13d, r13d
jmp 0x18004fdbe
xor r13d, r13d
mov edx, r13d
mov eax, dword [rdi + 0xc]
movsxd rsi, eax
mov rax, qword [rdi + 0x20]
lea r8, [rax + rsi*2]
movsxd r15, edx
lea rdx, [rax + r15*2]
mov ecx, r13d
mov r9d, 0x800
mov r10d, 0x80
nop
test r8, r8
je 0x18004fdea
cmp rdx, r8
jae 0x18004fe0d
movzx eax, word [rdx]
test ax, ax
je 0x18004fe0d
add rdx, 2
cmp ax, r10w
jae 0x18004fe00
inc ecx
jmp 0x18004fde0
cmp ax, r9w
sbb eax, eax
add eax, 3
add ecx, eax
jmp 0x18004fde0
inc ecx
mov rax, qword [0x180098080]
test rax, rax
je 0x18004fe21
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 r14, rax
mov rcx, qword [rdi + 0x20]
lea r11, [rcx + rsi*2]
lea r10, [rcx + r15*2]
mov r9, rax
lea rsi, [rax + rbx]
lea rbx, [rsi - 1]
cmp rax, rbx
jae 0x18004fe96
mov r13d, 0x80
test r11, r11
je 0x18004fe5c
cmp r10, r11
jae 0x18004fe93
movzx eax, word [r10]
test ax, ax
je 0x18004fe93
mov r8d, eax
add r10, 2
cmp eax, r13d
jae 0x18004fe79
mov byte [r9], r8b
inc r9
jmp 0x18004fe8e
mov edx, esi
sub edx, r9d
dec edx
mov rcx, r9
call fcn.18001bca0
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x18004fe52
xor r13d, r13d
mov byte [r9], 0
mov rax, qword [0x180098080]
mov r8, qword [rax + 0xb8]
test r8, r8
je 0x18004fec1
mov rdx, r14
mov rcx, qword [rax + 0xc0]
call r8
mov rax, qword [0x180098080]
test r14, r14
je 0x18004fed1
test rax, rax
je 0x18004fed1
dec dword [rax + 0xf4]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18004fedf
xor r13d, r13d
test r12b, r12b
je 0x18004f78a
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18004ff01
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 0x18004f78a
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.18004c990
mov byte [rdi + 0x6a], 0
mov r12, qword [rsp + 0x68]
jmp 0x18004ffe7
mov r8d, eax
xor r8d, 1
add r8d, 0x20000a
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.18004cad0
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x58], eax
jmp 0x18004f779
mov edx, dword [rsp + 0x70]
mov eax, edx
shr eax, 0xb
and al, 1
mov ecx, dword [rsp + 0x5c]
mov r12, qword [rsp + 0x68]
test cl, cl
je 0x18004ff81
test r14b, r14b
jne 0x18004ff81
test al, al
je 0x18004ffa5
cmp byte [r12 + 0xe14], r14b
jne 0x18004ffb0
mov byte [rsp + 0x5a], 1
cmp byte [r12 + 0x7c], 0
je 0x18004ffe2
test cl, cl
jne 0x18004ffe2
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 0x18004ffe7
cmp byte [r12 + 0xe14], 0
jne 0x18004ff81
test r8b, r8b
jne 0x18004f78a
mov dword [rbp - 0x80], 0xa
mov dword [rsp + 0x20], 2
lea rcx, [rbp - 0x80]
call fcn.18004ddc0
test al, al
je 0x18004f78a
mov r8d, dword [rbp - 0x80]
jmp 0x18004f847
mov byte [rsp + 0x58], 1
xor r14b, r14b
mov ecx, dword [rsp + 0x54]
movzx edx, byte [rsp + 0x50]
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x180050003
test dl, dl
je 0x180050003
mov al, 1
jmp 0x180050005
xor al, al
or cl, al
mov dword [rsp + 0x54], ecx
mov r13d, dword [rsp + 0x7c]
lea rcx, [0x18006ac86]
xor r10d, r10d
mov qword [rbp - 0x58], r10
mov dword [rsp + 0x78], r10d
cmp dword [r12 + 0x3f18], r13d
jne 0x1800507a3
mov r15d, dword [rsp + 0x60]
test r15b, r15b
jne 0x1800502c4
test r14b, r14b
je 0x180050226
test dword [rsp + 0x70], 0x100000
je 0x1800500b1
mov qword [rbp - 0x58], rcx
mov dword [rsp + 0x78], r10d
movsxd rbx, dword [rdi + 0xc]
lea rcx, [rdi + 0x74]
xor r9d, r9d
mov r8d, ebx
xor edx, edx
call fcn.18004d8d0
mov r9, rax
test rax, rax
je 0x180050095
test ebx, ebx
jle 0x180050095
xor eax, eax
mov edx, eax
mov rcx, qword [rdi + 0x20]
movzx eax, word [rcx + rdx*2]
mov word [r9 + rdx*2], ax
inc rdx
cmp rdx, rbx
jl 0x180050080
mov r8d, dword [rdi + 0xc]
xor edx, edx
mov rcx, rdi
call fcn.18004c3f0
xor eax, eax
mov qword [rdi + 0x58], rax
mov dword [rdi + 0x54], eax
jmp 0x180050226
mov r9, qword [rdi + 0x40]
mov rax, qword [rbp - 0x48]
mov r8, r9
sub r8, rax
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1800500d3
inc rax
test ecx, ecx
jne 0x1800500c0
test edx, edx
je 0x180050226
mov r12, r9
mov qword [rbp - 0x58], r9
mov eax, dword [rdi + 0x38]
dec eax
mov dword [rsp + 0x78], eax
mov qword [rbp + 0x60], r10
mov r15d, r10d
mov r13, r10
mov qword [rbp + 0x68], r10
test eax, eax
jle 0x1800501e6
movsxd rbx, eax
add rbx, r9
mov rsi, r9
mov r14d, r10d
nop dword [rax]
test rbx, rbx
je 0x18005011a
cmp rsi, rbx
jae 0x180050139
cmp byte [rsi], 0
je 0x180050139
mov r8, rbx
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.18001baf0
movsxd rcx, eax
add rsi, rcx
inc r14d
jmp 0x180050110
lea r15d, [r14 + 1]
test r15d, r15d
jle 0x18005017d
mov esi, r15d
cmp r15d, 8
mov eax, 8
cmovl esi, eax
test esi, esi
jle 0x18005017d
mov rax, qword [0x180098080]
test rax, rax
je 0x180050167
inc dword [rax + 0xf4]
movsxd rcx, esi
add rcx, rcx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r13, rax
mov qword [rbp + 0x68], rax
mov dword [rbp + 0x64], esi
mov dword [rbp + 0x60], r15d
mov rsi, r12
mov r14, r13
movsxd r12, r15d
lea r12, [r12*2 - 2]
add r12, r13
cmp r13, r12
jae 0x1800501d5
nop word [rax + rax]
test rbx, rbx
je 0x1800501aa
cmp rsi, rbx
jae 0x1800501d5
cmp byte [rsi], 0
je 0x1800501d5
mov r8, rbx
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.18001baf0
movsxd rcx, eax
add rsi, rcx
movzx eax, word [rbp - 0x80]
mov word [r14], ax
add r14, 2
cmp r14, r12
jb 0x1800501a0
xor r10d, r10d
mov word [r14], r10w
mov eax, dword [rsp + 0x78]
movzx r14d, byte [rsp + 0x75]
lea r9d, [r15 - 1]
test eax, eax
cmovle r9d, r10d
lea rdx, [rdi + 0x54]
mov r8, r13
mov rcx, rdi
call fcn.18004dd00
nop
test r13, r13
je 0x180050221
mov rax, qword [0x180098080]
test rax, rax
je 0x180050217
dec dword [rax + 0xf4]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
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 0x18005025f
test ecx, ecx
je 0x18005024a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005024f
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rdi + 0x28]
call fcn.180033b90
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 0x1800502bd
mov r15d, 0x80
nop
movzx eax, word [r10]
test ax, ax
je 0x1800502b8
mov r8d, eax
add r10, 2
cmp eax, r15d
jae 0x18005029d
mov byte [r9], r8b
inc r9
jmp 0x1800502b3
mov edx, r11d
sub edx, r9d
dec edx
mov rcx, r9
call fcn.18001bca0
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x180050280
mov r15d, dword [rsp + 0x60]
mov byte [r9], 0
xor r10d, r10d
test r14b, r14b
je 0x180050357
cmp byte [rsp + 0x5a], 0
je 0x1800502de
mov esi, dword [rsp + 0x70]
test sil, 0x20
jne 0x18005035b
mov r12d, dword [rbp - 0x78]
mov r14, qword [rbp - 0x48]
mov rsi, qword [rbp - 0x58]
mov ecx, dword [rsp + 0x78]
test rsi, rsi
je 0x180050799
test r12b, r12b
je 0x180050766
mov qword [rbp + 0x20], r10
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x38], xmm0
mov dword [rbp + 0x10], 0x40000
mov eax, dword [rsp + 0x70]
mov dword [rbp + 0x14], eax
mov qword [rbp + 0x28], r14
mov dword [rbp + 0x30], ecx
lea eax, [rcx + 1]
cmp eax, 0x20
mov ecx, 0x20
cmovle eax, ecx
mov dword [rbp + 0x34], eax
mov qword [rbp + 0x18], r10
lea rcx, [rbp + 0x10]
call r10
mov r14, qword [rbp + 0x28]
mov qword [rbp - 0x48], r14
mov edx, dword [rbp + 0x34]
lea ecx, [rdx - 1]
cmp dword [rbp + 0x30], ecx
cmovl ecx, dword [rbp + 0x30]
jmp 0x18005076b
mov esi, dword [rsp + 0x70]
test esi, reloc.OPENGL32.dll_glViewport
je 0x18005070c
mov ebx, r10d
mov r14d, 1
test sil, 0x40
je 0x180050397
mov r8d, r14d
xor edx, edx
mov ecx, 0x200
call fcn.1800287e0
test al, al
je 0x180050397
lea eax, [r14 + 0x3f]
mov ebx, 0x200
xor r10d, r10d
jmp 0x180050412
test sil, sil
jns 0x1800503e8
mov r8d, r14d
xor edx, edx
mov ecx, 0x203
call fcn.1800287e0
test al, al
je 0x1800503c2
mov r11d, 0x80
mov eax, r11d
mov ebx, 0x203
xor r10d, r10d
jmp 0x180050418
mov r8d, r14d
xor edx, edx
mov ecx, 0x204
call fcn.1800287e0
test al, al
je 0x1800503e8
mov r11d, 0x80
mov eax, r11d
mov ebx, 0x204
xor r10d, r10d
jmp 0x180050418
mov eax, 0x80000
test eax, esi
je 0x1800503ff
cmp byte [rdi + 0xe86], 0
je 0x1800503ff
xor r10d, r10d
jmp 0x180050412
mov ecx, 0x100
test ecx, esi
mov r10d, 0
mov eax, r10d
cmovne eax, ecx
mov r11d, 0x80
test eax, eax
je 0x18005070c
mov dword [rbp - 0x18], r10d
mov qword [rbp + 1], r10
mov dword [rbp + 9], r10d
mov word [rbp + 0xd], r10w
mov byte [rbp + 0xf], 0
mov dword [rbp - 0x28], eax
mov dword [rbp - 0x24], esi
mov qword [rbp - 0x20], r10
test r15b, r15b
mov rax, qword [rbp - 0x48]
jne 0x18005044c
mov rax, qword [rdi + 0x30]
mov dword [rbp - 0x14], ebx
mov qword [rbp - 0x10], rax
mov eax, dword [rdi + 0x10]
mov dword [rbp - 8], eax
mov eax, dword [rdi + 0x4c]
mov dword [rbp - 4], eax
mov byte [rbp], 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
nop dword [rax + rax]
test r8, r8
je 0x18005048a
cmp rcx, r8
jae 0x1800504ad
movzx eax, word [rcx]
test ax, ax
je 0x1800504ad
add rcx, 2
cmp ax, r11w
jae 0x1800504a0
inc ebx
jmp 0x180050480
cmp ax, r9w
sbb eax, eax
add eax, 3
add ebx, eax
jmp 0x180050480
mov dword [rbp + 4], ebx
movsxd rax, dword [rdi + 0x58]
lea r8, [rdx + rax*2]
mov rcx, rdx
mov r14d, r10d
nop
test r8, r8
je 0x1800504ca
cmp rcx, r8
jae 0x1800504ef
movzx eax, word [rcx]
test ax, ax
je 0x1800504ef
add rcx, 2
cmp ax, r11w
jae 0x1800504e1
inc r14d
jmp 0x1800504c0
cmp ax, r9w
sbb eax, eax
add eax, 3
add r14d, eax
jmp 0x1800504c0
mov dword [rbp + 8], r14d
movsxd rax, dword [rdi + 0x5c]
lea rcx, [rdx + rax*2]
mov r15d, r10d
nop
test rcx, rcx
je 0x18005050a
cmp rdx, rcx
jae 0x18005052f
movzx eax, word [rdx]
test ax, ax
je 0x18005052f
add rdx, 2
cmp ax, r11w
jae 0x180050521
inc r15d
jmp 0x180050500
cmp ax, r9w
sbb eax, eax
add eax, 3
add r15d, eax
jmp 0x180050500
mov dword [rbp + 0xc], r15d
lea rcx, [rbp - 0x28]
call r10
movzx r13d, byte [rbp]
movsxd rcx, dword [rbp + 4]
cmp ecx, ebx
jne 0x18005054c
test r13b, r13b
je 0x180050597
mov rbx, qword [rbp - 0x10]
lea rsi, [rbx + rcx]
xor edx, edx
mov r12d, edx
nop dword [rax]
test rsi, rsi
je 0x18005056a
cmp rbx, rsi
jae 0x180050589
cmp byte [rbx], 0
je 0x180050589
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.18001baf0
movsxd rcx, eax
add rbx, rcx
inc r12d
jmp 0x180050560
mov dword [rdi + 0x54], r12d
mov byte [rdi + 0xe84], 1
mov ecx, dword [rbp + 4]
movsxd rax, dword [rbp + 8]
cmp eax, r14d
jne 0x1800505a5
test r13b, r13b
je 0x1800505f0
cmp eax, ecx
jne 0x1800505af
mov r14d, dword [rdi + 0x54]
jmp 0x1800505ec
mov rbx, qword [rbp - 0x10]
lea rsi, [rbx + rax]
xor eax, eax
mov r14d, eax
nop dword [rax]
test rsi, rsi
je 0x1800505ca
cmp rbx, rsi
jae 0x1800505e9
cmp byte [rbx], 0
je 0x1800505e9
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.18001baf0
movsxd rcx, eax
add rbx, rcx
inc r14d
jmp 0x1800505c0
mov eax, dword [rbp + 8]
mov dword [rdi + 0x58], r14d
movsxd rcx, dword [rbp + 0xc]
cmp ecx, r15d
jne 0x180050602
test r13b, r13b
je 0x180050712
cmp ecx, eax
jne 0x180050655
mov r14d, dword [rdi + 0x58]
mov dword [rdi + 0x5c], r14d
test r13b, r13b
je 0x180050712
mov r8d, dword [rbp - 8]
mov rdx, qword [rbp - 0x10]
mov rcx, rdi
call fcn.18004dfe0
mov ebx, dword [rbp - 8]
mov eax, dword [rbp - 0x3c]
mov r12d, dword [rbp - 0x78]
cmp ebx, eax
jle 0x1800506a3
test r12b, r12b
je 0x1800506a3
sub ebx, eax
add ebx, dword [rdi + 0x18]
mov ecx, dword [rdi + 0x1c]
cmp ebx, ecx
jle 0x1800506a0
test ecx, ecx
je 0x18005068b
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180050690
mov rbx, qword [rbp - 0x10]
lea rsi, [rbx + rcx]
xor eax, eax
mov r14d, eax
test rsi, rsi
je 0x18005066c
cmp rbx, rsi
jae 0x18005060a
cmp byte [rbx], 0
je 0x18005060a
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.18001baf0
movsxd rcx, eax
add rbx, rcx
inc r14d
jmp 0x180050662
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rdi + 0x18]
call fcn.180033c50
mov dword [rdi + 0x18], ebx
mov rsi, qword [rbp - 0x10]
mov r15, qword [rdi + 0x20]
mov rbx, r15
movsxd r14, dword [rdi + 0x18]
dec r14
lea r14, [r15 + r14*2]
cmp r15, r14
jae 0x1800506ea
nop
cmp byte [rsi], 0
je 0x1800506ea
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x3c]
call fcn.18001baf0
movsxd rcx, eax
add rsi, rcx
movzx eax, word [rbp - 0x3c]
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x1800506c0
xor r10d, r10d
mov word [rbx], r10w
sub rbx, r15
sar rbx, 1
mov dword [rdi + 0xc], ebx
mov eax, dword [rbp - 8]
mov dword [rdi + 0x10], eax
mov dword [rdi + 0xe80], 0xbe99999a
jmp 0x180050719
mov r12d, dword [rbp - 0x78]
jmp 0x18005071e
xor r10d, r10d
mov r12d, dword [rbp - 0x78]
mov r15d, dword [rsp + 0x60]
mov r14, qword [rbp - 0x48]
test r15b, r15b
jne 0x1800502e6
mov r9, qword [rdi + 0x30]
mov rax, r9
mov r8, r14
sub r8, r9
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180050753
inc rax
test ecx, ecx
jne 0x180050740
test edx, edx
je 0x1800502e6
mov rsi, r9
mov ecx, dword [rdi + 0x10]
jmp 0x1800502ee
mov edx, 0x20
lea eax, [rcx + 1]
cmp eax, edx
cmovl edx, eax
movsxd rbx, edx
cmp rbx, 1
jb 0x180050794
jbe 0x18005078e
lea r8, [rbx - 1]
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [rbx + r14 - 1], 0
mov byte [rsp + 0x76], 1
mov r13d, dword [rsp + 0x7c]
mov r12, qword [rsp + 0x68]
cmp byte [rsp + 0x58], 0
je 0x1800507b9
cmp dword [r12 + 0x3f18], r13d
jne 0x1800507b9
call fcn.18001f4b0
mov r11d, dword [rsp + 0x5c]
test r11b, r11b
jne 0x18005087d
mov r8d, 1
mov edx, r13d
lea rcx, [rbp + 0x50]
call fcn.18001d650
movss xmm9, dword [0x18007427c]
movaps xmm1, xmm9
mov ecx, 7
call fcn.18001c2f0
mov r8d, eax
movss xmm0, dword [r12 + 0x3824]
movss dword [rsp + 0x20], xmm0
mov r9b, 1
mov rdx, qword [rbp + 0x58]
movaps xmm0, xmm13
unpcklps xmm0, xmm12
movq rcx, xmm0
call fcn.18001d3a0
movaps xmm15, xmm13
addss xmm15, xmm11
movss dword [rbp + 0x80], xmm15
movaps xmm14, xmm12
addss xmm14, xmm8
movss dword [rbp + 0x84], xmm14
movaps xmm0, xmm13
addss xmm0, dword [r12 + 0x381c]
movss dword [rbp + 0x48], xmm0
movaps xmm1, xmm12
addss xmm1, dword [r12 + 0x3820]
movss dword [rbp + 0x4c], xmm1
movss dword [rbp - 0x58], xmm15
movss dword [rbp - 0x78], xmm14
mov r11d, dword [rsp + 0x5c]
mov r8, qword [rbp - 0x70]
jmp 0x1800508cc
movaps xmm2, xmm11
addss xmm2, xmm13
movss dword [rbp - 0x58], xmm2
movaps xmm15, xmm2
movss dword [rbp + 0x80], xmm2
movaps xmm1, xmm12
addss xmm1, xmm8
movss dword [rbp - 0x78], xmm1
movaps xmm14, xmm1
movss dword [rbp + 0x84], xmm1
mov r8, qword [rbp - 0x70]
movsd xmm0, qword [r8 + 0xfc]
movsd qword [rbp + 0x48], xmm0
movss xmm9, dword [0x18007427c]
lea rax, [rbp + 0x48]
movss dword [rbp + 0x7c], xmm12
movss dword [rbp + 0x78], xmm13
movsd xmm0, qword [rax]
movsd qword [rbp + 0x48], xmm0
xorps xmm5, xmm5
movss dword [rsp + 0x78], xmm5
xorps xmm8, xmm8
movss dword [rbp - 0x80], xmm8
cmp byte [rbp - 0x5e], 0
je 0x180050904
mov r13, qword [rdi + 0x30]
jmp 0x180050908
mov r13, qword [rbp - 0x48]
movzx eax, byte [rsp + 0x50]
mov ecx, dword [rsp + 0x54]
test al, al
jne 0x180050ae8
test cl, cl
jne 0x180050ae8
test r11b, r11b
je 0x180050984
xor r15d, r15d
mov ecx, r15d
movzx edx, byte [r13]
lea rsi, [r13 + 1]
test dl, dl
je 0x180050955
nop dword [rax]
lea eax, [rcx + 1]
cmp dl, 0xa
cmovne eax, ecx
mov ecx, eax
movzx edx, byte [rsi]
inc rsi
test dl, dl
jne 0x180050940
dec rsi
movzx eax, byte [rsi]
cmp al, 0xa
je 0x180050965
cmp al, 0xd
je 0x180050965
inc ecx
movaps xmm6, xmm11
movd xmm8, ecx
cvtdq2ps xmm8, xmm8
mulss xmm8, dword [r12 + 0x3c18]
movss dword [rbp - 0x80], xmm8
jmp 0x1800509c8
mov eax, dword [rsp + 0x7c]
cmp dword [r12 + 0x3f18], eax
jne 0x180050998
movsxd rsi, dword [rdi + 0x10]
jmp 0x1800509aa
mov rsi, 0xffffffffffffffff
nop
inc rsi
cmp byte [rsi + r13], 0
jne 0x1800509a0
add rsi, r13
mov rax, rsi
sub rax, r13
movss xmm6, dword [rsp + 0x78]
xor r15d, r15d
cmp rax, 0x200000
jge 0x180051524
movss xmm8, dword [0x18007427c]
movaps xmm1, xmm8
xor ecx, ecx
call fcn.18001c2f0
mov r9d, eax
mov rdx, qword [r8 + 0x298]
lea r8, [rbp + 0x78]
test r11b, r11b
cmovne r8, r15
mov rcx, rsi
movss xmm2, dword [r12 + 0x3c18]
mov r10, qword [r12 + 0x3c10]
test eax, 0xff000000
je 0x18005131f
test rsi, rsi
jne 0x180050a2d
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rcx + r13], 0
jne 0x180050a20
add rcx, r13
cmp r13, rcx
je 0x18005131f
test r10, r10
jne 0x180050a43
mov rax, qword [rdx + 0x38]
mov r10, qword [rax + 8]
xorps xmm9, xmm9
ucomiss xmm2, xmm9
jp 0x180050a58
jne 0x180050a58
mov rax, qword [rdx + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm1, xmmword [rdx + 0x88]
movups xmmword [rbp + 0x50], xmm1
test r8, r8
je 0x180050ab1
movss xmm0, dword [r8]
comiss xmm1, xmm0
jae 0x180050a77
movss dword [rbp + 0x50], xmm0
movss xmm1, dword [r8 + 4]
movss xmm0, dword [rbp + 0x54]
comiss xmm0, xmm1
jae 0x180050a8c
movss dword [rbp + 0x54], xmm1
movss xmm0, dword [r8 + 8]
comiss xmm0, dword [rbp + 0x58]
ja 0x180050a9d
movss dword [rbp + 0x58], xmm0
movss xmm0, dword [r8 + 0xc]
comiss xmm0, dword [rbp + 0x5c]
ja 0x180050aae
movss dword [rbp + 0x5c], xmm0
test r8, r8
setne al
mov byte [rsp + 0x48], al
movss dword [rsp + 0x40], xmm9
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r13
lea rax, [rbp + 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
lea r9, [rbp + 0x48]
mov rcx, r10
call fcn.180043580
jmp 0x18005131f
movsxd rsi, dword [rdi + 0x10]
add rsi, r13
mov r15, qword [rdi + 0x20]
xorps xmm6, xmm6
xorps xmm7, xmm7
xor r9d, r9d
mov r10d, r9d
mov r14d, r9d
mov r8d, 0xfffffc18
mov ebx, r8d
mov edx, r9d
test al, al
je 0x180050b22
movsxd rax, dword [rdi + 0x54]
lea r10, [r15 + rax*2]
lea edx, [r9 + 1]
lea r8d, [r9 - 1]
test cl, cl
je 0x180050b3e
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 0x180050b8c
cmp cx, 0xa
jne 0x180050b80
inc r9d
cmp r8d, 0xffffffff
jne 0x180050b6d
cmp rax, r10
jb 0x180050b6d
mov r8d, r9d
dec edx
test edx, edx
jle 0x180050b8c
cmp ebx, 0xffffffff
jne 0x180050b80
cmp rax, r14
jb 0x180050b80
mov ebx, r9d
dec edx
test edx, edx
jle 0x180050b8c
add rax, 2
movzx ecx, word [rax]
test cx, cx
jne 0x180050b50
inc r9d
mov r11d, r9d
cmp r8d, 0xffffffff
cmovne r11d, r8d
cmp ebx, 0xffffffff
cmove ebx, r9d
mov rdx, r10
cmp r10, r15
jbe 0x180050bc2
nop dword [rax]
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x180050bc2
mov rdx, rax
cmp rax, r15
ja 0x180050bb0
mov r8, qword [r12 + 0x3c10]
movss xmm4, dword [r12 + 0x3c18]
movaps xmm3, xmm4
divss xmm3, dword [r8 + 0x14]
movaps xmm1, xmm5
movaps xmm12, xmm5
cmp rdx, r10
jae 0x180050c30
nop dword [rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x180050c07
maxss xmm1, xmm12
movaps xmm12, xmm5
jmp 0x180050c2b
cmp ecx, 0xd
je 0x180050c2b
cmp ecx, dword [r8]
jge 0x180050c1c
mov rax, qword [r8 + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x180050c22
movss xmm0, dword [r8 + 0x10]
mulss xmm0, xmm3
addss xmm12, xmm0
cmp rdx, r10
jb 0x180050bf0
maxss xmm12, xmm1
movd xmm13, r11d
cvtdq2ps xmm13, xmm13
mulss xmm13, xmm4
test ebx, ebx
js 0x180050cbf
mov rdx, r14
cmp r14, r15
jbe 0x180050c62
nop
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x180050c62
mov rdx, rax
cmp rax, r15
ja 0x180050c50
movaps xmm2, xmm5
movaps xmm6, xmm5
cmp rdx, r14
jae 0x180050cb0
nop dword [rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x180050c85
maxss xmm2, xmm6
movaps xmm6, xmm5
jmp 0x180050cab
cmp ecx, 0xd
je 0x180050cab
cmp ecx, dword [r8]
jge 0x180050c9a
mov rax, qword [r8 + 8]
movss xmm1, dword [rax + rcx*4]
jmp 0x180050ca0
movss xmm1, dword [r8 + 0x10]
movaps xmm0, xmm3
mulss xmm0, xmm1
addss xmm6, xmm0
cmp rdx, r14
jb 0x180050c70
movd xmm7, ebx
cvtdq2ps xmm7, xmm7
mulss xmm7, xmm4
maxss xmm6, xmm2
mov r11d, dword [rsp + 0x5c]
test r11b, r11b
je 0x180050ce4
movss dword [rsp + 0x78], xmm11
movd xmm8, r9d
cvtdq2ps xmm8, xmm8
mulss xmm8, xmm4
movss dword [rbp - 0x80], xmm8
movzx r8d, byte [rsp + 0x50]
test r8b, r8b
je 0x180050e17
cmp byte [rdi + 0xe84], 0
je 0x180050e17
test dword [rsp + 0x70], 0x1000
jne 0x180050d5c
movaps xmm0, xmm11
mulss xmm0, dword [0x18007422c]
subss xmm11, dword [r12 + 0x381c]
movss xmm2, dword [rdi + 0x50]
movaps xmm1, xmm12
comiss xmm2, xmm12
jbe 0x180050d3c
subss xmm1, xmm0
movaps xmm0, xmm5
maxss xmm0, xmm1
jmp 0x180050d4a
subss xmm1, xmm11
comiss xmm1, xmm2
jb 0x180050d61
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x50], xmm0
jmp 0x180050d61
xor eax, eax
mov dword [rdi + 0x50], eax
test r11b, r11b
je 0x180050e10
movaps xmm0, xmm13
subss xmm0, dword [r12 + 0x3c18]
movss xmm3, dword [rbp - 0x30]
comiss xmm10, xmm0
jbe 0x180050d8e
movaps xmm10, xmm5
maxss xmm10, xmm0
jmp 0x180050dbf
movss xmm2, dword [r12 + 0x3820]
addss xmm2, xmm2
movaps xmm1, xmm3
subss xmm1, xmm2
movaps xmm0, xmm13
subss xmm0, xmm1
comiss xmm0, xmm10
jb 0x180050dbf
movaps xmm10, xmm13
subss xmm10, xmm3
addss xmm10, xmm2
movss xmm2, dword [r12 + 0x3820]
comiss xmm5, xmm10
jbe 0x180050dd4
movaps xmm2, xmm5
jmp 0x180050dea
addss xmm2, xmm2
addss xmm2, xmm8
subss xmm2, xmm3
maxss xmm2, xmm5
minss xmm2, xmm10
mov rax, qword [rbp - 0x70]
movss xmm0, dword [rax + 0x80]
subss xmm0, xmm2
movss xmm1, dword [rbp + 0x4c]
addss xmm1, xmm0
movss dword [rbp + 0x4c], xmm1
movss dword [rax + 0x80], xmm2
mov byte [rdi + 0xe84], 0
movss xmm11, dword [rdi + 0x50]
cmp byte [rsp + 0x54], 0
je 0x180051052
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 0x180050e50
movaps xmm1, xmm9
jmp 0x180050e58
movss xmm1, dword [0x180074248]
mov ecx, 0x2f
call fcn.18001c2f0
mov r15d, eax
xorps xmm5, xmm5
test r11b, r11b
je 0x180050e78
movss dword [rbp - 0x2c], xmm5
xorps xmm10, xmm10
jmp 0x180050e81
movss xmm10, dword [0x1800742c8]
movss xmm9, dword [rbp + 0x48]
addss xmm6, xmm9
subss xmm6, xmm11
movss xmm8, dword [rbp + 0x4c]
addss xmm8, xmm7
subss xmm8, xmm5
cmp rbx, r14
jae 0x180051058
movss xmm7, dword [0x180074240]
movss xmm4, dword [r12 + 0x3c18]
movaps xmm0, xmm14
addss xmm0, xmm4
comiss xmm8, xmm0
ja 0x18005104b
movss xmm0, dword [rbp - 0x40]
comiss xmm0, xmm8
jbe 0x180050efd
cmp rbx, r14
jae 0x18005102f
movzx eax, word [rbx]
add rbx, 2
cmp ax, 0xa
je 0x18005102f
cmp rbx, r14
jb 0x180050ee2
jmp 0x18005102f
mov rdx, qword [r12 + 0x3c10]
movaps xmm2, xmm4
divss xmm2, dword [rdx + 0x14]
movaps xmm3, xmm5
movaps xmm1, xmm5
cmp rbx, r14
jae 0x180050f59
movzx ecx, word [rbx]
add rbx, 2
cmp ecx, 0xa
je 0x180050f4f
cmp ecx, 0xd
je 0x180050f13
cmp ecx, dword [rdx]
jge 0x180050f40
mov rax, qword [rdx + 8]
movss xmm0, dword [rax + rcx*4]
mulss xmm0, xmm2
addss xmm1, xmm0
jmp 0x180050f13
movss xmm0, dword [rdx + 0x10]
mulss xmm0, xmm2
addss xmm1, xmm0
jmp 0x180050f13
movaps xmm3, xmm5
maxss xmm3, xmm1
movaps xmm1, xmm5
maxss xmm1, xmm3
comiss xmm5, xmm1
jb 0x180050f89
cmp dword [rdx], 0x20
jle 0x180050f75
mov rax, qword [rdx + 8]
movss xmm0, dword [rax + 0x80]
jmp 0x180050f7a
movss xmm0, dword [rdx + 0x10]
mulss xmm0, xmm7
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm1, xmm6
movaps xmm0, xmm10
addss xmm0, xmm8
addss xmm6, xmm5
movss xmm2, dword [rbp - 0x2c]
subss xmm2, xmm4
addss xmm2, xmm8
movss xmm4, dword [rbp - 0x34]
maxss xmm6, xmm4
maxss xmm2, dword [rbp - 0x40]
movss dword [rbp + 0x60], xmm6
movss dword [rbp + 0x64], xmm2
minss xmm1, xmm15
minss xmm0, xmm14
movss dword [rbp + 0x68], xmm1
movss dword [rbp + 0x6c], xmm0
comiss xmm0, dword [rbp - 0x40]
jbe 0x18005102f
comiss xmm14, xmm2
jbe 0x18005102f
comiss xmm1, xmm4
jbe 0x18005102f
comiss xmm15, xmm6
jbe 0x18005102f
xor eax, eax
mov dword [rsp + 0x28], eax
movss dword [rsp + 0x20], xmm5
mov r9d, r15d
lea r8, [rbp + 0x68]
lea rdx, [rbp + 0x60]
mov rax, qword [rbp - 0x70]
mov rcx, qword [rax + 0x298]
call fcn.18003f3f0
movss xmm0, dword [rbp - 0x58]
movss dword [rbp - 0x58], xmm0
movss xmm0, dword [rbp - 0x78]
movss dword [rbp - 0x78], xmm0
movss xmm9, dword [rbp + 0x48]
xorps xmm5, xmm5
movaps xmm6, xmm9
subss xmm6, xmm11
addss xmm8, dword [r12 + 0x3c18]
cmp rbx, r14
jb 0x180050eb2
mov r11d, dword [rsp + 0x5c]
jmp 0x180051058
movss xmm9, dword [rbp + 0x48]
test r11b, r11b
jne 0x18005106f
mov rax, rsi
sub rax, r13
cmp rax, 0x200000
jge 0x1800511b0
movss xmm8, dword [0x18007427c]
movaps xmm1, xmm8
xor ecx, ecx
call fcn.18001c2f0
mov r9d, eax
mov rbx, qword [rbp - 0x70]
mov rdx, qword [rbx + 0x298]
mov rcx, rsi
subss xmm9, xmm11
movss dword [rbp - 0x70], xmm9
movss xmm0, dword [rbp + 0x4c]
xorps xmm9, xmm9
subss xmm0, xmm9
movss dword [rbp - 0x6c], xmm0
movss xmm2, dword [r12 + 0x3c18]
mov r10, qword [r12 + 0x3c10]
lea r8, [rbp + 0x78]
test r11b, r11b
mov r15d, 0
cmovne r8, r15
test eax, 0xff000000
je 0x1800511c4
test rsi, rsi
jne 0x1800510fc
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rcx + r13], r15b
jne 0x1800510f0
add rcx, r13
cmp r13, rcx
je 0x1800511c4
test r10, r10
jne 0x180051112
mov rax, qword [rdx + 0x38]
mov r10, qword [rax + 8]
ucomiss xmm2, xmm9
jp 0x180051123
jne 0x180051123
mov rax, qword [rdx + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm1, xmmword [rdx + 0x88]
movups xmmword [rbp + 0x50], xmm1
test r8, r8
je 0x18005117c
movss xmm0, dword [r8]
comiss xmm1, xmm0
jae 0x180051142
movss dword [rbp + 0x50], xmm0
movss xmm1, dword [r8 + 4]
movss xmm0, dword [rbp + 0x54]
comiss xmm0, xmm1
jae 0x180051157
movss dword [rbp + 0x54], xmm1
movss xmm0, dword [r8 + 8]
comiss xmm0, dword [rbp + 0x58]
ja 0x180051168
movss dword [rbp + 0x58], xmm0
movss xmm0, dword [r8 + 0xc]
comiss xmm0, dword [rbp + 0x5c]
ja 0x180051179
movss dword [rbp + 0x5c], xmm0
test r8, r8
setne al
mov byte [rsp + 0x48], al
movss dword [rsp + 0x40], xmm9
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r13
lea rax, [rbp + 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
lea r9, [rbp - 0x70]
mov rcx, r10
call fcn.180043580
jmp 0x1800511c4
movss xmm8, dword [0x18007427c]
xorps xmm9, xmm9
mov rbx, qword [rbp - 0x70]
xor r15d, r15d
cmp byte [rsp + 0x50], 0
je 0x180051319
movss xmm0, dword [r12 + 0x18]
addss xmm0, dword [rdi + 0xe80]
movss dword [rdi + 0xe80], xmm0
cmp byte [r12 + 0x7b], 0
je 0x180051212
comiss xmm9, xmm0
jae 0x180051212
movss xmm1, dword [0x180074284]
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
movss xmm1, dword [0x180074264]
comiss xmm1, xmm0
jae 0x180051212
xor cl, cl
jmp 0x180051214
mov cl, 1
addss xmm12, dword [rbp + 0x48]
subss xmm12, xmm11
cvttss2si eax, xmm12
movd xmm6, eax
cvtdq2ps xmm6, xmm6
movss xmm0, dword [rbp + 0x4c]
addss xmm0, xmm13
subss xmm0, xmm9
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss dword [rbp + 0x60], xmm6
movaps xmm0, xmm7
subss xmm0, dword [r12 + 0x3c18]
addss xmm0, dword [0x180074240]
movss dword [rbp + 0x64], xmm0
movaps xmm2, xmm6
addss xmm2, xmm8
movss dword [rbp + 0x68], xmm2
movaps xmm1, xmm7
subss xmm1, dword [0x180074298]
movss dword [rbp + 0x6c], xmm1
test cl, cl
je 0x1800512d8
comiss xmm1, dword [rbp - 0x40]
jbe 0x1800512d8
movss xmm3, dword [rbp - 0x78]
comiss xmm3, xmm0
jbe 0x1800512d8
comiss xmm2, dword [rbp - 0x34]
jbe 0x1800512d8
movss xmm0, dword [rbp - 0x58]
comiss xmm0, xmm6
jbe 0x1800512d8
movss dword [rbp - 0x70], xmm6
movss dword [rbp - 0x6c], xmm1
movaps xmm1, xmm8
xor ecx, ecx
call fcn.18001c2f0
mov r9d, eax
movss dword [rsp + 0x20], xmm8
lea r8, [rbp - 0x70]
lea rdx, [rbp + 0x60]
mov rcx, qword [rbx + 0x298]
call fcn.18003f180
cmp byte [rsp + 0x60], 0
jne 0x180051319
mov byte [r12 + 0x5b78], 1
subss xmm6, xmm8
movss xmm0, dword [r12 + 0x3c18]
subss xmm7, xmm0
movss dword [r12 + 0x5b7c], xmm6
movss dword [r12 + 0x5b80], xmm7
movss dword [r12 + 0x5b84], xmm0
movss xmm6, dword [rsp + 0x78]
mov ebx, dword [rbp - 0x50]
test bl, bl
je 0x18005132b
call fcn.180027dd0
cmp byte [rsp + 0x5c], 0
je 0x1800513c6
movss dword [rbp - 0x70], xmm6
movss xmm0, dword [rbp - 0x80]
addss xmm0, dword [r12 + 0x3820]
movss dword [rbp - 0x6c], xmm0
lea rcx, [rbp - 0x70]
call fcn.18004ae80
mov ebx, dword [r12 + 0x4738]
mov eax, ebx
or eax, 0x401
mov dword [r12 + 0x4738], eax
call fcn.180022b30
mov eax, dword [r12 + 0x475c]
and eax, 0x80
mov edi, dword [rbp + 0x90]
or edi, eax
mov dword [r12 + 0x4738], ebx
call fcn.18002af60
mov ebx, dword [rbp - 0x50]
cmp dword [r12 + 0x4754], 0
jne 0x1800513c6
mov eax, dword [rsp + 0x7c]
mov dword [r12 + 0x4754], eax
mov eax, dword [rbp + 0x8c]
mov dword [r12 + 0x4758], eax
mov dword [r12 + 0x475c], edi
cmp byte [r12 + 0x5c30], 0
je 0x180051549
test bl, bl
jne 0x180051549
mov rdi, qword [0x180098080]
mov r14, qword [rdi + 0x3eb8]
mov qword [rdi + 0x5c58], r15
mov qword [rdi + 0x5c50], r15
test rsi, rsi
jne 0x180051424
mov rsi, r13
cmp r13, 0xffffffffffffffff
jae 0x180051424
movzx ecx, byte [rsi]
test cl, cl
je 0x180051424
lea rax, [rsi + 1]
cmp cl, 0x23
jne 0x18005141b
cmp byte [rax], cl
je 0x180051424
mov rsi, rax
cmp rax, 0xffffffffffffffff
jb 0x180051407
movss xmm0, dword [rdi + 0x3820]
addss xmm0, dword [rdi + 0x5c60]
addss xmm0, xmm8
movss xmm1, dword [rbp + 0x4c]
movss dword [rdi + 0x5c60], xmm1
comiss xmm1, xmm0
jbe 0x18005145e
lea rcx, [0x18006e4d0]
call fcn.180030ce0
mov byte [rdi + 0x5c64], 1
lea r8, [0x18007324d]
lea rdx, [0x18007324c]
lea rcx, [rbp + 0x48]
call fcn.180030d20
mov eax, dword [r14 + 0x184]
mov ecx, dword [rdi + 0x5c68]
cmp ecx, eax
jle 0x18005148e
mov dword [rdi + 0x5c68], eax
mov ecx, eax
mov r14d, dword [r14 + 0x184]
sub r14d, ecx
lea r15, [0x18006ac86]
nop
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 0x1800514c7
cmp rbx, rsi
je 0x180051532
mov r9d, ebx
sub r9d, r13d
cmp byte [rdi + 0x5c64], 0
lea edx, [r14*4]
jne 0x1800514e3
mov edx, 1
mov qword [rsp + 0x20], r13
mov r8, r15
lea rcx, str._s_.s
call fcn.180030ce0
mov byte [rdi + 0x5c64], 0
cmp byte [rbx], 0xa
jne 0x180051516
lea rcx, [0x18006e4d0]
call fcn.180030ce0
mov byte [rdi + 0x5c64], 1
cmp rbx, rsi
je 0x180051532
lea r13, [rbx + 1]
jmp 0x1800514a0
movss xmm8, dword [0x18007427c]
jmp 0x18005131f
lea r8, [0x180073249]
lea rdx, [0x180073248]
lea rcx, [rbp + 0x48]
call fcn.180030d20
movzx edx, byte [rsp + 0x76]
mov ecx, dword [rsp + 0x70]
test dl, dl
je 0x180051573
bt ecx, 0x1b
jb 0x180051573
mov rax, qword [0x180098080]
mov word [rax + 0x3f28], 0x101
or dword [rax + 0x475c], 4
test cl, 0x20
mov eax, edx
movzx ecx, byte [rsp + 0x5a]
cmovne eax, ecx
jmp 0x18004e695