Function at 0x180057f18
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 [0x1801aa2d0]
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 0x1800581a9
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 0x180058010
call fcn.18003fa24
mov rdx, rsi
mov rcx, rdi
call fcn.1800352c0
movss xmm0, dword [0x180158700]
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.18003812c
test r12b, r12b
je 0x180058065
movss xmm4, dword [r14 + 0x3c28]
mulss xmm4, dword [0x1801585bc]
jmp 0x18005806d
movss xmm4, dword [rbp + 0x1bc]
call fcn.18003f850
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.18003f8c0
movss xmm15, dword [rbp + 0x1b8]
xorps xmm12, xmm12
comiss xmm15, xmm12
movss dword [rbp - 0x38], xmm15
jbe 0x1800580c7
movaps xmm1, xmm15
addss xmm1, dword [r14 + 0x3848]
jmp 0x1800580ca
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.18003f3f4
test r12b, r12b
je 0x180058359
mov r9d, 0x400
lea r8, [rsp + 0x78]
mov edx, r15d
lea rcx, [rbp - 0x30]
call fcn.18003f560
test al, al
jne 0x1800581fe
call fcn.18003fb4c
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.180033ba4
movss xmm1, dword [r14 + 0x3838]
mov ecx, 7
call fcn.180033c58
movss xmm1, dword [r14 + 0x383c]
mov ecx, 8
call fcn.180033c58
and dword [rbp + 0x1b8], 0
lea rdx, [rbp + 0x1b8]
and dword [rbp + 0x1bc], 0
mov ecx, 2
call fcn.180033cd0
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.18003840c
mov ecx, 3
mov bl, al
call fcn.180033d5c
mov ecx, 1
call fcn.180033c00
test bl, bl
jne 0x1800582fa
call fcn.180038640
jmp 0x1800581a4
mov rbx, qword [r14 + 0x3ec8]
mov qword [rbp - 0x70], rbx
movsx ecx, word [rbx + 0x15e]
movss xmm0, dword [rbx + 0x100]
mov eax, dword [rbx + 0x158]
bts ecx, eax
subss xmm10, dword [rbx + 0xac]
mov word [rbx + 0x15e], cx
addss xmm0, dword [r14 + 0x3830]
movss dword [rbx + 0x100], xmm0
movss xmm1, dword [r14 + 0x3834]
addss xmm1, dword [rbx + 0x104]
movss dword [rbx + 0x104], xmm1
jmp 0x1800583a7
bt ebx, 0x1c
jb 0x18005839d
mov r9d, 0x400
lea r8, [rsp + 0x78]
mov edx, r15d
lea rcx, [rbp - 0x30]
call fcn.18003f560
test al, al
je 0x1800581a9
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.1800357ec
xor r9d, r9d
mov byte [rsp + 0x5a], al
mov cl, al
lea edx, [r9 + 1]
test al, al
je 0x1800583cc
mov dword [r14 + 0x4a48], edx
mov rsi, qword [0x1801aa2d0]
test r15d, r15d
je 0x1800583ea
cmp dword [rsi + 0x4be0], r15d
jne 0x1800583ea
add rsi, 0x4bd8
jmp 0x1800583ed
mov rsi, r9
mov eax, dword [r14 + 0x3f28]
shr r13d, 8
and r13b, dl
mov qword [rbp - 0x30], rsi
cmp eax, r15d
je 0x180058428
cmp dword [r14 + 0x48b8], r15d
jne 0x180058428
test byte [r14 + 0x48c4], dl
jne 0x180058420
cmp dword [r14 + 0x48dc], 2
jne 0x180058428
mov byte [rbp + 0x1e0], dl
jmp 0x18005842f
mov byte [rbp + 0x1e0], r9b
test cl, cl
je 0x18005843f
mov r15b, dl
cmp byte [r14 + 0x3748], r9b
jne 0x180058442
mov r15b, r9b
mov byte [rbp + 0x1b8], r15b
test r12b, r12b
je 0x180058479
test rsi, rsi
je 0x180058479
test eax, eax
jne 0x180058479
lea rdx, str.SCROLLY
mov rcx, rbx
call fcn.1800352c0
cmp dword [r14 + 0x3f58], eax
jne 0x180058476
mov ebx, 1
jmp 0x180058486
xor r9d, r9d
mov bl, r9b
test r12b, r12b
je 0x1800584b8
test rsi, rsi
je 0x1800584b8
mov rcx, qword [rbp - 0x70]
lea rdx, str.SCROLLY
call fcn.1800352c0
xor r9d, r9d
cmp dword [r14 + 0x3f28], eax
jne 0x1800584b8
lea eax, [r9 + 1]
mov byte [rsp + 0x58], r9b
mov cl, al
mov byte [rsp + 0x51], al
mov byte [rsp + 0x54], r9b
jmp 0x1800584ce
mov byte [rsp + 0x58], r9b
mov cl, r9b
mov byte [rsp + 0x51], cl
mov byte [rsp + 0x54], r9b
test r12b, r12b
je 0x1800584dc
mov rax, qword [rbp - 0x70]
movss xmm6, dword [rax + 0x88]
jmp 0x1800584e8
movss xmm6, dword [0x1801586c8]
mov byte [rsp + 0x51], cl
mov r8d, 1
test rsi, rsi
je 0x180058501
mov al, r12b
mov r12b, r8b
xor al, r8b
cmp byte [rsi + 0x6b], al
jne 0x180058504
mov r12b, r9b
test r15b, r15b
jne 0x18005852d
test bl, bl
jne 0x18005852d
cmp byte [rbp + 0x1e0], r9b
jne 0x18005852d
test r13b, r13b
jne 0x18005852d
mov byte [rbp + 0x1e8], r9b
test cl, cl
jne 0x180058534
mov byte [rsp + 0x59], r9b
jmp 0x180058546
mov byte [rbp + 0x1e8], r8b
mov eax, dword [rsp + 0x64]
mov byte [rsp + 0x59], r8b
cmp dword [r14 + 0x3f28], eax
jne 0x18005854f
test r12b, r12b
je 0x180058798
lea rsi, [r14 + 0x4bd8]
mov ecx, dword [rsi + 8]
mov qword [rbp - 0x30], rsi
mov dword [rsi + 0xe80], 0xbe99999a
call fcn.180057e6c
mov rax, qword [rbp + 0x1c0]
or rbx, 0xffffffffffffffff
xor edx, edx
inc rbx
cmp byte [rax + rbx], dl
jne 0x180058579
mov ecx, dword [rsi + 0x3c]
lea edi, [rbx + 1]
cmp edi, ecx
jle 0x1800585af
test ecx, ecx
je 0x18005859a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005859f
mov eax, 8
cmp eax, edi
lea rcx, [rsi + 0x38]
mov edx, edi
cmovg edx, eax
call fcn.180046468
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 0x1800585ff
test r12b, r12b
jne 0x1800585ff
lea r15d, [r8 + 1]
cmp dword [rsi + 0x10], ebx
jne 0x1800585ff
cmp byte [rsi + 0x48], r8b
je 0x180058602
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 0x180058602
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 0x180058645
test ecx, ecx
je 0x18005862d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180058632
mov eax, 8
cmp eax, ebx
lea rcx, [rsi + 0x18]
mov edx, ebx
cmovg edx, eax
call fcn.1800464ec
xor r8d, r8d
mov dword [rsi + 0x18], ebx
mov ecx, dword [rsi + 0x2c]
test ecx, ecx
jns 0x18005866c
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.180046468
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.180033314
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 0x1800586d8
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 0x18005871d
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 0x18005877a
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 0x18005875e
test r15b, r15b
je 0x180058759
test byte [r14 + 0x48c4], 4
jne 0x18005875e
mov byte [rsp + 0x54], r8b
test r13b, r13b
jne 0x180058775
cmp byte [rbp + 0x1b8], r9b
je 0x18005877a
cmp byte [r14 + 0xe24], r9b
je 0x18005877a
mov byte [rsp + 0x54], r8b
test dword [rbp + 0x1d8], 0x2000
mov rdi, qword [rsp + 0x70]
mov r15b, byte [rbp + 0x1b8]
je 0x18005879d
mov byte [rsi + 0x60], r8b
jmp 0x18005879d
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 0x1800587d7
test bl, bl
je 0x1800587d7
mov rdx, rdi
mov ecx, r12d
call fcn.1800354a8
mov rdx, rdi
mov ecx, r12d
call fcn.180041170
mov rcx, rdi
call fcn.18003cb48
xor edi, edi
cmp dword [r14 + 0x3f28], r12d
jne 0x180058904
test r15b, r15b
je 0x180058807
mov rax, qword [0x1801aa2d0]
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 0x18005882a
test dl, dl
jns 0x180058834
or eax, 0xc
mov dword [r14 + 0x4738], eax
mov rax, qword [0x1801aa2d0]
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 0x180058893
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 0x1800588ad
mov dword [rax + 0x45ec], r12d
mov dword [rax + 0x45e8], r12d
mov word [rax + 0x45f0], di
test edx, 0x440
je 0x1800588c5
xor r8d, r8d
mov edx, r12d
mov ecx, 0x200
call fcn.18003d888
cmp dword [r14 + 0x3f28], r12d
jne 0x180058904
test rsi, rsi
jne 0x1800588dc
xor edx, edx
xor ecx, ecx
call fcn.1800354a8
cmp dword [r14 + 0x3f28], r12d
jne 0x180058904
mov ecx, 1
cmp byte [r14 + 0x3748], dil
je 0x18005891a
cmp byte [rsp + 0x59], dil
jne 0x18005891a
test bl, bl
jne 0x18005891a
mov byte [rsp + 0x58], cl
jmp 0x18005891a
test rsi, rsi
je 0x180058917
cmp byte [rsp + 0x51], dil
je 0x180058917
mov ecx, 1
jmp 0x18005891a
mov cl, dil
mov r12d, dword [rsp + 0x54]
mov byte [rbp + 0x1b8], cl
test rsi, rsi
je 0x180058943
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x180058937
test r12b, r12b
je 0x180058943
test cl, cl
je 0x180058943
mov r8d, 1
jmp 0x180058946
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 0x180058a28
test rsi, rsi
je 0x180058a28
test cl, cl
jne 0x18005897b
test r8b, r8b
je 0x180058a31
mov ebx, dword [rbp + 0x1c8]
mov ecx, dword [rsi + 0x1c]
inc ebx
mov qword [rbp + 0x1e8], rdi
cmp ebx, ecx
jle 0x1800589b5
test ecx, ecx
je 0x1800589a0
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1800589a5
mov eax, 8
cmp eax, ebx
lea rcx, [rsi + 0x18]
mov edx, ebx
cmovg edx, eax
call fcn.1800464ec
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.180033314
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 0x180058a41
test r8b, r8b
jne 0x180058a41
mov r15d, dword [rsp + 0x64]
cmp dword [r14 + 0x3f28], r15d
jne 0x180058a5a
jmp 0x180058a46
mov r15d, dword [rsp + 0x64]
test al, al
jne 0x180058a5a
test rsi, rsi
je 0x180058a5a
mov byte [rsp + 0x6c], 1
cmp byte [rsi + 0x48], dil
jne 0x180058a5f
mov byte [rsp + 0x6c], dil
cmp byte [rbp - 0x74], dil
je 0x180058b11
mov rcx, qword [r14 + 0x3c20]
mov edx, 0x2a
call fcn.18004d978
mov ecx, dword [rcx + 0x14]
lea rdi, [r14 + 0x5a80]
mov rbx, qword [0x1801aa2d0]
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.18003cdd8
lea rdx, [rbp + 0x1e8]
lea rcx, [rbx + 0x4830]
call fcn.180046128
mov rdx, qword [rdi + 0x40]
mov rcx, qword [rbx + 0x3ec8]
mov rdx, qword [rdx + 8]
mov rcx, qword [rcx + 0x298]
call fcn.180047f38
xor edi, edi
movss xmm8, dword [0x1801584a4]
mov dword [rbp - 0x40], edi
cmp dword [r14 + 0x3f28], r15d
jne 0x180058f11
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 0x180058ba1
mov rax, qword [rbp - 0x70]
movss xmm3, dword [r14 + 0xe0c]
subss xmm3, dword [rax + 0x104]
jmp 0x180058baf
movss xmm3, dword [r14 + 0x3c28]
mulss xmm3, xmm8
test r12b, r12b
je 0x180058bd6
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 0x180058d75
mov al, byte [rsp + 0x5a]
test al, al
je 0x180058d2b
mov ecx, 2
cmp word [r14 + 0x3752], cx
jb 0x180058d2b
cmp byte [r14 + 0xe25], dil
jne 0x180058d2b
lea rdi, [rsi + 0x54]
mov rcx, rsi
mov rdx, rdi
call fcn.1800564f4
mov r12d, 1
test byte [r14 + 0x3752], r12b
jne 0x180058cbe
xor eax, eax
cmp dword [rdi], eax
je 0x180058c44
movsxd rcx, dword [rdi]
lea edx, [r12 + 9]
mov rax, qword [rsi + 0x20]
cmp word [rax + rcx*2 - 2], dx
je 0x180058c44
xor edi, edi
mov cl, dil
jmp 0x180058c49
mov cl, r12b
xor edi, edi
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x180058c55
test cl, cl
jne 0x180058c62
mov edx, 0x20000c
mov rcx, rsi
call fcn.180057ac8
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x180058c7d
cmp dword [rsi + 0x58], eax
jne 0x180058c7a
mov eax, dword [rsi + 0x54]
mov dword [rsi + 0x5c], eax
mov dword [rsi + 0x58], eax
jmp 0x180058c7d
mov dword [rsi + 0x54], eax
mov edx, dword [rsi + 0x54]
mov rcx, rsi
call fcn.180056090
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 0x180058cb4
cmp ecx, eax
jle 0x180058ca4
mov dword [rsi + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x180058cad
mov dword [rsi + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x180058cb4
mov dword [rsi + 0x54], ecx
cmp dword [rsi + 0x54], eax
jle 0x180058d1f
mov dword [rsi + 0x54], eax
jmp 0x180058d1f
movsxd rcx, dword [rdi]
mov edx, 0x200004
mov rax, qword [rsi + 0x20]
movzx ebx, word [rax + rcx*2]
mov rcx, rsi
call fcn.180057ac8
mov edx, 0x600005
mov rcx, rsi
call fcn.180057ac8
mov edx, 0x600001
mov rcx, rsi
call fcn.180057ac8
mov eax, 0xa
cmp bx, ax
je 0x180058d10
xor eax, eax
cmp byte [rsp + 0x60], al
je 0x180058d10
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 0x180058d75
cmp byte [r14 + 0x3748], dil
je 0x180058e0b
cmp byte [rsi + 0xe85], dil
jne 0x180058e0b
test al, al
je 0x180058d6f
lea rdx, [rsi + 0x54]
mov rcx, rsi
cmp byte [r14 + 0xe25], dil
je 0x180058d60
call fcn.180056554
jmp 0x180058d65
call fcn.1800564f4
mov dword [rsi + 0xe80], 0xbe99999a
mov r12d, 1
cmp byte [rsi + 0xe85], dil
je 0x180058d8e
cmp byte [r14 + 0xe10], dil
jne 0x180058d8e
mov byte [rsi + 0xe85], dil
bt ebx, 0xa
jae 0x180058de2
xor r8d, r8d
mov edx, r15d
mov ecx, 0x200
call fcn.18003f2ec
mov ecx, dword [rsp + 0x5c]
test al, al
je 0x180058de6
test cl, cl
jne 0x180058de6
mov edx, ebx
mov dword [rbp + 0x1e8], 9
lea rcx, [rbp + 0x1e8]
mov dword [rsp + 0x20], 2
call fcn.180057af4
test al, al
je 0x180058de2
mov edx, dword [rbp + 0x1e8]
mov rcx, rsi
call fcn.180057ac8
mov ecx, dword [rsp + 0x5c]
cmp byte [r14 + 0xe24], dil
je 0x180058df8
cmp byte [r14 + 0xe26], dil
je 0x180058e06
test r13b, r13b
je 0x180058e65
cmp byte [r14 + 0xe27], dil
je 0x180058e65
mov al, r12b
jmp 0x180058e68
cmp byte [r14 + 0xe10], dil
je 0x180058d6f
cmp byte [rsi + 0xe85], dil
jne 0x180058d6f
ucomiss xmm12, dword [r14 + 0xf8]
jne 0x180058e3d
ucomiss xmm12, dword [r14 + 0xfc]
je 0x180058d6f
lea rdx, [rsi + 0x54]
mov rcx, rsi
call fcn.180056554
mov r12d, 1
mov dword [rsi + 0xe80], 0xbe99999a
mov byte [rsi + 0xe84], r12b
jmp 0x180058d75
mov al, dil
cmp dword [r14 + 0x37c0], edi
jle 0x180058f11
test al, al
jne 0x180058ee9
test cl, cl
jne 0x180058ee9
cmp byte [rbp + 0x1e0], dil
jne 0x180058ee9
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 0x180058ed2
mov edx, r13d
mov dword [rsp + 0x20], 2
lea rcx, [rbp + 0x1e0]
call fcn.180057af4
test al, al
je 0x180058ed2
mov edx, dword [rbp + 0x1e0]
mov rcx, rsi
call fcn.180057ac8
add edi, r12d
add rbx, 2
cmp edi, dword [r14 + 0x37c0]
jl 0x180058e93
mov r13b, byte [rsp + 0x69]
xor edi, edi
lea rbx, [r14 + 0x37c0]
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x180058f0f
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.1800464ec
mov dword [rbx], edi
mov r12d, dword [rsp + 0x64]
mov r15b, dil
mov byte [rbp + 0x1e0], dil
cmp dword [r14 + 0x3f28], r12d
jne 0x180059a36
cmp byte [r14 + 0x3f34], dil
jne 0x180059a36
cmp byte [rsp + 0x58], dil
jne 0x180059a36
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 0x180058fc9
mov al, byte [r14 + 0xe26]
mov byte [rbp + 0x1e8], al
cmp byte [r14 + 0xe27], bl
je 0x180058fd6
mov byte [rbp + 0x1e8], al
cmp byte [r14 + 0xe24], bl
jne 0x180058fd6
mov byte [rbp + 0x1e8], al
cmp al, bl
jne 0x180058fd6
mov byte [rsp + 0x51], r15b
mov byte [rbp + 0x1e8], al
jmp 0x180058fda
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.18003f2ec
test al, al
jne 0x180059002
mov r8d, r15d
mov edx, r12d
mov ecx, 0x220a
call fcn.18003f2ec
test al, al
je 0x180059028
mov r15d, dword [rsp + 0x5c]
test r15b, r15b
jne 0x18005902d
cmp byte [rbp - 0x74], bl
mov ebx, dword [rsp + 0x60]
jne 0x180059031
test bl, bl
je 0x180059021
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
je 0x180059031
mov byte [rsp + 0x68], 1
jmp 0x180059037
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.18003f2ec
test al, al
jne 0x18005905f
xor r8d, r8d
mov edx, r12d
mov ecx, 0x1209
call fcn.18003f2ec
test al, al
je 0x18005907f
xor eax, eax
cmp byte [rbp - 0x74], al
jne 0x18005907f
test bl, bl
je 0x180059072
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
je 0x18005907f
mov eax, 1
xor ebx, ebx
mov byte [rsp + 0x6b], al
jmp 0x180059088
xor ebx, ebx
mov byte [rsp + 0x6b], bl
lea eax, [rbx + 1]
mov r8d, eax
mov edx, r12d
mov ecx, 0xa37
call fcn.18003f2ec
test al, al
jne 0x1800590b3
mov r8d, 1
mov edx, r12d
mov ecx, 0x2209
call fcn.18003f2ec
test al, al
je 0x1800590c3
test r15b, r15b
jne 0x1800590c3
mov eax, 1
mov byte [rsp + 0x5a], al
jmp 0x1800590cc
mov byte [rsp + 0x5a], bl
mov eax, 1
mov r8d, eax
mov edx, r12d
mov ecx, 0xa3b
call fcn.18003f2ec
mov ebx, dword [rbp - 0x20]
test al, al
je 0x1800590f7
test r15b, r15b
jne 0x1800590f7
test bl, bl
je 0x1800590f7
mov eax, 1
mov byte [rsp + 0x6a], al
jmp 0x180059101
mov byte [rsp + 0x6a], 0
mov eax, 1
mov r8d, eax
mov edx, r12d
mov ecx, 0xa3a
call fcn.18003f2ec
test al, al
jne 0x1800591cd
test r13b, r13b
je 0x18005913c
mov r13d, 1
mov edx, r12d
mov r8d, r13d
mov ecx, 0x2a3b
call fcn.18003f2ec
test al, al
jne 0x1800591d3
xor r15d, r15d
mov r13b, r15b
xor r8d, r8d
mov edx, r12d
mov ecx, 0xa22
call fcn.18003f2ec
mov byte [rbp - 0x78], al
mov eax, 2
lea r12d, [rax - 1]
test byte [r14 + 8], al
je 0x18005916d
mov bl, r12b
test byte [r14 + 0xc], r12b
jne 0x180059170
mov bl, r15b
mov r8d, r12d
xor edx, edx
mov ecx, 0x20d
call fcn.18003d9c8
test al, al
jne 0x180059199
mov r8d, r12d
xor edx, edx
mov ecx, 0x267
call fcn.18003d9c8
test al, al
jne 0x180059199
mov r12b, r15b
test bl, bl
je 0x1800591ec
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.18003d9c8
test al, al
jne 0x1800591c3
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.18003d9c8
test al, al
je 0x1800591ec
mov eax, 1
mov r15b, al
jmp 0x1800591f1
mov r13d, 1
test r15b, r15b
jne 0x18005913c
xor r15d, r15d
test bl, bl
je 0x18005913f
jmp 0x180059142
mov eax, 1
mov edx, dword [rsp + 0x64]
mov r8d, eax
mov ecx, 0x20e
call fcn.18003f2ec
xor ecx, ecx
test al, al
jne 0x18005922d
test bl, bl
je 0x180059224
mov edx, dword [rsp + 0x64]
lea r8d, [rcx + 1]
mov ecx, 0x26c
call fcn.18003f2ec
xor ecx, ecx
test al, al
jne 0x18005922d
mov bl, cl
mov eax, 1
jmp 0x180059234
mov eax, 1
mov bl, al
mov r8d, eax
xor edx, edx
mov ecx, 0x201
call fcn.18003d9c8
xor ecx, ecx
test al, al
je 0x18005927d
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.180057ac8
xor edi, edi
mov r13d, 1
jmp 0x180059a08
xor edx, edx
mov ecx, 0x202
lea r8d, [rdx + 1]
call fcn.18003d9c8
xor ecx, ecx
test al, al
je 0x1800592ab
neg byte [rbp + 0x1e8]
mov eax, 0x200005
sbb edx, edx
and edx, 0xc
add edx, 0x200001
jmp 0x18005925f
xor edx, edx
mov ecx, 0x203
lea r8d, [rdx + 1]
call fcn.18003d9c8
xor ecx, ecx
test al, al
je 0x18005931a
cmp byte [rsp + 0x60], cl
je 0x18005931a
cmp byte [r14 + 0xe24], cl
je 0x180059309
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 0x180059272
movzx eax, byte [rsp + 0x51]
lea edx, [rax*4 + 0x200002]
jmp 0x180059266
xor edx, edx
mov ecx, 0x204
lea r8d, [rdx + 1]
call fcn.18003d9c8
xor ecx, ecx
test al, al
je 0x180059396
cmp byte [rsp + 0x60], cl
je 0x180059396
cmp byte [r14 + 0xe24], cl
je 0x180059385
mov rdx, qword [rbp - 0x70]
xor edi, edi
movss xmm0, dword [r14 + 0x3c28]
mov rax, qword [0x1801aa2d0]
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 0x180059272
movzx eax, byte [rsp + 0x51]
lea edx, [rax*4 + 0x200003]
jmp 0x180059266
xor edx, edx
mov ecx, 0x205
lea r8d, [rdx + 1]
call fcn.18003d9c8
xor ecx, ecx
test al, al
je 0x1800593dd
cmp byte [rsp + 0x60], cl
je 0x1800593dd
or edi, 0x20000e
mov rcx, rsi
mov edx, edi
call fcn.180057ac8
movd xmm0, dword [rsp + 0x70]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [r14 + 0x3c28]
subss xmm6, xmm0
jmp 0x180059270
xor edx, edx
mov ecx, 0x206
lea r8d, [rdx + 1]
call fcn.18003d9c8
xor ecx, ecx
test al, al
je 0x180059424
cmp byte [rsp + 0x60], cl
je 0x180059424
or edi, 0x20000f
mov rcx, rsi
mov edx, edi
call fcn.180057ac8
movd xmm0, dword [rsp + 0x70]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [r14 + 0x3c28]
addss xmm6, xmm0
jmp 0x180059270
xor edx, edx
mov ecx, 0x207
lea r8d, [rdx + 1]
call fcn.18003d9c8
test al, al
je 0x180059452
mov al, byte [r14 + 0xe24]
neg al
mov eax, 0x200004
sbb edx, edx
and edx, 2
add edx, eax
jmp 0x180059266
xor edx, edx
mov ecx, 0x208
lea r8d, [rdx + 1]
call fcn.18003d9c8
test al, al
je 0x180059476
mov al, byte [r14 + 0xe24]
neg al
mov eax, 0x200005
jmp 0x180059446
xor edx, edx
mov ecx, 0x20a
lea r8d, [rdx + 1]
call fcn.18003d9c8
xor ecx, ecx
test al, al
je 0x1800594c2
cmp byte [rsp + 0x5c], cl
jne 0x1800594c2
cmp byte [rsp + 0x68], cl
jne 0x1800594c2
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x1800594b5
cmp byte [rbp + 0x1e8], cl
je 0x1800594b5
mov edx, 0x60000d
mov rcx, rsi
call fcn.180057ac8
or edi, 0x200008
mov edx, edi
jmp 0x180059268
xor edx, edx
mov ecx, 0x20b
lea r8d, [rdx + 1]
call fcn.18003d9c8
mov r8d, dword [rsp + 0x5c]
xor ecx, ecx
test al, al
je 0x18005952f
test r8b, r8b
jne 0x18005952f
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x180059527
cmp byte [rbp + 0x1e8], cl
je 0x1800594f9
mov edx, 0x60000c
jmp 0x18005951f
cmp byte [rsp + 0x69], cl
je 0x180059527
cmp byte [r14 + 0xe27], cl
je 0x180059527
cmp byte [r14 + 0xe26], cl
jne 0x180059527
cmp byte [r14 + 0xe24], cl
jne 0x180059527
mov edx, 0x600004
mov rcx, rsi
call fcn.180057ac8
or edi, 0x200009
jmp 0x1800594bb
xor edi, edi
test r12b, r12b
jne 0x180059973
test r15b, r15b
jne 0x180059973
test bl, bl
je 0x1800595a4
test dword [rbp + 0x1d8], 0x100000
je 0x180059581
mov eax, dword [rsi + 0x10]
test eax, eax
jg 0x18005956b
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 0x180059a0f
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 0x180059a19
movzx eax, byte [rsp + 0x6a]
test al, al
jne 0x18005994c
test r13b, r13b
jne 0x18005994c
cmp byte [rbp - 0x78], dil
je 0x1800595e2
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 0x180059a08
mov r13b, byte [rsp + 0x68]
test r13b, r13b
jne 0x180059804
cmp byte [rsp + 0x6b], dil
jne 0x180059804
cmp byte [rsp + 0x5a], dil
je 0x180059272
mov rax, qword [0x1801aa2d0]
mov rdx, qword [rax + 0xb0]
test rdx, rdx
je 0x180059637
mov rcx, qword [rax + 0xc0]
call rdx
mov rbx, rax
test rax, rax
je 0x180059272
mov rax, qword [0x1801aa2d0]
jmp 0x18005963e
lea rbx, [0x1800efab0]
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rbx + rcx], dil
jne 0x180059642
mov r13d, 1
test rax, rax
je 0x18005965d
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 0x1800596e5
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.180033174
movsxd rcx, eax
mov edx, r14d
add rbx, rcx
mov dword [rsp + 0x20], 4
lea rcx, [rbp + 0x1e8]
call fcn.180057af4
test al, al
je 0x1800596d1
movzx eax, word [rbp + 0x1e8]
add r15d, r13d
mov word [rdi], ax
add rdi, rsi
cmp byte [rbx], r12b
jne 0x18005968e
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 0x1800597df
mov ecx, dword [rsi + 0xc]
lea rbx, [rsi + 0x54]
mov eax, dword [rbx + 4]
mov r8d, dword [rbx + 8]
cmp eax, r8d
je 0x18005972e
mov edx, eax
cmp eax, ecx
jle 0x180059714
mov dword [rbx + 4], ecx
mov edx, ecx
mov r9d, r8d
cmp r8d, ecx
jle 0x180059722
mov dword [rbx + 8], ecx
mov r9d, ecx
mov eax, edx
mov r8d, r9d
cmp edx, r9d
jne 0x18005972e
mov dword [rbx], edx
mov r9d, dword [rbx]
cmp r9d, ecx
jle 0x18005973b
mov dword [rbx], ecx
mov r9d, ecx
mov ecx, dword [rsi + 0xc]
cmp eax, r8d
je 0x18005976b
mov edx, eax
cmp eax, ecx
jle 0x18005974e
mov dword [rbx + 4], ecx
mov edx, ecx
mov r10d, r8d
cmp r8d, ecx
jle 0x18005975c
mov dword [rbx + 8], ecx
mov r10d, ecx
mov eax, edx
mov r8d, r10d
cmp edx, r10d
jne 0x18005976b
mov dword [rbx], edx
mov r9d, edx
cmp r9d, ecx
jle 0x180059772
mov dword [rbx], ecx
cmp eax, r8d
je 0x1800597ac
mov rdx, rbx
mov rcx, rsi
jge 0x180059795
sub r8d, eax
mov r9d, r8d
mov r8d, eax
call fcn.180056730
mov eax, dword [rbx + 4]
mov dword [rbx + 8], eax
jmp 0x1800597a6
sub eax, r8d
mov r9d, eax
call fcn.180056730
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.180056260
test al, al
je 0x1800597d8
mov edx, dword [rbx]
lea rcx, [rbx + 0x20]
mov r9d, r15d
xor r8d, r8d
call fcn.180057490
add dword [rbx], r15d
mov byte [rbx + 0x16], dil
mov byte [rsi + 0xe84], r13b
test r12, r12
je 0x1800597f6
mov rax, qword [0x1801aa2d0]
test rax, rax
je 0x1800597f6
dec dword [rax + 0xf4]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180059a08
cmp qword [r14 + 0xb8], rdi
je 0x1800598a7
mov ecx, dword [rsi + 0x58]
mov eax, dword [rsi + 0x5c]
cmp ecx, eax
je 0x180059825
mov edx, eax
cmovge eax, ecx
cmovl edx, ecx
jmp 0x18005982a
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.180033574
mov edx, 1
lea edi, [rdx + rax]
mov rax, qword [0x1801aa2d0]
test rax, rax
je 0x18005985b
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.1800334d4
mov rcx, rbx
call fcn.1800359dc
xor edi, edi
test rbx, rbx
je 0x18005989e
mov rcx, qword [0x1801aa2d0]
test rcx, rcx
je 0x18005989e
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 0x180059272
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x1800598c8
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 0x180059a08
mov ecx, dword [rsi + 0xc]
cmp eax, ecx
jle 0x1800598f5
mov dword [rbx + 4], ecx
mov eax, ecx
cmp r8d, ecx
jle 0x180059900
mov dword [rbx + 8], ecx
mov r8d, ecx
cmp eax, r8d
jne 0x180059907
mov dword [rbx], eax
cmp dword [rbx], ecx
jle 0x18005990d
mov dword [rbx], ecx
cmp eax, r8d
je 0x180059943
mov rdx, rbx
mov rcx, rsi
jge 0x180059930
sub r8d, eax
mov r9d, r8d
mov r8d, eax
call fcn.180056730
mov eax, dword [rbx + 4]
mov dword [rbx + 8], eax
jmp 0x180059941
sub eax, r8d
mov r9d, eax
call fcn.180056730
mov eax, dword [rbx + 8]
mov dword [rbx + 4], eax
mov dword [rbx], eax
mov byte [rbx + 0x16], dil
jmp 0x180059a08
mov edx, eax
mov r13d, 1
xor edx, r13d
mov rcx, rsi
add edx, 0x20000a
call fcn.180057ac8
mov eax, dword [rsi + 0x54]
mov dword [rsi + 0x5c], eax
mov dword [rsi + 0x58], eax
jmp 0x180059a08
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 0x1800599a1
test r15b, r15b
jne 0x1800599a1
test al, al
je 0x1800599c2
cmp byte [r14 + 0xe24], dil
jne 0x1800599cb
mov byte [rsp + 0x59], r13b
cmp byte [r14 + 0x7c], dil
je 0x180059a03
test cl, cl
jne 0x180059a03
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 0x180059a08
cmp byte [r14 + 0xe24], dil
jne 0x1800599a1
test r8b, r8b
jne 0x180059a08
mov eax, 0xa
mov dword [rsp + 0x20], 2
lea rcx, [rbp + 0x1e8]
mov dword [rbp + 0x1e8], eax
call fcn.180057af4
test al, al
je 0x180059a08
mov edx, dword [rbp + 0x1e8]
mov rcx, rsi
call fcn.180057ac8
jmp 0x180059a08
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 0x180059a28
mov al, r13b
test dl, dl
jne 0x180059a2b
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 0x180059ff1
cmp byte [rsp + 0x5c], dil
jne 0x180059bf6
test r15b, r15b
je 0x180059ba6
test dword [rbp + 0x1d8], 0x100000
je 0x180059aa9
mov r9d, dword [rsi + 0xc]
lea rax, [0x1800efab0]
xor r8d, r8d
mov qword [rsp + 0x70], rax
lea rdx, [rsi + 0x54]
mov dword [rsp + 0x20], edi
mov rcx, rsi
call fcn.1800579d8
mov r8d, dword [rsi + 0xc]
xor edx, edx
mov rcx, rsi
call fcn.1800561d4
and qword [rsi + 0x58], 0
mov dword [rsi + 0x54], edi
jmp 0x180059ba6
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 0x180059ad0
add rax, r9
test ecx, ecx
jne 0x180059abd
test edx, edx
je 0x180059ba6
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 0x180059b63
movsxd r15, r13d
mov rcx, r12
add r15, r12
mov rdx, r15
call fcn.1800333b4
mov r8d, 1
xor edx, edx
lea ebx, [r8 + rax]
test ebx, ebx
jle 0x180059b47
lea ecx, [rdx + 8]
mov eax, ebx
cmp ebx, ecx
cmovl eax, ecx
test eax, eax
jle 0x180059b47
mov rcx, qword [0x1801aa2d0]
test rcx, rcx
je 0x180059b36
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.180033314
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.180057a44
test rdi, rdi
je 0x180059ba1
mov rax, qword [0x1801aa2d0]
test rax, rax
je 0x180059b98
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 0x180059bdf
test ecx, ecx
je 0x180059bca
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180059bcf
mov eax, 8
cmp eax, ebx
lea rcx, [rsi + 0x28]
mov edx, ebx
cmovg edx, eax
call fcn.180046468
mov dword [rsi + 0x28], ebx
xor r9d, r9d
mov r8, qword [rsi + 0x20]
mov edx, ebx
mov rcx, qword [rsi + 0x30]
call fcn.1800334d4
xor edi, edi
test r15b, r15b
je 0x180059d40
cmp byte [rsp + 0x59], dil
je 0x180059c17
mov r15d, dword [rbp + 0x1d8]
test r15b, 0x20
jne 0x180059d47
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 0x180059cc2
cmp dword [r14 + 0x3f28], r15d
je 0x180059cbb
mov r9, qword [0x1801aa2d0]
call fcn.1800383cc
test al, al
je 0x180059cbb
cmp byte [r9 + 0x3f5d], dil
jne 0x180059c72
cmp dword [r9 + 0x3f28], edi
jne 0x180059cbb
cmp byte [r9 + 0x3f38], dil
je 0x180059cbb
test bl, bl
jne 0x180059cbb
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 0x180059cae
add rax, r9
test ecx, ecx
jne 0x180059c9b
test edx, edx
setne al
or r11b, al
mov byte [rsp + 0x50], r11b
mov dword [r14 + 0x5a68], edi
test r10, r10
je 0x18005a037
cmp byte [rbp - 0x54], dil
je 0x18005a004
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 0x18005a00a
mov r15d, dword [rbp + 0x1d8]
test r15d, 0x801c0
je 0x180059f99
mov ebx, 0x40
test bl, r15b
je 0x180059d7c
xor r8d, r8d
mov edx, r12d
mov ecx, 0x200
call fcn.18003f2ec
xor r12d, r12d
test al, al
je 0x180059d7f
mov edi, 0x200
jmp 0x180059de8
xor r12d, r12d
test r15b, r15b
jns 0x180059dc7
mov ebx, 1
xor edx, edx
mov r8d, ebx
mov ecx, 0x203
call fcn.18003d9c8
test al, al
je 0x180059da8
mov ebx, 0x80
mov edi, 0x203
jmp 0x180059de8
mov r8d, ebx
xor edx, edx
mov ecx, 0x204
call fcn.18003d9c8
test al, al
je 0x180059dc7
mov ebx, 0x80
mov edi, 0x204
jmp 0x180059de8
mov ebx, 0x80000
test ebx, r15d
je 0x180059dda
cmp byte [rsi + 0xe86], r12b
jne 0x180059de8
mov eax, 0x100
mov ebx, r12d
test eax, r15d
cmovne ebx, eax
test ebx, ebx
je 0x180059f97
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 0x180059e1e
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.180033574
movsxd rdx, dword [rsi + 0x58]
mov rcx, r11
mov ebx, eax
mov dword [rbp + 0x24], eax
lea rdx, [r11 + rdx*2]
call fcn.180033574
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.180033574
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 0x180059e9d
test r15b, r15b
je 0x180059eb3
lea rdx, [rdi + r12]
mov rcx, rdi
call fcn.1800333b4
mov dword [rsi + 0x54], eax
mov byte [rsi + 0xe84], 1
movsxd rbx, dword [rbp + 0x28]
cmp ebx, dword [rbp + 0x1e0]
jne 0x180059ec4
test r15b, r15b
je 0x180059edd
cmp ebx, r12d
jne 0x180059ece
mov eax, dword [rsi + 0x54]
jmp 0x180059eda
lea rdx, [rdi + rbx]
mov rcx, rdi
call fcn.1800333b4
mov dword [rsi + 0x58], eax
movsxd rax, dword [rbp + 0x2c]
cmp eax, dword [rbp + 0x1e8]
jne 0x180059ef2
test r15b, r15b
je 0x180059f97
cmp eax, ebx
jne 0x180059efb
mov eax, dword [rsi + 0x58]
jmp 0x180059f07
lea rdx, [rdi + rax]
mov rcx, rdi
call fcn.1800333b4
mov dword [rsi + 0x5c], eax
test r15b, r15b
je 0x180059f97
mov r8d, dword [rbp + 0x18]
mov rdx, rdi
mov rcx, rsi
call fcn.180057ccc
mov eax, dword [rbp - 0x40]
xor edi, edi
mov ebx, dword [rbp + 0x18]
cmp ebx, eax
jle 0x180059f6a
cmp byte [rbp - 0x54], dil
je 0x180059f6a
lea rdi, [rsi + 0x18]
sub ebx, eax
add ebx, dword [rdi]
mov ecx, dword [rdi + 4]
cmp ebx, ecx
jle 0x180059f66
test ecx, ecx
je 0x180059f52
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180059f57
mov eax, 8
cmp eax, ebx
mov edx, ebx
mov rcx, rdi
cmovg edx, eax
call fcn.1800464ec
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.180033314
mov dword [rsi + 0xc], eax
mov eax, dword [rbp + 0x18]
mov dword [rsi + 0x10], eax
mov dword [rsi + 0xe80], 0xbe99999a
jmp 0x180059f99
xor edi, edi
mov ebx, dword [rsp + 0x5c]
mov r12, qword [rbp + 0x1c0]
test bl, bl
jne 0x180059c22
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 0x180059fcf
add rax, r9
test ecx, ecx
jne 0x180059fbc
test edx, edx
je 0x180059c22
mov r10, qword [rsi + 0x30]
mov r11b, r9b
mov r13d, dword [rsi + 0x10]
mov qword [rsp + 0x70], r10
mov byte [rsp + 0x50], r9b
jmp 0x180059c2c
mov r12, qword [rbp + 0x1c0]
mov r10, rdi
mov ebx, dword [rsp + 0x5c]
jmp 0x180059c27
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 0x18005a037
jbe 0x18005a032
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 0x18005a050
cmp dword [r14 + 0x3f28], r15d
jne 0x18005a050
xor edx, edx
xor ecx, ecx
call fcn.1800354a8
mov r13d, dword [rsp + 0x60]
mov ebx, 1
test r13b, r13b
jne 0x18005a0c6
mov r8d, ebx
lea rcx, [rsp + 0x78]
mov edx, r15d
call fcn.18003454c
mov rax, qword [0x1801aa2d0]
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.180033668
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.180034280
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 0x18005a10f
movsd xmm0, qword [r11 + 0x100]
movsd qword [rbp + 0x1e0], xmm0
jmp 0x18005a135
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 0x18005a15d
mov r12, qword [rsi + 0x30]
mov qword [rbp + 0x1c0], r12
mov r10b, byte [rbp + 0x1b8]
mov r8d, dword [rsp + 0x54]
test r10b, r10b
jne 0x18005a289
test r8b, r8b
jne 0x18005a289
test r13b, r13b
je 0x18005a1cf
mov dl, byte [r12]
mov ecx, edi
lea rdi, [r12 + 1]
xor r9d, r9d
jmp 0x18005a1a0
cmp dl, 0xa
lea eax, [rcx + 1]
mov dl, byte [rdi]
cmovne eax, ecx
add rdi, rbx
mov ecx, eax
test dl, dl
jne 0x18005a190
sub rdi, rbx
mov eax, 0xa
cmp byte [rdi], al
je 0x18005a1b7
cmp byte [rdi], 0xd
je 0x18005a1b7
add ecx, ebx
movd xmm14, ecx
movaps xmm6, xmm10
cvtdq2ps xmm14, xmm14
mulss xmm14, dword [r14 + 0x3c28]
jmp 0x18005a20d
cmp dword [r14 + 0x3f28], r15d
jne 0x18005a1e4
movsxd rdi, dword [rsi + 0x10]
add rdi, r12
xor r9d, r9d
jmp 0x18005a1f7
or rdi, 0xffffffffffffffff
xor r9d, r9d
inc rdi
cmp byte [r12 + rdi], r9b
jne 0x18005a1eb
add rdi, r12
movss xmm6, dword [rbp + 0x1e0]
mov rax, rdi
sub rax, r12
cmp rax, 0x200000
jge 0x18005a281
mov rax, qword [0x1801aa2d0]
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.180033668
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.18004bb3c
xor r9d, r9d
jmp 0x18005aa75
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 0x18005a2c7
movsxd rax, dword [rsi + 0x54]
or edx, 0xffffffff
mov ecx, ebx
lea r9, [r12 + rax*2]
test r8b, r8b
je 0x18005a2e2
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 0x18005a34b
lea edi, [r10 - 9]
lea esi, [rdi + 1]
cmp r8w, r10w
jne 0x18005a335
add ebx, edi
cmp edx, 0xffffffff
jne 0x18005a321
cmp rax, r9
jb 0x18005a321
sub ecx, edi
mov edx, ebx
test ecx, ecx
jle 0x18005a342
cmp r15d, 0xffffffff
jne 0x18005a335
cmp rax, r13
jb 0x18005a335
sub ecx, edi
mov r15d, ebx
test ecx, ecx
jle 0x18005a342
add rax, rsi
movzx r8d, word [rax]
test r8w, r8w
jne 0x18005a307
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 0x18005a37d
lea rax, [r8 - 2]
cmp word [rax], r10w
je 0x18005a37d
mov r8, rax
cmp rax, r12
ja 0x18005a36b
mov byte [rsp + 0x30], r11b
lea rcx, [rbp + 0x30]
mov rdx, r14
mov qword [rsp + 0x20], r11
call fcn.180055e18
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 0x18005a414
mov r8, r13
cmp r13, r12
jbe 0x18005a3de
lea ecx, [r9 + 0xa]
lea rax, [r8 - 2]
cmp word [rax], cx
je 0x18005a3de
mov r8, rax
cmp rax, r12
ja 0x18005a3cd
mov byte [rsp + 0x30], r9b
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x20], r9
mov rdx, r14
mov r9, r13
call fcn.180055e18
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 0x18005a435
movd xmm14, ebx
cvtdq2ps xmm14, xmm14
movss dword [rbp + 0x1e0], xmm10
mulss xmm14, xmm5
mov r15b, byte [rbp + 0x1b8]
test r15b, r15b
je 0x18005a55f
cmp byte [rsi + 0xe84], r9b
je 0x18005a55f
test dword [rbp + 0x1d8], 0x1000
jne 0x18005a4ae
comiss xmm13, dword [rsi + 0x50]
movaps xmm1, xmm10
movaps xmm0, xmm13
mulss xmm1, dword [0x180158468]
subss xmm10, dword [r14 + 0x3830]
jae 0x18005a48d
subss xmm0, xmm1
maxss xmm0, xmm12
cvttss2si eax, xmm0
jmp 0x18005a4a0
subss xmm0, xmm10
comiss xmm0, dword [rsi + 0x50]
jb 0x18005a4b2
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x50], xmm0
jmp 0x18005a4b2
mov dword [rsi + 0x50], r9d
test r13b, r13b
je 0x18005a558
movaps xmm0, xmm15
subss xmm0, dword [r14 + 0x3c28]
comiss xmm0, xmm6
jae 0x18005a4d7
movaps xmm6, xmm0
maxss xmm6, xmm12
jmp 0x18005a506
movss xmm2, dword [r14 + 0x3834]
movaps xmm1, xmm11
addss xmm2, xmm2
movaps xmm0, xmm15
subss xmm1, xmm2
subss xmm0, xmm1
comiss xmm0, xmm6
jb 0x18005a506
movaps xmm6, xmm15
subss xmm6, xmm11
addss xmm6, xmm2
comiss xmm6, xmm12
movss xmm2, dword [r14 + 0x3834]
jae 0x18005a51b
movaps xmm2, xmm12
jmp 0x18005a532
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 [0x1801584fc]
cmp byte [rsp + 0x54], r9b
je 0x18005a7f0
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 0x18005a5a1
movaps xmm1, xmm11
jmp 0x18005a5a9
movss xmm1, dword [0x1801584ac]
mov rax, qword [0x1801aa2d0]
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.180033668
mov r15d, eax
test r13b, r13b
je 0x18005a5ec
movss dword [rbp - 0x68], xmm12
jmp 0x18005a5f5
movss xmm12, dword [0x180158540]
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 0x18005a7e5
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 0x18005a7c5
comiss xmm6, xmm7
jae 0x18005a67d
cmp r8, rbx
jae 0x18005a7a8
mov ecx, 0xa
movzx eax, word [r8]
add r8, 2
mov qword [rbp + 0x1e8], r8
cmp ax, cx
je 0x18005a7a8
cmp r8, rbx
jb 0x18005a65b
jmp 0x18005a7a8
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.180055e18
movss xmm5, dword [rbp - 0x40]
comiss xmm5, xmm11
ja 0x18005a6dc
mov rax, qword [r14 + 0x3c20]
cmp dword [rax], 0x20
jle 0x18005a6c2
mov rax, qword [rax + 8]
movss xmm0, dword [rax + 0x80]
jmp 0x18005a6c7
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 0x18005a798
comiss xmm3, xmm2
jbe 0x18005a798
comiss xmm8, xmm4
jae 0x18005a798
comiss xmm9, xmm5
jbe 0x18005a798
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.18004a410
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 [0x1801584a4]
mov r8, qword [rbp + 0x1e8]
movss xmm9, dword [rbp - 0x60]
subss xmm9, xmm10
addss xmm6, dword [r14 + 0x3c28]
cmp r8, rbx
jb 0x18005a633
movss xmm11, dword [0x1801584fc]
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 0x18005a80e
mov rax, rdi
sub rax, r12
cmp rax, 0x200000
jge 0x18005a8ad
mov rax, qword [0x1801aa2d0]
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.180033668
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.18004bb3c
xor r9d, r9d
jmp 0x18005a8b1
mov rbx, qword [rbp - 0x70]
test r15b, r15b
je 0x18005aa56
movss xmm0, dword [r14 + 0x18]
addss xmm0, dword [rsi + 0xe80]
movss dword [rsi + 0xe80], xmm0
cmp byte [r14 + 0x7b], r9b
je 0x18005a8fe
comiss xmm0, xmm12
jbe 0x18005a8fe
movss xmm1, dword [0x180158514]
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
xor r9d, r9d
comiss xmm0, dword [0x1801584c4]
jbe 0x18005a8fe
mov cl, r9b
lea esi, [r9 + 1]
jmp 0x18005a906
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 [0x180158534]
addss xmm1, xmm8
movss dword [rbp - 0x7c], xmm2
movss dword [rsp + 0x7c], xmm1
test cl, cl
je 0x18005aa02
movss xmm0, dword [rbp - 0x4c]
comiss xmm0, xmm2
jae 0x18005aa02
movss xmm0, dword [rbp - 0x44]
comiss xmm0, xmm1
jbe 0x18005aa02
movss xmm0, dword [rbp - 0x50]
comiss xmm0, xmm3
jae 0x18005aa02
movss xmm0, dword [rbp - 0x48]
comiss xmm0, xmm6
jbe 0x18005aa02
mov rax, qword [0x1801aa2d0]
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.180033668
mov rcx, qword [rbx + 0x298]
lea rdx, [rsp + 0x78]
mov r9d, eax
movss dword [rsp + 0x20], xmm11
lea r8, [rbp + 0x1b8]
call fcn.18004a1c4
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 0x18005aa6d
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 0x18005aa6d
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 0x18005aa84
call fcn.18003ce74
xor r9d, r9d
test r13b, r13b
je 0x18005ab17
addss xmm14, dword [r14 + 0x3834]
lea rcx, [rbp + 0x1b8]
movss dword [rbp + 0x1b8], xmm6
movss dword [rbp + 0x1bc], xmm14
call fcn.180053a10
mov ebx, dword [r14 + 0x4748]
mov eax, ebx
or eax, 0x401
mov dword [r14 + 0x4748], eax
call fcn.180038640
mov eax, dword [r14 + 0x476c]
mov esi, dword [rbp + 0x88]
and eax, 0x80
or esi, eax
mov dword [r14 + 0x4748], ebx
call fcn.18003fb4c
mov ebx, dword [rbp - 0x74]
xor r9d, r9d
cmp dword [r14 + 0x4764], r9d
jne 0x18005ab17
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 0x18005ab56
test bl, bl
jne 0x18005ab56
mov rax, qword [0x1801aa2d0]
lea rcx, [0x1800efbcc]
mov r8, rdi
mov rdx, r12
mov qword [rax + 0x5c70], rcx
lea rcx, [0x1800efbc8]
mov qword [rax + 0x5c78], rcx
lea rcx, [rbp - 0x60]
call fcn.1800444d4
comiss xmm15, xmm12
jbe 0x18005ab8c
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.180033e18
movzx r9d, byte [rsp + 0x50]
mov r8d, dword [rbp + 0x1d8]
test r9b, r9b
je 0x18005abad
bt r8d, 0x1b
jb 0x18005abad
mov ecx, r15d
call fcn.180035604
movzx ecx, byte [rsp + 0x59]
test r8b, 0x20
mov eax, r9d
cmovne eax, ecx
jmp 0x1800581ab