Function at 0x18005d6cc
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 rsi, qword [0x1801f2490]
mov rdi, 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 [rsi + 0x3ec8]
mov qword [rbp + 0x30], rsi
mov byte [rax + 0xb8], cl
mov r14, qword [rsi + 0x3ec8]
mov qword [rbp - 0x40], r14
cmp byte [r14 + 0xbb], r13b
jne 0x18005d95b
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 + 0x64], r12d
shr eax, 0xf
and al, cl
mov dword [rbp - 0x6c], eax
mov eax, ebx
shr eax, 0x10
not al
and al, cl
mov dword [rbp - 0x34], eax
mov eax, ebx
shr eax, 0x12
and al, cl
mov dword [rsp + 0x74], eax
test r12b, r12b
je 0x18005d7c4
call fcn.180044c70
mov rdx, rdi
mov rcx, r14
call fcn.18003a4f4
movss xmm0, dword [0x18015deb0]
lea rcx, [rbp + 0x1b8]
mov r9d, 1
movss dword [rbp - 0x18], xmm0
xor r8d, r8d
movss dword [rsp + 0x20], xmm0
mov rdx, rdi
mov dword [rsp + 0x68], eax
mov r15d, eax
call fcn.18003d3d4
test r12b, r12b
je 0x18005d818
movss xmm4, dword [rsi + 0x3c28]
mulss xmm4, dword [0x18015dcd0]
jmp 0x18005d820
movss xmm4, dword [rbp + 0x1bc]
call fcn.180044a9c
movss xmm6, dword [rsi + 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.180044b0c
movss xmm15, dword [rbp + 0x1b8]
xorps xmm12, xmm12
comiss xmm15, xmm12
movss dword [rbp - 0x38], xmm15
jbe 0x18005d878
movaps xmm1, xmm15
addss xmm1, dword [rsi + 0x3848]
jmp 0x18005d87b
xorps xmm1, xmm1
movss xmm8, dword [r14 + 0x104]
lea rcx, [rbp + 0x1b8]
movss xmm7, dword [r14 + 0x100]
movaps xmm0, xmm8
movss xmm10, dword [rbp + 0x1e0]
movaps xmm2, xmm8
movss xmm11, dword [rbp + 0x1e4]
addss xmm1, xmm10
addss xmm2, xmm11
movss dword [rbp - 0x58], xmm8
addss xmm0, xmm11
movss dword [rsp + 0x78], xmm7
movaps xmm13, xmm7
movss dword [rsp + 0x7c], xmm8
addss xmm13, xmm10
movss dword [rbp - 0x28], xmm7
addss xmm1, xmm7
movss dword [rbp - 0x24], xmm8
movss dword [rbp - 0x1c], xmm2
subss xmm2, xmm8
movss dword [rbp - 0x7c], xmm0
xorps xmm0, xmm0
mov qword [rbp - 0x68], r14
movss dword [rbp - 0x54], xmm13
movss dword [rbp - 0x20], 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.18004463c
test r12b, r12b
je 0x18005db0d
mov r9d, 0x400
lea r8, [rsp + 0x78]
mov edx, r15d
lea rcx, [rbp - 0x28]
call fcn.1800447a8
test al, al
jne 0x18005d9b0
call fcn.180044d98
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 [rsi + 0x4764]
mov r13d, dword [rsi + 0x476c]
lea rdx, [rsi + 0x3940]
mov ecx, 3
movss dword [r14 + 0x100], xmm7
movups xmmword [rbp + 0x80], xmm0
movss dword [r14 + 0x104], xmm8
call fcn.180038b18
movss xmm1, dword [rsi + 0x3838]
mov ecx, 7
call fcn.180038bcc
movss xmm1, dword [rsi + 0x383c]
mov ecx, 8
call fcn.180038bcc
and dword [rbp + 0x1b8], 0
lea rdx, [rbp + 0x1b8]
and dword [rbp + 0x1bc], 0
mov ecx, 2
call fcn.180038c44
movss xmm13, dword [rbp - 0x80]
lea r8, [rbp + 0x1b8]
movss xmm1, dword [rbp - 0x7c]
movaps xmm0, xmm13
movss xmm8, dword [rsp + 0x7c]
mov r9d, 1
movss xmm7, dword [rsp + 0x78]
subss xmm1, xmm8
subss xmm0, xmm7
movss dword [rbp - 0x54], xmm13
mov edx, r15d
movss dword [rbp - 0x58], xmm8
mov rcx, rdi
mov dword [rsp + 0x20], 4
movss dword [rbp + 0x1bc], xmm1
movss dword [rbp + 0x1b8], xmm0
call fcn.18003d6b0
mov ecx, 3
mov bl, al
call fcn.180038cd0
mov ecx, 1
call fcn.180038b74
test bl, bl
jne 0x18005dab0
call fcn.18003d8e8
jmp 0x18005d956
mov rbx, qword [rsi + 0x3ec8]
mov qword [rbp - 0x68], 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 [rsi + 0x3830]
movss dword [rbx + 0x100], xmm0
movss xmm1, dword [rsi + 0x3834]
addss xmm1, dword [rbx + 0x104]
movss dword [rbx + 0x104], xmm1
jmp 0x18005db5b
bt ebx, 0x1c
jb 0x18005db51
mov r9d, 0x400
lea r8, [rsp + 0x78]
mov edx, r15d
lea rcx, [rbp - 0x28]
call fcn.1800447a8
test al, al
je 0x18005d95b
movss xmm13, dword [rbp - 0x80]
movss xmm8, dword [rsp + 0x7c]
movss xmm7, dword [rsp + 0x78]
movss dword [rbp - 0x54], xmm13
movss dword [rbp - 0x58], xmm8
mov r13d, dword [rsi + 0x476c]
mov rbx, r14
mov edx, r15d
lea rcx, [rsp + 0x78]
call fcn.18003aa90
xor r9d, r9d
mov byte [rsp + 0x60], al
mov cl, al
lea edx, [r9 + 1]
test al, al
je 0x18005db7f
mov dword [rsi + 0x4a50], edx
mov rdi, qword [0x1801f2490]
test r15d, r15d
je 0x18005db9d
cmp dword [rdi + 0x4be8], r15d
jne 0x18005db9d
add rdi, 0x4be0
jmp 0x18005dba0
mov rdi, r9
mov eax, dword [rsi + 0x3f28]
shr r13d, 8
and r13b, dl
mov qword [rbp - 0x28], rdi
cmp eax, r15d
je 0x18005dbd8
cmp dword [rsi + 0x48bc], r15d
jne 0x18005dbd8
test byte [rsi + 0x48c8], dl
jne 0x18005dbd0
cmp dword [rsi + 0x48e0], 2
jne 0x18005dbd8
mov byte [rbp + 0x1e0], dl
jmp 0x18005dbdf
mov byte [rbp + 0x1e0], r9b
test cl, cl
je 0x18005dbef
mov r15b, dl
cmp byte [rsi + 0x3748], r9b
jne 0x18005dbf2
mov r15b, r9b
mov byte [rbp + 0x1b8], r15b
test r12b, r12b
je 0x18005dc28
test rdi, rdi
je 0x18005dc28
test eax, eax
jne 0x18005dc28
lea rdx, str.SCROLLY
mov rcx, rbx
call fcn.18003a4f4
cmp dword [rsi + 0x3f58], eax
jne 0x18005dc25
mov ebx, 1
jmp 0x18005dc35
xor r9d, r9d
mov bl, r9b
test r12b, r12b
je 0x18005dc66
test rdi, rdi
je 0x18005dc66
mov rcx, qword [rbp - 0x68]
lea rdx, str.SCROLLY
call fcn.18003a4f4
xor r9d, r9d
cmp dword [rsi + 0x3f28], eax
jne 0x18005dc66
lea eax, [r9 + 1]
mov byte [rsp + 0x58], r9b
mov cl, al
mov byte [rsp + 0x51], al
mov byte [rsp + 0x54], r9b
jmp 0x18005dc7c
mov byte [rsp + 0x58], r9b
mov cl, r9b
mov byte [rsp + 0x51], cl
mov byte [rsp + 0x54], r9b
test r12b, r12b
je 0x18005dc8a
mov rax, qword [rbp - 0x68]
movss xmm6, dword [rax + 0x88]
jmp 0x18005dc96
movss xmm6, dword [0x18015de60]
mov byte [rsp + 0x51], cl
mov r8d, 1
test rdi, rdi
je 0x18005dcaf
mov al, r12b
mov r12b, r8b
xor al, r8b
cmp byte [rdi + 0x6b], al
jne 0x18005dcb2
mov r12b, r9b
test r15b, r15b
jne 0x18005dcdb
test bl, bl
jne 0x18005dcdb
cmp byte [rbp + 0x1e0], r9b
jne 0x18005dcdb
test r13b, r13b
jne 0x18005dcdb
mov byte [rbp + 0x1e8], r9b
test cl, cl
jne 0x18005dce2
mov byte [rsp + 0x59], r9b
jmp 0x18005dcf3
mov byte [rbp + 0x1e8], r8b
mov eax, dword [rsp + 0x68]
mov byte [rsp + 0x59], r8b
cmp dword [rsi + 0x3f28], eax
jne 0x18005dcfc
test r12b, r12b
je 0x18005df48
lea rdi, [rsi + 0x4be0]
mov ecx, dword [rdi + 8]
mov qword [rbp - 0x28], rdi
mov dword [rdi + 0xe80], 0xbe99999a
call fcn.18005d620
mov rax, qword [rbp + 0x1c0]
or rbx, 0xffffffffffffffff
xor edx, edx
inc rbx
cmp byte [rax + rbx], dl
jne 0x18005dd26
mov ecx, dword [rdi + 0x3c]
lea r14d, [rbx + 1]
cmp r14d, ecx
jle 0x18005dd60
test ecx, ecx
je 0x18005dd49
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005dd4e
mov eax, 8
cmp eax, r14d
lea rcx, [rdi + 0x38]
mov edx, r14d
cmovg edx, eax
call fcn.18004b648
mov dword [rdi + 0x38], r14d
mov rcx, qword [rdi + 0x40]
movsxd r8, r14d
mov r14, qword [rbp + 0x1c0]
mov rdx, r14
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x68]
xor r8d, r8d
cmp dword [rdi + 8], eax
jne 0x18005ddb1
test r12b, r12b
jne 0x18005ddb1
lea r15d, [r8 + 1]
cmp dword [rdi + 0x10], ebx
jne 0x18005ddb1
cmp byte [rdi + 0x48], r8b
je 0x18005ddb4
mov rcx, qword [rdi + 0x30]
mov rdx, r14
movsxd r8, ebx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
xor r8d, r8d
test eax, eax
je 0x18005ddb4
mov r15b, r8b
mov ebx, dword [rbp + 0x1c8]
mov r12d, dword [rsp + 0x68]
inc ebx
mov dword [rdi + 8], r12d
mov ecx, dword [rdi + 0x1c]
mov qword [rbp - 0x30], r8
cmp ebx, ecx
jle 0x18005ddf7
test ecx, ecx
je 0x18005dddf
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005dde4
mov eax, 8
cmp eax, ebx
lea rcx, [rdi + 0x18]
mov edx, ebx
cmovg edx, eax
call fcn.18004b6cc
xor r8d, r8d
mov dword [rdi + 0x18], ebx
mov ecx, dword [rdi + 0x2c]
test ecx, ecx
jns 0x18005de1e
mov eax, ecx
cdq
sub eax, edx
mov edx, r8d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x28]
test eax, eax
cmovg edx, eax
call fcn.18004b648
xor r8d, r8d
mov rbx, qword [rbp + 0x1c0]
lea rax, [rbp - 0x30]
mov edx, dword [rbp + 0x1c8]
xor r9d, r9d
mov dword [rdi + 0x28], r8d
mov rcx, qword [rdi + 0x20]
mov byte [rdi + 0x48], r8b
mov r8, rbx
mov qword [rsp + 0x20], rax
call fcn.180038288
mov ecx, dword [rbp - 0x30]
xor r9d, r9d
sub ecx, ebx
mov dword [rdi + 0xc], eax
mov dword [rdi + 0x10], ecx
mov edx, eax
lea r8d, [r9 + 1]
test r15b, r15b
je 0x18005de8a
cmp dword [rdi + 0x54], eax
mov ecx, eax
cmovl ecx, dword [rdi + 0x54]
cmp dword [rdi + 0x58], eax
mov dword [rdi + 0x54], ecx
cmovl eax, dword [rdi + 0x58]
cmp dword [rdi + 0x5c], edx
mov ecx, dword [rsp + 0x64]
cmovl edx, dword [rdi + 0x5c]
mov dword [rdi + 0x5c], edx
mov dword [rdi + 0x58], eax
jmp 0x18005decf
mov ecx, dword [rsp + 0x64]
mov al, cl
xor al, r8b
mov qword [rdi + 0x50], r9
mov byte [rdi + 0x6b], al
mov dword [rdi + 0xe72], 0x630000
mov dword [rdi + 0xe78], r9d
mov dword [rdi + 0xe7c], 0x3e7
mov qword [rdi + 0x58], r9
mov word [rdi + 0x69], 1
mov dword [rdi + 0x70], r9d
mov byte [rdi + 0x68], r9b
mov byte [rdi + 0x60], r9b
mov dword [rdi + 0x64], r9d
test cl, cl
jne 0x18005df2b
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 0x18005df0f
test r15b, r15b
je 0x18005df0a
test byte [rsi + 0x48c8], 4
jne 0x18005df0f
mov byte [rsp + 0x54], r8b
test r13b, r13b
jne 0x18005df26
cmp byte [rbp + 0x1b8], r9b
je 0x18005df2b
cmp byte [rsi + 0xe24], r9b
je 0x18005df2b
mov byte [rsp + 0x54], r8b
test dword [rbp + 0x1d8], 0x2000
mov r14, qword [rbp - 0x40]
mov r15b, byte [rbp + 0x1b8]
je 0x18005df4d
mov byte [rdi + 0x60], r8b
jmp 0x18005df4d
mov r12d, dword [rsp + 0x68]
mov r13b, byte [rsi + 0x79]
mov bl, byte [rbp + 0x1e8]
mov byte [rsp + 0x6d], r13b
cmp dword [rsi + 0x3f28], r12d
je 0x18005df87
test bl, bl
je 0x18005df87
mov rdx, r14
mov ecx, r12d
call fcn.18003a74c
mov rdx, r14
mov ecx, r12d
call fcn.180046370
mov rcx, r14
call fcn.180041d08
mov r14d, dword [rsp + 0x68]
cmp dword [rsi + 0x3f28], r14d
jne 0x18005e085
test r15b, r15b
je 0x18005dfc0
mov rax, qword [0x1801f2490]
xor r15d, r15d
mov dword [rax + 0x4580], r14d
mov dword [rax + 0x457c], r14d
mov word [rax + 0x4584], r15w
jmp 0x18005dfc3
xor r15d, r15d
mov eax, dword [rsi + 0x4738]
mov ecx, dword [rsp + 0x64]
or eax, 3
mov edx, dword [rbp + 0x1d8]
mov dword [rsi + 0x4738], eax
test cl, cl
jne 0x18005dfe4
test dl, dl
jns 0x18005dfed
or eax, 0xc
mov dword [rsi + 0x4738], eax
mov rax, qword [0x1801f2490]
and word [rax + 0x3fcc], 0
mov dword [rax + 0x3fc8], r14d
mov dword [rax + 0x3fc4], r14d
and word [rax + 0x3fd8], 0
mov dword [rax + 0x3fd4], r14d
mov dword [rax + 0x3fd0], r14d
test cl, cl
je 0x18005e050
and word [rax + 0x3fb4], 0
mov dword [rax + 0x3fb0], r14d
mov dword [rax + 0x3fac], r14d
and word [rax + 0x3fc0], 0
mov dword [rax + 0x3fbc], r14d
mov dword [rax + 0x3fb8], r14d
test r13b, r13b
je 0x18005e06b
and word [rax + 0x45f0], 0
mov dword [rax + 0x45ec], r14d
mov dword [rax + 0x45e8], r14d
test edx, 0x440
je 0x18005e088
xor r8d, r8d
mov edx, r14d
mov ecx, 0x200
call fcn.180042af8
jmp 0x18005e088
xor r15d, r15d
cmp dword [rsi + 0x3f28], r14d
jne 0x18005e0c7
test rdi, rdi
jne 0x18005e09f
xor edx, edx
xor ecx, ecx
call fcn.18003a74c
cmp dword [rsi + 0x3f28], r14d
jne 0x18005e0c7
mov edx, 1
cmp byte [rsi + 0x3748], r15b
je 0x18005e0d8
cmp byte [rsp + 0x59], r15b
jne 0x18005e0d8
test bl, bl
jne 0x18005e0d8
mov byte [rsp + 0x58], dl
jmp 0x18005e0d8
test rdi, rdi
je 0x18005e0dc
cmp byte [rsp + 0x51], r15b
je 0x18005e0dc
mov edx, 1
mov cl, dl
jmp 0x18005e0df
mov cl, r15b
mov r12d, dword [rsp + 0x54]
mov byte [rbp + 0x1b8], cl
test rdi, rdi
je 0x18005e108
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18005e0fc
test r12b, r12b
je 0x18005e108
test cl, cl
je 0x18005e108
mov r8d, 1
jmp 0x18005e10b
mov r8b, r15b
xor eax, eax
mov dword [rsp + 0x54], r8d
xor r9d, r9d
mov byte [rsp + 0x50], al
mov eax, dword [rsp + 0x5c]
movzx r15d, r8b
mov byte [rsp + 0x59], r9b
test al, al
je 0x18005e1f8
test rdi, rdi
je 0x18005e1f8
test cl, cl
jne 0x18005e144
test r8b, r8b
je 0x18005e201
mov ebx, dword [rbp + 0x1c8]
mov ecx, dword [rdi + 0x1c]
inc ebx
mov qword [rbp + 0x1e8], r9
cmp ebx, ecx
jle 0x18005e17e
test ecx, ecx
je 0x18005e169
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005e16e
mov eax, 8
cmp eax, ebx
lea rcx, [rdi + 0x18]
mov edx, ebx
cmovg edx, eax
call fcn.18004b6cc
mov r14, qword [rbp + 0x1c0]
lea rax, [rbp + 0x1e8]
mov dword [rdi + 0x18], ebx
mov r8, r14
mov rcx, qword [rdi + 0x20]
xor r9d, r9d
mov edx, ebx
mov qword [rsp + 0x20], rax
call fcn.180038288
mov ecx, dword [rbp + 0x1e8]
mov edx, eax
sub ecx, r14d
mov dword [rdi + 0xc], eax
cmp dword [rdi + 0x54], eax
mov r14d, dword [rsp + 0x68]
mov dword [rdi + 0x10], ecx
mov ecx, eax
cmovl ecx, dword [rdi + 0x54]
cmp dword [rdi + 0x58], eax
mov dword [rdi + 0x54], ecx
mov ecx, eax
cmovl ecx, dword [rdi + 0x58]
cmp dword [rdi + 0x5c], eax
mov eax, dword [rsp + 0x5c]
cmovl edx, dword [rdi + 0x5c]
xor r9d, r9d
cmp ecx, edx
mov dword [rdi + 0x58], ecx
mov cl, byte [rbp + 0x1b8]
mov r8d, r9d
cmovne r8d, r15d
mov dword [rdi + 0x5c], edx
mov dword [rsp + 0x54], r8d
test cl, cl
jne 0x18005e20a
test r8b, r8b
jne 0x18005e20a
cmp dword [rsi + 0x3f28], r14d
jne 0x18005e226
test al, al
jne 0x18005e226
test rdi, rdi
je 0x18005e226
cmp byte [rdi + 0x48], r9b
je 0x18005e226
mov r15d, 1
mov byte [rsp + 0x70], r15b
jmp 0x18005e231
mov byte [rsp + 0x70], r9b
mov r15d, 1
mov ebx, dword [rbp - 0x6c]
test bl, bl
je 0x18005e2a9
mov rcx, qword [rsi + 0x3c20]
mov edx, 0x2a
call fcn.180052744
mov ecx, dword [rcx + 0x14]
lea r9, [rsi + 0x5a88]
mov dword [r9 + 0x14], ecx
mov rcx, r9
mov rdx, qword [rsi + 0x3c20]
mov r8d, dword [rdx + 0x64]
mov dword [r9 + 0x64], r8d
mov rdx, qword [rsi + 0x3c20]
mov r8d, dword [rdx + 0x68]
mov dword [r9 + 0x68], r8d
mov rdx, qword [rsi + 0x3c20]
mov r8d, dword [rdx + 0x6c]
mov dword [r9 + 0x6c], r8d
mov rdx, qword [rsi + 0x3c20]
mov r8, qword [rdx + 0x40]
mov qword [r9 + 0x40], r8
mov qword [r9 + 0x38], rax
mov eax, dword [rax + 4]
mov dword [r9 + 0x10], eax
call fcn.180042038
xor r9d, r9d
movss xmm9, dword [0x18015d7ac]
mov dword [rbp - 0x40], r9d
mov dword [rbp - 0x30], 0xa
cmp dword [rsi + 0x3f28], r14d
jne 0x18005e6d9
mov eax, dword [rdi + 0x10]
mov ebx, dword [rbp + 0x1d8]
mov byte [rdi + 0xe86], r9b
mov dword [rdi + 0xe88], ebx
mov dword [rbp - 0x40], eax
mov eax, dword [rbp + 0x1c8]
mov dword [rdi + 0x4c], eax
cmp byte [rsi + 0xe10], r9b
mov dword [rsi + 0x5e14], r15d
mov r15d, dword [rsp + 0x64]
sete al
mov byte [rsi + 0x3f35], al
movss xmm2, dword [rsi + 0xe08]
subss xmm2, xmm7
subss xmm2, dword [rsi + 0x3830]
addss xmm2, dword [rdi + 0x50]
test r15b, r15b
je 0x18005e33c
mov rax, qword [rbp - 0x68]
movss xmm3, dword [rsi + 0xe0c]
subss xmm3, dword [rax + 0x104]
jmp 0x18005e349
movss xmm3, dword [rsi + 0x3c28]
mulss xmm3, xmm9
test r12b, r12b
je 0x18005e371
mov eax, dword [rdi + 0xc]
mov r12d, 1
mov byte [rdi + 0xe85], r12b
mov dword [rdi + 0x58], r9d
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], r9b
jmp 0x18005e514
mov al, byte [rsp + 0x60]
test al, al
je 0x18005e4c7
mov ecx, 2
cmp word [rsi + 0x3752], cx
jb 0x18005e4c7
cmp byte [rsi + 0xe25], r9b
jne 0x18005e4c7
lea r14, [rdi + 0x54]
mov rcx, rdi
mov rdx, r14
call fcn.18005bcb4
mov r12d, 1
test byte [rsi + 0x3752], r12b
jne 0x18005e456
xor edx, edx
cmp dword [r14], edx
je 0x18005e3db
movsxd rcx, dword [r14]
lea r8d, [r12 + 9]
mov rax, qword [rdi + 0x20]
cmp word [rax + rcx*2 - 2], r8w
mov cl, dl
jne 0x18005e3de
mov cl, r12b
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18005e3ea
test cl, cl
jne 0x18005e3f7
mov edx, 0x20000c
mov rcx, rdi
call fcn.18005d27c
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18005e412
cmp dword [rdi + 0x58], eax
jne 0x18005e40f
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x58], eax
jmp 0x18005e412
mov dword [rdi + 0x54], eax
mov edx, dword [rdi + 0x54]
mov rcx, rdi
call fcn.18005b850
mov dword [rdi + 0x54], eax
mov dword [rdi + 0x5c], eax
mov ecx, dword [rdi + 0x58]
mov edx, dword [rdi + 0x5c]
mov eax, dword [rdi + 0xc]
cmp ecx, edx
je 0x18005e449
cmp ecx, eax
jle 0x18005e439
mov dword [rdi + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x18005e442
mov dword [rdi + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x18005e449
mov dword [rdi + 0x54], ecx
xor r9d, r9d
cmp dword [rdi + 0x54], eax
jle 0x18005e4b6
mov dword [rdi + 0x54], eax
jmp 0x18005e4b6
movsxd rcx, dword [r14]
mov edx, 0x200004
mov rax, qword [rdi + 0x20]
movzx ebx, word [rax + rcx*2]
mov rcx, rdi
call fcn.18005d27c
mov edx, 0x600005
mov rcx, rdi
call fcn.18005d27c
mov edx, 0x600001
mov rcx, rdi
call fcn.18005d27c
mov eax, 0xa
xor r9d, r9d
cmp bx, ax
je 0x18005e4a9
test r15b, r15b
je 0x18005e4a9
mov ecx, dword [rdi + 0x58]
mov eax, dword [rdi + 0x5c]
mov dword [rdi + 0x58], eax
mov dword [rdi + 0x5c], ecx
mov dword [r14], ecx
mov ebx, dword [rbp + 0x1d8]
mov byte [rdi + 0xe84], r9b
mov r14d, dword [rsp + 0x68]
mov dword [rdi + 0xe80], 0xbe99999a
jmp 0x18005e514
cmp byte [rsi + 0x3748], r9b
je 0x18005e599
cmp byte [rdi + 0xe85], r9b
jne 0x18005e599
test al, al
je 0x18005e50e
lea rdx, [rdi + 0x54]
mov rcx, rdi
cmp byte [rsi + 0xe25], r9b
je 0x18005e4fc
call fcn.18005bd14
jmp 0x18005e501
call fcn.18005bcb4
mov dword [rdi + 0xe80], 0xbe99999a
xor r9d, r9d
mov r12d, 1
cmp byte [rdi + 0xe85], r9b
je 0x18005e52d
cmp byte [rsi + 0xe10], r9b
jne 0x18005e52d
mov byte [rdi + 0xe85], r9b
bt ebx, 0xa
jae 0x18005e5f6
xor r8d, r8d
mov edx, r14d
mov ecx, 0x200
call fcn.180044534
mov ecx, dword [rsp + 0x5c]
xor r9d, r9d
lea r15d, [r9 + 2]
test al, al
je 0x18005e600
test cl, cl
jne 0x18005e600
mov edx, ebx
mov dword [rbp + 0x1e8], 9
lea rcx, [rbp + 0x1e8]
mov dword [rsp + 0x20], r15d
call fcn.18005d2a8
xor r9d, r9d
test al, al
je 0x18005e5fc
mov edx, dword [rbp + 0x1e8]
mov rcx, rdi
call fcn.18005d27c
xor r9d, r9d
jmp 0x18005e5fc
cmp byte [rsi + 0xe10], r9b
je 0x18005e50e
cmp byte [rdi + 0xe85], r9b
jne 0x18005e50e
ucomiss xmm12, dword [rsi + 0xf8]
jne 0x18005e5cb
ucomiss xmm12, dword [rsi + 0xfc]
je 0x18005e50e
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.18005bd14
mov r12d, 1
mov dword [rdi + 0xe80], 0xbe99999a
mov byte [rdi + 0xe84], r12b
xor r9d, r9d
jmp 0x18005e514
mov r15d, 2
mov ecx, dword [rsp + 0x5c]
cmp byte [rsi + 0xe24], r9b
je 0x18005e612
cmp byte [rsi + 0xe26], r9b
je 0x18005e620
test r13b, r13b
je 0x18005e625
cmp byte [rsi + 0xe27], r9b
je 0x18005e625
mov al, r12b
jmp 0x18005e628
mov al, r9b
cmp dword [rsi + 0x37c0], r9d
jle 0x18005e6d6
test al, al
jne 0x18005e6a9
test cl, cl
jne 0x18005e6a9
cmp byte [rbp + 0x1e0], r9b
jne 0x18005e6a9
mov r13d, dword [rbp + 0x1d8]
mov r14d, r9d
mov rbx, r9
mov rax, qword [rsi + 0x37c8]
movzx ecx, word [rax + rbx]
mov dword [rbp + 0x1e0], ecx
cmp ecx, 9
je 0x18005e692
mov edx, r13d
mov dword [rsp + 0x20], r15d
lea rcx, [rbp + 0x1e0]
call fcn.18005d2a8
xor r9d, r9d
test al, al
je 0x18005e695
mov edx, dword [rbp + 0x1e0]
mov rcx, rdi
call fcn.18005d27c
xor r9d, r9d
add r14d, r12d
add rbx, r15
cmp r14d, dword [rsi + 0x37c0]
jl 0x18005e653
mov r13b, byte [rsp + 0x6d]
lea rbx, [rsi + 0x37c0]
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x18005e6d3
mov eax, ecx
cdq
sub eax, edx
mov edx, r9d
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.18004b6cc
xor r9d, r9d
mov dword [rbx], r9d
mov ebx, dword [rbp - 0x6c]
mov r12d, dword [rsp + 0x68]
mov r15b, r9b
mov byte [rbp + 0x1e0], r9b
cmp dword [rsi + 0x3f28], r12d
jne 0x18005f20a
cmp byte [rsi + 0x3f34], r9b
jne 0x18005f20a
cmp byte [rsp + 0x58], r9b
jne 0x18005f20a
movaps xmm0, xmm11
mov r15d, 1
subss xmm0, dword [rsi + 0x3834]
mov ecx, r15d
divss xmm0, dword [rsi + 0x3c28]
cvttss2si eax, xmm0
cmp eax, r15d
cmovge ecx, eax
mov dword [rdi + 0x64], ecx
mov al, byte [rsi + 0xe25]
neg al
mov dword [rbp - 0x78], ecx
sbb r14d, r14d
and r14d, 0x400000
test r13b, r13b
je 0x18005e78d
mov al, byte [rsi + 0xe26]
mov byte [rbp + 0x1e8], al
cmp byte [rsi + 0xe27], r9b
je 0x18005e799
mov byte [rbp + 0x1e8], al
cmp byte [rsi + 0xe24], r9b
jne 0x18005e799
mov byte [rbp + 0x1e8], al
cmp al, r9b
jne 0x18005e799
mov byte [rsp + 0x51], r15b
mov byte [rbp + 0x1e8], al
jmp 0x18005e79e
mov al, byte [rsi + 0xe24]
mov byte [rbp + 0x1e8], al
mov byte [rsp + 0x51], r9b
mov r8d, r15d
mov edx, r12d
mov ecx, 0xa39
call fcn.180044534
xor ecx, ecx
test al, al
jne 0x18005e7ca
mov r8d, r15d
mov edx, r12d
mov ecx, 0x220a
call fcn.180044534
xor ecx, ecx
test al, al
je 0x18005e7ef
mov r15d, dword [rsp + 0x5c]
test r15b, r15b
jne 0x18005e7f4
test bl, bl
mov ebx, dword [rsp + 0x64]
jne 0x18005e7f8
test bl, bl
je 0x18005e7e8
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x18005e7f8
mov byte [rsp + 0x6c], 1
jmp 0x18005e7fc
mov r15d, dword [rsp + 0x5c]
mov ebx, dword [rsp + 0x64]
mov byte [rsp + 0x6c], cl
xor r8d, r8d
mov edx, r12d
mov ecx, 0xa24
call fcn.180044534
test al, al
jne 0x18005e824
xor r8d, r8d
mov edx, r12d
mov ecx, 0x1209
call fcn.180044534
test al, al
je 0x18005e844
xor eax, eax
cmp byte [rbp - 0x6c], al
jne 0x18005e844
test bl, bl
je 0x18005e837
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x18005e844
mov eax, 1
xor ebx, ebx
mov byte [rsp + 0x6f], al
jmp 0x18005e84d
xor ebx, ebx
mov byte [rsp + 0x6f], bl
lea eax, [rbx + 1]
mov r8d, eax
mov edx, r12d
mov ecx, 0xa37
call fcn.180044534
test al, al
jne 0x18005e878
mov r8d, 1
mov edx, r12d
mov ecx, 0x2209
call fcn.180044534
test al, al
je 0x18005e888
test r15b, r15b
jne 0x18005e888
mov eax, 1
mov byte [rsp + 0x60], al
jmp 0x18005e891
mov byte [rsp + 0x60], bl
mov eax, 1
mov r8d, eax
mov edx, r12d
mov ecx, 0xa3b
call fcn.180044534
mov ebx, dword [rbp - 0x34]
test al, al
je 0x18005e8bc
test r15b, r15b
jne 0x18005e8bc
test bl, bl
je 0x18005e8bc
mov eax, 1
mov byte [rsp + 0x6e], al
jmp 0x18005e8c6
mov byte [rsp + 0x6e], 0
mov eax, 1
mov r8d, eax
mov edx, r12d
mov ecx, 0xa3a
call fcn.180044534
test al, al
jne 0x18005e991
test r13b, r13b
je 0x18005e901
mov r13d, 1
mov edx, r12d
mov r8d, r13d
mov ecx, 0x2a3b
call fcn.180044534
test al, al
jne 0x18005e997
xor r15d, r15d
mov r13b, r15b
xor r8d, r8d
mov edx, r12d
mov ecx, 0xa22
call fcn.180044534
mov byte [rbp - 0x70], al
mov eax, 2
lea r12d, [rax - 1]
test byte [rsi + 8], al
je 0x18005e931
mov bl, r12b
test byte [rsi + 0xc], r12b
jne 0x18005e934
mov bl, r15b
mov r8d, r12d
xor edx, edx
mov ecx, 0x20d
call fcn.180042c38
test al, al
jne 0x18005e95d
mov r8d, r12d
xor edx, edx
mov ecx, 0x267
call fcn.180042c38
test al, al
jne 0x18005e95d
mov r12b, r15b
test bl, bl
je 0x18005e9b0
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.180042c38
test al, al
jne 0x18005e987
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.180042c38
test al, al
je 0x18005e9b0
mov eax, 1
mov r15b, al
jmp 0x18005e9b5
mov r13d, 1
test r15b, r15b
jne 0x18005e901
xor r15d, r15d
test bl, bl
je 0x18005e904
jmp 0x18005e907
mov eax, 1
mov edx, dword [rsp + 0x68]
mov r8d, eax
mov ecx, 0x20e
call fcn.180044534
xor ecx, ecx
test al, al
jne 0x18005e9f1
test bl, bl
je 0x18005e9e8
mov edx, dword [rsp + 0x68]
lea r8d, [rcx + 1]
mov ecx, 0x26c
call fcn.180044534
xor ecx, ecx
test al, al
jne 0x18005e9f1
mov bl, cl
mov eax, 1
jmp 0x18005e9f8
mov eax, 1
mov bl, al
mov r8d, eax
xor edx, edx
mov ecx, 0x201
call fcn.180042c38
xor ecx, ecx
test al, al
je 0x18005ea43
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, r14d
mov rcx, rdi
call fcn.18005d27c
xor r9d, r9d
mov r10d, 1
jmp 0x18005f1dc
xor edx, edx
mov ecx, 0x202
lea r8d, [rdx + 1]
call fcn.180042c38
xor ecx, ecx
test al, al
je 0x18005ea71
neg byte [rbp + 0x1e8]
mov eax, 0x200005
sbb edx, edx
and edx, 0xc
add edx, 0x200001
jmp 0x18005ea23
xor edx, edx
mov ecx, 0x203
lea r8d, [rdx + 1]
call fcn.180042c38
xor r9d, r9d
test al, al
je 0x18005eadf
cmp byte [rsp + 0x64], r9b
je 0x18005eadf
cmp byte [rsi + 0xe24], r9b
je 0x18005eace
mov r8, qword [rbp - 0x68]
movss xmm0, dword [r8 + 0x88]
subss xmm0, dword [rsi + 0x3c28]
mov dword [r8 + 0xa0], r9d
mov dword [r8 + 0xa8], r9d
maxss xmm0, xmm12
movss dword [r8 + 0x98], xmm0
jmp 0x18005ea38
movzx eax, byte [rsp + 0x51]
lea edx, [rax*4 + 0x200002]
jmp 0x18005ea2a
xor edx, edx
mov ecx, 0x204
lea r8d, [rdx + 1]
call fcn.180042c38
xor r9d, r9d
test al, al
je 0x18005eb5c
cmp byte [rsp + 0x64], r9b
je 0x18005eb5c
cmp byte [rsi + 0xe24], r9b
je 0x18005eb4b
mov rdx, qword [rbp - 0x68]
movss xmm0, dword [rsi + 0x3c28]
mov rax, qword [0x1801f2490]
addss xmm0, dword [rdx + 0x88]
mov rcx, qword [rax + 0x3ec8]
minss xmm0, dword [rcx + 0x90]
mov dword [rdx + 0xa0], r9d
mov dword [rdx + 0xa8], r9d
movss dword [rdx + 0x98], xmm0
jmp 0x18005ea38
movzx eax, byte [rsp + 0x51]
lea edx, [rax*4 + 0x200003]
jmp 0x18005ea2a
xor edx, edx
mov ecx, 0x205
lea r8d, [rdx + 1]
call fcn.180042c38
xor ecx, ecx
test al, al
je 0x18005eba3
cmp byte [rsp + 0x64], cl
je 0x18005eba3
or r14d, 0x20000e
mov rcx, rdi
mov edx, r14d
call fcn.18005d27c
movd xmm0, dword [rbp - 0x78]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [rsi + 0x3c28]
subss xmm6, xmm0
jmp 0x18005ea35
xor edx, edx
mov ecx, 0x206
lea r8d, [rdx + 1]
call fcn.180042c38
xor ecx, ecx
test al, al
je 0x18005ebea
cmp byte [rsp + 0x64], cl
je 0x18005ebea
or r14d, 0x20000f
mov rcx, rdi
mov edx, r14d
call fcn.18005d27c
movd xmm0, dword [rbp - 0x78]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [rsi + 0x3c28]
addss xmm6, xmm0
jmp 0x18005ea35
xor edx, edx
mov ecx, 0x207
lea r8d, [rdx + 1]
call fcn.180042c38
test al, al
je 0x18005ec17
mov al, byte [rsi + 0xe24]
neg al
mov eax, 0x200004
sbb edx, edx
and edx, 2
add edx, eax
jmp 0x18005ea2a
xor edx, edx
mov ecx, 0x208
lea r8d, [rdx + 1]
call fcn.180042c38
test al, al
je 0x18005ec3a
mov al, byte [rsi + 0xe24]
neg al
mov eax, 0x200005
jmp 0x18005ec0b
xor edx, edx
mov ecx, 0x20a
lea r8d, [rdx + 1]
call fcn.180042c38
xor ecx, ecx
test al, al
je 0x18005ec88
cmp byte [rsp + 0x5c], cl
jne 0x18005ec88
cmp byte [rsp + 0x6c], cl
jne 0x18005ec88
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18005ec79
cmp byte [rbp + 0x1e8], cl
je 0x18005ec79
mov edx, 0x60000d
mov rcx, rdi
call fcn.18005d27c
or r14d, 0x200008
mov edx, r14d
jmp 0x18005ea2d
xor edx, edx
mov ecx, 0x20b
lea r8d, [rdx + 1]
call fcn.180042c38
mov r8d, dword [rsp + 0x5c]
xor r9d, r9d
test al, al
je 0x18005ecf9
test r8b, r8b
jne 0x18005ecf9
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18005ecf0
cmp byte [rbp + 0x1e8], r9b
je 0x18005ecc1
mov edx, 0x60000c
jmp 0x18005ece8
cmp byte [rsp + 0x6d], r9b
je 0x18005ecf0
cmp byte [rsi + 0xe27], r9b
je 0x18005ecf0
cmp byte [rsi + 0xe26], r9b
jne 0x18005ecf0
cmp byte [rsi + 0xe24], r9b
jne 0x18005ecf0
mov edx, 0x600004
mov rcx, rdi
call fcn.18005d27c
or r14d, 0x200009
jmp 0x18005ec80
test r12b, r12b
jne 0x18005f144
test r15b, r15b
jne 0x18005f144
test bl, bl
je 0x18005ed6f
test dword [rbp + 0x1d8], 0x100000
je 0x18005ed49
mov eax, dword [rdi + 0x10]
test eax, eax
jg 0x18005ed33
mov byte [rsp + 0x54], r9b
mov byte [rbp + 0x1b8], r9b
mov byte [rsp + 0x58], 1
setg r15b
mov r10d, 1
mov byte [rbp + 0x1e0], r15b
jmp 0x18005f1e3
mov r10d, 1
mov dl, r9b
mov r15b, r10b
mov byte [rbp + 0x1e0], r10b
mov byte [rsp + 0x58], r10b
mov cl, r9b
mov byte [rbp + 0x1b8], dl
jmp 0x18005f1ed
movzx eax, byte [rsp + 0x6e]
test al, al
jne 0x18005f123
test r13b, r13b
jne 0x18005f123
cmp byte [rbp - 0x70], r9b
je 0x18005edae
mov eax, dword [rdi + 0xc]
mov r10d, 1
mov byte [rdi + 0xe84], r10b
mov dword [rdi + 0x58], r9d
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], r9b
jmp 0x18005f1dc
mov r13b, byte [rsp + 0x6c]
test r13b, r13b
jne 0x18005efcf
cmp byte [rsp + 0x6f], r9b
jne 0x18005efcf
cmp byte [rsp + 0x60], r9b
je 0x18005ea38
mov rax, qword [0x1801f2490]
mov rdx, qword [rax + 0xb0]
test rdx, rdx
je 0x18005ee06
mov rcx, qword [rax + 0xc0]
call rdx
xor r9d, r9d
mov rbx, rax
test rax, rax
je 0x18005ea38
mov rax, qword [0x1801f2490]
jmp 0x18005ee0d
lea rbx, [0x1800f4aa0]
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rbx + rcx], r9b
jne 0x18005ee11
test rax, rax
je 0x18005ee2a
mov edx, 1
add dword [rax + 0xf4], edx
lea eax, [rcx + 1]
movsxd rcx, eax
add rcx, rcx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
xor r13d, r13d
mov qword [rbp - 0x78], rax
mov r12, rax
mov r15d, r13d
cmp byte [rbx], r13b
je 0x18005eeb0
mov esi, dword [rbp + 0x1d8]
lea edi, [r13 + 1]
mov r14, rax
lea r12d, [r13 + 2]
xor r8d, r8d
lea rcx, [rbp + 0x1e8]
mov rdx, rbx
call fcn.1800380e8
movsxd rcx, eax
mov edx, esi
add rbx, rcx
mov dword [rsp + 0x20], 4
lea rcx, [rbp + 0x1e8]
call fcn.18005d2a8
test al, al
je 0x18005ee9f
movzx eax, word [rbp + 0x1e8]
add r15d, edi
mov word [r14], ax
add r14, r12
cmp byte [rbx], r13b
jne 0x18005ee5c
mov rdi, qword [rbp - 0x28]
mov rsi, qword [rbp + 0x30]
mov r12, qword [rbp - 0x78]
movsxd rax, r15d
mov word [r12 + rax*2], r13w
test r15d, r15d
jle 0x18005efaa
mov ecx, dword [rdi + 0xc]
lea rbx, [rdi + 0x54]
mov eax, dword [rbx + 4]
mov r8d, dword [rbx + 8]
cmp eax, r8d
je 0x18005eef9
mov edx, eax
cmp eax, ecx
jle 0x18005eedf
mov dword [rbx + 4], ecx
mov edx, ecx
mov r9d, r8d
cmp r8d, ecx
jle 0x18005eeed
mov dword [rbx + 8], ecx
mov r9d, ecx
mov eax, edx
mov r8d, r9d
cmp edx, r9d
jne 0x18005eef9
mov dword [rbx], edx
mov r9d, dword [rbx]
cmp r9d, ecx
jle 0x18005ef06
mov dword [rbx], ecx
mov r9d, ecx
mov ecx, dword [rdi + 0xc]
cmp eax, r8d
je 0x18005ef36
mov edx, eax
cmp eax, ecx
jle 0x18005ef19
mov dword [rbx + 4], ecx
mov edx, ecx
mov r10d, r8d
cmp r8d, ecx
jle 0x18005ef27
mov dword [rbx + 8], ecx
mov r10d, ecx
mov eax, edx
mov r8d, r10d
cmp edx, r10d
jne 0x18005ef36
mov dword [rbx], edx
mov r9d, edx
cmp r9d, ecx
jle 0x18005ef3d
mov dword [rbx], ecx
cmp eax, r8d
je 0x18005ef77
mov rdx, rbx
mov rcx, rdi
jge 0x18005ef60
sub r8d, eax
mov r9d, r8d
mov r8d, eax
call fcn.18005bef0
mov eax, dword [rbx + 4]
mov dword [rbx + 8], eax
jmp 0x18005ef71
sub eax, r8d
mov r9d, eax
call fcn.18005bef0
mov eax, dword [rbx + 8]
mov dword [rbx + 4], eax
mov dword [rbx], eax
mov byte [rbx + 0x16], r13b
mov edx, dword [rbx]
mov r9d, r15d
mov r8, r12
mov rcx, rdi
call fcn.18005ba20
test al, al
je 0x18005efa3
mov edx, dword [rbx]
lea rcx, [rbx + 0x20]
mov r9d, r15d
xor r8d, r8d
call fcn.18005cc44
add dword [rbx], r15d
mov byte [rbx + 0x16], r13b
mov byte [rdi + 0xe84], 1
test r12, r12
je 0x18005efc1
mov rax, qword [0x1801f2490]
test rax, rax
je 0x18005efc1
dec dword [rax + 0xf4]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18005ea35
cmp qword [rsi + 0xb8], r9
je 0x18005f076
mov ecx, dword [rdi + 0x58]
mov eax, dword [rdi + 0x5c]
cmp ecx, eax
je 0x18005eff0
mov edx, eax
cmovge eax, ecx
cmovl edx, ecx
jmp 0x18005eff6
mov eax, dword [rdi + 0xc]
mov edx, r9d
movsxd r15, eax
mov rax, qword [rdi + 0x20]
movsxd r12, edx
lea rdx, [rax + r15*2]
lea rcx, [rax + r12*2]
call fcn.1800384e8
mov edx, 1
lea r14d, [rdx + rax]
mov rax, qword [0x1801f2490]
test rax, rax
je 0x18005f028
add dword [rax + 0xf4], edx
movsxd rcx, r14d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, qword [rdi + 0x20]
mov edx, r14d
mov rbx, rax
lea r9, [rcx + r15*2]
lea r8, [rcx + r12*2]
mov rcx, rax
call fcn.180038448
mov rcx, rbx
call fcn.18003ac80
test rbx, rbx
je 0x18005f06a
mov rcx, qword [0x1801f2490]
test rcx, rcx
je 0x18005f06a
dec dword [rcx + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor r9d, r9d
test r13b, r13b
je 0x18005ea38
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18005f098
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov dword [rdi + 0x58], r9d
mov byte [rdi + 0x6a], r9b
lea rbx, [rdi + 0x54]
mov r10d, 1
mov byte [rdi + 0xe84], r10b
mov eax, dword [rbx + 4]
mov r8d, dword [rbx + 8]
cmp eax, r8d
je 0x18005f1dc
mov ecx, dword [rdi + 0xc]
cmp eax, ecx
jle 0x18005f0c5
mov dword [rbx + 4], ecx
mov eax, ecx
cmp r8d, ecx
jle 0x18005f0d0
mov dword [rbx + 8], ecx
mov r8d, ecx
cmp eax, r8d
jne 0x18005f0d7
mov dword [rbx], eax
cmp dword [rbx], ecx
jle 0x18005f0dd
mov dword [rbx], ecx
cmp eax, r8d
je 0x18005f11a
mov rdx, rbx
mov rcx, rdi
jge 0x18005f100
sub r8d, eax
mov r9d, r8d
mov r8d, eax
call fcn.18005bef0
mov eax, dword [rbx + 4]
mov dword [rbx + 8], eax
jmp 0x18005f111
sub eax, r8d
mov r9d, eax
call fcn.18005bef0
mov eax, dword [rbx + 8]
mov dword [rbx + 4], eax
xor r9d, r9d
mov dword [rbx], eax
lea r10d, [r9 + 1]
mov byte [rbx + 0x16], r9b
jmp 0x18005f1dc
mov edx, eax
mov rcx, rdi
xor edx, 1
add edx, 0x20000a
call fcn.18005d27c
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x58], eax
jmp 0x18005ea35
mov edx, dword [rbp + 0x1d8]
mov r10d, 1
mov ecx, dword [rsp + 0x64]
mov eax, edx
shr eax, 0xb
and al, r10b
test cl, cl
je 0x18005f172
test r15b, r15b
jne 0x18005f172
test al, al
je 0x18005f194
cmp byte [rsi + 0xe24], r9b
jne 0x18005f19d
mov byte [rsp + 0x59], r10b
cmp byte [rsi + 0x7c], r9b
je 0x18005f1d7
test cl, cl
jne 0x18005f1d7
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov dword [rdi + 0x58], r9d
mov byte [rdi + 0x6a], r9b
jmp 0x18005f1dc
cmp byte [rsi + 0xe24], r9b
jne 0x18005f172
test r8b, r8b
jne 0x18005f1dc
mov eax, 0xa
mov dword [rsp + 0x20], 2
lea rcx, [rbp + 0x1e8]
mov dword [rbp + 0x1e8], eax
call fcn.18005d2a8
xor r9d, r9d
test al, al
je 0x18005ea38
mov edx, dword [rbp + 0x1e8]
jmp 0x18005ea2d
mov byte [rsp + 0x58], r10b
mov r15b, byte [rbp + 0x1e0]
mov ecx, dword [rsp + 0x54]
mov dl, byte [rbp + 0x1b8]
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x18005f1fc
mov al, r10b
test dl, dl
jne 0x18005f1ff
mov al, r9b
mov r12d, dword [rsp + 0x68]
or cl, al
mov dword [rsp + 0x54], ecx
mov qword [rbp - 0x78], r9
mov dword [rbp + 0x1e8], r9d
cmp dword [rsi + 0x3f28], r12d
jne 0x18005f78e
mov r13d, dword [rsp + 0x5c]
test r13b, r13b
jne 0x18005f3e9
test r15b, r15b
je 0x18005f398
test dword [rbp + 0x1d8], 0x100000
je 0x18005f28d
lea rax, [0x1800f4aa0]
mov dword [rbp + 0x1e8], r9d
mov dword [rsp + 0x20], r9d
lea rdx, [rdi + 0x54]
mov r9d, dword [rdi + 0xc]
xor r8d, r8d
mov rcx, rdi
mov qword [rbp - 0x78], rax
call fcn.18005d18c
mov r8d, dword [rdi + 0xc]
xor edx, edx
mov rcx, rdi
call fcn.18005b994
xor r9d, r9d
mov qword [rdi + 0x58], r9
mov dword [rdi + 0x54], r9d
jmp 0x18005f393
mov rax, qword [rbp + 0x1c0]
mov r10d, 1
mov r8, qword [rdi + 0x40]
sub r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18005f2b4
add rax, r10
test ecx, ecx
jne 0x18005f2a1
test edx, edx
je 0x18005f398
mov r13d, dword [rdi + 0x38]
xor eax, eax
mov r12, qword [rdi + 0x40]
sub r13d, r10d
mov qword [rbp - 0x78], r12
mov ebx, eax
mov dword [rbp + 0x1e8], r13d
mov r14d, eax
mov byte [rsp + 0x50], r10b
test r13d, r13d
jle 0x18005f352
movsxd r15, r13d
mov rcx, r12
add r15, r12
mov rdx, r15
call fcn.180038328
lea r8d, [r14 + 1]
xor edx, edx
lea ebx, [r8 + rax]
test ebx, ebx
jle 0x18005f334
lea ecx, [rdx + 8]
mov eax, ebx
cmp ebx, ecx
cmovl eax, ecx
test eax, eax
jle 0x18005f334
mov rcx, qword [0x1801f2490]
test rcx, rcx
je 0x18005f323
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 r14, rax
xor edx, edx
mov qword [rsp + 0x20], rdx
mov r9, r15
mov edx, ebx
mov r8, r12
mov rcx, r14
call fcn.180038288
mov r15b, byte [rbp + 0x1e0]
xor eax, eax
lea ecx, [rbx - 1]
mov r9d, eax
test r13d, r13d
lea rdx, [rdi + 0x54]
mov r8, r14
cmovg r9d, ecx
mov rcx, rdi
call fcn.18005d1f8
test r14, r14
je 0x18005f38e
mov rax, qword [0x1801f2490]
test rax, rax
je 0x18005f385
dec dword [rax + 0xf4]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r12d, dword [rsp + 0x68]
mov r13d, dword [rsp + 0x5c]
mov eax, dword [rdi + 0x18]
mov byte [rdi + 0x48], 1
mov ecx, dword [rdi + 0x2c]
lea ebx, [rax*4 + 1]
cmp ebx, ecx
jle 0x18005f3d1
test ecx, ecx
je 0x18005f3bc
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005f3c1
mov eax, 8
cmp eax, ebx
lea rcx, [rdi + 0x28]
mov edx, ebx
cmovg edx, eax
call fcn.18004b648
mov dword [rdi + 0x28], ebx
xor r9d, r9d
mov r8, qword [rdi + 0x20]
mov edx, ebx
mov rcx, qword [rdi + 0x30]
call fcn.180038448
xor r9d, r9d
test r15b, r15b
je 0x18005f4d3
cmp byte [rsp + 0x59], r9b
je 0x18005f40a
mov r15d, dword [rbp + 0x1d8]
test r15b, 0x20
jne 0x18005f4da
mov r12, qword [rbp + 0x1c0]
mov r13d, dword [rsp + 0x74]
mov r14d, dword [rsp + 0x5c]
mov r11, qword [rbp - 0x78]
mov r10d, dword [rbp + 0x1e8]
mov bl, byte [rsp + 0x50]
mov r15d, dword [rsp + 0x68]
cmp dword [rsi + 0x5a70], r15d
jne 0x18005f7b4
cmp dword [rsi + 0x3f28], r15d
je 0x18005f7ad
mov r9, qword [0x1801f2490]
call fcn.18003d670
xor ecx, ecx
test al, al
je 0x18005f7aa
cmp byte [r9 + 0x3f5d], cl
jne 0x18005f482
cmp dword [r9 + 0x3f28], ecx
jne 0x18005f7aa
cmp byte [r9 + 0x3f38], cl
je 0x18005f7aa
xor r9d, r9d
test r14b, r14b
jne 0x18005f7ad
mov r11, qword [rsi + 0x5a80]
lea r14d, [r9 + 1]
mov r10d, dword [rsi + 0x5a78]
mov r8, r12
sub r10d, r14d
mov qword [rbp - 0x78], r11
sub r8, r11
mov rax, r11
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18005f4c3
add rax, r14
test ecx, ecx
jne 0x18005f4b0
test edx, edx
setne al
or bl, al
mov byte [rsp + 0x50], bl
jmp 0x18005f7ad
mov r15d, dword [rbp + 0x1d8]
test r15d, 0x801c0
je 0x18005f735
mov ebx, 0x40
mov r14d, r9d
test bl, r15b
je 0x18005f50f
mov edx, r12d
xor r8d, r8d
mov r12d, 0x200
mov ecx, r12d
call fcn.180044534
xor r9d, r9d
test al, al
jne 0x18005f552
test r15b, r15b
jns 0x18005f557
mov ebx, 1
mov r12d, 0x203
mov r8d, ebx
mov ecx, r12d
xor edx, edx
call fcn.180042c38
xor r9d, r9d
test al, al
jne 0x18005f54d
mov r12d, 0x204
mov r8d, ebx
mov ecx, r12d
xor edx, edx
call fcn.180042c38
xor r9d, r9d
test al, al
je 0x18005f557
mov ebx, 0x80
mov r14d, r12d
jmp 0x18005f578
mov ebx, 0x80000
test ebx, r15d
je 0x18005f56a
cmp byte [rdi + 0xe86], r9b
jne 0x18005f578
mov eax, pe_nt_image_headers64
mov ebx, r9d
test eax, r15d
cmovne ebx, eax
test ebx, ebx
je 0x18005f735
mov rax, qword [rbp + 0x1c0]
mov dword [rbp + 8], r9d
mov word [rbp + 0x21], r9w
mov byte [rbp + 0x23], r9b
mov qword [rbp - 0x10], rsi
mov dword [rbp - 8], ebx
mov dword [rbp - 4], r15d
mov qword [rbp], r9
test r13b, r13b
jne 0x18005f5ac
mov rax, qword [rdi + 0x30]
mov r11, qword [rdi + 0x20]
mov qword [rbp + 0x10], rax
mov rcx, r11
mov eax, dword [rdi + 0x10]
mov dword [rbp + 0x18], eax
mov eax, dword [rdi + 0x4c]
mov dword [rbp + 0x1c], eax
movsxd rax, dword [rdi + 0x54]
mov dword [rbp + 0xc], r14d
mov byte [rbp + 0x20], r9b
lea rdx, [r11 + rax*2]
call fcn.1800384e8
movsxd rdx, dword [rdi + 0x58]
mov rcx, r11
mov ebx, eax
mov dword [rbp + 0x24], eax
lea rdx, [r11 + rdx*2]
call fcn.1800384e8
movsxd rdx, dword [rdi + 0x5c]
mov rcx, r11
mov r13d, eax
mov dword [rbp + 0x28], eax
lea rdx, [r11 + rdx*2]
call fcn.1800384e8
mov dword [rbp + 0x1e0], eax
lea rcx, [rbp - 0x10]
mov dword [rbp + 0x2c], eax
xor eax, eax
call rax
movsxd r12, dword [rbp + 0x24]
mov r14, qword [rbp + 0x10]
mov r15b, byte [rbp + 0x20]
cmp r12d, ebx
jne 0x18005f62d
xor r9d, r9d
test r15b, r15b
je 0x18005f646
lea rdx, [r14 + r12]
mov rcx, r14
call fcn.180038328
mov dword [rdi + 0x54], eax
xor r9d, r9d
mov byte [rdi + 0xe84], 1
movsxd rbx, dword [rbp + 0x28]
cmp ebx, r13d
jne 0x18005f654
test r15b, r15b
je 0x18005f670
cmp ebx, r12d
jne 0x18005f65e
mov eax, dword [rdi + 0x54]
jmp 0x18005f66a
lea rdx, [r14 + rbx]
mov rcx, r14
call fcn.180038328
mov dword [rdi + 0x58], eax
xor r9d, r9d
movsxd rax, dword [rbp + 0x2c]
cmp eax, dword [rbp + 0x1e0]
jne 0x18005f685
test r15b, r15b
je 0x18005f735
cmp eax, ebx
jne 0x18005f68e
mov eax, dword [rdi + 0x58]
jmp 0x18005f69d
lea rdx, [r14 + rax]
mov rcx, r14
call fcn.180038328
xor r9d, r9d
mov dword [rdi + 0x5c], eax
test r15b, r15b
je 0x18005f735
mov r8d, dword [rbp + 0x18]
mov rdx, r14
mov rcx, rdi
call fcn.18005d480
mov eax, dword [rbp - 0x40]
mov ebx, dword [rbp + 0x18]
mov r13d, dword [rsp + 0x74]
cmp ebx, eax
jle 0x18005f703
test r13b, r13b
je 0x18005f703
lea r14, [rdi + 0x18]
sub ebx, eax
add ebx, dword [r14]
mov ecx, dword [r14 + 4]
cmp ebx, ecx
jle 0x18005f700
test ecx, ecx
je 0x18005f6ec
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005f6f1
mov eax, 8
cmp eax, ebx
mov edx, ebx
mov rcx, r14
cmovg edx, eax
call fcn.18004b6cc
mov dword [r14], ebx
mov r8, qword [rbp + 0x10]
xor eax, eax
mov edx, dword [rdi + 0x18]
xor r9d, r9d
mov rcx, qword [rdi + 0x20]
mov qword [rsp + 0x20], rax
call fcn.180038288
mov dword [rdi + 0xc], eax
xor r9d, r9d
mov eax, dword [rbp + 0x18]
mov dword [rdi + 0x10], eax
mov dword [rdi + 0xe80], 0xbe99999a
jmp 0x18005f73a
mov r13d, dword [rsp + 0x74]
mov r14d, dword [rsp + 0x5c]
mov r12, qword [rbp + 0x1c0]
test r14b, r14b
jne 0x18005f41b
mov rax, qword [rdi + 0x30]
mov r8, r12
sub r8, rax
mov ebx, 1
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18005f771
add rax, rbx
test ecx, ecx
jne 0x18005f75e
test edx, edx
je 0x18005f41b
mov r11, qword [rdi + 0x30]
mov r10d, dword [rdi + 0x10]
mov qword [rbp - 0x78], r11
mov byte [rsp + 0x50], bl
jmp 0x18005f42a
mov r12, qword [rbp + 0x1c0]
mov r10d, r9d
mov r13d, dword [rsp + 0x74]
mov r11, r9
mov r14d, dword [rsp + 0x5c]
jmp 0x18005f426
xor r9d, r9d
mov dword [rsi + 0x5a70], r9d
test r11, r11
je 0x18005f863
test r13b, r13b
je 0x18005f82d
mov eax, dword [rbp + 0x1d8]
lea rcx, [rbp + 0x40]
mov dword [rbp + 0x4c], eax
xorps xmm0, xmm0
lea eax, [r10 + 1]
mov qword [rbp + 0x58], r9
cmp dword [rbp + 0x1c8], eax
movdqa xmmword [rbp + 0x70], xmm0
cmovge eax, dword [rbp + 0x1c8]
mov dword [rbp + 0x6c], eax
mov qword [rbp + 0x40], rsi
mov dword [rbp + 0x48], 0x40000
mov qword [rbp + 0x60], r12
mov dword [rbp + 0x68], r10d
mov qword [rbp + 0x50], r9
call r9
mov ecx, dword [rbp + 0x6c]
mov r12, qword [rbp + 0x60]
mov r11, qword [rbp - 0x78]
mov qword [rbp + 0x1c0], r12
lea r10d, [rcx - 1]
cmp dword [rbp + 0x68], r10d
cmovl r10d, dword [rbp + 0x68]
xor r9d, r9d
jmp 0x18005f833
mov ecx, dword [rbp + 0x1c8]
lea eax, [r10 + 1]
cmp eax, ecx
cmovl ecx, eax
mov eax, 1
movsxd rbx, ecx
cmp rbx, rax
jb 0x18005f863
jbe 0x18005f85e
lea r8, [rbx - 1]
mov rdx, r11
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
xor r9d, r9d
mov byte [rbx + r12 - 1], r9b
cmp byte [rsp + 0x58], r9b
je 0x18005f87f
cmp dword [rsi + 0x3f28], r15d
jne 0x18005f87f
xor edx, edx
xor ecx, ecx
call fcn.18003a74c
xor r9d, r9d
mov r13d, dword [rsp + 0x64]
mov ebx, 1
test r13b, r13b
jne 0x18005f8f4
mov r8d, ebx
lea rcx, [rsp + 0x78]
mov edx, r15d
call fcn.180039778
mov rax, qword [0x1801f2490]
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.1800385dc
movss xmm0, dword [rsi + 0x3838]
movaps xmm1, xmm7
mov rdx, qword [rbp - 0x80]
mov r8d, eax
unpcklps xmm1, xmm8
movq rcx, xmm1
movss dword [rsp + 0x20], xmm0
call fcn.1800394b4
xor r9d, r9d
mov r11, qword [rbp - 0x68]
movaps xmm0, xmm10
movss dword [rbp - 0x50], xmm7
movaps xmm1, xmm8
movss dword [rbp - 0x4c], xmm8
addss xmm0, xmm7
addss xmm1, xmm11
movss dword [rbp - 0x48], xmm0
movss dword [rbp - 0x44], xmm1
test r13b, r13b
je 0x18005f937
movss xmm7, dword [r11 + 0x100]
movss xmm0, dword [r11 + 0x104]
jmp 0x18005f94b
addss xmm7, dword [rsi + 0x3830]
movaps xmm0, xmm8
addss xmm0, dword [rsi + 0x3834]
movaps xmm14, xmm12
movss dword [rbp - 0x60], xmm7
movss dword [rbp - 0x5c], xmm0
movss dword [rbp + 0x1e0], xmm12
cmp byte [rsp + 0x70], r9b
je 0x18005f974
mov r12, qword [rdi + 0x30]
mov qword [rbp + 0x1c0], r12
mov r10b, byte [rbp + 0x1b8]
mov r8d, dword [rsp + 0x54]
test r10b, r10b
jne 0x18005faa3
test r8b, r8b
jne 0x18005faa3
test r13b, r13b
je 0x18005f9ef
mov dl, byte [r12]
lea r14, [r12 + 1]
mov ecx, r9d
test dl, dl
je 0x18005f9c2
mov r8d, 0xa
cmp dl, r8b
lea eax, [rcx + 1]
mov dl, byte [r14]
cmovne eax, ecx
add r14, rbx
mov ecx, eax
test dl, dl
jne 0x18005f9ad
sub r14, rbx
mov eax, 0xa
cmp byte [r14], al
je 0x18005f9d7
cmp byte [r14], 0xd
je 0x18005f9d7
add ecx, ebx
movd xmm14, ecx
movaps xmm6, xmm10
cvtdq2ps xmm14, xmm14
mulss xmm14, dword [rsi + 0x3c28]
jmp 0x18005fa28
cmp dword [rsi + 0x3f28], r15d
jne 0x18005f9fe
movsxd r14, dword [rdi + 0x10]
jmp 0x18005fa0b
or r14, 0xffffffffffffffff
inc r14
cmp byte [r12 + r14], r9b
jne 0x18005fa02
movss xmm6, dword [rbp + 0x1e0]
add r14, r12
mov rax, r14
sub rax, r12
cmp rax, 0x200000
jge 0x180060268
mov rax, qword [0x1801f2490]
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.1800385dc
movss xmm2, dword [rsi + 0x3c28]
lea r9, [rbp - 0x60]
mov rdx, qword [rsi + 0x3c20]
mov rcx, qword [r11 + 0x298]
mov qword [rsp + 0x40], r8
movss dword [rsp + 0x38], xmm12
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], eax
call fcn.1800508c0
xor r9d, r9d
jmp 0x180060268
movsxd r14, dword [rdi + 0x10]
xor r11d, r11d
add r14, r12
mov edx, 0xfffffc18
mov r12, qword [rdi + 0x20]
test r10b, r10b
mov qword [rbp - 0x40], r14
movaps xmm7, xmm12
lea r10d, [r11 + 1]
movaps xmm8, xmm12
mov r13d, r11d
mov r15d, edx
mov ecx, r11d
je 0x18005fae2
movsxd rax, dword [rdi + 0x54]
or edx, 0xffffffff
mov ecx, r10d
lea r9, [r12 + rax*2]
test r8b, r8b
je 0x18005fafe
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
cmovl eax, dword [rdi + 0x58]
or r15d, 0xffffffff
cdqe
add ecx, r10d
lea r13, [r12 + rax*2]
movzx eax, byte [rsp + 0x64]
mov ebx, r11d
movzx r8d, word [r12]
add ecx, eax
mov rax, r12
test r8w, r8w
je 0x18005fb5f
mov r14d, 2
cmp r8w, word [rbp - 0x30]
jne 0x18005fb4e
add ebx, r10d
cmp edx, 0xffffffff
jne 0x18005fb39
cmp rax, r9
jb 0x18005fb39
sub ecx, r10d
mov edx, ebx
test ecx, ecx
jle 0x18005fb5b
cmp r15d, 0xffffffff
jne 0x18005fb4e
cmp rax, r13
jb 0x18005fb4e
sub ecx, r10d
mov r15d, ebx
test ecx, ecx
jle 0x18005fb5b
add rax, r14
movzx r8d, word [rax]
test r8w, r8w
jne 0x18005fb1c
mov r14, qword [rbp - 0x40]
add ebx, r10d
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 0x18005fb96
mov ecx, 0xa
lea rax, [r8 - 2]
cmp word [rax], cx
je 0x18005fb96
mov r8, rax
cmp rax, r12
ja 0x18005fb85
mov byte [rsp + 0x30], r11b
lea rcx, [rbp + 0x30]
mov rdx, rsi
mov qword [rsp + 0x20], r11
call fcn.18005b5d8
movd xmm15, dword [rbp + 0x1e8]
xor r9d, r9d
movss xmm5, dword [rsi + 0x3c28]
cvtdq2ps xmm15, xmm15
movss xmm13, dword [rax]
mulss xmm15, xmm5
movss dword [rbp - 0x30], xmm13
test r15d, r15d
js 0x18005fc2c
mov r8, r13
cmp r13, r12
jbe 0x18005fbf6
lea ecx, [r9 + 0xa]
lea rax, [r8 - 2]
cmp word [rax], cx
je 0x18005fbf6
mov r8, rax
cmp rax, r12
ja 0x18005fbe5
mov byte [rsp + 0x30], r9b
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x20], r9
mov rdx, rsi
mov r9, r13
call fcn.18005b5d8
movss xmm5, dword [rsi + 0x3c28]
xor r9d, r9d
movd xmm8, r15d
cvtdq2ps xmm8, xmm8
movss xmm7, dword [rax]
mulss xmm8, xmm5
mov r13d, dword [rsp + 0x64]
test r13b, r13b
je 0x18005fc4d
movd xmm14, ebx
cvtdq2ps xmm14, xmm14
movss dword [rbp + 0x1e0], xmm10
mulss xmm14, xmm5
mov r15b, byte [rbp + 0x1b8]
test r15b, r15b
je 0x18005fd74
cmp byte [rdi + 0xe84], r9b
je 0x18005fd74
test dword [rbp + 0x1d8], 0x1000
jne 0x18005fcc6
comiss xmm13, dword [rdi + 0x50]
movaps xmm1, xmm10
movaps xmm0, xmm13
mulss xmm1, dword [0x18015d758]
subss xmm10, dword [rsi + 0x3830]
jae 0x18005fca5
subss xmm0, xmm1
maxss xmm0, xmm12
cvttss2si eax, xmm0
jmp 0x18005fcb8
subss xmm0, xmm10
comiss xmm0, dword [rdi + 0x50]
jb 0x18005fcca
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x50], xmm0
jmp 0x18005fcca
mov dword [rdi + 0x50], r9d
test r13b, r13b
je 0x18005fd6d
movaps xmm0, xmm15
subss xmm0, dword [rsi + 0x3c28]
comiss xmm0, xmm6
jae 0x18005fcee
movaps xmm6, xmm0
maxss xmm6, xmm12
jmp 0x18005fd1c
movss xmm2, dword [rsi + 0x3834]
movaps xmm1, xmm11
addss xmm2, xmm2
movaps xmm0, xmm15
subss xmm1, xmm2
subss xmm0, xmm1
comiss xmm0, xmm6
jb 0x18005fd1c
movaps xmm6, xmm15
subss xmm6, xmm11
addss xmm6, xmm2
comiss xmm6, xmm12
movss xmm2, dword [rsi + 0x3834]
jae 0x18005fd30
movaps xmm2, xmm12
jmp 0x18005fd47
addss xmm2, xmm2
addss xmm2, xmm14
subss xmm2, xmm11
maxss xmm2, xmm12
minss xmm2, xmm6
movss xmm1, dword [rbp - 0x5c]
mov rax, qword [rbp - 0x68]
movss xmm0, dword [rax + 0x88]
subss xmm0, xmm2
addss xmm1, xmm0
movss dword [rbp - 0x5c], xmm1
movss dword [rax + 0x88], xmm2
mov byte [rdi + 0xe84], r9b
movss xmm10, dword [rdi + 0x50]
movss xmm11, dword [0x18015d8f4]
cmp byte [rsp + 0x54], r9b
je 0x18005ffea
mov edx, dword [rdi + 0x5c]
mov eax, edx
mov ecx, dword [rdi + 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 0x18005fdb6
movaps xmm1, xmm11
jmp 0x18005fdbe
movss xmm1, dword [0x18015d7cc]
mov rax, qword [0x1801f2490]
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.1800385dc
mov r15d, eax
test r13b, r13b
je 0x18005fe01
movss dword [rbp - 0x18], xmm12
jmp 0x18005fe0a
movss xmm12, dword [0x18015dc20]
movss xmm6, dword [rbp - 0x5c]
mov qword [rbp + 0x1e8], r8
addss xmm6, xmm8
addss xmm7, dword [rbp - 0x60]
subss xmm7, xmm10
cmp r8, rbx
jae 0x18005ffdf
movss xmm4, dword [rbp - 0x44]
xorps xmm11, xmm11
movss xmm5, dword [rbp - 0x4c]
xor r14d, r14d
movss xmm13, dword [rbp - 0x18]
mov r13, qword [rbp - 0x68]
movaps xmm0, xmm4
addss xmm0, dword [rsi + 0x3c28]
comiss xmm6, xmm0
ja 0x18005ffc0
comiss xmm6, xmm5
jae 0x18005fe92
cmp r8, rbx
jae 0x18005ffa5
mov ecx, 0xa
movzx eax, word [r8]
add r8, 2
mov qword [rbp + 0x1e8], r8
cmp ax, cx
je 0x18005ffa5
cmp r8, rbx
jb 0x18005fe70
jmp 0x18005ffa5
lea rax, [rbp + 0x1e8]
mov byte [rsp + 0x30], 1
mov r9, rbx
mov qword [rsp + 0x20], rax
mov rdx, rsi
lea rcx, [rbp - 0x18]
call fcn.18005b5d8
movss xmm5, dword [rbp - 0x18]
comiss xmm5, xmm11
ja 0x18005fef1
mov rax, qword [rsi + 0x3c20]
cmp dword [rax], 0x20
jle 0x18005fed7
mov rax, qword [rax + 8]
movss xmm0, dword [rax + 0x80]
jmp 0x18005fedc
movss xmm0, dword [rax + 0x10]
mulss xmm0, xmm9
cvttss2si eax, xmm0
movd xmm5, eax
cvtdq2ps xmm5, xmm5
movss dword [rbp - 0x18], xmm5
movss xmm4, dword [rbp - 0x44]
movaps xmm3, xmm7
movss xmm8, dword [rbp - 0x50]
addss xmm3, xmm5
movss xmm5, dword [rbp - 0x4c]
maxss xmm7, xmm8
movss xmm9, dword [rbp - 0x48]
movaps xmm2, xmm13
subss xmm2, dword [rsi + 0x3c28]
movaps xmm1, xmm12
movaps xmm0, xmm4
addss xmm1, xmm6
minss xmm3, xmm9
movss dword [rsp + 0x78], xmm7
addss xmm2, xmm6
minss xmm0, xmm1
movss dword [rbp - 0x80], xmm3
maxss xmm2, xmm5
comiss xmm5, xmm0
movss dword [rsp + 0x7c], xmm2
movss dword [rbp - 0x7c], xmm0
jae 0x18005ff95
comiss xmm4, xmm2
jbe 0x18005ff95
comiss xmm8, xmm3
jae 0x18005ff95
comiss xmm9, xmm7
jbe 0x18005ff95
mov rcx, qword [r13 + 0x298]
lea r8, [rbp - 0x80]
mov dword [rsp + 0x28], r14d
lea rdx, [rsp + 0x78]
mov r9d, r15d
movss dword [rsp + 0x20], xmm11
call fcn.18004f1a0
movss xmm4, dword [rbp - 0x44]
movss xmm5, dword [rbp - 0x4c]
movss xmm9, dword [0x18015d7ac]
mov r8, qword [rbp + 0x1e8]
movss xmm7, dword [rbp - 0x60]
subss xmm7, xmm10
addss xmm6, dword [rsi + 0x3c28]
cmp r8, rbx
jb 0x18005fe49
movss xmm11, dword [0x18015d8f4]
xor r9d, r9d
movss xmm13, dword [rbp - 0x30]
mov rdi, qword [rbp - 0x28]
mov r14, qword [rbp - 0x40]
mov r13d, dword [rsp + 0x64]
mov r15b, byte [rbp + 0x1b8]
xorps xmm12, xmm12
mov r12, qword [rbp + 0x1c0]
test r13b, r13b
jne 0x180060008
mov rax, r14
sub rax, r12
cmp rax, 0x200000
jge 0x1800600a6
mov rax, qword [0x1801f2490]
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.1800385dc
mov rbx, qword [rbp - 0x68]
lea r9, [rbp + 0x1b8]
movss xmm2, dword [rsi + 0x3c28]
mov rdx, qword [rsi + 0x3c20]
mov qword [rsp + 0x40], r8
mov rcx, qword [rbx + 0x298]
movss dword [rsp + 0x38], xmm12
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], eax
call fcn.1800508c0
xor r9d, r9d
jmp 0x1800600aa
mov rbx, qword [rbp - 0x68]
test r15b, r15b
je 0x180060249
movss xmm0, dword [rsi + 0x18]
addss xmm0, dword [rdi + 0xe80]
movss dword [rdi + 0xe80], xmm0
cmp byte [rsi + 0x7b], r9b
je 0x1800600f6
comiss xmm0, xmm12
jbe 0x1800600f6
movss xmm1, dword [0x18015d998]
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
xor r9d, r9d
comiss xmm0, dword [0x18015d848]
jbe 0x1800600f6
mov cl, r9b
lea edi, [r9 + 1]
jmp 0x1800600fe
mov edi, 1
mov cl, dil
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 [rsi + 0x3c28]
subss xmm2, dword [0x18015daa4]
addss xmm1, xmm9
movss dword [rbp - 0x7c], xmm2
movss dword [rsp + 0x7c], xmm1
test cl, cl
je 0x1800601f9
movss xmm0, dword [rbp - 0x4c]
comiss xmm0, xmm2
jae 0x1800601f9
movss xmm0, dword [rbp - 0x44]
comiss xmm0, xmm1
jbe 0x1800601f9
movss xmm0, dword [rbp - 0x50]
comiss xmm0, xmm3
jae 0x1800601f9
movss xmm0, dword [rbp - 0x48]
comiss xmm0, xmm6
jbe 0x1800601f9
mov rax, qword [0x1801f2490]
lea rcx, [rbp - 0x28]
movss dword [rbp + 0x1b8], xmm6
movss dword [rbp + 0x1bc], xmm2
movdqu xmm0, xmmword [rax + 0x38d0]
movups xmmword [rbp - 0x28], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37f4]
movss dword [rbp - 0x1c], xmm0
call fcn.1800385dc
mov rcx, qword [rbx + 0x298]
lea rdx, [rsp + 0x78]
mov r9d, eax
movss dword [rsp + 0x20], xmm11
lea r8, [rbp + 0x1b8]
call fcn.18004ef54
xor r9d, r9d
movss xmm8, dword [rbp - 0x58]
movss xmm13, dword [rbp - 0x54]
movss xmm15, dword [rbp - 0x38]
mov r15d, dword [rsp + 0x68]
cmp byte [rsp + 0x5c], r9b
jne 0x180060260
movss xmm0, dword [rsi + 0x3c28]
subss xmm6, xmm11
subss xmm7, xmm0
movss dword [rsi + 0x5bac], xmm0
mov byte [rsi + 0x5ba0], dil
movss dword [rsi + 0x5ba4], xmm6
movss dword [rsi + 0x5ba8], xmm7
jmp 0x180060260
movss xmm8, dword [rbp - 0x58]
movss xmm13, dword [rbp - 0x54]
movss xmm15, dword [rbp - 0x38]
mov r15d, dword [rsp + 0x68]
movss xmm6, dword [rbp + 0x1e0]
mov ebx, dword [rbp - 0x6c]
test bl, bl
je 0x180060277
call fcn.1800420b0
xor r9d, r9d
test r13b, r13b
je 0x180060304
addss xmm14, dword [rsi + 0x3834]
lea rcx, [rbp + 0x1b8]
movss dword [rbp + 0x1b8], xmm6
movss dword [rbp + 0x1bc], xmm14
call fcn.180059054
mov ebx, dword [rsi + 0x4748]
mov eax, ebx
or eax, 0x401
mov dword [rsi + 0x4748], eax
call fcn.18003d8e8
mov eax, dword [rsi + 0x476c]
mov edi, dword [rbp + 0x88]
and eax, 0x80
or edi, eax
mov dword [rsi + 0x4748], ebx
call fcn.180044d98
mov ebx, dword [rbp - 0x6c]
xor r9d, r9d
cmp dword [rsi + 0x4764], r9d
jne 0x180060304
mov eax, dword [rbp + 0x84]
mov dword [rsi + 0x4768], eax
mov dword [rsi + 0x4764], r15d
mov dword [rsi + 0x476c], edi
cmp byte [rsi + 0x5c58], r9b
je 0x180060343
test bl, bl
jne 0x180060343
mov rax, qword [0x1801f2490]
lea rcx, [0x1800f4adc]
mov r8, r14
mov rdx, r12
mov qword [rax + 0x5c78], rcx
lea rcx, [0x1800f4ad8]
mov qword [rax + 0x5c80], rcx
lea rcx, [rbp - 0x60]
call fcn.1800496b4
comiss xmm15, xmm12
jbe 0x180060379
addss xmm13, dword [rsi + 0x3848]
addss xmm8, dword [rsi + 0x3834]
mov rdx, qword [rbp + 0x1b0]
mov r9d, 1
xor r8d, r8d
unpcklps xmm13, xmm8
movq rcx, xmm13
call fcn.180038d8c
movzx r9d, byte [rsp + 0x50]
mov r8d, dword [rbp + 0x1d8]
test r9b, r9b
je 0x18006039a
bt r8d, 0x1b
jb 0x18006039a
mov ecx, r15d
call fcn.18003a8a8
movzx ecx, byte [rsp + 0x59]
test r8b, 0x20
mov eax, r9d
cmovne eax, ecx
jmp 0x18005d95d