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

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1a8]
sub rsp, 0x268
mov r14, qword [0x1801bfec8]
mov rsi, rcx
movaps xmmword [rax - 0x58], xmm6
mov ecx, 1
movaps xmmword [rax - 0x68], xmm7
xor r13d, r13d
movaps xmmword [rax - 0x78], xmm8
movaps xmmword [rax - 0x88], xmm9
movaps xmmword [rax - 0x98], xmm10
movaps xmmword [rax - 0xa8], xmm11
movaps xmmword [rax - 0xb8], xmm12
movaps xmmword [rax - 0xc8], xmm13
movaps xmmword [rax - 0xd8], xmm14
movaps xmmword [rax - 0xe8], xmm15
mov rax, qword [r14 + 0x3ec8]
mov qword [rbp + 0x30], r14
mov byte [rax + 0xb8], cl
mov rdi, qword [r14 + 0x3ec8]
mov qword [rsp + 0x70], rdi
cmp byte [rdi + 0xbb], r13b
jne 0x180059115
mov ebx, dword [rbp + 0x1d8]
mov eax, ebx
shr eax, 0xe
mov r12d, ebx
and al, cl
shr r12d, 0x1a
mov dword [rsp + 0x5c], eax
and r12b, cl
mov eax, ebx
mov dword [rsp + 0x60], r12d
shr eax, 0xf
and al, cl
mov dword [rbp - 0x74], eax
mov eax, ebx
shr eax, 0x10
not al
and al, cl
mov dword [rbp - 0x20], eax
mov eax, ebx
shr eax, 0x12
and al, cl
mov dword [rbp - 0x54], eax
test r12b, r12b
je 0x180058f7c
call fcn.180040734
mov rdx, rsi
mov rcx, rdi
call fcn.180035fc4
movss xmm0, dword [0x180159860]
lea rcx, [rbp + 0x1b8]
mov r9d, 1
movss dword [rbp - 0x68], xmm0
xor r8d, r8d
movss dword [rsp + 0x20], xmm0
mov rdx, rsi
mov dword [rsp + 0x64], eax
mov r15d, eax
call fcn.180038e30
test r12b, r12b
je 0x180058fd1
movss xmm4, dword [r14 + 0x3c28]
mulss xmm4, dword [0x180159714]
jmp 0x180058fd9
movss xmm4, dword [rbp + 0x1bc]
call fcn.180040560
movss xmm6, dword [r14 + 0x3834]
lea rcx, [rbp + 0x1e0]
mov rdx, qword [rbp + 0x1d0]
movaps xmm3, xmm6
addss xmm3, xmm6
movaps xmm2, xmm0
mov rdx, qword [rdx]
addss xmm3, xmm4
call fcn.1800405d0
movss xmm15, dword [rbp + 0x1b8]
xorps xmm12, xmm12
comiss xmm15, xmm12
movss dword [rbp - 0x38], xmm15
jbe 0x180059033
movaps xmm1, xmm15
addss xmm1, dword [r14 + 0x3848]
jmp 0x180059036
xorps xmm1, xmm1
movss xmm9, dword [rdi + 0x104]
lea rcx, [rbp + 0x1b8]
movss xmm7, dword [rdi + 0x100]
movaps xmm0, xmm9
movss xmm10, dword [rbp + 0x1e0]
movaps xmm2, xmm9
movss xmm11, dword [rbp + 0x1e4]
addss xmm1, xmm10
addss xmm2, xmm11
movss dword [rbp - 0x64], xmm9
addss xmm0, xmm11
movss dword [rsp + 0x78], xmm7
movaps xmm13, xmm7
movss dword [rsp + 0x7c], xmm9
addss xmm13, xmm10
movss dword [rbp - 0x30], xmm7
addss xmm1, xmm7
movss dword [rbp - 0x2c], xmm9
movss dword [rbp - 0x24], xmm2
subss xmm2, xmm9
movss dword [rbp - 0x7c], xmm0
xorps xmm0, xmm0
mov qword [rbp - 0x70], rdi
movss dword [rbp - 0x58], xmm13
movss dword [rbp - 0x28], xmm1
subss xmm1, xmm7
movss dword [rbp - 0x80], xmm13
movss dword [rbp + 0x1bc], xmm2
movups xmmword [rbp + 0x80], xmm0
movss dword [rbp + 0x1b8], xmm1
movaps xmm1, xmm6
call fcn.180040104
test r12b, r12b
je 0x1800592c5
mov r9d, 0x400
lea r8, [rsp + 0x78]
mov edx, r15d
lea rcx, [rbp - 0x30]
call fcn.180040270
test al, al
jne 0x18005916a
call fcn.18004085c
xor al, al
lea r11, [rsp + 0x268]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
movaps xmm10, xmmword [r11 - 0x58]
movaps xmm11, xmmword [r11 - 0x68]
movaps xmm12, xmmword [r11 - 0x78]
movaps xmm13, xmmword [r11 - 0x88]
movaps xmm14, xmmword [r11 - 0x98]
movaps xmm15, xmmword [r11 - 0xa8]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
movups xmm0, xmmword [r14 + 0x4764]
mov r13d, dword [r14 + 0x476c]
lea rdx, [r14 + 0x3940]
mov ecx, 3
movss dword [rdi + 0x100], xmm7
movups xmmword [rbp + 0x80], xmm0
movss dword [rdi + 0x104], xmm9
call fcn.1800348a8
movss xmm1, dword [r14 + 0x3838]
mov ecx, 7
call fcn.18003495c
movss xmm1, dword [r14 + 0x383c]
mov ecx, 8
call fcn.18003495c
and dword [rbp + 0x1b8], 0
lea rdx, [rbp + 0x1b8]
and dword [rbp + 0x1bc], 0
mov ecx, 2
call fcn.1800349d4
movss xmm13, dword [rbp - 0x80]
lea r8, [rbp + 0x1b8]
movss xmm1, dword [rbp - 0x7c]
movaps xmm0, xmm13
movss xmm9, dword [rsp + 0x7c]
mov edx, r15d
movss xmm7, dword [rsp + 0x78]
subss xmm1, xmm9
subss xmm0, xmm7
movss dword [rbp - 0x58], xmm13
mov rcx, rsi
movss dword [rbp - 0x64], xmm9
mov dword [rsp + 0x20], 4
movss dword [rbp + 0x1bc], xmm1
movss dword [rbp + 0x1b8], xmm0
call fcn.180039110
mov ecx, 3
mov bl, al
call fcn.180034a60
mov ecx, 1
call fcn.180034904
test bl, bl
jne 0x180059266
call fcn.180039344
jmp 0x180059110
mov rbx, qword [r14 + 0x3ec8]
mov qword [rbp - 0x70], rbx
movsx ecx, word [rbx + 0x15e]
mov eax, dword [rbx + 0x158]
bts ecx, eax
subss xmm10, dword [rbx + 0xac]
mov word [rbx + 0x15e], cx
movss xmm0, dword [r14 + 0x3830]
addss xmm0, dword [rbx + 0x100]
movss dword [rbx + 0x100], xmm0
movss xmm1, dword [r14 + 0x3834]
addss xmm1, dword [rbx + 0x104]
movss dword [rbx + 0x104], xmm1
jmp 0x180059313
bt ebx, 0x1c
jb 0x180059309
mov r9d, 0x400
lea r8, [rsp + 0x78]
mov edx, r15d
lea rcx, [rbp - 0x30]
call fcn.180040270
test al, al
je 0x180059115
movss xmm13, dword [rbp - 0x80]
movss xmm9, dword [rsp + 0x7c]
movss xmm7, dword [rsp + 0x78]
movss dword [rbp - 0x58], xmm13
movss dword [rbp - 0x64], xmm9
mov r13d, dword [r14 + 0x476c]
mov rbx, rdi
mov edx, r15d
lea rcx, [rsp + 0x78]
call fcn.1800364f0
xor r9d, r9d
mov byte [rsp + 0x5a], al
mov cl, al
lea edx, [r9 + 1]
test al, al
je 0x180059338
mov dword [r14 + 0x4a48], edx
mov rsi, qword [0x1801bfec8]
test r15d, r15d
je 0x180059356
cmp dword [rsi + 0x4be0], r15d
jne 0x180059356
add rsi, 0x4bd8
jmp 0x180059359
mov rsi, r9
mov eax, dword [r14 + 0x3f28]
shr r13d, 8
and r13b, dl
mov qword [rbp - 0x30], rsi
cmp eax, r15d
je 0x180059394
cmp dword [r14 + 0x48b8], r15d
jne 0x180059394
test byte [r14 + 0x48c4], dl
jne 0x18005938c
cmp dword [r14 + 0x48dc], 2
jne 0x180059394
mov byte [rbp + 0x1e0], dl
jmp 0x18005939b
mov byte [rbp + 0x1e0], r9b
test cl, cl
je 0x1800593ab
mov r15b, dl
cmp byte [r14 + 0x3748], r9b
jne 0x1800593ae
mov r15b, r9b
mov byte [rbp + 0x1b8], r15b
test r12b, r12b
je 0x1800593e5
test rsi, rsi
je 0x1800593e5
test eax, eax
jne 0x1800593e5
lea rdx, str.SCROLLY
mov rcx, rbx
call fcn.180035fc4
cmp dword [r14 + 0x3f58], eax
jne 0x1800593e2
mov ebx, 1
jmp 0x1800593f2
xor r9d, r9d
mov bl, r9b
test r12b, r12b
je 0x180059424
test rsi, rsi
je 0x180059424
mov rcx, qword [rbp - 0x70]
lea rdx, str.SCROLLY
call fcn.180035fc4
xor r9d, r9d
cmp dword [r14 + 0x3f28], eax
jne 0x180059424
lea eax, [r9 + 1]
mov byte [rsp + 0x58], r9b
mov cl, al
mov byte [rsp + 0x51], al
mov byte [rsp + 0x54], r9b
jmp 0x18005943a
mov byte [rsp + 0x58], r9b
mov cl, r9b
mov byte [rsp + 0x51], cl
mov byte [rsp + 0x54], r9b
test r12b, r12b
je 0x180059448
mov rax, qword [rbp - 0x70]
movss xmm6, dword [rax + 0x88]
jmp 0x180059454
movss xmm6, dword [0x180159828]
mov byte [rsp + 0x51], cl
mov r8d, 1
test rsi, rsi
je 0x18005946d
mov al, r12b
mov r12b, r8b
xor al, r8b
cmp byte [rsi + 0x6b], al
jne 0x180059470
mov r12b, r9b
test r15b, r15b
jne 0x180059499
test bl, bl
jne 0x180059499
cmp byte [rbp + 0x1e0], r9b
jne 0x180059499
test r13b, r13b
jne 0x180059499
mov byte [rbp + 0x1e8], r9b
test cl, cl
jne 0x1800594a0
mov byte [rsp + 0x59], r9b
jmp 0x1800594b2
mov byte [rbp + 0x1e8], r8b
mov eax, dword [rsp + 0x64]
mov byte [rsp + 0x59], r8b
cmp dword [r14 + 0x3f28], eax
jne 0x1800594bb
test r12b, r12b
je 0x180059704
lea rsi, [r14 + 0x4bd8]
mov ecx, dword [rsi + 8]
mov qword [rbp - 0x30], rsi
mov dword [rsi + 0xe80], 0xbe99999a
call fcn.180058dd8
mov rax, qword [rbp + 0x1c0]
or rbx, 0xffffffffffffffff
xor edx, edx
inc rbx
cmp byte [rax + rbx], dl
jne 0x1800594e5
mov ecx, dword [rsi + 0x3c]
lea edi, [rbx + 1]
cmp edi, ecx
jle 0x18005951b
test ecx, ecx
je 0x180059506
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005950b
mov eax, 8
cmp eax, edi
lea rcx, [rsi + 0x38]
mov edx, edi
cmovg edx, eax
call fcn.180047180
mov dword [rsi + 0x38], edi
mov rcx, qword [rsi + 0x40]
movsxd r8, edi
mov rdi, qword [rbp + 0x1c0]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x64]
xor r8d, r8d
cmp dword [rsi + 8], eax
jne 0x18005956b
test r12b, r12b
jne 0x18005956b
lea r15d, [r8 + 1]
cmp dword [rsi + 0x10], ebx
jne 0x18005956b
cmp byte [rsi + 0x48], r8b
je 0x18005956e
mov rcx, qword [rsi + 0x30]
mov rdx, rdi
movsxd r8, ebx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
xor r8d, r8d
test eax, eax
je 0x18005956e
mov r15b, r8b
mov ebx, dword [rbp + 0x1c8]
mov r12d, dword [rsp + 0x64]
inc ebx
mov dword [rsi + 8], r12d
mov ecx, dword [rsi + 0x1c]
mov qword [rbp - 0x40], r8
cmp ebx, ecx
jle 0x1800595b1
test ecx, ecx
je 0x180059599
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005959e
mov eax, 8
cmp eax, ebx
lea rcx, [rsi + 0x18]
mov edx, ebx
cmovg edx, eax
call fcn.180047204
xor r8d, r8d
mov dword [rsi + 0x18], ebx
mov ecx, dword [rsi + 0x2c]
test ecx, ecx
jns 0x1800595d8
mov eax, ecx
cdq
sub eax, edx
mov edx, r8d
sar eax, 1
add eax, ecx
lea rcx, [rsi + 0x28]
test eax, eax
cmovg edx, eax
call fcn.180047180
xor r8d, r8d
mov rbx, qword [rbp + 0x1c0]
lea rax, [rbp - 0x40]
mov edx, dword [rbp + 0x1c8]
xor r9d, r9d
mov dword [rsi + 0x28], r8d
mov rcx, qword [rsi + 0x20]
mov byte [rsi + 0x48], r8b
mov r8, rbx
mov qword [rsp + 0x20], rax
call fcn.18003401c
mov ecx, dword [rbp - 0x40]
xor r9d, r9d
sub ecx, ebx
mov dword [rsi + 0xc], eax
mov dword [rsi + 0x10], ecx
mov edx, eax
lea r8d, [r9 + 1]
test r15b, r15b
je 0x180059644
cmp dword [rsi + 0x54], eax
mov ecx, eax
cmovl ecx, dword [rsi + 0x54]
cmp dword [rsi + 0x58], eax
mov dword [rsi + 0x54], ecx
cmovl eax, dword [rsi + 0x58]
cmp dword [rsi + 0x5c], edx
mov ecx, dword [rsp + 0x60]
cmovl edx, dword [rsi + 0x5c]
mov dword [rsi + 0x5c], edx
mov dword [rsi + 0x58], eax
jmp 0x180059689
mov ecx, dword [rsp + 0x60]
mov al, cl
xor al, r8b
mov qword [rsi + 0x50], r9
mov byte [rsi + 0x6b], al
mov dword [rsi + 0xe72], 0x630000
mov dword [rsi + 0xe78], r9d
mov dword [rsi + 0xe7c], 0x3e7
mov qword [rsi + 0x58], r9
mov word [rsi + 0x69], 1
mov dword [rsi + 0x70], r9d
mov byte [rsi + 0x68], r9b
mov byte [rsi + 0x60], r9b
mov dword [rsi + 0x64], r9d
test cl, cl
jne 0x1800596e6
mov r8d, dword [rbp + 0x1d8]
test r8b, 0x10
mov eax, dword [rsp + 0x54]
mov r8d, 1
movzx eax, al
cmovne eax, r8d
mov dword [rsp + 0x54], eax
cmp byte [rbp + 0x1e0], r9b
je 0x1800596ca
test r15b, r15b
je 0x1800596c5
test byte [r14 + 0x48c4], 4
jne 0x1800596ca
mov byte [rsp + 0x54], r8b
test r13b, r13b
jne 0x1800596e1
cmp byte [rbp + 0x1b8], r9b
je 0x1800596e6
cmp byte [r14 + 0xe24], r9b
je 0x1800596e6
mov byte [rsp + 0x54], r8b
test dword [rbp + 0x1d8], 0x2000
mov rdi, qword [rsp + 0x70]
mov r15b, byte [rbp + 0x1b8]
je 0x180059709
mov byte [rsi + 0x60], r8b
jmp 0x180059709
mov r12d, dword [rsp + 0x64]
mov r13b, byte [r14 + 0x79]
mov bl, byte [rbp + 0x1e8]
mov byte [rsp + 0x69], r13b
cmp dword [r14 + 0x3f28], r12d
je 0x180059743
test bl, bl
je 0x180059743
mov rdx, rdi
mov ecx, r12d
call fcn.1800361ac
mov rdx, rdi
mov ecx, r12d
call fcn.180041e7c
mov rcx, rdi
call fcn.18003d84c
xor edi, edi
cmp dword [r14 + 0x3f28], r12d
jne 0x180059870
test r15b, r15b
je 0x180059773
mov rax, qword [0x1801bfec8]
mov dword [rax + 0x4580], r12d
mov dword [rax + 0x457c], r12d
mov word [rax + 0x4584], di
mov eax, dword [r14 + 0x4738]
mov ecx, dword [rsp + 0x60]
or eax, 3
mov edx, dword [rbp + 0x1d8]
mov dword [r14 + 0x4738], eax
test cl, cl
jne 0x180059796
test dl, dl
jns 0x1800597a0
or eax, 0xc
mov dword [r14 + 0x4738], eax
mov rax, qword [0x1801bfec8]
mov dword [rax + 0x3fc8], r12d
mov dword [rax + 0x3fc4], r12d
mov word [rax + 0x3fcc], di
mov dword [rax + 0x3fd4], r12d
mov dword [rax + 0x3fd0], r12d
mov word [rax + 0x3fd8], di
test cl, cl
je 0x1800597ff
mov dword [rax + 0x3fb0], r12d
mov dword [rax + 0x3fac], r12d
mov word [rax + 0x3fb4], di
mov dword [rax + 0x3fbc], r12d
mov dword [rax + 0x3fb8], r12d
mov word [rax + 0x3fc0], di
test r13b, r13b
je 0x180059819
mov dword [rax + 0x45ec], r12d
mov dword [rax + 0x45e8], r12d
mov word [rax + 0x45f0], di
test edx, 0x440
je 0x180059831
xor r8d, r8d
mov edx, r12d
mov ecx, 0x200
call fcn.18003e58c
cmp dword [r14 + 0x3f28], r12d
jne 0x180059870
test rsi, rsi
jne 0x180059848
xor edx, edx
xor ecx, ecx
call fcn.1800361ac
cmp dword [r14 + 0x3f28], r12d
jne 0x180059870
mov ecx, 1
cmp byte [r14 + 0x3748], dil
je 0x180059886
cmp byte [rsp + 0x59], dil
jne 0x180059886
test bl, bl
jne 0x180059886
mov byte [rsp + 0x58], cl
jmp 0x180059886
test rsi, rsi
je 0x180059883
cmp byte [rsp + 0x51], dil
je 0x180059883
mov ecx, 1
jmp 0x180059886
mov cl, dil
mov r12d, dword [rsp + 0x54]
mov byte [rbp + 0x1b8], cl
test rsi, rsi
je 0x1800598af
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x1800598a3
test r12b, r12b
je 0x1800598af
test cl, cl
je 0x1800598af
mov r8d, 1
jmp 0x1800598b2
mov r8b, dil
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x54], r8d
movzx r15d, r8b
mov byte [rsp + 0x50], dil
mov byte [rsp + 0x59], dil
test al, al
je 0x180059994
test rsi, rsi
je 0x180059994
test cl, cl
jne 0x1800598e7
test r8b, r8b
je 0x18005999d
mov ebx, dword [rbp + 0x1c8]
mov ecx, dword [rsi + 0x1c]
inc ebx
mov qword [rbp + 0x1e8], rdi
cmp ebx, ecx
jle 0x180059921
test ecx, ecx
je 0x18005990c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180059911
mov eax, 8
cmp eax, ebx
lea rcx, [rsi + 0x18]
mov edx, ebx
cmovg edx, eax
call fcn.180047204
mov rdi, qword [rbp + 0x1c0]
lea rax, [rbp + 0x1e8]
mov dword [rsi + 0x18], ebx
mov r8, rdi
mov rcx, qword [rsi + 0x20]
xor r9d, r9d
mov edx, ebx
mov qword [rsp + 0x20], rax
call fcn.18003401c
mov ecx, dword [rbp + 0x1e8]
mov edx, eax
sub ecx, edi
mov dword [rsi + 0xc], eax
cmp dword [rsi + 0x54], eax
mov dword [rsi + 0x10], ecx
mov ecx, eax
cmovl ecx, dword [rsi + 0x54]
cmp dword [rsi + 0x58], eax
mov dword [rsi + 0x54], ecx
mov ecx, eax
cmovl ecx, dword [rsi + 0x58]
cmp dword [rsi + 0x5c], eax
mov eax, dword [rsp + 0x5c]
cmovl edx, dword [rsi + 0x5c]
xor edi, edi
cmp ecx, edx
mov dword [rsi + 0x58], ecx
mov cl, byte [rbp + 0x1b8]
mov r8d, edi
cmovne r8d, r15d
mov dword [rsi + 0x5c], edx
mov dword [rsp + 0x54], r8d
test cl, cl
jne 0x1800599ad
test r8b, r8b
jne 0x1800599ad
mov r15d, dword [rsp + 0x64]
cmp dword [r14 + 0x3f28], r15d
jne 0x1800599c6
jmp 0x1800599b2
mov r15d, dword [rsp + 0x64]
test al, al
jne 0x1800599c6
test rsi, rsi
je 0x1800599c6
mov byte [rsp + 0x6c], 1
cmp byte [rsi + 0x48], dil
jne 0x1800599cb
mov byte [rsp + 0x6c], dil
cmp byte [rbp - 0x74], dil
je 0x180059a7d
mov rcx, qword [r14 + 0x3c20]
mov edx, 0x2a
call fcn.18004e6ac
mov ecx, dword [rcx + 0x14]
lea rdi, [r14 + 0x5a80]
mov rbx, qword [0x1801bfec8]
mov r9, rax
mov dword [rdi + 0x14], ecx
mov rcx, qword [r14 + 0x3c20]
mov qword [rbp + 0x1e8], rdi
mov edx, dword [rcx + 0x64]
mov dword [rdi + 0x64], edx
mov rcx, qword [r14 + 0x3c20]
mov edx, dword [rcx + 0x68]
mov dword [rdi + 0x68], edx
mov rcx, qword [r14 + 0x3c20]
mov edx, dword [rcx + 0x6c]
mov dword [rdi + 0x6c], edx
mov rcx, qword [r14 + 0x3c20]
mov rax, qword [rcx + 0x40]
mov rcx, rdi
mov qword [rdi + 0x40], rax
mov qword [rdi + 0x38], r9
mov eax, dword [r9 + 4]
mov dword [rdi + 0x10], eax
call fcn.18003dadc
lea rdx, [rbp + 0x1e8]
lea rcx, [rbx + 0x4830]
call fcn.180046e40
mov rdx, qword [rdi + 0x40]
mov rcx, qword [rbx + 0x3ec8]
mov rdx, qword [rdx + 8]
mov rcx, qword [rcx + 0x298]
call fcn.180048c50
xor edi, edi
movss xmm8, dword [0x1801595f4]
mov dword [rbp - 0x40], edi
cmp dword [r14 + 0x3f28], r15d
jne 0x180059e7d
mov eax, dword [rsi + 0x10]
mov ebx, dword [rbp + 0x1d8]
mov byte [rsi + 0xe86], dil
mov dword [rsi + 0xe88], ebx
mov dword [rbp - 0x40], eax
mov eax, dword [rbp + 0x1c8]
mov dword [rsi + 0x4c], eax
cmp byte [r14 + 0xe10], dil
mov dword [r14 + 0x5e0c], 1
sete al
mov byte [r14 + 0x3f35], al
movss xmm2, dword [r14 + 0xe08]
subss xmm2, xmm7
subss xmm2, dword [r14 + 0x3830]
addss xmm2, dword [rsi + 0x50]
cmp byte [rsp + 0x60], dil
je 0x180059b0d
mov rax, qword [rbp - 0x70]
movss xmm3, dword [r14 + 0xe0c]
subss xmm3, dword [rax + 0x104]
jmp 0x180059b1b
movss xmm3, dword [r14 + 0x3c28]
mulss xmm3, xmm8
test r12b, r12b
je 0x180059b42
mov eax, dword [rsi + 0xc]
mov r12d, 1
mov byte [rsi + 0xe85], r12b
mov dword [rsi + 0x58], edi
mov dword [rsi + 0x5c], eax
mov dword [rsi + 0x54], eax
mov byte [rsi + 0x6a], dil
jmp 0x180059ce1
mov al, byte [rsp + 0x5a]
test al, al
je 0x180059c97
mov ecx, 2
cmp word [r14 + 0x3752], cx
jb 0x180059c97
cmp byte [r14 + 0xe25], dil
jne 0x180059c97
lea rdi, [rsi + 0x54]
mov rcx, rsi
mov rdx, rdi
call fcn.180057460
mov r12d, 1
test byte [r14 + 0x3752], r12b
jne 0x180059c2a
xor eax, eax
cmp dword [rdi], eax
je 0x180059bb0
movsxd rcx, dword [rdi]
lea edx, [r12 + 9]
mov rax, qword [rsi + 0x20]
cmp word [rax + rcx*2 - 2], dx
je 0x180059bb0
xor edi, edi
mov cl, dil
jmp 0x180059bb5
mov cl, r12b
xor edi, edi
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x180059bc1
test cl, cl
jne 0x180059bce
mov edx, 0x20000c
mov rcx, rsi
call fcn.180058a34
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x180059be9
cmp dword [rsi + 0x58], eax
jne 0x180059be6
mov eax, dword [rsi + 0x54]
mov dword [rsi + 0x5c], eax
mov dword [rsi + 0x58], eax
jmp 0x180059be9
mov dword [rsi + 0x54], eax
mov edx, dword [rsi + 0x54]
mov rcx, rsi
call fcn.180056ffc
mov dword [rsi + 0x54], eax
mov dword [rsi + 0x5c], eax
mov ecx, dword [rsi + 0x58]
mov edx, dword [rsi + 0x5c]
mov eax, dword [rsi + 0xc]
cmp ecx, edx
je 0x180059c20
cmp ecx, eax
jle 0x180059c10
mov dword [rsi + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x180059c19
mov dword [rsi + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x180059c20
mov dword [rsi + 0x54], ecx
cmp dword [rsi + 0x54], eax
jle 0x180059c8b
mov dword [rsi + 0x54], eax
jmp 0x180059c8b
movsxd rcx, dword [rdi]
mov edx, 0x200004
mov rax, qword [rsi + 0x20]
movzx ebx, word [rax + rcx*2]
mov rcx, rsi
call fcn.180058a34
mov edx, 0x600005
mov rcx, rsi
call fcn.180058a34
mov edx, 0x600001
mov rcx, rsi
call fcn.180058a34
mov eax, 0xa
cmp bx, ax
je 0x180059c7c
xor eax, eax
cmp byte [rsp + 0x60], al
je 0x180059c7c
mov ecx, dword [rsi + 0x58]
mov eax, dword [rsi + 0x5c]
mov dword [rsi + 0x58], eax
mov dword [rsi + 0x5c], ecx
mov dword [rdi], ecx
mov ebx, dword [rbp + 0x1d8]
xor edi, edi
mov byte [rsi + 0xe84], dil
mov dword [rsi + 0xe80], 0xbe99999a
jmp 0x180059ce1
cmp byte [r14 + 0x3748], dil
je 0x180059d77
cmp byte [rsi + 0xe85], dil
jne 0x180059d77
test al, al
je 0x180059cdb
lea rdx, [rsi + 0x54]
mov rcx, rsi
cmp byte [r14 + 0xe25], dil
je 0x180059ccc
call fcn.1800574c0
jmp 0x180059cd1
call fcn.180057460
mov dword [rsi + 0xe80], 0xbe99999a
mov r12d, 1
cmp byte [rsi + 0xe85], dil
je 0x180059cfa
cmp byte [r14 + 0xe10], dil
jne 0x180059cfa
mov byte [rsi + 0xe85], dil
bt ebx, 0xa
jae 0x180059d4e
xor r8d, r8d
mov edx, r15d
mov ecx, 0x200
call fcn.18003fffc
mov ecx, dword [rsp + 0x5c]
test al, al
je 0x180059d52
test cl, cl
jne 0x180059d52
mov edx, ebx
mov dword [rbp + 0x1e8], 9
lea rcx, [rbp + 0x1e8]
mov dword [rsp + 0x20], 2
call fcn.180058a60
test al, al
je 0x180059d4e
mov edx, dword [rbp + 0x1e8]
mov rcx, rsi
call fcn.180058a34
mov ecx, dword [rsp + 0x5c]
cmp byte [r14 + 0xe24], dil
je 0x180059d64
cmp byte [r14 + 0xe26], dil
je 0x180059d72
test r13b, r13b
je 0x180059dd1
cmp byte [r14 + 0xe27], dil
je 0x180059dd1
mov al, r12b
jmp 0x180059dd4
cmp byte [r14 + 0xe10], dil
je 0x180059cdb
cmp byte [rsi + 0xe85], dil
jne 0x180059cdb
ucomiss xmm12, dword [r14 + 0xf8]
jne 0x180059da9
ucomiss xmm12, dword [r14 + 0xfc]
je 0x180059cdb
lea rdx, [rsi + 0x54]
mov rcx, rsi
call fcn.1800574c0
mov r12d, 1
mov dword [rsi + 0xe80], 0xbe99999a
mov byte [rsi + 0xe84], r12b
jmp 0x180059ce1
mov al, dil
cmp dword [r14 + 0x37c0], edi
jle 0x180059e7d
test al, al
jne 0x180059e55
test cl, cl
jne 0x180059e55
cmp byte [rbp + 0x1e0], dil
jne 0x180059e55
mov r13d, dword [rbp + 0x1d8]
xor r15d, r15d
mov ebx, r15d
mov rax, qword [r14 + 0x37c8]
movzx ecx, word [rbx + rax]
mov dword [rbp + 0x1e0], ecx
cmp ecx, 9
je 0x180059e3e
mov edx, r13d
mov dword [rsp + 0x20], 2
lea rcx, [rbp + 0x1e0]
call fcn.180058a60
test al, al
je 0x180059e3e
mov edx, dword [rbp + 0x1e0]
mov rcx, rsi
call fcn.180058a34
add edi, r12d
add rbx, 2
cmp edi, dword [r14 + 0x37c0]
jl 0x180059dff
mov r13b, byte [rsp + 0x69]
xor edi, edi
lea rbx, [r14 + 0x37c0]
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x180059e7b
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.180047204
mov dword [rbx], edi
mov r12d, dword [rsp + 0x64]
mov r15b, dil
mov byte [rbp + 0x1e0], dil
cmp dword [r14 + 0x3f28], r12d
jne 0x18005a9a2
cmp byte [r14 + 0x3f34], dil
jne 0x18005a9a2
cmp byte [rsp + 0x58], dil
jne 0x18005a9a2
movaps xmm0, xmm11
mov r15d, 1
subss xmm0, dword [r14 + 0x3834]
mov ecx, r15d
divss xmm0, dword [r14 + 0x3c28]
cvttss2si eax, xmm0
cmp eax, r15d
cmovge ecx, eax
mov dword [rsi + 0x64], ecx
mov al, byte [r14 + 0xe25]
neg al
mov dword [rsp + 0x70], ecx
sbb edi, edi
xor ebx, ebx
and edi, 0x400000
test r13b, r13b
je 0x180059f35
mov al, byte [r14 + 0xe26]
mov byte [rbp + 0x1e8], al
cmp byte [r14 + 0xe27], bl
je 0x180059f42
mov byte [rbp + 0x1e8], al
cmp byte [r14 + 0xe24], bl
jne 0x180059f42
mov byte [rbp + 0x1e8], al
cmp al, bl
jne 0x180059f42
mov byte [rsp + 0x51], r15b
mov byte [rbp + 0x1e8], al
jmp 0x180059f46
mov al, byte [r14 + 0xe24]
mov byte [rbp + 0x1e8], al
mov byte [rsp + 0x51], bl
mov r8d, r15d
mov edx, r12d
mov ecx, 0xa39
call fcn.18003fffc
test al, al
jne 0x180059f6e
mov r8d, r15d
mov edx, r12d
mov ecx, 0x220a
call fcn.18003fffc
test al, al
je 0x180059f94
mov r15d, dword [rsp + 0x5c]
test r15b, r15b
jne 0x180059f99
cmp byte [rbp - 0x74], bl
mov ebx, dword [rsp + 0x60]
jne 0x180059f9d
test bl, bl
je 0x180059f8d
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
je 0x180059f9d
mov byte [rsp + 0x68], 1
jmp 0x180059fa3
mov r15d, dword [rsp + 0x5c]
mov ebx, dword [rsp + 0x60]
xor eax, eax
mov byte [rsp + 0x68], al
xor r8d, r8d
mov edx, r12d
mov ecx, 0xa24
call fcn.18003fffc
test al, al
jne 0x180059fcb
xor r8d, r8d
mov edx, r12d
mov ecx, 0x1209
call fcn.18003fffc
test al, al
je 0x180059feb
xor eax, eax
cmp byte [rbp - 0x74], al
jne 0x180059feb
test bl, bl
je 0x180059fde
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
je 0x180059feb
mov eax, 1
xor ebx, ebx
mov byte [rsp + 0x6b], al
jmp 0x180059ff4
xor ebx, ebx
mov byte [rsp + 0x6b], bl
lea eax, [rbx + 1]
mov r8d, eax
mov edx, r12d
mov ecx, 0xa37
call fcn.18003fffc
test al, al
jne 0x18005a01f
mov r8d, 1
mov edx, r12d
mov ecx, 0x2209
call fcn.18003fffc
test al, al
je 0x18005a02f
test r15b, r15b
jne 0x18005a02f
mov eax, 1
mov byte [rsp + 0x5a], al
jmp 0x18005a038
mov byte [rsp + 0x5a], bl
mov eax, 1
mov r8d, eax
mov edx, r12d
mov ecx, 0xa3b
call fcn.18003fffc
mov ebx, dword [rbp - 0x20]
test al, al
je 0x18005a063
test r15b, r15b
jne 0x18005a063
test bl, bl
je 0x18005a063
mov eax, 1
mov byte [rsp + 0x6a], al
jmp 0x18005a06d
mov byte [rsp + 0x6a], 0
mov eax, 1
mov r8d, eax
mov edx, r12d
mov ecx, 0xa3a
call fcn.18003fffc
test al, al
jne 0x18005a139
test r13b, r13b
je 0x18005a0a8
mov r13d, 1
mov edx, r12d
mov r8d, r13d
mov ecx, 0x2a3b
call fcn.18003fffc
test al, al
jne 0x18005a13f
xor r15d, r15d
mov r13b, r15b
xor r8d, r8d
mov edx, r12d
mov ecx, 0xa22
call fcn.18003fffc
mov byte [rbp - 0x78], al
mov eax, 2
lea r12d, [rax - 1]
test byte [r14 + 8], al
je 0x18005a0d9
mov bl, r12b
test byte [r14 + 0xc], r12b
jne 0x18005a0dc
mov bl, r15b
mov r8d, r12d
xor edx, edx
mov ecx, 0x20d
call fcn.18003e6cc
test al, al
jne 0x18005a105
mov r8d, r12d
xor edx, edx
mov ecx, 0x267
call fcn.18003e6cc
test al, al
jne 0x18005a105
mov r12b, r15b
test bl, bl
je 0x18005a158
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.18003e6cc
test al, al
jne 0x18005a12f
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.18003e6cc
test al, al
je 0x18005a158
mov eax, 1
mov r15b, al
jmp 0x18005a15d
mov r13d, 1
test r15b, r15b
jne 0x18005a0a8
xor r15d, r15d
test bl, bl
je 0x18005a0ab
jmp 0x18005a0ae
mov eax, 1
mov edx, dword [rsp + 0x64]
mov r8d, eax
mov ecx, 0x20e
call fcn.18003fffc
xor ecx, ecx
test al, al
jne 0x18005a199
test bl, bl
je 0x18005a190
mov edx, dword [rsp + 0x64]
lea r8d, [rcx + 1]
mov ecx, 0x26c
call fcn.18003fffc
xor ecx, ecx
test al, al
jne 0x18005a199
mov bl, cl
mov eax, 1
jmp 0x18005a1a0
mov eax, 1
mov bl, al
mov r8d, eax
xor edx, edx
mov ecx, 0x201
call fcn.18003e6cc
xor ecx, ecx
test al, al
je 0x18005a1e9
neg byte [rbp + 0x1e8]
mov eax, 0x200004
sbb edx, edx
and edx, 0xc
add edx, 0x200000
cmp byte [rsp + 0x51], cl
cmovne edx, eax
or edx, edi
mov rcx, rsi
call fcn.180058a34
xor edi, edi
mov r13d, 1
jmp 0x18005a974
xor edx, edx
mov ecx, 0x202
lea r8d, [rdx + 1]
call fcn.18003e6cc
xor ecx, ecx
test al, al
je 0x18005a217
neg byte [rbp + 0x1e8]
mov eax, 0x200005
sbb edx, edx
and edx, 0xc
add edx, 0x200001
jmp 0x18005a1cb
xor edx, edx
mov ecx, 0x203
lea r8d, [rdx + 1]
call fcn.18003e6cc
xor ecx, ecx
test al, al
je 0x18005a286
cmp byte [rsp + 0x60], cl
je 0x18005a286
cmp byte [r14 + 0xe24], cl
je 0x18005a275
mov r8, qword [rbp - 0x70]
xor edi, edi
movss xmm0, dword [r8 + 0x88]
subss xmm0, dword [r14 + 0x3c28]
mov dword [r8 + 0xa0], edi
mov dword [r8 + 0xa8], edi
maxss xmm0, xmm12
movss dword [r8 + 0x98], xmm0
jmp 0x18005a1de
movzx eax, byte [rsp + 0x51]
lea edx, [rax*4 + 0x200002]
jmp 0x18005a1d2
xor edx, edx
mov ecx, 0x204
lea r8d, [rdx + 1]
call fcn.18003e6cc
xor ecx, ecx
test al, al
je 0x18005a302
cmp byte [rsp + 0x60], cl
je 0x18005a302
cmp byte [r14 + 0xe24], cl
je 0x18005a2f1
mov rdx, qword [rbp - 0x70]
xor edi, edi
movss xmm0, dword [r14 + 0x3c28]
mov rax, qword [0x1801bfec8]
addss xmm0, dword [rdx + 0x88]
mov rcx, qword [rax + 0x3ec8]
minss xmm0, dword [rcx + 0x90]
mov dword [rdx + 0xa0], edi
mov dword [rdx + 0xa8], edi
movss dword [rdx + 0x98], xmm0
jmp 0x18005a1de
movzx eax, byte [rsp + 0x51]
lea edx, [rax*4 + 0x200003]
jmp 0x18005a1d2
xor edx, edx
mov ecx, 0x205
lea r8d, [rdx + 1]
call fcn.18003e6cc
xor ecx, ecx
test al, al
je 0x18005a349
cmp byte [rsp + 0x60], cl
je 0x18005a349
or edi, 0x20000e
mov rcx, rsi
mov edx, edi
call fcn.180058a34
movd xmm0, dword [rsp + 0x70]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [r14 + 0x3c28]
subss xmm6, xmm0
jmp 0x18005a1dc
xor edx, edx
mov ecx, 0x206
lea r8d, [rdx + 1]
call fcn.18003e6cc
xor ecx, ecx
test al, al
je 0x18005a390
cmp byte [rsp + 0x60], cl
je 0x18005a390
or edi, 0x20000f
mov rcx, rsi
mov edx, edi
call fcn.180058a34
movd xmm0, dword [rsp + 0x70]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [r14 + 0x3c28]
addss xmm6, xmm0
jmp 0x18005a1dc
xor edx, edx
mov ecx, 0x207
lea r8d, [rdx + 1]
call fcn.18003e6cc
test al, al
je 0x18005a3be
mov al, byte [r14 + 0xe24]
neg al
mov eax, 0x200004
sbb edx, edx
and edx, 2
add edx, eax
jmp 0x18005a1d2
xor edx, edx
mov ecx, 0x208
lea r8d, [rdx + 1]
call fcn.18003e6cc
test al, al
je 0x18005a3e2
mov al, byte [r14 + 0xe24]
neg al
mov eax, 0x200005
jmp 0x18005a3b2
xor edx, edx
mov ecx, 0x20a
lea r8d, [rdx + 1]
call fcn.18003e6cc
xor ecx, ecx
test al, al
je 0x18005a42e
cmp byte [rsp + 0x5c], cl
jne 0x18005a42e
cmp byte [rsp + 0x68], cl
jne 0x18005a42e
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x18005a421
cmp byte [rbp + 0x1e8], cl
je 0x18005a421
mov edx, 0x60000d
mov rcx, rsi
call fcn.180058a34
or edi, 0x200008
mov edx, edi
jmp 0x18005a1d4
xor edx, edx
mov ecx, 0x20b
lea r8d, [rdx + 1]
call fcn.18003e6cc
mov r8d, dword [rsp + 0x5c]
xor ecx, ecx
test al, al
je 0x18005a49b
test r8b, r8b
jne 0x18005a49b
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x18005a493
cmp byte [rbp + 0x1e8], cl
je 0x18005a465
mov edx, 0x60000c
jmp 0x18005a48b
cmp byte [rsp + 0x69], cl
je 0x18005a493
cmp byte [r14 + 0xe27], cl
je 0x18005a493
cmp byte [r14 + 0xe26], cl
jne 0x18005a493
cmp byte [r14 + 0xe24], cl
jne 0x18005a493
mov edx, 0x600004
mov rcx, rsi
call fcn.180058a34
or edi, 0x200009
jmp 0x18005a427
xor edi, edi
test r12b, r12b
jne 0x18005a8df
test r15b, r15b
jne 0x18005a8df
test bl, bl
je 0x18005a510
test dword [rbp + 0x1d8], 0x100000
je 0x18005a4ed
mov eax, dword [rsi + 0x10]
test eax, eax
jg 0x18005a4d7
mov byte [rsp + 0x54], dil
mov byte [rbp + 0x1b8], dil
mov byte [rsp + 0x58], 1
setg r15b
mov r13d, 1
mov byte [rbp + 0x1e0], r15b
jmp 0x18005a97b
mov r13d, 1
mov dl, dil
mov r15b, r13b
mov byte [rbp + 0x1e0], r13b
mov byte [rsp + 0x58], r13b
mov byte [rbp + 0x1b8], dl
jmp 0x18005a985
movzx eax, byte [rsp + 0x6a]
test al, al
jne 0x18005a8b8
test r13b, r13b
jne 0x18005a8b8
cmp byte [rbp - 0x78], dil
je 0x18005a54e
mov eax, dword [rsi + 0xc]
mov r13d, 1
mov byte [rsi + 0xe84], r13b
mov dword [rsi + 0x58], edi
mov dword [rsi + 0x5c], eax
mov dword [rsi + 0x54], eax
mov byte [rsi + 0x6a], dil
jmp 0x18005a974
mov r13b, byte [rsp + 0x68]
test r13b, r13b
jne 0x18005a770
cmp byte [rsp + 0x6b], dil
jne 0x18005a770
cmp byte [rsp + 0x5a], dil
je 0x18005a1de
mov rax, qword [0x1801bfec8]
mov rdx, qword [rax + 0xb0]
test rdx, rdx
je 0x18005a5a3
mov rcx, qword [rax + 0xc0]
call rdx
mov rbx, rax
test rax, rax
je 0x18005a1de
mov rax, qword [0x1801bfec8]
jmp 0x18005a5aa
lea rbx, [0x1800f0a90]
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rbx + rcx], dil
jne 0x18005a5ae
mov r13d, 1
test rax, rax
je 0x18005a5c9
add dword [rax + 0xf4], r13d
lea eax, [rcx + 1]
movsxd rcx, eax
add rcx, rcx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15d, edi
mov r12, rax
mov qword [rsp + 0x70], rax
cmp byte [rbx], dil
je 0x18005a651
mov r14d, dword [rbp + 0x1d8]
xor r12d, r12d
mov rdi, rax
lea esi, [r12 + 2]
xor r8d, r8d
lea rcx, [rbp + 0x1e8]
mov rdx, rbx
call fcn.180033e7c
movsxd rcx, eax
mov edx, r14d
add rbx, rcx
mov dword [rsp + 0x20], 4
lea rcx, [rbp + 0x1e8]
call fcn.180058a60
test al, al
je 0x18005a63d
movzx eax, word [rbp + 0x1e8]
add r15d, r13d
mov word [rdi], ax
add rdi, rsi
cmp byte [rbx], r12b
jne 0x18005a5fa
mov rsi, qword [rbp - 0x30]
xor edi, edi
mov r14, qword [rbp + 0x30]
mov r12, qword [rsp + 0x70]
movsxd rax, r15d
mov word [r12 + rax*2], di
test r15d, r15d
jle 0x18005a74b
mov ecx, dword [rsi + 0xc]
lea rbx, [rsi + 0x54]
mov eax, dword [rbx + 4]
mov r8d, dword [rbx + 8]
cmp eax, r8d
je 0x18005a69a
mov edx, eax
cmp eax, ecx
jle 0x18005a680
mov dword [rbx + 4], ecx
mov edx, ecx
mov r9d, r8d
cmp r8d, ecx
jle 0x18005a68e
mov dword [rbx + 8], ecx
mov r9d, ecx
mov eax, edx
mov r8d, r9d
cmp edx, r9d
jne 0x18005a69a
mov dword [rbx], edx
mov r9d, dword [rbx]
cmp r9d, ecx
jle 0x18005a6a7
mov dword [rbx], ecx
mov r9d, ecx
mov ecx, dword [rsi + 0xc]
cmp eax, r8d
je 0x18005a6d7
mov edx, eax
cmp eax, ecx
jle 0x18005a6ba
mov dword [rbx + 4], ecx
mov edx, ecx
mov r10d, r8d
cmp r8d, ecx
jle 0x18005a6c8
mov dword [rbx + 8], ecx
mov r10d, ecx
mov eax, edx
mov r8d, r10d
cmp edx, r10d
jne 0x18005a6d7
mov dword [rbx], edx
mov r9d, edx
cmp r9d, ecx
jle 0x18005a6de
mov dword [rbx], ecx
cmp eax, r8d
je 0x18005a718
mov rdx, rbx
mov rcx, rsi
jge 0x18005a701
sub r8d, eax
mov r9d, r8d
mov r8d, eax
call fcn.18005769c
mov eax, dword [rbx + 4]
mov dword [rbx + 8], eax
jmp 0x18005a712
sub eax, r8d
mov r9d, eax
call fcn.18005769c
mov eax, dword [rbx + 8]
mov dword [rbx + 4], eax
mov dword [rbx], eax
mov byte [rbx + 0x16], dil
mov edx, dword [rbx]
mov r9d, r15d
mov r8, r12
mov rcx, rsi
call fcn.1800571cc
test al, al
je 0x18005a744
mov edx, dword [rbx]
lea rcx, [rbx + 0x20]
mov r9d, r15d
xor r8d, r8d
call fcn.1800583fc
add dword [rbx], r15d
mov byte [rbx + 0x16], dil
mov byte [rsi + 0xe84], r13b
test r12, r12
je 0x18005a762
mov rax, qword [0x1801bfec8]
test rax, rax
je 0x18005a762
dec dword [rax + 0xf4]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18005a974
cmp qword [r14 + 0xb8], rdi
je 0x18005a813
mov ecx, dword [rsi + 0x58]
mov eax, dword [rsi + 0x5c]
cmp ecx, eax
je 0x18005a791
mov edx, eax
cmovge eax, ecx
cmovl edx, ecx
jmp 0x18005a796
mov eax, dword [rsi + 0xc]
mov edx, edi
movsxd r15, eax
mov rax, qword [rsi + 0x20]
movsxd r12, edx
lea rdx, [rax + r15*2]
lea rcx, [rax + r12*2]
call fcn.18003427c
mov edx, 1
lea edi, [rdx + rax]
mov rax, qword [0x1801bfec8]
test rax, rax
je 0x18005a7c7
add dword [rax + 0xf4], edx
movsxd rcx, edi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, qword [rsi + 0x20]
mov edx, edi
mov rbx, rax
lea r9, [rcx + r15*2]
lea r8, [rcx + r12*2]
mov rcx, rax
call fcn.1800341dc
mov rcx, rbx
call fcn.1800366e0
xor edi, edi
test rbx, rbx
je 0x18005a80a
mov rcx, qword [0x1801bfec8]
test rcx, rcx
je 0x18005a80a
dec dword [rcx + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test r13b, r13b
je 0x18005a1de
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x18005a834
mov eax, dword [rsi + 0xc]
mov dword [rsi + 0x5c], eax
mov dword [rsi + 0x54], eax
mov dword [rsi + 0x58], edi
mov byte [rsi + 0x6a], dil
lea rbx, [rsi + 0x54]
mov r13d, 1
mov byte [rsi + 0xe84], r13b
mov eax, dword [rbx + 4]
mov r8d, dword [rbx + 8]
cmp eax, r8d
je 0x18005a974
mov ecx, dword [rsi + 0xc]
cmp eax, ecx
jle 0x18005a861
mov dword [rbx + 4], ecx
mov eax, ecx
cmp r8d, ecx
jle 0x18005a86c
mov dword [rbx + 8], ecx
mov r8d, ecx
cmp eax, r8d
jne 0x18005a873
mov dword [rbx], eax
cmp dword [rbx], ecx
jle 0x18005a879
mov dword [rbx], ecx
cmp eax, r8d
je 0x18005a8af
mov rdx, rbx
mov rcx, rsi
jge 0x18005a89c
sub r8d, eax
mov r9d, r8d
mov r8d, eax
call fcn.18005769c
mov eax, dword [rbx + 4]
mov dword [rbx + 8], eax
jmp 0x18005a8ad
sub eax, r8d
mov r9d, eax
call fcn.18005769c
mov eax, dword [rbx + 8]
mov dword [rbx + 4], eax
mov dword [rbx], eax
mov byte [rbx + 0x16], dil
jmp 0x18005a974
mov edx, eax
mov r13d, 1
xor edx, r13d
mov rcx, rsi
add edx, 0x20000a
call fcn.180058a34
mov eax, dword [rsi + 0x54]
mov dword [rsi + 0x5c], eax
mov dword [rsi + 0x58], eax
jmp 0x18005a974
mov edx, dword [rbp + 0x1d8]
mov r13d, 1
mov ecx, dword [rsp + 0x60]
mov eax, edx
shr eax, 0xb
and al, r13b
test cl, cl
je 0x18005a90d
test r15b, r15b
jne 0x18005a90d
test al, al
je 0x18005a92e
cmp byte [r14 + 0xe24], dil
jne 0x18005a937
mov byte [rsp + 0x59], r13b
cmp byte [r14 + 0x7c], dil
je 0x18005a96f
test cl, cl
jne 0x18005a96f
mov eax, dword [rsi + 0xc]
mov dword [rsi + 0x5c], eax
mov dword [rsi + 0x54], eax
mov dword [rsi + 0x58], edi
mov byte [rsi + 0x6a], dil
jmp 0x18005a974
cmp byte [r14 + 0xe24], dil
jne 0x18005a90d
test r8b, r8b
jne 0x18005a974
mov eax, 0xa
mov dword [rsp + 0x20], 2
lea rcx, [rbp + 0x1e8]
mov dword [rbp + 0x1e8], eax
call fcn.180058a60
test al, al
je 0x18005a974
mov edx, dword [rbp + 0x1e8]
mov rcx, rsi
call fcn.180058a34
jmp 0x18005a974
mov byte [rsp + 0x58], r13b
mov r15b, byte [rbp + 0x1e0]
mov ecx, dword [rsp + 0x54]
mov dl, byte [rbp + 0x1b8]
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
je 0x18005a994
mov al, r13b
test dl, dl
jne 0x18005a997
mov al, dil
mov r12d, dword [rsp + 0x64]
or cl, al
mov dword [rsp + 0x54], ecx
mov r13d, edi
mov qword [rsp + 0x70], rdi
cmp dword [r14 + 0x3f28], r12d
jne 0x18005af5d
cmp byte [rsp + 0x5c], dil
jne 0x18005ab62
test r15b, r15b
je 0x18005ab12
test dword [rbp + 0x1d8], 0x100000
je 0x18005aa15
mov r9d, dword [rsi + 0xc]
lea rax, [0x1800f0a90]
xor r8d, r8d
mov qword [rsp + 0x70], rax
lea rdx, [rsi + 0x54]
mov dword [rsp + 0x20], edi
mov rcx, rsi
call fcn.180058944
mov r8d, dword [rsi + 0xc]
xor edx, edx
mov rcx, rsi
call fcn.180057140
and qword [rsi + 0x58], 0
mov dword [rsi + 0x54], edi
jmp 0x18005ab12
mov rax, qword [rbp + 0x1c0]
mov r9d, 1
mov r8, qword [rsi + 0x40]
sub r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18005aa3c
add rax, r9
test ecx, ecx
jne 0x18005aa29
test edx, edx
je 0x18005ab12
mov r13d, dword [rsi + 0x38]
mov ebx, edi
mov r12, qword [rsi + 0x40]
sub r13d, r9d
mov qword [rsp + 0x70], r12
mov byte [rsp + 0x50], r9b
test r13d, r13d
jle 0x18005aacf
movsxd r15, r13d
mov rcx, r12
add r15, r12
mov rdx, r15
call fcn.1800340bc
mov r8d, 1
xor edx, edx
lea ebx, [r8 + rax]
test ebx, ebx
jle 0x18005aab3
lea ecx, [rdx + 8]
mov eax, ebx
cmp ebx, ecx
cmovl eax, ecx
test eax, eax
jle 0x18005aab3
mov rcx, qword [0x1801bfec8]
test rcx, rcx
je 0x18005aaa2
add dword [rcx + 0xf4], r8d
movsxd rcx, eax
add rcx, rcx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
xor edx, edx
mov qword [rsp + 0x20], rdx
mov r9, r15
mov edx, ebx
mov r8, r12
mov rcx, rdi
call fcn.18003401c
mov r15b, byte [rbp + 0x1e0]
lea ecx, [rbx - 1]
mov r8, rdi
xor ebx, ebx
lea rdx, [rsi + 0x54]
mov r9d, ebx
test r13d, r13d
cmovg r9d, ecx
mov rcx, rsi
call fcn.1800589b0
test rdi, rdi
je 0x18005ab0d
mov rax, qword [0x1801bfec8]
test rax, rax
je 0x18005ab04
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r12d, dword [rsp + 0x64]
mov eax, dword [rsi + 0x18]
mov byte [rsi + 0x48], 1
mov ecx, dword [rsi + 0x2c]
lea ebx, [rax*4 + 1]
cmp ebx, ecx
jle 0x18005ab4b
test ecx, ecx
je 0x18005ab36
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005ab3b
mov eax, 8
cmp eax, ebx
lea rcx, [rsi + 0x28]
mov edx, ebx
cmovg edx, eax
call fcn.180047180
mov dword [rsi + 0x28], ebx
xor r9d, r9d
mov r8, qword [rsi + 0x20]
mov edx, ebx
mov rcx, qword [rsi + 0x30]
call fcn.1800341dc
xor edi, edi
test r15b, r15b
je 0x18005acac
cmp byte [rsp + 0x59], dil
je 0x18005ab83
mov r15d, dword [rbp + 0x1d8]
test r15b, 0x20
jne 0x18005acb3
mov r12, qword [rbp + 0x1c0]
mov ebx, dword [rsp + 0x5c]
mov r10, qword [rsp + 0x70]
mov r11b, byte [rsp + 0x50]
mov r15d, dword [rsp + 0x64]
cmp dword [r14 + 0x5a68], r15d
jne 0x18005ac2e
cmp dword [r14 + 0x3f28], r15d
je 0x18005ac27
mov r9, qword [0x1801bfec8]
call fcn.1800390d0
test al, al
je 0x18005ac27
cmp byte [r9 + 0x3f5d], dil
jne 0x18005abde
cmp dword [r9 + 0x3f28], edi
jne 0x18005ac27
cmp byte [r9 + 0x3f38], dil
je 0x18005ac27
test bl, bl
jne 0x18005ac27
mov r10, qword [r14 + 0x5a78]
mov r9d, 1
mov r13d, dword [r14 + 0x5a70]
mov r8, r12
sub r13d, r9d
mov qword [rsp + 0x70], r10
sub r8, r10
mov rax, r10
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18005ac1a
add rax, r9
test ecx, ecx
jne 0x18005ac07
test edx, edx
setne al
or r11b, al
mov byte [rsp + 0x50], r11b
mov dword [r14 + 0x5a68], edi
test r10, r10
je 0x18005afa3
cmp byte [rbp - 0x54], dil
je 0x18005af70
mov eax, dword [rbp + 0x1d8]
lea rcx, [rbp + 0x40]
mov dword [rbp + 0x4c], eax
xorps xmm0, xmm0
lea eax, [r13 + 1]
mov qword [rbp + 0x58], rdi
cmp dword [rbp + 0x1c8], eax
movdqa xmmword [rbp + 0x70], xmm0
cmovge eax, dword [rbp + 0x1c8]
mov dword [rbp + 0x6c], eax
mov qword [rbp + 0x40], r14
mov dword [rbp + 0x48], 0x40000
mov qword [rbp + 0x60], r12
mov dword [rbp + 0x68], r13d
mov qword [rbp + 0x50], rdi
call rdi
mov ecx, dword [rbp + 0x6c]
mov r12, qword [rbp + 0x60]
mov r10, qword [rsp + 0x70]
mov qword [rbp + 0x1c0], r12
lea r13d, [rcx - 1]
cmp dword [rbp + 0x68], r13d
cmovl r13d, dword [rbp + 0x68]
jmp 0x18005af76
mov r15d, dword [rbp + 0x1d8]
test r15d, 0x801c0
je 0x18005af05
mov ebx, 0x40
test bl, r15b
je 0x18005ace8
xor r8d, r8d
mov edx, r12d
mov ecx, 0x200
call fcn.18003fffc
xor r12d, r12d
test al, al
je 0x18005aceb
mov edi, 0x200
jmp 0x18005ad54
xor r12d, r12d
test r15b, r15b
jns 0x18005ad33
mov ebx, 1
xor edx, edx
mov r8d, ebx
mov ecx, 0x203
call fcn.18003e6cc
test al, al
je 0x18005ad14
mov ebx, 0x80
mov edi, 0x203
jmp 0x18005ad54
mov r8d, ebx
xor edx, edx
mov ecx, 0x204
call fcn.18003e6cc
test al, al
je 0x18005ad33
mov ebx, 0x80
mov edi, 0x204
jmp 0x18005ad54
mov ebx, 0x80000
test ebx, r15d
je 0x18005ad46
cmp byte [rsi + 0xe86], r12b
jne 0x18005ad54
mov eax, 0x100
mov ebx, r12d
test eax, r15d
cmovne ebx, eax
test ebx, ebx
je 0x18005af03
mov rax, qword [rbp + 0x1c0]
mov dword [rbp + 8], r12d
mov word [rbp + 0x21], r12w
mov byte [rbp + 0x23], r12b
mov qword [rbp - 0x10], r14
mov dword [rbp - 8], ebx
mov dword [rbp - 4], r15d
mov qword [rbp], r12
cmp byte [rsp + 0x5c], r12b
jne 0x18005ad8a
mov rax, qword [rsi + 0x30]
mov r11, qword [rsi + 0x20]
mov qword [rbp + 0x10], rax
mov rcx, r11
mov eax, dword [rsi + 0x10]
mov dword [rbp + 0x18], eax
mov eax, dword [rsi + 0x4c]
mov dword [rbp + 0x1c], eax
movsxd rax, dword [rsi + 0x54]
mov dword [rbp + 0xc], edi
mov byte [rbp + 0x20], r12b
lea rdx, [r11 + rax*2]
call fcn.18003427c
movsxd rdx, dword [rsi + 0x58]
mov rcx, r11
mov ebx, eax
mov dword [rbp + 0x24], eax
lea rdx, [r11 + rdx*2]
call fcn.18003427c
movsxd rdx, dword [rsi + 0x5c]
mov rcx, r11
mov dword [rbp + 0x1e0], eax
mov dword [rbp + 0x28], eax
lea rdx, [r11 + rdx*2]
call fcn.18003427c
lea rcx, [rbp - 0x10]
mov dword [rbp + 0x1e8], eax
mov dword [rbp + 0x2c], eax
call r12
movsxd r12, dword [rbp + 0x24]
mov rdi, qword [rbp + 0x10]
mov r15b, byte [rbp + 0x20]
cmp r12d, ebx
jne 0x18005ae09
test r15b, r15b
je 0x18005ae1f
lea rdx, [rdi + r12]
mov rcx, rdi
call fcn.1800340bc
mov dword [rsi + 0x54], eax
mov byte [rsi + 0xe84], 1
movsxd rbx, dword [rbp + 0x28]
cmp ebx, dword [rbp + 0x1e0]
jne 0x18005ae30
test r15b, r15b
je 0x18005ae49
cmp ebx, r12d
jne 0x18005ae3a
mov eax, dword [rsi + 0x54]
jmp 0x18005ae46
lea rdx, [rdi + rbx]
mov rcx, rdi
call fcn.1800340bc
mov dword [rsi + 0x58], eax
movsxd rax, dword [rbp + 0x2c]
cmp eax, dword [rbp + 0x1e8]
jne 0x18005ae5e
test r15b, r15b
je 0x18005af03
cmp eax, ebx
jne 0x18005ae67
mov eax, dword [rsi + 0x58]
jmp 0x18005ae73
lea rdx, [rdi + rax]
mov rcx, rdi
call fcn.1800340bc
mov dword [rsi + 0x5c], eax
test r15b, r15b
je 0x18005af03
mov r8d, dword [rbp + 0x18]
mov rdx, rdi
mov rcx, rsi
call fcn.180058c38
mov eax, dword [rbp - 0x40]
xor edi, edi
mov ebx, dword [rbp + 0x18]
cmp ebx, eax
jle 0x18005aed6
cmp byte [rbp - 0x54], dil
je 0x18005aed6
lea rdi, [rsi + 0x18]
sub ebx, eax
add ebx, dword [rdi]
mov ecx, dword [rdi + 4]
cmp ebx, ecx
jle 0x18005aed2
test ecx, ecx
je 0x18005aebe
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005aec3
mov eax, 8
cmp eax, ebx
mov edx, ebx
mov rcx, rdi
cmovg edx, eax
call fcn.180047204
mov dword [rdi], ebx
xor edi, edi
mov r8, qword [rbp + 0x10]
xor r9d, r9d
mov edx, dword [rsi + 0x18]
mov rcx, qword [rsi + 0x20]
mov qword [rsp + 0x20], rdi
call fcn.18003401c
mov dword [rsi + 0xc], eax
mov eax, dword [rbp + 0x18]
mov dword [rsi + 0x10], eax
mov dword [rsi + 0xe80], 0xbe99999a
jmp 0x18005af05
xor edi, edi
mov ebx, dword [rsp + 0x5c]
mov r12, qword [rbp + 0x1c0]
test bl, bl
jne 0x18005ab8e
mov rax, qword [rsi + 0x30]
mov r8, r12
sub r8, rax
mov r9d, 1
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18005af3b
add rax, r9
test ecx, ecx
jne 0x18005af28
test edx, edx
je 0x18005ab8e
mov r10, qword [rsi + 0x30]
mov r11b, r9b
mov r13d, dword [rsi + 0x10]
mov qword [rsp + 0x70], r10
mov byte [rsp + 0x50], r9b
jmp 0x18005ab98
mov r12, qword [rbp + 0x1c0]
mov r10, rdi
mov ebx, dword [rsp + 0x5c]
jmp 0x18005ab93
mov ecx, dword [rbp + 0x1c8]
lea eax, [r13 + 1]
cmp eax, ecx
cmovl ecx, eax
mov eax, 1
movsxd rbx, ecx
cmp rbx, rax
jb 0x18005afa3
jbe 0x18005af9e
lea r8, [rbx - 1]
mov rdx, r10
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [rbx + r12 - 1], dil
cmp byte [rsp + 0x58], dil
je 0x18005afbc
cmp dword [r14 + 0x3f28], r15d
jne 0x18005afbc
xor edx, edx
xor ecx, ecx
call fcn.1800361ac
mov r13d, dword [rsp + 0x60]
mov ebx, 1
test r13b, r13b
jne 0x18005b032
mov r8d, ebx
lea rcx, [rsp + 0x78]
mov edx, r15d
call fcn.180035250
mov rax, qword [0x1801bfec8]
lea rcx, [rbp + 0x30]
movdqu xmm0, xmmword [rax + 0x3940]
movups xmmword [rbp + 0x30], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37f4]
movss dword [rbp + 0x3c], xmm0
call fcn.180034370
movss xmm0, dword [r14 + 0x3838]
mov r8d, eax
mov rdx, qword [rbp - 0x80]
mov r9b, bl
movss dword [rsp + 0x20], xmm0
movaps xmm0, xmm7
unpcklps xmm0, xmm9
movq rcx, xmm0
call fcn.180034f84
mov r11, qword [rbp - 0x70]
movaps xmm0, xmm10
movss dword [rbp - 0x50], xmm7
movaps xmm1, xmm9
movss dword [rbp - 0x4c], xmm9
addss xmm0, xmm7
addss xmm1, xmm11
lea rax, [rbp + 0x1e0]
movss dword [rbp - 0x48], xmm0
movss dword [rbp - 0x44], xmm1
test r13b, r13b
je 0x18005b07b
movsd xmm0, qword [r11 + 0x100]
movsd qword [rbp + 0x1e0], xmm0
jmp 0x18005b0a1
addss xmm7, dword [r14 + 0x3830]
movaps xmm0, xmm9
addss xmm0, dword [r14 + 0x3834]
movss dword [rbp + 0x1e0], xmm7
movss dword [rbp + 0x1e4], xmm0
movaps xmm14, xmm12
movsd xmm0, qword [rax]
movsd qword [rbp - 0x60], xmm0
movss dword [rbp + 0x1e0], xmm12
cmp byte [rsp + 0x6c], dil
je 0x18005b0c9
mov r12, qword [rsi + 0x30]
mov qword [rbp + 0x1c0], r12
mov r10b, byte [rbp + 0x1b8]
mov r8d, dword [rsp + 0x54]
test r10b, r10b
jne 0x18005b1f5
test r8b, r8b
jne 0x18005b1f5
test r13b, r13b
je 0x18005b13b
mov dl, byte [r12]
mov ecx, edi
lea rdi, [r12 + 1]
xor r9d, r9d
jmp 0x18005b10c
cmp dl, 0xa
lea eax, [rcx + 1]
mov dl, byte [rdi]
cmovne eax, ecx
add rdi, rbx
mov ecx, eax
test dl, dl
jne 0x18005b0fc
sub rdi, rbx
mov eax, 0xa
cmp byte [rdi], al
je 0x18005b123
cmp byte [rdi], 0xd
je 0x18005b123
add ecx, ebx
movd xmm14, ecx
movaps xmm6, xmm10
cvtdq2ps xmm14, xmm14
mulss xmm14, dword [r14 + 0x3c28]
jmp 0x18005b179
cmp dword [r14 + 0x3f28], r15d
jne 0x18005b150
movsxd rdi, dword [rsi + 0x10]
add rdi, r12
xor r9d, r9d
jmp 0x18005b163
or rdi, 0xffffffffffffffff
xor r9d, r9d
inc rdi
cmp byte [r12 + rdi], r9b
jne 0x18005b157
add rdi, r12
movss xmm6, dword [rbp + 0x1e0]
mov rax, rdi
sub rax, r12
cmp rax, 0x200000
jge 0x18005b1ed
mov rax, qword [0x1801bfec8]
lea r8, [rbp - 0x50]
test r13b, r13b
lea rcx, [rsp + 0x78]
cmovne r8, r9
movdqu xmm0, xmmword [rax + 0x38d0]
movups xmmword [rsp + 0x78], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37f4]
movss dword [rbp - 0x7c], xmm0
call fcn.180034370
movss xmm2, dword [r14 + 0x3c28]
lea r9, [rbp - 0x60]
mov rdx, qword [r14 + 0x3c20]
mov rcx, qword [r11 + 0x298]
mov qword [rsp + 0x40], r8
movss dword [rsp + 0x38], xmm12
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], eax
call fcn.18004c874
xor r9d, r9d
jmp 0x18005b9e1
movsxd rdi, dword [rsi + 0x10]
xor r11d, r11d
add rdi, r12
mov edx, 0xfffffc18
mov r12, qword [rsi + 0x20]
movaps xmm9, xmm12
mov qword [rsp + 0x70], rdi
movaps xmm7, xmm12
mov r9d, r11d
mov r13d, r11d
mov r15d, edx
mov ecx, r11d
test r10b, r10b
je 0x18005b233
movsxd rax, dword [rsi + 0x54]
or edx, 0xffffffff
mov ecx, ebx
lea r9, [r12 + rax*2]
test r8b, r8b
je 0x18005b24e
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
cmovl eax, dword [rsi + 0x58]
or r15d, 0xffffffff
cdqe
add ecx, ebx
lea r13, [r12 + rax*2]
movzx eax, byte [rsp + 0x60]
mov ebx, r11d
movzx r8d, word [r12]
add ecx, eax
mov rax, r12
mov r10d, 0xa
test r8w, r8w
je 0x18005b2b7
lea edi, [r10 - 9]
lea esi, [rdi + 1]
cmp r8w, r10w
jne 0x18005b2a1
add ebx, edi
cmp edx, 0xffffffff
jne 0x18005b28d
cmp rax, r9
jb 0x18005b28d
sub ecx, edi
mov edx, ebx
test ecx, ecx
jle 0x18005b2ae
cmp r15d, 0xffffffff
jne 0x18005b2a1
cmp rax, r13
jb 0x18005b2a1
sub ecx, edi
mov r15d, ebx
test ecx, ecx
jle 0x18005b2ae
add rax, rsi
movzx r8d, word [rax]
test r8w, r8w
jne 0x18005b273
mov rsi, qword [rbp - 0x30]
mov rdi, qword [rsp + 0x70]
inc ebx
mov r8, r9
cmp edx, 0xffffffff
mov eax, ebx
cmovne eax, edx
cmp r15d, 0xffffffff
mov dword [rbp + 0x1e8], eax
cmove r15d, ebx
cmp r9, r12
jbe 0x18005b2e9
lea rax, [r8 - 2]
cmp word [rax], r10w
je 0x18005b2e9
mov r8, rax
cmp rax, r12
ja 0x18005b2d7
mov byte [rsp + 0x30], r11b
lea rcx, [rbp + 0x30]
mov rdx, r14
mov qword [rsp + 0x20], r11
call fcn.180056d84
movd xmm15, dword [rbp + 0x1e8]
xor r9d, r9d
movss xmm5, dword [r14 + 0x3c28]
cvtdq2ps xmm15, xmm15
movss xmm13, dword [rax]
mulss xmm15, xmm5
movss dword [rbp - 0x54], xmm13
test r15d, r15d
js 0x18005b380
mov r8, r13
cmp r13, r12
jbe 0x18005b34a
lea ecx, [r9 + 0xa]
lea rax, [r8 - 2]
cmp word [rax], cx
je 0x18005b34a
mov r8, rax
cmp rax, r12
ja 0x18005b339
mov byte [rsp + 0x30], r9b
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x20], r9
mov rdx, r14
mov r9, r13
call fcn.180056d84
movss xmm5, dword [r14 + 0x3c28]
xor r9d, r9d
movd xmm7, r15d
cvtdq2ps xmm7, xmm7
movss xmm9, dword [rax]
mulss xmm7, xmm5
mov r13d, dword [rsp + 0x60]
test r13b, r13b
je 0x18005b3a1
movd xmm14, ebx
cvtdq2ps xmm14, xmm14
movss dword [rbp + 0x1e0], xmm10
mulss xmm14, xmm5
mov r15b, byte [rbp + 0x1b8]
test r15b, r15b
je 0x18005b4cb
cmp byte [rsi + 0xe84], r9b
je 0x18005b4cb
test dword [rbp + 0x1d8], 0x1000
jne 0x18005b41a
comiss xmm13, dword [rsi + 0x50]
movaps xmm1, xmm10
movaps xmm0, xmm13
mulss xmm1, dword [0x1801595b8]
subss xmm10, dword [r14 + 0x3830]
jae 0x18005b3f9
subss xmm0, xmm1
maxss xmm0, xmm12
cvttss2si eax, xmm0
jmp 0x18005b40c
subss xmm0, xmm10
comiss xmm0, dword [rsi + 0x50]
jb 0x18005b41e
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x50], xmm0
jmp 0x18005b41e
mov dword [rsi + 0x50], r9d
test r13b, r13b
je 0x18005b4c4
movaps xmm0, xmm15
subss xmm0, dword [r14 + 0x3c28]
comiss xmm0, xmm6
jae 0x18005b443
movaps xmm6, xmm0
maxss xmm6, xmm12
jmp 0x18005b472
movss xmm2, dword [r14 + 0x3834]
movaps xmm1, xmm11
addss xmm2, xmm2
movaps xmm0, xmm15
subss xmm1, xmm2
subss xmm0, xmm1
comiss xmm0, xmm6
jb 0x18005b472
movaps xmm6, xmm15
subss xmm6, xmm11
addss xmm6, xmm2
comiss xmm6, xmm12
movss xmm2, dword [r14 + 0x3834]
jae 0x18005b487
movaps xmm2, xmm12
jmp 0x18005b49e
addss xmm2, xmm2
addss xmm2, xmm14
subss xmm2, xmm11
maxss xmm2, xmm12
minss xmm2, xmm6
movss xmm1, dword [rbp - 0x5c]
mov rax, qword [rbp - 0x70]
movss xmm0, dword [rax + 0x88]
subss xmm0, xmm2
addss xmm1, xmm0
movss dword [rbp - 0x5c], xmm1
movss dword [rax + 0x88], xmm2
mov byte [rsi + 0xe84], r9b
movss xmm10, dword [rsi + 0x50]
movss xmm11, dword [0x18015964c]
cmp byte [rsp + 0x54], r9b
je 0x18005b75c
mov edx, dword [rsi + 0x5c]
mov eax, edx
mov ecx, dword [rsi + 0x58]
cmp ecx, edx
cmovl eax, ecx
cmovge edx, ecx
cdqe
lea r8, [r12 + rax*2]
movsxd rax, edx
lea rbx, [r12 + rax*2]
test r15b, r15b
je 0x18005b50d
movaps xmm1, xmm11
jmp 0x18005b515
movss xmm1, dword [0x1801595fc]
mov rax, qword [0x1801bfec8]
lea rcx, [rsp + 0x78]
movdqu xmm0, xmmword [rax + 0x3bc0]
mulss xmm1, dword [rax + 0x37f4]
movups xmmword [rsp + 0x78], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, xmm1
movss dword [rbp - 0x7c], xmm0
call fcn.180034370
mov r15d, eax
test r13b, r13b
je 0x18005b558
movss dword [rbp - 0x68], xmm12
jmp 0x18005b561
movss xmm12, dword [0x180159690]
movss xmm6, dword [rbp - 0x5c]
mov qword [rbp + 0x1e8], r8
addss xmm6, xmm7
addss xmm9, dword [rbp - 0x60]
subss xmm9, xmm10
cmp r8, rbx
jae 0x18005b751
movss xmm3, dword [rbp - 0x44]
xorps xmm11, xmm11
movss xmm7, dword [rbp - 0x4c]
xor edi, edi
movss xmm13, dword [rbp - 0x68]
mov r13, qword [rbp - 0x70]
movaps xmm0, xmm3
addss xmm0, dword [r14 + 0x3c28]
comiss xmm6, xmm0
ja 0x18005b731
comiss xmm6, xmm7
jae 0x18005b5e9
cmp r8, rbx
jae 0x18005b714
mov ecx, 0xa
movzx eax, word [r8]
add r8, 2
mov qword [rbp + 0x1e8], r8
cmp ax, cx
je 0x18005b714
cmp r8, rbx
jb 0x18005b5c7
jmp 0x18005b714
lea rax, [rbp + 0x1e8]
mov byte [rsp + 0x30], 1
mov r9, rbx
mov qword [rsp + 0x20], rax
mov rdx, r14
lea rcx, [rbp - 0x40]
call fcn.180056d84
movss xmm5, dword [rbp - 0x40]
comiss xmm5, xmm11
ja 0x18005b648
mov rax, qword [r14 + 0x3c20]
cmp dword [rax], 0x20
jle 0x18005b62e
mov rax, qword [rax + 8]
movss xmm0, dword [rax + 0x80]
jmp 0x18005b633
movss xmm0, dword [rax + 0x10]
mulss xmm0, xmm8
cvttss2si eax, xmm0
movd xmm5, eax
cvtdq2ps xmm5, xmm5
movss dword [rbp - 0x40], xmm5
movss xmm7, dword [rbp - 0x4c]
movaps xmm0, xmm9
movss xmm8, dword [rbp - 0x50]
addss xmm0, xmm5
movss xmm3, dword [rbp - 0x44]
movaps xmm2, xmm13
subss xmm2, dword [r14 + 0x3c28]
movaps xmm5, xmm8
movaps xmm1, xmm12
maxss xmm5, xmm9
movss xmm9, dword [rbp - 0x48]
addss xmm1, xmm6
movaps xmm4, xmm9
minss xmm4, xmm0
movaps xmm0, xmm3
addss xmm2, xmm6
movss dword [rsp + 0x78], xmm5
minss xmm0, xmm1
movss dword [rbp - 0x80], xmm4
maxss xmm2, xmm7
comiss xmm7, xmm0
movss dword [rsp + 0x7c], xmm2
movss dword [rbp - 0x7c], xmm0
jae 0x18005b704
comiss xmm3, xmm2
jbe 0x18005b704
comiss xmm8, xmm4
jae 0x18005b704
comiss xmm9, xmm5
jbe 0x18005b704
mov rcx, qword [r13 + 0x298]
lea r8, [rbp - 0x80]
mov dword [rsp + 0x28], edi
lea rdx, [rsp + 0x78]
mov r9d, r15d
movss dword [rsp + 0x20], xmm11
call fcn.18004b134
movss xmm1, dword [rbp - 0x68]
movss xmm3, dword [rbp - 0x44]
movss xmm7, dword [rbp - 0x4c]
movss dword [rbp - 0x68], xmm1
movss xmm13, dword [rbp - 0x68]
movss xmm8, dword [0x1801595f4]
mov r8, qword [rbp + 0x1e8]
movss xmm9, dword [rbp - 0x60]
subss xmm9, xmm10
addss xmm6, dword [r14 + 0x3c28]
cmp r8, rbx
jb 0x18005b59f
movss xmm11, dword [0x18015964c]
xor r9d, r9d
movss xmm13, dword [rbp - 0x54]
mov rsi, qword [rbp - 0x30]
mov rdi, qword [rsp + 0x70]
mov r13d, dword [rsp + 0x60]
mov r15b, byte [rbp + 0x1b8]
xorps xmm12, xmm12
mov r12, qword [rbp + 0x1c0]
test r13b, r13b
jne 0x18005b77a
mov rax, rdi
sub rax, r12
cmp rax, 0x200000
jge 0x18005b819
mov rax, qword [0x1801bfec8]
lea r8, [rbp - 0x50]
test r13b, r13b
lea rcx, [rsp + 0x78]
cmovne r8, r9
movdqu xmm0, xmmword [rax + 0x38d0]
movups xmmword [rsp + 0x78], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37f4]
movss dword [rbp - 0x7c], xmm0
movss xmm0, dword [rbp - 0x60]
subss xmm0, xmm10
movss dword [rbp + 0x1b8], xmm0
movss xmm0, dword [rbp - 0x5c]
movss dword [rbp + 0x1bc], xmm0
call fcn.180034370
mov rbx, qword [rbp - 0x70]
lea r9, [rbp + 0x1b8]
movss xmm2, dword [r14 + 0x3c28]
mov rdx, qword [r14 + 0x3c20]
mov qword [rsp + 0x40], r8
mov rcx, qword [rbx + 0x298]
movss dword [rsp + 0x38], xmm12
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], eax
call fcn.18004c874
xor r9d, r9d
jmp 0x18005b81d
mov rbx, qword [rbp - 0x70]
test r15b, r15b
je 0x18005b9c2
movss xmm0, dword [r14 + 0x18]
addss xmm0, dword [rsi + 0xe80]
movss dword [rsi + 0xe80], xmm0
cmp byte [r14 + 0x7b], r9b
je 0x18005b86a
comiss xmm0, xmm12
jbe 0x18005b86a
movss xmm1, dword [0x180159664]
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
xor r9d, r9d
comiss xmm0, dword [0x180159614]
jbe 0x18005b86a
mov cl, r9b
lea esi, [r9 + 1]
jmp 0x18005b872
mov esi, 1
mov cl, sil
movss xmm0, dword [rbp - 0x5c]
addss xmm0, xmm15
addss xmm13, dword [rbp - 0x60]
subss xmm13, xmm10
cvttss2si eax, xmm13
movd xmm6, eax
cvtdq2ps xmm6, xmm6
cvttss2si eax, xmm0
movss dword [rsp + 0x78], xmm6
movaps xmm3, xmm6
addss xmm3, xmm11
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss dword [rbp - 0x80], xmm3
movaps xmm1, xmm7
movaps xmm2, xmm7
subss xmm1, dword [r14 + 0x3c28]
subss xmm2, dword [0x180159684]
addss xmm1, xmm8
movss dword [rbp - 0x7c], xmm2
movss dword [rsp + 0x7c], xmm1
test cl, cl
je 0x18005b96e
movss xmm0, dword [rbp - 0x4c]
comiss xmm0, xmm2
jae 0x18005b96e
movss xmm0, dword [rbp - 0x44]
comiss xmm0, xmm1
jbe 0x18005b96e
movss xmm0, dword [rbp - 0x50]
comiss xmm0, xmm3
jae 0x18005b96e
movss xmm0, dword [rbp - 0x48]
comiss xmm0, xmm6
jbe 0x18005b96e
mov rax, qword [0x1801bfec8]
lea rcx, [rbp - 0x30]
movss dword [rbp + 0x1b8], xmm6
movss dword [rbp + 0x1bc], xmm2
movdqu xmm0, xmmword [rax + 0x38d0]
movups xmmword [rbp - 0x30], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37f4]
movss dword [rbp - 0x24], xmm0
call fcn.180034370
mov rcx, qword [rbx + 0x298]
lea rdx, [rsp + 0x78]
mov r9d, eax
movss dword [rsp + 0x20], xmm11
lea r8, [rbp + 0x1b8]
call fcn.18004aee8
xor r9d, r9d
movss xmm9, dword [rbp - 0x64]
movss xmm13, dword [rbp - 0x58]
movss xmm15, dword [rbp - 0x38]
mov r15d, dword [rsp + 0x64]
cmp byte [rsp + 0x5c], r9b
jne 0x18005b9d9
movss xmm0, dword [r14 + 0x3c28]
subss xmm6, xmm11
subss xmm7, xmm0
movss dword [r14 + 0x5ba4], xmm0
mov byte [r14 + 0x5b98], sil
movss dword [r14 + 0x5b9c], xmm6
movss dword [r14 + 0x5ba0], xmm7
jmp 0x18005b9d9
movss xmm9, dword [rbp - 0x64]
movss xmm13, dword [rbp - 0x58]
movss xmm15, dword [rbp - 0x38]
mov r15d, dword [rsp + 0x64]
movss xmm6, dword [rbp + 0x1e0]
mov ebx, dword [rbp - 0x74]
test bl, bl
je 0x18005b9f0
call fcn.18003db78
xor r9d, r9d
test r13b, r13b
je 0x18005ba83
addss xmm14, dword [r14 + 0x3834]
lea rcx, [rbp + 0x1b8]
movss dword [rbp + 0x1b8], xmm6
movss dword [rbp + 0x1bc], xmm14
call fcn.18005497c
mov ebx, dword [r14 + 0x4748]
mov eax, ebx
or eax, 0x401
mov dword [r14 + 0x4748], eax
call fcn.180039344
mov eax, dword [r14 + 0x476c]
mov esi, dword [rbp + 0x88]
and eax, 0x80
or esi, eax
mov dword [r14 + 0x4748], ebx
call fcn.18004085c
mov ebx, dword [rbp - 0x74]
xor r9d, r9d
cmp dword [r14 + 0x4764], r9d
jne 0x18005ba83
mov eax, dword [rbp + 0x84]
mov dword [r14 + 0x4768], eax
mov dword [r14 + 0x4764], r15d
mov dword [r14 + 0x476c], esi
cmp byte [r14 + 0x5c50], r9b
je 0x18005bac2
test bl, bl
jne 0x18005bac2
mov rax, qword [0x1801bfec8]
lea rcx, [0x1800f0bac]
mov r8, rdi
mov rdx, r12
mov qword [rax + 0x5c70], rcx
lea rcx, [0x1800f0ba8]
mov qword [rax + 0x5c78], rcx
lea rcx, [rbp - 0x60]
call fcn.1800451ec
comiss xmm15, xmm12
jbe 0x18005baf8
addss xmm13, dword [r14 + 0x3848]
addss xmm9, dword [r14 + 0x3834]
mov rdx, qword [rbp + 0x1b0]
mov r9d, 1
xor r8d, r8d
unpcklps xmm13, xmm9
movq rcx, xmm13
call fcn.180034b1c
movzx r9d, byte [rsp + 0x50]
mov r8d, dword [rbp + 0x1d8]
test r9b, r9b
je 0x18005bb19
bt r8d, 0x1b
jb 0x18005bb19
mov ecx, r15d
call fcn.180036308
movzx ecx, byte [rsp + 0x59]
test r8b, 0x20
mov eax, r9d
cmovne eax, ecx
jmp 0x180059117