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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x128]
sub rsp, 0x1f0
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 [0x180138040]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov qword [rbp - 0x80], rdx
mov r12, rcx
mov qword [rbp - 0x18], rcx
mov rdi, qword [rbp + 0x150]
mov rbx, qword [0x180139030]
mov r15, rbx
mov qword [rbp - 0x50], rbx
mov rax, qword [rbx + 0x3ed8]
mov byte [rax + 0xb8], 1
mov r14, qword [rbx + 0x3ed8]
mov qword [rbp - 0x58], r14
cmp byte [r14 + 0xbb], 0
jne 0x18004e955
movsxd r8, dword [r14 + 0xf0]
mov rax, qword [r14 + 0xf8]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
call fcn.18001c1f0
mov esi, eax
mov rcx, qword [r14]
cmp dword [rcx + 0x3f20], eax
jne 0x18004c114
mov r8, r12
mov edx, 0xb
mov ecx, eax
call fcn.180032850
mov rbx, qword [0x180139030]
mov rcx, r12
cmp r12, 0xffffffffffffffff
jae 0x18004c13d
nop dword [rax]
movzx edx, byte [rcx]
test dl, dl
je 0x18004c13d
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x18004c134
cmp byte [rax], dl
je 0x18004c13d
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x18004c120
movss xmm0, dword [rbx + 0x3c10]
movss xmm1, dword [0x180125424]
xorps xmm15, xmm15
cmp r12, rcx
jne 0x18004c15c
xorps xmm11, xmm11
jmp 0x18004c1a6
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r12
movss dword [rsp + 0x20], xmm1
movss xmm3, dword [0x180125418]
movaps xmm2, xmm0
lea rdx, [rbp - 0x70]
mov rcx, qword [rbx + 0x3c08]
call fcn.180042da0
movss xmm0, dword [rbp - 0x70]
addss xmm0, dword [0x180125320]
cvttss2si eax, xmm0
movd xmm11, eax
cvtdq2ps xmm11, xmm11
movss xmm0, dword [rbp - 0x6c]
movss dword [rbp - 0x60], xmm11
movss xmm2, dword [r15 + 0x3808]
addss xmm2, xmm2
addss xmm2, xmm0
mov rcx, qword [rbx + 0x3ed8]
test byte [rbx + 0x4760], 1
je 0x18004c1d7
movss xmm1, dword [rbx + 0x4768]
jmp 0x18004c1df
movss xmm1, dword [rcx + 0x1bc]
movss xmm3, dword [0x180125328]
comiss xmm15, xmm1
jbe 0x18004c226
cmp qword [rcx + 0x1a8], 0
jne 0x18004c208
cmp qword [rbx + 0x4b48], 0
lea rax, [rcx + 0x250]
je 0x18004c20f
lea rax, [rcx + 0x220]
movss xmm0, dword [rax]
subss xmm0, dword [rcx + 0x100]
addss xmm0, xmm1
movaps xmm1, xmm3
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm4, eax
cvtdq2ps xmm4, xmm4
movss xmm9, dword [rdi]
movss xmm7, dword [rdi + 4]
mov rax, rcx
xorps xmm0, xmm0
xorps xmm1, xmm1
comiss xmm15, xmm9
ja 0x18004c250
comiss xmm15, xmm7
jbe 0x18004c27d
cmp qword [rcx + 0x1a8], 0
jne 0x18004c26d
cmp qword [rbx + 0x4b48], 0
jne 0x18004c26d
add rcx, 0x250
jmp 0x18004c274
add rcx, 0x220
movss xmm0, dword [rcx]
movss xmm1, dword [rcx + 4]
movss xmm3, dword [0x180125354]
ucomiss xmm9, xmm15
jp 0x18004c293
jne 0x18004c293
movaps xmm9, xmm4
jmp 0x18004c2b3
comiss xmm15, xmm9
jbe 0x18004c2b3
subss xmm0, dword [rax + 0x100]
addss xmm0, xmm9
movaps xmm9, xmm0
comiss xmm3, xmm0
jb 0x18004c2b3
movaps xmm9, xmm3
ucomiss xmm7, xmm15
jp 0x18004c2c0
jne 0x18004c2c0
movaps xmm7, xmm2
jmp 0x18004c2dd
comiss xmm15, xmm7
jbe 0x18004c2dd
subss xmm1, dword [rax + 0x104]
addss xmm1, xmm7
movaps xmm7, xmm1
comiss xmm3, xmm1
jb 0x18004c2dd
movaps xmm7, xmm3
comiss xmm11, xmm15
jbe 0x18004c2f2
movaps xmm4, xmm11
addss xmm4, dword [r15 + 0x381c]
jmp 0x18004c2f5
xorps xmm4, xmm4
movss xmm3, dword [r14 + 0x104]
movaps xmm1, xmm3
addss xmm1, xmm7
movss xmm2, dword [r14 + 0x100]
addss xmm1, xmm15
movaps xmm0, xmm9
addss xmm0, xmm2
addss xmm0, xmm15
addss xmm3, xmm15
addss xmm2, xmm15
movss dword [rbp + 0x18], xmm2
movss dword [rbp + 0x1c], xmm3
movss dword [rbp + 0x20], xmm0
movss dword [rbp + 0x24], xmm1
movaps xmm1, xmm7
addss xmm1, xmm3
movaps xmm0, xmm9
addss xmm0, xmm4
addss xmm0, xmm2
movss dword [rbp + 0x30], xmm2
movss dword [rbp + 0x34], xmm3
movss dword [rbp + 0x38], xmm0
movss dword [rbp + 0x3c], xmm1
subss xmm1, xmm3
subss xmm0, xmm2
movss dword [rbp - 0x70], xmm0
movss dword [rbp - 0x6c], xmm1
movss xmm1, dword [r15 + 0x3808]
lea rcx, [rbp - 0x70]
call fcn.18002ad00
mov r9d, 0x400
lea r8, [rbp + 0x18]
mov edx, esi
lea rcx, [rbp + 0x30]
call fcn.18002ae70
test al, al
je 0x18004e955
mov r13d, dword [r15 + 0x4780]
mov r8d, dword [r15 + 0x477c]
mov edx, esi
lea rcx, [rbp + 0x18]
call fcn.18001ff80
mov byte [rsp + 0x7a], al
test al, al
je 0x18004c3d2
mov dword [r15 + 0x4c18], 1
mov rdi, qword [0x180139030]
xor r8d, r8d
test esi, esi
je 0x18004c3f1
cmp dword [rdi + 0x4c30], esi
jne 0x18004c3f1
add rdi, 0x4c28
jmp 0x18004c3f4
mov rdi, r8
shr r13d, 8
and r13b, 1
cmp dword [r15 + 0x3f38], esi
je 0x18004c426
cmp dword [r15 + 0x48e0], esi
jne 0x18004c426
test byte [r15 + 0x48ec], 1
jne 0x18004c422
cmp dword [r15 + 0x4904], 2
jne 0x18004c426
mov cl, 1
jmp 0x18004c428
xor cl, cl
mov byte [rsp + 0x54], cl
test al, al
je 0x18004c43d
cmp byte [r15 + 0x3740], r8b
je 0x18004c43d
mov bl, 1
jmp 0x18004c43f
xor bl, bl
mov byte [rsp + 0x53], bl
mov byte [rsp + 0x70], r8b
xor r12b, r12b
test rdi, rdi
je 0x18004c45a
cmp byte [rdi + 0x6b], 1
je 0x18004c45a
mov al, 1
jmp 0x18004c45c
xor al, al
mov byte [rsp + 0x55], al
lea rdx, [0x180139008]
mov qword [rbp - 0x28], rdx
test bl, bl
jne 0x18004c47f
test cl, cl
jne 0x18004c47f
test r13b, r13b
jne 0x18004c47f
mov byte [rsp + 0x50], r8b
jmp 0x18004c48d
mov byte [rsp + 0x50], 1
cmp dword [r15 + 0x3f38], esi
jne 0x18004c495
test al, al
je 0x18004c6b8
lea rdi, [r15 + 0x4c28]
mov dword [rdi + 0xe80], 0xbe99999a
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rdx + rbx], r8b
jne 0x18004c4b0
lea r14d, [rbx + 1]
mov ecx, dword [rdi + 0x3c]
cmp r14d, ecx
jle 0x18004c4f2
test ecx, ecx
je 0x18004c4d4
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18004c4d9
mov eax, 8
mov edx, r14d
cmp eax, r14d
cmovg edx, eax
lea rcx, [rdi + 0x38]
call fcn.180033420
lea rdx, [0x180139008]
mov dword [rdi + 0x38], r14d
movsxd r8, r14d
mov rcx, qword [rdi + 0x40]
call sub.VCRUNTIME140.dll_memcpy
cmp dword [rdi + 8], esi
jne 0x18004c536
cmp byte [rsp + 0x55], r12b
jne 0x18004c536
mov byte [rsp + 0x52], 1
cmp dword [rdi + 0x10], ebx
jne 0x18004c536
cmp byte [rdi + 0x48], r12b
je 0x18004c53b
movsxd r8, ebx
lea rdx, [0x180139008]
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x18004c53b
mov byte [rsp + 0x52], r12b
mov dword [rdi + 8], esi
mov ecx, dword [rdi + 0x1c]
cmp ecx, 0x29
jge 0x18004c56d
test ecx, ecx
je 0x18004c555
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18004c55a
mov eax, 8
mov edx, 0x29
cmp eax, edx
cmovg edx, eax
lea rcx, [rdi + 0x18]
call fcn.1800334b0
mov dword [rdi + 0x18], 0x29
mov ecx, dword [rdi + 0x2c]
test ecx, ecx
jns 0x18004c596
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.180033420
xor r8d, r8d
mov dword [rdi + 0x28], r8d
mov byte [rdi + 0x48], r8b
lea rdx, [0x180139008]
mov r14, rdx
mov rax, qword [rdi + 0x20]
mov qword [rbp - 0x68], rax
mov rbx, rax
lea r12, [rax + 0x4e]
cmp rax, r12
jae 0x18004c5fb
nop
cmp byte [r14], 0
je 0x18004c5ed
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x7c]
call fcn.18001c510
movsxd rcx, eax
add r14, rcx
movzx eax, word [rsp + 0x7c]
mov word [rbx], ax
add rbx, 2
cmp rbx, r12
jb 0x18004c5c0
mov rax, qword [rbp - 0x68]
lea rdx, [0x180139008]
xor r8d, r8d
mov word [rbx], r8w
sub rbx, rax
sar rbx, 1
mov dword [rdi + 0xc], ebx
sub r14d, edx
mov dword [rdi + 0x10], r14d
movzx eax, byte [rsp + 0x52]
test al, al
je 0x18004c63c
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 0x18004c681
mov qword [rdi + 0x50], 0
mov dword [rdi + 0xe72], 0x630000
mov dword [rdi + 0xe78], r8d
mov dword [rdi + 0xe7c], 0x3e7
mov qword [rdi + 0x58], 0
mov word [rdi + 0x69], 1
mov dword [rdi + 0x70], r8d
mov byte [rdi + 0x68], 0
mov byte [rdi + 0x6b], 1
mov byte [rdi + 0x60], 0
mov dword [rdi + 0x64], r8d
cmp byte [rsp + 0x54], 0
je 0x18004c69b
test al, al
je 0x18004c696
test byte [r15 + 0x48ec], 4
jne 0x18004c69b
mov r12b, 1
jmp 0x18004c69e
xor r12b, r12b
movzx ebx, byte [rsp + 0x53]
test r13b, r13b
jne 0x18004c6b5
test bl, bl
je 0x18004c6b8
cmp byte [r15 + 0xe1c], r13b
je 0x18004c6b8
mov r12b, 1
movzx r13d, byte [r15 + 0x59]
mov byte [rsp + 0x74], r13b
movzx r14d, byte [rsp + 0x50]
cmp dword [r15 + 0x3f38], esi
je 0x18004c704
test r14b, r14b
je 0x18004c6f7
mov rdx, qword [rbp - 0x58]
mov ecx, esi
call fcn.18001faf0
mov rdx, qword [rbp - 0x58]
mov ecx, esi
call fcn.18002c820
xor edx, edx
mov rcx, qword [rbp - 0x58]
call fcn.180027dc0
cmp dword [r15 + 0x3f38], esi
jne 0x18004c7bb
test bl, bl
je 0x18004c724
mov rax, qword [0x180139030]
mov dword [rax + 0x4590], esi
mov dword [rax + 0x458c], esi
mov word [rax + 0x4594], 0
or dword [r15 + 0x4748], 3
mov rax, qword [0x180139030]
mov dword [rax + 0x3fd8], esi
mov dword [rax + 0x3fd4], esi
mov word [rax + 0x3fdc], 0
mov dword [rax + 0x3fe4], esi
mov dword [rax + 0x3fe0], esi
mov word [rax + 0x3fe8], 0
test r13b, r13b
je 0x18004c777
mov dword [rax + 0x45fc], esi
mov dword [rax + 0x45f8], esi
mov word [rax + 0x4600], 0
cmp dword [r15 + 0x3f38], esi
jne 0x18004c7bb
test rdi, rdi
jne 0x18004c78e
xor edx, edx
xor ecx, ecx
call fcn.18001faf0
cmp dword [r15 + 0x3f38], esi
jne 0x18004c7bb
mov edx, 1
cmp byte [r15 + 0x3740], 0
je 0x18004c7b7
mov eax, dword [rsp + 0x70]
movzx eax, al
test r14b, r14b
cmove eax, edx
mov dword [rsp + 0x70], eax
mov cl, 1
jmp 0x18004c7c2
xor cl, cl
mov edx, 1
mov byte [rsp + 0x50], cl
test rdi, rdi
je 0x18004c7e3
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18004c7d8
test r12b, r12b
je 0x18004c7e3
test cl, cl
je 0x18004c7e3
mov byte [rsp + 0x51], 1
jmp 0x18004c7fe
mov byte [rsp + 0x51], 0
test cl, cl
jne 0x18004c7f9
mov byte [rsp + 0x51], cl
cmp dword [r15 + 0x3f38], esi
jne 0x18004c808
test rdi, rdi
je 0x18004c808
cmp byte [rdi + 0x48], 0
je 0x18004c808
mov al, 1
jmp 0x18004c80a
xor al, al
mov byte [rsp + 0x7b], al
cmp qword [rbp - 0x80], 0
je 0x18004c837
test al, al
je 0x18004c81f
mov rax, qword [rdi + 0x30]
jmp 0x18004c826
lea rax, [0x180139008]
cmp byte [rax], 0
jne 0x18004c837
mov al, 1
mov qword [rbp - 0x70], 0xec
jmp 0x18004c841
xor eax, eax
mov qword [rbp - 0x70], 0xdc
mov byte [rsp + 0x56], al
mov r14d, 0x20000c
movss xmm10, dword [rbp + 0x18]
movss dword [rsp + 0x7c], xmm10
movss xmm0, dword [0x1801252f4]
cmp dword [r15 + 0x3f38], esi
jne 0x18004cc87
mov byte [rdi + 0xe86], 0
mov dword [rdi + 0x4c], 0x28
xor eax, eax
mov dword [rdi + 0xe88], eax
cmp byte [r15 + 0xe08], al
sete al
mov byte [r15 + 0x3f45], al
mov dword [r15 + 0x5e64], 1
movss xmm6, dword [r15 + 0xe00]
subss xmm6, xmm10
subss xmm6, dword [r15 + 0x3804]
addss xmm6, dword [rdi + 0x50]
movss xmm2, dword [r15 + 0x3c10]
mulss xmm2, xmm0
test r12b, r12b
je 0x18004c8ed
xor r12d, r12d
mov dword [rdi + 0x58], r12d
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], r12b
mov byte [rdi + 0xe85], 1
jmp 0x18004cb9f
movzx eax, byte [rsp + 0x7a]
test al, al
je 0x18004ca69
cmp word [r15 + 0x374a], 2
jb 0x18004ca69
cmp byte [r15 + 0xe1d], 0
jne 0x18004ca69
cmp byte [rdi + 0x6b], 0
je 0x18004c931
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x48]
call fcn.18004a070
movss xmm2, dword [rbp - 0x3c]
movaps xmm1, xmm6
mov rcx, rdi
call fcn.18004a610
mov dword [rdi + 0x54], eax
mov dword [rdi + 0x58], eax
mov dword [rdi + 0x5c], eax
mov byte [rdi + 0x6a], 0
movzx ecx, word [r15 + 0x374a]
sub ecx, 2
test cl, 1
jne 0x18004ca05
test eax, eax
je 0x18004c974
movsxd rcx, eax
mov rax, qword [rdi + 0x20]
cmp word [rax + rcx*2 - 2], 0xa
je 0x18004c974
xor cl, cl
jmp 0x18004c976
mov cl, 1
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18004c982
test cl, cl
jne 0x18004c9a2
lea rdx, [rdi + 0x54]
mov r8d, r14d
mov rcx, rdi
call fcn.18004aad0
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18004c9bd
cmp dword [rdi + 0x58], eax
jne 0x18004c9ba
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x58], eax
jmp 0x18004c9bd
mov dword [rdi + 0x54], eax
mov edx, dword [rdi + 0x54]
mov rcx, rdi
call fcn.18004a250
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 0x18004c9f4
cmp ecx, eax
jle 0x18004c9e4
mov dword [rdi + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x18004c9ed
mov dword [rdi + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x18004c9f4
mov dword [rdi + 0x54], ecx
cmp dword [rdi + 0x54], eax
jle 0x18004cb92
mov dword [rdi + 0x54], eax
jmp 0x18004cb92
mov r8d, 0x200004
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.18004aad0
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov r8d, 0x600005
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.18004aad0
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov r8d, 0x600001
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.18004aad0
mov byte [rdi + 0xe84], 0
jmp 0x18004cb92
cmp byte [r15 + 0x3740], 0
je 0x18004cb1d
cmp byte [rdi + 0xe85], 0
jne 0x18004cb1d
test al, al
je 0x18004cb9c
cmp byte [r15 + 0xe1d], 0
je 0x18004cade
cmp byte [rdi + 0x6b], 0
je 0x18004cab0
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x48]
call fcn.18004a070
movss xmm2, dword [rbp - 0x3c]
lea rbx, [rdi + 0x5c]
mov eax, dword [rbx]
cmp dword [rdi + 0x58], eax
jne 0x18004cac1
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x58], eax
movaps xmm1, xmm6
mov rcx, rdi
call fcn.18004a610
mov ecx, 0x54
mov rdx, rdi
mov dword [rbx], eax
mov dword [rcx + rdx], eax
jmp 0x18004cb92
cmp byte [rdi + 0x6b], 0
je 0x18004caf8
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x48]
call fcn.18004a070
movss xmm2, dword [rbp - 0x3c]
movaps xmm1, xmm6
mov rcx, rdi
call fcn.18004a610
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 [rcx + rdx], eax
jmp 0x18004cb92
cmp byte [r15 + 0xe08], 0
je 0x18004cb9c
cmp byte [rdi + 0xe85], 0
jne 0x18004cb9c
movss xmm0, dword [r15 + 0xf4]
ucomiss xmm0, xmm15
jp 0x18004cb52
jne 0x18004cb52
movss xmm0, dword [r15 + 0xf8]
ucomiss xmm0, xmm15
jp 0x18004cb52
je 0x18004cb9c
cmp byte [rdi + 0x6b], 0
je 0x18004cb6c
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x48]
call fcn.18004a070
movss xmm2, dword [rbp - 0x3c]
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18004cb7a
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x58], eax
movaps xmm1, xmm6
mov rcx, rdi
call fcn.18004a610
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
xor r12d, r12d
cmp byte [rdi + 0xe85], 0
je 0x18004cbb9
cmp byte [r15 + 0xe08], 0
jne 0x18004cbb9
mov byte [rdi + 0xe85], 0
cmp byte [r15 + 0xe1c], 0
je 0x18004cbcd
cmp byte [r15 + 0xe1e], 0
je 0x18004cbdc
test r13b, r13b
je 0x18004cbe0
cmp byte [r15 + 0xe1f], 0
je 0x18004cbe0
mov al, 1
jmp 0x18004cbe2
xor al, al
cmp dword [r15 + 0x37b8], 0
jle 0x18004cc82
test al, al
jne 0x18004cc53
cmp byte [rsp + 0x54], al
jne 0x18004cc53
mov r14d, r12d
mov rbx, r12
mov rax, qword [r15 + 0x37c0]
movzx r8d, word [rbx + rax]
cmp r8d, 0x1f
jbe 0x18004cc43
cmp r8d, 0x7f
je 0x18004cc43
lea eax, [r8 - 0xe000]
cmp eax, 0x18ff
jbe 0x18004cc43
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.18004aad0
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
inc r14d
add rbx, 2
cmp r14d, dword [r15 + 0x37b8]
jl 0x18004cc00
mov ecx, dword [r15 + 0x37bc]
test ecx, ecx
jns 0x18004cc7b
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov edx, r12d
test eax, eax
cmovg edx, eax
lea rcx, [r15 + 0x37b8]
call fcn.1800334b0
mov dword [r15 + 0x37b8], r12d
mov edx, 1
xor cl, cl
mov byte [rsp + 0x79], cl
cmp dword [r15 + 0x3f38], esi
jne 0x18004d7d5
cmp byte [r15 + 0x3f44], cl
jne 0x18004d7d5
cmp byte [rsp + 0x70], cl
jne 0x18004d7d5
movaps xmm0, xmm7
subss xmm0, dword [r15 + 0x3808]
divss xmm0, dword [r15 + 0x3c10]
cvttss2si eax, xmm0
mov ecx, edx
cmp eax, 1
cmovge ecx, eax
mov dword [rdi + 0x64], ecx
movzx eax, byte [r15 + 0xe1d]
neg al
sbb ebx, ebx
and ebx, 0x400000
test r13b, r13b
je 0x18004cd17
movzx eax, byte [r15 + 0xe1e]
mov byte [rsp + 0x52], al
cmp byte [r15 + 0xe1f], 0
je 0x18004cd23
cmp byte [r15 + 0xe1c], 0
jne 0x18004cd23
test al, al
jne 0x18004cd23
mov byte [rsp + 0x54], 1
jmp 0x18004cd28
movzx eax, byte [r15 + 0xe1c]
mov byte [rsp + 0x52], al
mov byte [rsp + 0x54], 0
mov r12, qword [0x180139030]
mov r8d, 0x101
mov edx, esi
mov ecx, 0xa39
call fcn.180028ba0
mov ecx, 0x8000
mov r13d, 0x1000
mov r14, qword [0x180139030]
test al, al
je 0x18004cd87
mov eax, r13d
cmp byte [r14 + 0x59], 0
cmovne eax, ecx
cmp dword [r12 + 0xe20], eax
mov r12d, 1
jne 0x18004cd8d
mov r8d, r12d
mov edx, esi
mov ecx, 0x239
call fcn.180028cc0
test al, al
jne 0x18004cdca
jmp 0x18004cd8d
mov r12d, 1
mov r8d, 0x101
mov edx, esi
mov ecx, 0x220a
call fcn.180028ba0
test al, al
je 0x18004cdd1
cmp dword [r14 + 0xe20], 0x2000
jne 0x18004cdd1
mov r8d, r12d
mov edx, esi
mov ecx, 0x20a
call fcn.180028cc0
test al, al
je 0x18004cdd1
mov r14, qword [0x180139030]
mov byte [rsp + 0x53], 1
jmp 0x18004cddd
mov byte [rsp + 0x53], 0
mov r14, qword [0x180139030]
mov r8d, 0x100
mov edx, esi
mov ecx, 0xa24
call fcn.180028ba0
mov r12, qword [0x180139030]
test al, al
je 0x18004ce27
mov eax, r13d
cmp byte [r12 + 0x59], 0
mov ecx, 0x8000
cmovne eax, ecx
cmp dword [r14 + 0xe20], eax
jne 0x18004ce27
xor r8d, r8d
mov edx, esi
mov ecx, 0x224
call fcn.180028cc0
test al, al
jne 0x18004ce61
mov r8d, 0x100
mov edx, esi
mov ecx, 0x1209
call fcn.180028ba0
test al, al
je 0x18004ce68
cmp dword [r12 + 0xe20], r13d
jne 0x18004ce68
xor r8d, r8d
mov edx, esi
mov ecx, 0x209
call fcn.180028cc0
test al, al
je 0x18004ce68
mov r12, qword [0x180139030]
mov byte [rsp + 0x77], 1
jmp 0x18004ce74
mov byte [rsp + 0x77], 0
mov r12, qword [0x180139030]
mov r8d, 0x101
mov edx, esi
mov ecx, 0xa37
call fcn.180028ba0
mov r14, qword [0x180139030]
test al, al
je 0x18004cec6
mov eax, r13d
cmp byte [r14 + 0x59], 0
mov ecx, 0x8000
cmovne eax, ecx
cmp dword [r12 + 0xe20], eax
mov r12d, 1
jne 0x18004cecc
mov r8d, r12d
mov edx, esi
mov ecx, 0x237
call fcn.180028cc0
test al, al
jne 0x18004cf09
jmp 0x18004cecc
mov r12d, 1
mov r8d, 0x101
mov edx, esi
mov ecx, 0x2209
call fcn.180028ba0
test al, al
je 0x18004cf10
cmp dword [r14 + 0xe20], 0x2000
jne 0x18004cf10
mov r8d, r12d
mov edx, esi
mov ecx, 0x209
call fcn.180028cc0
test al, al
je 0x18004cf10
mov r14, qword [0x180139030]
mov byte [rsp + 0x78], 1
jmp 0x18004cf1c
mov byte [rsp + 0x78], 0
mov r14, qword [0x180139030]
mov r8d, 0x101
mov edx, esi
mov ecx, 0xa3b
call fcn.180028ba0
mov r12, qword [0x180139030]
test al, al
je 0x18004cf70
mov eax, r13d
cmp byte [r12 + 0x59], 0
mov ecx, 0x8000
cmovne eax, ecx
cmp dword [r14 + 0xe20], eax
jne 0x18004cf70
mov r8d, 1
mov edx, esi
mov ecx, 0x23b
call fcn.180028cc0
test al, al
je 0x18004cf70
mov byte [rsp + 0x75], 1
jmp 0x18004cf76
xor al, al
mov byte [rsp + 0x75], al
mov r8d, 0x101
mov edx, esi
mov ecx, 0xa3a
call fcn.180028ba0
mov r14, qword [0x180139030]
test al, al
je 0x18004cfc3
mov eax, r13d
cmp byte [r14 + 0x59], 0
mov ecx, 0x8000
cmovne eax, ecx
cmp dword [r12 + 0xe20], eax
jne 0x18004cfc3
mov r8d, 1
mov edx, esi
mov ecx, 0x23a
call fcn.180028cc0
test al, al
jne 0x18004d01c
cmp byte [rsp + 0x74], 0
je 0x18004d023
mov r12, r14
mov r8d, 0x101
mov edx, esi
mov ecx, 0x2a3b
call fcn.180028ba0
mov r14, qword [0x180139030]
test al, al
je 0x18004d023
mov eax, 0x3000
mov edx, 0xa000
cmp byte [r14 + 0x59], 0
cmovne eax, edx
cmp dword [r12 + 0xe20], eax
jne 0x18004d023
mov r8d, 1
mov edx, esi
mov ecx, 0x23b
call fcn.180028cc0
test al, al
je 0x18004d023
mov byte [rsp + 0x76], 1
jmp 0x18004d028
mov byte [rsp + 0x76], 0
mov r8d, 0x100
mov edx, esi
mov ecx, 0xa22
call fcn.180028ba0
mov rcx, qword [0x180139030]
mov qword [rbp - 0x68], rcx
test al, al
jne 0x18004d04f
mov byte [rsp + 0x55], al
jmp 0x18004d082
cmp byte [rcx + 0x59], 0
mov eax, 0x8000
cmovne r13d, eax
cmp dword [r14 + 0xe20], r13d
je 0x18004d06c
mov byte [rsp + 0x55], 0
jmp 0x18004d082
xor r8d, r8d
mov edx, esi
mov ecx, 0x222
call fcn.180028cc0
test al, al
setne byte [rsp + 0x55]
test byte [r15 + 8], 2
je 0x18004d095
test byte [r15 + 0xc], 1
je 0x18004d095
mov r14b, 1
jmp 0x18004d098
xor r14b, r14b
mov r12d, 1
mov r8d, r12d
xor edx, edx
mov ecx, 0x20d
call fcn.180028cc0
test al, al
jne 0x18004d0c9
mov r8d, r12d
xor edx, edx
mov ecx, 0x267
call fcn.180028cc0
test al, al
jne 0x18004d0c9
xor r13b, r13b
jmp 0x18004d0cd
movzx r13d, r12b
test r14b, r14b
je 0x18004d0f8
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.180028cc0
test al, al
jne 0x18004d0fb
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.180028cc0
test al, al
jne 0x18004d0fb
xor r12b, r12b
mov r8d, 0x101
mov edx, esi
mov ecx, 0x20e
call fcn.180028ba0
test al, al
je 0x18004d134
mov rax, qword [rbp - 0x68]
cmp dword [rax + 0xe20], 0
jne 0x18004d134
mov r8d, 1
mov edx, esi
mov ecx, 0x20e
call fcn.180028cc0
test al, al
jne 0x18004d176
test r14b, r14b
je 0x18004d17b
mov r14, qword [0x180139030]
mov r8d, 0x101
mov edx, esi
mov ecx, 0x26c
call fcn.180028ba0
test al, al
je 0x18004d17b
cmp dword [r14 + 0xe20], 0
jne 0x18004d17b
mov r8d, 1
mov edx, esi
mov ecx, 0x26c
call fcn.180028cc0
test al, al
je 0x18004d17b
mov r14b, 1
jmp 0x18004d17e
xor r14b, r14b
xor edx, edx
mov ecx, 0x201
lea r8d, [rdx + 1]
call fcn.180028cc0
test al, al
je 0x18004d1fd
cmp byte [rsp + 0x54], 0
je 0x18004d1a0
mov eax, 0x200004
jmp 0x18004d1b2
mov eax, 0x200000
cmp byte [rsp + 0x52], 0
mov ecx, 0x20000c
cmovne eax, ecx
or ebx, eax
mov r8d, ebx
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.18004aad0
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
movzx r8d, byte [rsp + 0x50]
movzx edx, byte [rsp + 0x51]
xor cl, cl
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x18004d7cd
test r8b, r8b
je 0x18004d7cd
mov al, 1
jmp 0x18004d7cf
xor edx, edx
mov ecx, 0x202
lea r8d, [rdx + 1]
call fcn.180028cc0
test al, al
je 0x18004d23a
cmp byte [rsp + 0x54], 0
je 0x18004d221
mov ecx, 0x200005
or ebx, ecx
jmp 0x18004d1b4
mov ecx, 0x200001
mov eax, 0x20000d
cmp byte [rsp + 0x52], 0
cmovne ecx, eax
or ebx, ecx
jmp 0x18004d1b4
xor edx, edx
mov ecx, 0x203
lea r8d, [rdx + 1]
call fcn.180028cc0
xor edx, edx
mov ecx, 0x204
lea r8d, [rdx + 1]
call fcn.180028cc0
xor edx, edx
mov ecx, 0x205
lea r8d, [rdx + 1]
call fcn.180028cc0
xor edx, edx
mov ecx, 0x206
lea r8d, [rdx + 1]
call fcn.180028cc0
xor edx, edx
mov ecx, 0x207
lea r8d, [rdx + 1]
call fcn.180028cc0
test al, al
je 0x18004d2ab
mov eax, ebx
or eax, 0x200006
or ebx, 0x200004
cmp byte [r15 + 0xe1c], 0
cmovne ebx, eax
jmp 0x18004d1b4
xor edx, edx
mov ecx, 0x208
lea r8d, [rdx + 1]
call fcn.180028cc0
test al, al
je 0x18004d2e0
mov eax, ebx
or eax, 0x200007
mov r8d, 0x200005
or r8d, ebx
cmp byte [r15 + 0xe1c], 0
cmovne r8d, eax
jmp 0x18004d1b7
xor edx, edx
mov ecx, 0x20a
lea r8d, [rdx + 1]
call fcn.180028cc0
test al, al
je 0x18004d338
cmp byte [rsp + 0x53], 0
jne 0x18004d338
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18004d32d
cmp byte [rsp + 0x52], 0
je 0x18004d32d
lea rdx, [rdi + 0x54]
mov r8d, 0x60000d
mov rcx, rdi
call fcn.18004aad0
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
or ebx, 0x200008
jmp 0x18004d1b4
xor edx, edx
mov ecx, 0x20b
lea r8d, [rdx + 1]
call fcn.180028cc0
test al, al
je 0x18004d3b6
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18004d3ab
cmp byte [rsp + 0x52], 0
je 0x18004d363
mov r8d, 0x60000c
jmp 0x18004d38e
cmp byte [rsp + 0x74], 0
je 0x18004d3ab
cmp byte [r15 + 0xe1f], 0
je 0x18004d3ab
cmp byte [r15 + 0xe1e], 0
jne 0x18004d3ab
cmp byte [r15 + 0xe1c], 0
jne 0x18004d3ab
mov r8d, 0x600004
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.18004aad0
mov dword [rdi + 0xe80], 0xbe99999a
mov byte [rdi + 0xe84], 1
or ebx, 0x200009
jmp 0x18004d1b4
test r13b, r13b
jne 0x18004d79a
test r12b, r12b
jne 0x18004d79a
test r14b, r14b
je 0x18004d3e6
mov cl, 1
mov byte [rsp + 0x79], cl
mov byte [rsp + 0x70], cl
xor dl, dl
xor r8b, r8b
mov byte [rsp + 0x50], r8b
jmp 0x18004d1e1
movzx eax, byte [rsp + 0x75]
test al, al
jne 0x18004d761
cmp byte [rsp + 0x76], al
jne 0x18004d761
cmp byte [rsp + 0x55], al
je 0x18004d421
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
jmp 0x18004d1d4
movzx eax, byte [rsp + 0x53]
test al, al
jne 0x18004d5b0
cmp byte [rsp + 0x77], al
jne 0x18004d5b0
cmp byte [rsp + 0x78], al
je 0x18004d1d4
mov rcx, qword [0x180139030]
mov rax, qword [rcx + 0xa8]
test rax, rax
je 0x18004d473
mov rcx, qword [rcx + 0xb8]
call rax
mov rbx, rax
test rax, rax
je 0x18004d1d4
mov rcx, qword [0x180139030]
jmp 0x18004d47a
lea rbx, [0x1800dedfe]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x18004d481
test rcx, rcx
je 0x18004d495
inc dword [rcx + 0xf0]
inc eax
movsxd rcx, eax
add rcx, rcx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r13, rax
xor eax, eax
mov r12d, eax
cmp byte [rbx], al
je 0x18004d4f2
mov r14, r13
nop dword [rax]
nop word [rax + rax]
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.18001c510
movsxd rcx, eax
add rbx, rcx
mov ecx, dword [rbp - 0x78]
lea eax, [rcx - 0x20]
cmp eax, 0xffdf
ja 0x18004d4ed
mov word [r14], cx
inc r12d
add r14, 2
cmp byte [rbx], 0
jne 0x18004d4c0
movsxd rax, r12d
xor ecx, ecx
mov word [r13 + rax*2], cx
test r12d, r12d
jle 0x18004d58b
mov eax, dword [rdi + 0xc]
mov edx, dword [rdi + 0x5c]
mov ecx, dword [rdi + 0x58]
cmp ecx, edx
je 0x18004d52c
cmp ecx, eax
jle 0x18004d51c
mov dword [rdi + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x18004d525
mov dword [rdi + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x18004d52c
mov dword [rdi + 0x54], ecx
cmp dword [rdi + 0x54], eax
jle 0x18004d534
mov dword [rdi + 0x54], eax
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.18004aa30
mov r9d, r12d
mov r8, r13
mov edx, dword [rdi + 0x54]
mov rcx, rdi
call fcn.18004a480
test al, al
je 0x18004d584
mov r14d, dword [rdi + 0x54]
lea rcx, [rdi + 0x74]
xor edx, edx
call fcn.18004bb10
test rax, rax
je 0x18004d57c
mov dword [rax], r14d
xor ecx, ecx
mov dword [rax + 4], ecx
mov dword [rax + 8], r12d
mov dword [rax + 0xc], 0xffffffff
add dword [rdi + 0x54], r12d
mov byte [rdi + 0x6a], 0
mov byte [rdi + 0xe84], 1
test r13, r13
je 0x18004d5a2
mov rax, qword [0x180139030]
test rax, rax
je 0x18004d5a2
dec dword [rax + 0xf0]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18004d1d4
cmp qword [r15 + 0xb0], 0
je 0x18004d717
mov r14d, dword [rdi + 0x5c]
mov eax, dword [rdi + 0x58]
cmp eax, r14d
je 0x18004d5d7
mov r13d, r14d
cmovl r13d, eax
cmovge r14d, eax
jmp 0x18004d5e0
xor eax, eax
mov r13d, eax
mov r14d, dword [rdi + 0xc]
movzx eax, byte [rsp + 0x51]
mov byte [rsp + 0x51], al
mov rcx, qword [rdi + 0x20]
movsxd rax, r14d
lea r8, [rcx + rax*2]
movsxd rax, r13d
lea rdx, [rcx + rax*2]
xor eax, eax
mov ecx, eax
mov r9d, 0x800
mov r10d, 0x80
nop dword [rax + rax]
test r8, r8
je 0x18004d61a
cmp rdx, r8
jae 0x18004d63d
movzx eax, word [rdx]
test ax, ax
je 0x18004d63d
add rdx, 2
cmp ax, r10w
jae 0x18004d630
inc ecx
jmp 0x18004d610
cmp ax, r9w
sbb eax, eax
add eax, 3
add ecx, eax
jmp 0x18004d610
inc ecx
mov rax, qword [0x180139030]
test rax, rax
je 0x18004d651
inc dword [rax + 0xf0]
movsxd rbx, ecx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r12, rax
mov rdx, qword [rdi + 0x20]
movsxd rcx, r14d
lea r11, [rdx + rcx*2]
movsxd rcx, r13d
lea r10, [rdx + rcx*2]
mov r9, rax
lea r14, [rax + rbx]
lea rbx, [r14 - 1]
cmp rax, rbx
jae 0x18004d6ce
mov r15d, 0x80
test r11, r11
je 0x18004d692
cmp r10, r11
jae 0x18004d6ca
movzx eax, word [r10]
test ax, ax
je 0x18004d6ca
mov r8d, eax
add r10, 2
cmp eax, r15d
jae 0x18004d6af
mov byte [r9], r8b
inc r9
jmp 0x18004d6c5
mov edx, r14d
sub edx, r9d
dec edx
mov rcx, r9
call fcn.18001c6c0
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x18004d688
mov r15, qword [rbp - 0x50]
mov byte [r9], 0
mov rax, qword [0x180139030]
mov r8, qword [rax + 0xb0]
test r8, r8
je 0x18004d6f9
mov rdx, r12
mov rcx, qword [rax + 0xb8]
call r8
mov rax, qword [0x180139030]
test r12, r12
je 0x18004d709
test rax, rax
je 0x18004d709
dec dword [rax + 0xf0]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
movzx eax, byte [rsp + 0x53]
test al, al
je 0x18004d1d4
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18004d739
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 eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x18004d1d4
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.18004aa30
mov byte [rdi + 0x6a], 0
jmp 0x18004d1d4
mov r8d, eax
xor r8d, 1
add r8d, 0x20000a
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.18004aad0
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x58], eax
jmp 0x18004d1d4
movzx edx, byte [rsp + 0x51]
movzx r8d, byte [rsp + 0x50]
cmp byte [r15 + 0x5c], 0
je 0x18004d7c3
xor eax, eax
mov dword [rdi + 0x58], eax
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], 0
jmp 0x18004d1df
mov byte [rsp + 0x70], 1
jmp 0x18004d1df
xor al, al
or dl, al
mov byte [rsp + 0x51], dl
xor r10d, r10d
mov r13d, r10d
mov r12d, r10d
cmp dword [r15 + 0x3f38], esi
jne 0x18004da8d
test cl, cl
je 0x18004d978
mov r9, qword [rdi + 0x40]
lea rax, [0x180139008]
mov r8, r9
sub r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18004d817
inc rax
test ecx, ecx
jne 0x18004d804
test edx, edx
je 0x18004d978
mov rcx, r9
mov qword [rbp - 0x68], rcx
mov r12d, dword [rdi + 0x38]
dec r12d
mov dword [rbp - 0x30], r12d
mov qword [rsp + 0x60], r10
mov rax, r10
mov qword [rsp + 0x68], rax
test r12d, r12d
jle 0x18004d936
movsxd r14, r12d
add r14, rcx
mov rbx, rcx
mov r13d, r10d
test r14, r14
je 0x18004d85d
cmp rbx, r14
jae 0x18004d87c
cmp byte [rbx], 0
je 0x18004d87c
mov r8, r14
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.18001c510
movsxd rcx, eax
add rbx, rcx
inc r13d
jmp 0x18004d853
inc r13d
test r13d, r13d
jle 0x18004d8c0
mov ebx, r13d
cmp r13d, 8
mov eax, 8
cmovl ebx, eax
test ebx, ebx
jle 0x18004d8c0
mov rax, qword [0x180139030]
test rax, rax
je 0x18004d8a9
inc dword [rax + 0xf0]
movsxd rcx, ebx
add rcx, rcx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x64], ebx
jmp 0x18004d8c5
mov rax, qword [rsp + 0x68]
mov dword [rsp + 0x60], r13d
movsxd r12, r12d
mov rbx, qword [rbp - 0x68]
add r12, rbx
mov r14, rax
movsxd rcx, r13d
dec rcx
lea rcx, [rax + rcx*2]
mov qword [rbp - 0x20], rcx
cmp rax, rcx
jae 0x18004d92b
nop word [rax + rax]
test r12, r12
je 0x18004d8fa
cmp rbx, r12
jae 0x18004d926
cmp byte [rbx], 0
je 0x18004d926
mov r8, r12
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.18001c510
movsxd rcx, eax
add rbx, rcx
movzx eax, word [rbp - 0x78]
mov word [r14], ax
add r14, 2
cmp r14, qword [rbp - 0x20]
jb 0x18004d8f0
mov rax, qword [rsp + 0x68]
xor r10d, r10d
mov word [r14], r10w
mov r12d, dword [rbp - 0x30]
lea r9d, [r13 - 1]
test r12d, r12d
cmovle r9d, r10d
lea rdx, [rdi + 0x54]
mov r8, rax
mov rcx, rdi
call fcn.18004bf60
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x18004d974
mov rax, qword [0x180139030]
test rax, rax
je 0x18004d96d
dec dword [rax + 0xf0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov r13, qword [rbp - 0x68]
mov byte [rdi + 0x48], 1
mov eax, dword [rdi + 0x18]
lea ebx, [rax*4 + 1]
mov ecx, dword [rdi + 0x2c]
cmp ebx, ecx
jle 0x18004d9b1
test ecx, ecx
je 0x18004d99c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18004d9a1
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rdi + 0x28]
call fcn.180033420
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 0x18004da0d
mov r15d, 0x80
movzx eax, word [r10]
test ax, ax
je 0x18004da09
mov r8d, eax
add r10, 2
cmp eax, r15d
jae 0x18004d9ee
mov byte [r9], r8b
inc r9
jmp 0x18004da04
mov edx, r11d
sub edx, r9d
dec edx
mov rcx, r9
call fcn.18001c6c0
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x18004d9d1
mov r15, qword [rbp - 0x50]
mov byte [r9], 0
cmp byte [rsp + 0x79], 0
jne 0x18004da4e
mov r9, qword [rdi + 0x30]
mov rax, r9
lea r8, [0x180139008]
sub r8, r9
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18004da43
inc rax
test ecx, ecx
jne 0x18004da30
test edx, edx
je 0x18004da4e
mov r13, r9
mov r12d, dword [rdi + 0x10]
test r13, r13
je 0x18004da8d
lea eax, [r12 + 1]
cmp eax, 0x28
mov ecx, 0x28
cmovl ecx, eax
movsxd rbx, ecx
cmp rbx, 1
jb 0x18004da8d
lea r12, [0x180139008]
jbe 0x18004da85
lea r8, [rbx - 1]
mov rdx, r13
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [rbx + r12 - 1], 0
jmp 0x18004da94
lea r12, [0x180139008]
cmp dword [r15 + 0x3f38], esi
jne 0x18004daba
cmp byte [rsp + 0x70], 0
je 0x18004daaf
xor edx, edx
xor ecx, ecx
call fcn.18001faf0
jmp 0x18004daba
mov dword [r15 + 0x5e64], 1
mov ecx, dword [0x180138fdc]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x1801394d8], eax
jle 0x18004db3f
lea rcx, [0x1801394d8]
call fcn.1800bebc4
cmp dword [0x1801394d8], 0xffffffff
jne 0x18004db3f
xor r13d, r13d
mov qword [0x1801394e0], r13
mov qword [0x1801394e8], r13
lea ecx, [r13 + 0x48]
call fcn.1800be3c8
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x1801394e0], rax
lea rcx, [0x1800c14f0]
call fcn.1800be82c
nop
lea rcx, [0x1801394d8]
call fcn.1800beb58
jmp 0x18004db42
xor r13d, r13d
mov r14, qword [0x1801394e0]
mov rax, qword [r14 + 8]
mov rbx, r14
cmp byte [rax + 0x19], 0
jne 0x18004db6d
cmp dword [rax + 0x1c], esi
jae 0x18004db61
mov rax, qword [rax + 0x10]
jmp 0x18004db67
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x18004db56
cmp byte [rbx + 0x19], 0
jne 0x18004db78
cmp esi, dword [rbx + 0x1c]
jae 0x18004db7b
mov rbx, r14
cmp rbx, r14
jne 0x18004dc96
xorps xmm0, xmm0
xorps xmm1, xmm1
mov dword [rbp - 0x10], esi
movups xmmword [rbp - 0xc], xmm0
movups xmmword [rbp + 4], xmm1
mov dword [rbp + 0x14], r13d
mov rax, qword [r14 + 8]
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x40], r13d
mov rcx, r14
cmp byte [rax + 0x19], 0
jne 0x18004dbdb
mov r15d, 1
mov qword [rbp - 0x48], rax
cmp dword [rax + 0x1c], esi
jae 0x18004dbc7
mov dword [rbp - 0x40], r13d
mov rax, qword [rax + 0x10]
jmp 0x18004dbd1
mov dword [rbp - 0x40], r15d
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x18004dbb4
mov r15, qword [rbp - 0x50]
cmp byte [rcx + 0x19], 0
jne 0x18004dbe6
cmp esi, dword [rcx + 0x1c]
jae 0x18004dc64
movabs rax, 0x38e38e38e38e38e
cmp qword [0x1801394e8], rax
je 0x18004e9b6
lea rbx, [0x1801394e0]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], r13
mov ecx, 0x48
call fcn.1800be3c8
nop
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [rax + 0x1c], xmm0
movups xmm1, xmmword [rbp]
movups xmmword [rax + 0x2c], xmm1
movsd xmm0, qword [rbp + 0x10]
movsd qword [rax + 0x3c], xmm0
mov qword [rax], r14
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
mov word [rax + 0x18], 0
movups xmm0, xmmword [rbp - 0x48]
movaps xmmword [rsp + 0x60], xmm0
mov r8, rax
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.180019820
mov r14, qword [0x1801394e0]
mov rax, qword [r14 + 8]
mov rbx, r14
cmp byte [rax + 0x19], 0
jne 0x18004dc88
cmp dword [rax + 0x1c], esi
jae 0x18004dc7c
mov rax, qword [rax + 0x10]
jmp 0x18004dc82
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x18004dc71
cmp byte [rbx + 0x19], 0
jne 0x18004dc93
cmp esi, dword [rbx + 0x1c]
jae 0x18004dc96
mov rbx, r14
movss xmm6, dword [r15 + 0x18]
mulss xmm6, dword [0x180125364]
mov r8, qword [0x180139030]
mov eax, dword [r8 + 0x3f38]
test eax, eax
je 0x18004dcbf
cmp eax, dword [r8 + 0x4778]
je 0x18004dccf
cmp byte [rsp + 0x7a], 0
jne 0x18004dccf
movaps xmm0, xmmword [0x180125540]
jmp 0x18004dcd6
movaps xmm0, xmmword [0x180125560]
lea rax, [rsp + 0x60]
movups xmmword [rsp + 0x60], xmm0
movups xmm5, xmmword [rax]
movaps xmm0, xmm5
subss xmm0, dword [rbx + 0x20]
mulss xmm0, xmm6
addss xmm0, dword [rbx + 0x20]
movss dword [rbx + 0x20], xmm0
movaps xmm1, xmm5
shufps xmm1, xmm5, 0x55
subss xmm1, dword [rbx + 0x24]
mulss xmm1, xmm6
addss xmm1, dword [rbx + 0x24]
movss dword [rbx + 0x24], xmm1
movaps xmm0, xmm5
shufps xmm0, xmm5, 0xaa
subss xmm0, dword [rbx + 0x28]
mulss xmm0, xmm6
addss xmm0, dword [rbx + 0x28]
movss dword [rbx + 0x28], xmm0
shufps xmm5, xmm5, 0xff
subss xmm5, dword [rbx + 0x2c]
mulss xmm5, xmm6
addss xmm5, dword [rbx + 0x2c]
movss dword [rbx + 0x2c], xmm5
mov rax, qword [r8 + 0x3ed8]
mov byte [rax + 0xb8], 1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rsp + 0x60], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [r8 + 0x37c8]
movss dword [rsp + 0x6c], xmm0
lea rcx, [rsp + 0x60]
call fcn.18001c780
mov r9d, eax
mov rcx, qword [r8 + 0x3ed8]
mov dword [rsp + 0x28], r13d
movss xmm0, dword [0x180125374]
movss dword [rsp + 0x20], xmm0
lea r8, [rbp + 0x20]
lea rdx, [rbp + 0x18]
mov rcx, qword [rcx + 0x298]
call fcn.18003e940
movaps xmm8, xmm9
addss xmm8, xmm10
movss dword [rsp + 0x70], xmm8
movss xmm12, dword [rbp + 0x1c]
movaps xmm13, xmm12
addss xmm13, xmm7
movaps xmm6, xmm10
addss xmm6, dword [0x180125378]
movaps xmm7, xmm12
addss xmm7, dword [0x180125370]
movaps xmm0, xmm6
unpcklps xmm0, xmm7
movsd qword [rbp + 0x28], xmm0
cmp byte [rsp + 0x7b], 0
je 0x18004ddfa
mov r12, qword [rdi + 0x30]
mov qword [rbp - 0x28], r12
mov r14, r13
movzx eax, byte [rsp + 0x56]
test al, al
je 0x18004de2d
mov rcx, qword [rbp - 0x80]
mov r12, rcx
mov qword [rbp - 0x28], rcx
mov r14, 0xffffffffffffffff
nop dword [rax + rax]
inc r14
cmp byte [rcx + r14], 0
jne 0x18004de20
add r14, rcx
movzx r8d, byte [rsp + 0x50]
movzx ecx, byte [rsp + 0x51]
test r8b, r8b
jne 0x18004dfb8
test cl, cl
jne 0x18004dfb8
test al, al
jne 0x18004de70
cmp dword [r15 + 0x3f38], esi
jne 0x18004de5c
movsxd r14, dword [rdi + 0x10]
jmp 0x18004de6d
mov r14, 0xffffffffffffffff
inc r14
cmp byte [r12 + r14], 0
jne 0x18004de63
add r14, r12
mov rax, r14
sub rax, r12
cmp rax, 0x200000
jge 0x18004e7a5
mov rax, qword [0x180139030]
mov rcx, qword [rbp - 0x70]
movups xmm0, xmmword [rcx + rax + 0x37c8]
movups xmmword [rbp + 0x30], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37c8]
movss dword [rbp + 0x3c], xmm0
lea rcx, [rbp + 0x30]
call fcn.18001c780
mov r9d, eax
mov rax, qword [rbp - 0x58]
mov rdx, qword [rax + 0x298]
mov rcx, r14
addss xmm6, xmm15
movss dword [rbp - 0x80], xmm6
addss xmm7, dword [0x180125344]
movss dword [rbp - 0x7c], xmm7
movss xmm2, dword [r15 + 0x3c10]
mov r8, qword [r15 + 0x3c08]
test r9d, 0xff000000
je 0x18004e7a5
test r14, r14
jne 0x18004df11
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [r12 + rcx], 0
jne 0x18004df04
add rcx, r12
cmp r12, rcx
je 0x18004e7a5
test r8, r8
jne 0x18004df27
mov rax, qword [rdx + 0x38]
mov r8, qword [rax + 8]
ucomiss xmm2, xmm15
jp 0x18004df38
jne 0x18004df38
mov rax, qword [rdx + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm0, xmmword [rdx + 0x88]
movups xmmword [rsp + 0x60], xmm0
comiss xmm0, xmm10
jae 0x18004df51
movss dword [rsp + 0x60], xmm10
movss xmm0, dword [rsp + 0x64]
comiss xmm0, xmm12
jae 0x18004df64
movss dword [rsp + 0x64], xmm12
comiss xmm8, dword [rsp + 0x68]
ja 0x18004df73
movss dword [rsp + 0x68], xmm8
comiss xmm13, dword [rsp + 0x6c]
ja 0x18004df82
movss dword [rsp + 0x6c], xmm13
mov byte [rsp + 0x48], 1
movss dword [rsp + 0x40], xmm15
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
lea r9, [rbp - 0x80]
mov rcx, r8
call fcn.180042fc0
jmp 0x18004e7a5
test al, al
jne 0x18004dfc3
movsxd r14, dword [rdi + 0x10]
add r14, r12
mov r11, qword [rdi + 0x20]
movaps xmm6, xmm15
movaps xmm7, xmm15
mov r10, r13
mov r12, r13
mov r9d, 0xfffffc18
mov esi, r9d
mov edx, r13d
test r8b, r8b
je 0x18004dff7
movsxd rax, dword [rdi + 0x54]
lea r10, [r11 + rax*2]
mov edx, 1
lea r9d, [rdx - 2]
test cl, cl
je 0x18004e013
mov ecx, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], ecx
cmovl ecx, dword [rdi + 0x58]
movsxd rax, ecx
lea r12, [r11 + rax*2]
mov esi, 0xffffffff
inc edx
mov ecx, r13d
mov rax, r11
movzx r8d, word [r11]
test r8w, r8w
je 0x18004e060
cmp r8w, 0xa
jne 0x18004e052
inc ecx
cmp r9d, 0xffffffff
jne 0x18004e040
cmp rax, r10
jb 0x18004e040
mov r9d, ecx
dec edx
test edx, edx
jle 0x18004e060
cmp esi, 0xffffffff
jne 0x18004e052
cmp rax, r12
jb 0x18004e052
mov esi, ecx
dec edx
test edx, edx
jle 0x18004e060
add rax, 2
movzx r8d, word [rax]
test r8w, r8w
jne 0x18004e023
inc ecx
mov r13d, ecx
cmp r9d, 0xffffffff
cmovne r13d, r9d
cmp esi, 0xffffffff
cmove esi, ecx
mov rdx, r10
cmp r10, r11
jbe 0x18004e092
nop dword [rax + rax]
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x18004e092
mov rdx, rax
cmp rax, r11
ja 0x18004e080
mov r8, qword [r15 + 0x3c08]
movss xmm3, dword [r15 + 0x3c10]
divss xmm3, dword [r8 + 0x14]
movaps xmm1, xmm15
movaps xmm8, xmm15
cmp rdx, r10
jae 0x18004e103
nop word [rax + rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x18004e0d7
maxss xmm1, xmm8
movaps xmm8, xmm15
jmp 0x18004e0fe
cmp ecx, 0xd
je 0x18004e0fe
cmp ecx, dword [r8]
jge 0x18004e0ec
mov rax, qword [r8 + 8]
movss xmm2, dword [rax + rcx*4]
jmp 0x18004e0f2
movss xmm2, dword [r8 + 0x10]
movaps xmm0, xmm3
mulss xmm0, xmm2
addss xmm8, xmm0
cmp rdx, r10
jb 0x18004e0c0
maxss xmm8, xmm1
movd xmm14, r13d
cvtdq2ps xmm14, xmm14
mulss xmm14, dword [r15 + 0x3c10]
test esi, esi
js 0x18004e1b5
mov rdx, r12
cmp r12, r11
jbe 0x18004e142
nop word [rax + rax]
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x18004e142
mov rdx, rax
cmp rax, r11
ja 0x18004e130
movss xmm3, dword [r15 + 0x3c10]
divss xmm3, dword [r8 + 0x14]
movaps xmm1, xmm15
movaps xmm6, xmm15
cmp rdx, r12
jae 0x18004e1a1
nop
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x18004e176
maxss xmm1, xmm6
movaps xmm6, xmm15
jmp 0x18004e19c
cmp ecx, 0xd
je 0x18004e19c
cmp ecx, dword [r8]
jge 0x18004e18b
mov rax, qword [r8 + 8]
movss xmm2, dword [rax + rcx*4]
jmp 0x18004e191
movss xmm2, dword [r8 + 0x10]
movaps xmm0, xmm3
mulss xmm0, xmm2
addss xmm6, xmm0
cmp rdx, r12
jb 0x18004e160
movd xmm7, esi
cvtdq2ps xmm7, xmm7
mulss xmm7, dword [r15 + 0x3c10]
maxss xmm6, xmm1
movzx esi, byte [rsp + 0x50]
test sil, sil
je 0x18004e223
cmp byte [rdi + 0xe84], 0
je 0x18004e223
movaps xmm2, xmm9
mulss xmm2, dword [0x1801252dc]
subss xmm9, dword [r15 + 0x3804]
movss xmm1, dword [rdi + 0x50]
comiss xmm1, xmm8
jbe 0x18004e1fa
movaps xmm1, xmm8
subss xmm1, xmm2
movaps xmm0, xmm15
maxss xmm0, xmm1
jmp 0x18004e20c
movaps xmm0, xmm8
subss xmm0, xmm9
comiss xmm0, xmm1
jb 0x18004e21c
addss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x50], xmm0
mov byte [rdi + 0xe84], 0
movss xmm11, dword [rdi + 0x50]
movss xmm10, dword [0x180125344]
cmp byte [rsp + 0x51], 0
je 0x18004e5a1
mov edx, dword [rdi + 0x5c]
mov ecx, dword [rdi + 0x58]
mov eax, edx
cmp ecx, edx
cmovl eax, ecx
cdqe
lea rsi, [r11 + rax*2]
cmovge edx, ecx
movsxd rax, edx
lea r12, [r11 + rax*2]
movaps xmm0, xmmword [0x180125590]
movups xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x60]
call fcn.18001c780
mov r13d, eax
movss xmm9, dword [rbp + 0x28]
addss xmm6, xmm9
subss xmm6, xmm11
addss xmm7, dword [rbp + 0x2c]
subss xmm7, xmm15
cmp rsi, r12
jae 0x18004e2d6
movss xmm3, dword [r15 + 0x3c10]
movaps xmm0, xmm13
addss xmm0, xmm3
comiss xmm7, xmm0
ja 0x18004e2d6
comiss xmm12, xmm7
jbe 0x18004e442
cmp rsi, r12
jae 0x18004e581
nop dword [rax + rax]
movzx eax, word [rsi]
add rsi, 2
cmp ax, 0xa
je 0x18004e581
cmp rsi, r12
jb 0x18004e2c0
movzx esi, byte [rsp + 0x50]
mov rax, r14
mov r12, qword [rbp - 0x28]
sub rax, r12
cmp rax, 0x200000
jge 0x18004e5ac
mov rax, qword [0x180139030]
mov rcx, qword [rbp - 0x70]
movups xmm0, xmmword [rcx + rax + 0x37c8]
movups xmmword [rsp + 0x60], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37c8]
movss dword [rsp + 0x6c], xmm0
lea rcx, [rsp + 0x60]
call fcn.18001c780
mov r9d, eax
mov r13, qword [rbp - 0x58]
mov rdx, qword [r13 + 0x298]
mov rcx, r14
addss xmm9, xmm15
movss dword [rbp - 0x80], xmm9
movss xmm0, dword [rbp + 0x2c]
addss xmm0, xmm10
movss dword [rbp - 0x7c], xmm0
movss xmm2, dword [r15 + 0x3c10]
mov r8, qword [r15 + 0x3c08]
test eax, 0xff000000
je 0x18004e5b0
test r14, r14
jne 0x18004e38d
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
inc rcx
cmp byte [r12 + rcx], 0
jne 0x18004e380
add rcx, r12
cmp r12, rcx
je 0x18004e5b0
test r8, r8
jne 0x18004e3a3
mov rax, qword [rdx + 0x38]
mov r8, qword [rax + 8]
ucomiss xmm2, xmm15
jp 0x18004e3b4
jne 0x18004e3b4
mov rax, qword [rdx + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm0, xmmword [rdx + 0x88]
movups xmmword [rsp + 0x60], xmm0
movss xmm10, dword [rsp + 0x7c]
comiss xmm0, xmm10
jae 0x18004e3d4
movss dword [rsp + 0x60], xmm10
movss xmm0, dword [rsp + 0x64]
comiss xmm0, xmm12
jae 0x18004e3e7
movss dword [rsp + 0x64], xmm12
movss xmm9, dword [rsp + 0x70]
comiss xmm9, dword [rsp + 0x68]
ja 0x18004e3fd
movss dword [rsp + 0x68], xmm9
comiss xmm13, dword [rsp + 0x6c]
ja 0x18004e40c
movss dword [rsp + 0x6c], xmm13
mov byte [rsp + 0x48], 1
movss dword [rsp + 0x40], xmm15
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
lea r9, [rbp - 0x80]
mov rcx, r8
call fcn.180042fc0
jmp 0x18004e5be
mov rdx, qword [r15 + 0x3c08]
divss xmm3, dword [rdx + 0x14]
movaps xmm4, xmm15
movaps xmm1, xmm15
cmp rsi, r12
jae 0x18004e4a3
nop dword [rax + rax]
movzx ecx, word [rsi]
add rsi, 2
cmp ecx, 0xa
je 0x18004e497
cmp ecx, 0xd
je 0x18004e490
cmp ecx, dword [rdx]
jge 0x18004e480
mov rax, qword [rdx + 8]
movss xmm2, dword [rax + rcx*4]
jmp 0x18004e485
movss xmm2, dword [rdx + 0x10]
movaps xmm0, xmm3
mulss xmm0, xmm2
addss xmm1, xmm0
cmp rsi, r12
jb 0x18004e460
jmp 0x18004e4a3
movaps xmm4, xmm15
maxss xmm4, xmm1
movaps xmm1, xmm15
maxss xmm1, xmm4
comiss xmm15, xmm1
jb 0x18004e4d8
cmp dword [rdx], 0x20
jle 0x18004e4c0
mov rax, qword [rdx + 8]
movss xmm0, dword [rax + 0x80]
jmp 0x18004e4c5
movss xmm0, dword [rdx + 0x10]
mulss xmm0, dword [0x1801252f4]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm1, xmm6
movaps xmm0, xmm7
addss xmm0, xmm10
addss xmm6, xmm15
movss xmm2, dword [0x180125424]
subss xmm2, dword [r15 + 0x3c10]
addss xmm2, xmm7
movss xmm4, dword [rsp + 0x7c]
maxss xmm6, xmm4
maxss xmm2, xmm12
movss dword [rsp + 0x60], xmm6
movss dword [rsp + 0x64], xmm2
movss xmm3, dword [rsp + 0x70]
minss xmm1, xmm3
minss xmm0, xmm13
movss dword [rsp + 0x68], xmm1
movss dword [rsp + 0x6c], xmm0
comiss xmm0, xmm12
jbe 0x18004e581
comiss xmm13, xmm2
jbe 0x18004e581
comiss xmm1, xmm4
jbe 0x18004e581
comiss xmm3, xmm6
jbe 0x18004e581
xor eax, eax
mov dword [rsp + 0x28], eax
movss xmm0, dword [0x180125328]
movss dword [rsp + 0x20], xmm0
mov r9d, r13d
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x60]
mov rax, qword [rbp - 0x58]
mov rcx, qword [rax + 0x298]
call fcn.18003e940
movss xmm9, dword [rbp + 0x28]
movaps xmm6, xmm9
subss xmm6, xmm11
addss xmm7, dword [r15 + 0x3c10]
cmp rsi, r12
jb 0x18004e292
jmp 0x18004e2d6
movss xmm9, dword [rbp + 0x28]
jmp 0x18004e2db
mov r13, qword [rbp - 0x58]
movss xmm9, dword [rsp + 0x70]
movss xmm10, dword [rsp + 0x7c]
test sil, sil
je 0x18004e79c
movss xmm0, dword [r15 + 0x18]
addss xmm0, dword [rdi + 0xe80]
movss dword [rdi + 0xe80], xmm0
cmp byte [r15 + 0x5b], 0
je 0x18004e608
comiss xmm15, xmm0
jae 0x18004e608
movss xmm1, dword [0x180125334]
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
movss xmm1, dword [0x180125314]
comiss xmm1, xmm0
jae 0x18004e608
xor cl, cl
jmp 0x18004e60a
mov cl, 1
addss xmm8, dword [rbp + 0x28]
subss xmm8, xmm11
cvttss2si eax, xmm8
xorps xmm6, xmm6
cvtsi2ss xmm6, eax
addss xmm14, dword [rbp + 0x2c]
subss xmm14, xmm15
cvttss2si eax, xmm14
xorps xmm7, xmm7
cvtsi2ss xmm7, eax
movaps xmm3, xmm7
subss xmm3, dword [r15 + 0x3c10]
addss xmm3, dword [0x1801252f4]
movaps xmm2, xmm6
movss xmm4, dword [rbp + 0x30]
subss xmm2, xmm4
subss xmm2, dword [rbx + 0x40]
movss xmm0, dword [r15 + 0x18]
mulss xmm0, dword [0x180125378]
mulss xmm2, xmm0
addss xmm2, dword [rbx + 0x40]
movss dword [rbx + 0x40], xmm2
test cl, cl
je 0x18004e755
movaps xmm0, xmm7
subss xmm0, dword [0x18012533c]
comiss xmm0, xmm12
jbe 0x18004e755
comiss xmm13, xmm3
jbe 0x18004e755
movaps xmm0, xmm6
movss xmm8, dword [0x180125328]
addss xmm0, xmm8
comiss xmm0, xmm10
jbe 0x18004e755
comiss xmm9, xmm6
jbe 0x18004e755
mov rax, qword [0x180139030]
movups xmm0, xmmword [rax + 0x38a4]
movups xmmword [rsp + 0x60], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37c8]
movss dword [rsp + 0x6c], xmm0
movaps xmm1, xmm2
xorps xmm1, xmmword [0x180125630]
movaps xmm0, xmm4
subss xmm0, xmm1
movss dword [rbp - 0x80], xmm0
movss xmm1, dword [rbp + 0x3c]
subss xmm1, dword [0x180125374]
movss dword [rbp - 0x7c], xmm1
addss xmm2, xmm4
movss dword [rbp - 0x68], xmm2
movss xmm0, dword [rbp + 0x34]
addss xmm0, dword [0x180125374]
movss dword [rbp - 0x64], xmm0
lea rcx, [rsp + 0x60]
call fcn.18001c780
mov r9d, eax
movss dword [rsp + 0x20], xmm8
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x68]
mov rcx, qword [r13 + 0x298]
call fcn.18003e6d0
mov byte [r15 + 0x5be8], 1
movss xmm2, dword [0x180125328]
subss xmm6, xmm2
movss xmm0, dword [r15 + 0x3c10]
subss xmm7, xmm0
movss dword [r15 + 0x5bec], xmm6
movss dword [r15 + 0x5bf0], xmm7
movss dword [r15 + 0x5bf4], xmm0
movss xmm11, dword [rbp - 0x60]
xor r13d, r13d
jmp 0x18004e7ad
movss xmm11, dword [rbp - 0x60]
xor r13d, r13d
movss xmm2, dword [0x180125328]
cmp byte [r15 + 0x5ca8], 0
je 0x18004e920
mov rdi, qword [0x180139030]
mov rsi, qword [rdi + 0x3ed8]
mov qword [rdi + 0x5cd0], r13
mov qword [rdi + 0x5cc8], r13
test r14, r14
jne 0x18004e803
mov r14, r12
cmp r12, 0xffffffffffffffff
jae 0x18004e803
movzx ecx, byte [r14]
test cl, cl
je 0x18004e803
lea rax, [r14 + 1]
cmp cl, 0x23
jne 0x18004e7fa
cmp byte [rax], cl
je 0x18004e803
mov r14, rax
cmp rax, 0xffffffffffffffff
jb 0x18004e7e5
movss xmm0, dword [rdi + 0x3808]
addss xmm0, dword [rdi + 0x5cd8]
addss xmm0, xmm2
movss xmm1, dword [rbp + 0x2c]
movss dword [rdi + 0x5cd8], xmm1
comiss xmm1, xmm0
jbe 0x18004e83c
lea rcx, [0x180124894]
call fcn.180031180
mov byte [rdi + 0x5cdc], 1
lea r8, [0x180125219]
lea rdx, [0x180125218]
lea rcx, [rbp + 0x28]
call fcn.1800311c0
mov eax, dword [rsi + 0x188]
mov ecx, dword [rdi + 0x5ce0]
cmp ecx, eax
jle 0x18004e86b
mov dword [rdi + 0x5ce0], eax
mov ecx, eax
mov esi, dword [rsi + 0x188]
sub esi, ecx
mov r15d, 1
nop dword [rax]
mov r8, r14
sub r8, r12
mov edx, 0xa
mov rcx, r12
call sub.VCRUNTIME140.dll_memchr
mov rbx, r14
test rax, rax
cmovne rbx, rax
cmp r12, rbx
jne 0x18004e8a7
cmp rbx, r14
je 0x18004e905
mov r9d, ebx
sub r9d, r12d
cmp byte [rdi + 0x5cdc], 0
lea edx, [rsi*4]
jne 0x18004e8c0
mov edx, r15d
mov qword [rsp + 0x20], r12
lea r8, [0x1800dedfe]
lea rcx, str._s_.s
call fcn.180031180
mov byte [rdi + 0x5cdc], 0
cmp byte [rbx], 0xa
jne 0x18004e8f7
lea rcx, [0x180124894]
call fcn.180031180
mov byte [rdi + 0x5cdc], r15b
cmp rbx, r14
je 0x18004e905
lea r12, [rbx + 1]
jmp 0x18004e880
lea r8, [0x180125215]
lea rdx, [0x180125214]
lea rcx, [rbp + 0x28]
call fcn.1800311c0
mov r15, qword [rbp - 0x50]
comiss xmm11, xmm15
jbe 0x18004e955
movss xmm0, dword [rbp + 0x20]
addss xmm0, dword [r15 + 0x381c]
addss xmm12, dword [r15 + 0x3808]
mov r9b, 1
xor r8d, r8d
mov rdx, qword [rbp - 0x18]
unpcklps xmm0, xmm12
movq rcx, xmm0
call fcn.18001cc90
xor al, al
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1800be3a0
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x50]
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
call fcn.180003560
int3