Function at 0x18005c1c8
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 - 0x1b8]
sub rsp, 0x278
mov rsi, qword [0x1802d3cd8]
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 + 0x40], rsi
mov byte [rax + 0xb8], cl
mov r14, qword [rsi + 0x3ec8]
mov qword [rsp + 0x78], r14
cmp byte [r14 + 0xbb], r13b
jne 0x18005c454
mov ebx, dword [rbp + 0x1e8]
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 - 0x64], eax
mov eax, ebx
shr eax, 0x10
not al
and al, cl
mov dword [rbp - 0x10], eax
mov eax, ebx
shr eax, 0x12
and al, cl
mov dword [rbp - 0x80], eax
test r12b, r12b
je 0x18005c2c0
call fcn.180043b70
mov rdx, rdi
mov rcx, r14
call fcn.180039448
movss xmm0, dword [0x1801b8848]
lea rcx, [rbp + 0x1c8]
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.18003c328
test r12b, r12b
je 0x18005c314
movss xmm4, dword [rsi + 0x3c28]
mulss xmm4, dword [0x1801b8698]
jmp 0x18005c31c
movss xmm4, dword [rbp + 0x1cc]
call fcn.18004399c
movss xmm6, dword [rsi + 0x3834]
lea rcx, [rbp + 0x1f0]
mov rdx, qword [rbp + 0x1e0]
movaps xmm3, xmm6
addss xmm3, xmm6
movaps xmm2, xmm0
mov rdx, qword [rdx]
addss xmm3, xmm4
call fcn.180043a0c
movss xmm15, dword [rbp + 0x1c8]
xorps xmm12, xmm12
comiss xmm15, xmm12
movss dword [rbp - 0x38], xmm15
jbe 0x18005c374
movaps xmm1, xmm15
addss xmm1, dword [rsi + 0x3848]
jmp 0x18005c377
xorps xmm1, xmm1
movss xmm8, dword [r14 + 0x104]
lea rcx, [rbp + 0x1c8]
movss xmm7, dword [r14 + 0x100]
movaps xmm0, xmm8
movss xmm10, dword [rbp + 0x1f0]
movaps xmm2, xmm8
movss xmm11, dword [rbp + 0x1f4]
addss xmm1, xmm10
addss xmm2, xmm11
movss dword [rbp - 0x50], xmm8
addss xmm0, xmm11
movss dword [rbp - 0x78], xmm7
movaps xmm13, xmm7
movss dword [rbp - 0x74], 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 - 0x6c], xmm0
xorps xmm0, xmm0
mov qword [rbp - 0x60], r14
movss dword [rbp - 0x4c], xmm13
movss dword [rbp - 0x20], xmm1
subss xmm1, xmm7
movss dword [rbp - 0x70], xmm13
movss dword [rbp + 0x1cc], xmm2
movups xmmword [rbp + 0x90], xmm0
movss dword [rbp + 0x1c8], xmm1
movaps xmm1, xmm6
call fcn.18004358c
test r12b, r12b
je 0x18005c604
mov r9d, 0x400
lea r8, [rbp - 0x78]
mov edx, r15d
lea rcx, [rbp - 0x28]
call fcn.1800436e8
test al, al
jne 0x18005c4a9
call fcn.180043c98
xor al, al
lea r11, [rsp + 0x278]
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 + 0x90], xmm0
movss dword [r14 + 0x104], xmm8
call fcn.180037d24
movss xmm1, dword [rsi + 0x3838]
mov ecx, 7
call fcn.180037dd8
movss xmm1, dword [rsi + 0x383c]
mov ecx, 8
call fcn.180037dd8
and dword [rbp + 0x1c8], 0
lea rdx, [rbp + 0x1c8]
and dword [rbp + 0x1cc], 0
mov ecx, 2
call fcn.180037e50
movss xmm13, dword [rbp - 0x70]
lea r8, [rbp + 0x1c8]
movss xmm1, dword [rbp - 0x6c]
movaps xmm0, xmm13
movss xmm8, dword [rbp - 0x74]
mov r9d, 1
movss xmm7, dword [rbp - 0x78]
subss xmm1, xmm8
subss xmm0, xmm7
movss dword [rbp - 0x4c], xmm13
mov edx, r15d
movss dword [rbp - 0x50], xmm8
mov rcx, rdi
mov dword [rsp + 0x20], 4
movss dword [rbp + 0x1cc], xmm1
movss dword [rbp + 0x1c8], xmm0
call fcn.18003c604
mov ecx, 3
mov bl, al
call fcn.180037edc
mov ecx, 1
call fcn.180037d80
test bl, bl
jne 0x18005c5a7
call fcn.18003c838
jmp 0x18005c44f
mov rbx, qword [rsi + 0x3ec8]
mov qword [rbp - 0x60], 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 0x18005c64f
bt ebx, 0x1c
jb 0x18005c645
mov r9d, 0x400
lea r8, [rbp - 0x78]
mov edx, r15d
lea rcx, [rbp - 0x28]
call fcn.1800436e8
test al, al
je 0x18005c454
movss xmm13, dword [rbp - 0x70]
movss xmm8, dword [rbp - 0x74]
movss xmm7, dword [rbp - 0x78]
movss dword [rbp - 0x4c], xmm13
movss dword [rbp - 0x50], xmm8
mov r13d, dword [rsi + 0x476c]
mov rbx, r14
mov edx, r15d
lea rcx, [rbp - 0x78]
call fcn.1800399e4
xor r9d, r9d
mov byte [rsp + 0x60], al
mov cl, al
lea edx, [r9 + 1]
test al, al
je 0x18005c672
mov dword [rsi + 0x4a50], edx
mov rdi, qword [0x1802d3cd8]
test r15d, r15d
je 0x18005c690
cmp dword [rdi + 0x4be8], r15d
jne 0x18005c690
add rdi, 0x4be0
jmp 0x18005c693
mov rdi, r9
mov eax, dword [rsi + 0x3f28]
shr r13d, 8
and r13b, dl
mov qword [rbp - 0x28], rdi
cmp eax, r15d
je 0x18005c6cb
cmp dword [rsi + 0x48bc], r15d
jne 0x18005c6cb
test byte [rsi + 0x48c8], dl
jne 0x18005c6c3
cmp dword [rsi + 0x48e0], 2
jne 0x18005c6cb
mov byte [rbp + 0x1f0], dl
jmp 0x18005c6d2
mov byte [rbp + 0x1f0], r9b
test cl, cl
je 0x18005c6e2
mov r15b, dl
cmp byte [rsi + 0x3748], r9b
jne 0x18005c6e5
mov r15b, r9b
mov byte [rbp + 0x1c8], r15b
test r12b, r12b
je 0x18005c71b
test rdi, rdi
je 0x18005c71b
test eax, eax
jne 0x18005c71b
lea rdx, str.SCROLLY
mov rcx, rbx
call fcn.180039448
cmp dword [rsi + 0x3f58], eax
jne 0x18005c718
mov ebx, 1
jmp 0x18005c728
xor r9d, r9d
mov bl, r9b
test r12b, r12b
je 0x18005c759
test rdi, rdi
je 0x18005c759
mov rcx, qword [rbp - 0x60]
lea rdx, str.SCROLLY
call fcn.180039448
xor r9d, r9d
cmp dword [rsi + 0x3f28], eax
jne 0x18005c759
lea eax, [r9 + 1]
mov byte [rsp + 0x58], r9b
mov cl, al
mov byte [rsp + 0x51], al
mov byte [rsp + 0x54], r9b
jmp 0x18005c76f
mov byte [rsp + 0x58], r9b
mov cl, r9b
mov byte [rsp + 0x51], cl
mov byte [rsp + 0x54], r9b
test r12b, r12b
je 0x18005c77d
mov rax, qword [rbp - 0x60]
movss xmm6, dword [rax + 0x88]
jmp 0x18005c789
movss xmm6, dword [0x1801b87f8]
mov byte [rsp + 0x51], cl
mov r8d, 1
test rdi, rdi
je 0x18005c7a2
mov al, r12b
mov r12b, r8b
xor al, r8b
cmp byte [rdi + 0x6b], al
jne 0x18005c7a5
mov r12b, r9b
test r15b, r15b
jne 0x18005c7ce
test bl, bl
jne 0x18005c7ce
cmp byte [rbp + 0x1f0], r9b
jne 0x18005c7ce
test r13b, r13b
jne 0x18005c7ce
mov byte [rbp + 0x1f8], r9b
test cl, cl
jne 0x18005c7d5
mov byte [rsp + 0x59], r9b
jmp 0x18005c7e6
mov byte [rbp + 0x1f8], r8b
mov eax, dword [rsp + 0x68]
mov byte [rsp + 0x59], r8b
cmp dword [rsi + 0x3f28], eax
jne 0x18005c7ef
test r12b, r12b
je 0x18005ca3c
lea rdi, [rsi + 0x4be0]
mov ecx, dword [rdi + 8]
mov qword [rbp - 0x28], rdi
mov dword [rdi + 0xe80], 0xbe99999a
call fcn.18005c11c
mov rax, qword [rbp + 0x1d0]
or rbx, 0xffffffffffffffff
xor edx, edx
inc rbx
cmp byte [rax + rbx], dl
jne 0x18005c819
mov ecx, dword [rdi + 0x3c]
lea r14d, [rbx + 1]
cmp r14d, ecx
jle 0x18005c853
test ecx, ecx
je 0x18005c83c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005c841
mov eax, 8
cmp eax, r14d
lea rcx, [rdi + 0x38]
mov edx, r14d
cmovg edx, eax
call fcn.18004a548
mov dword [rdi + 0x38], r14d
mov rcx, qword [rdi + 0x40]
movsxd r8, r14d
mov r14, qword [rbp + 0x1d0]
mov rdx, r14
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x68]
xor r8d, r8d
cmp dword [rdi + 8], eax
jne 0x18005c8a4
test r12b, r12b
jne 0x18005c8a4
lea r15d, [r8 + 1]
cmp dword [rdi + 0x10], ebx
jne 0x18005c8a4
cmp byte [rdi + 0x48], r8b
je 0x18005c8a7
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 0x18005c8a7
mov r15b, r8b
mov ebx, dword [rbp + 0x1d8]
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 0x18005c8ea
test ecx, ecx
je 0x18005c8d2
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005c8d7
mov eax, 8
cmp eax, ebx
lea rcx, [rdi + 0x18]
mov edx, ebx
cmovg edx, eax
call fcn.18004a5cc
xor r8d, r8d
mov dword [rdi + 0x18], ebx
mov ecx, dword [rdi + 0x2c]
test ecx, ecx
jns 0x18005c911
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.18004a548
xor r8d, r8d
mov rbx, qword [rbp + 0x1d0]
lea rax, [rbp - 0x30]
mov edx, dword [rbp + 0x1d8]
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.180037494
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 0x18005c97d
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 0x18005c9c2
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 0x18005ca1e
mov r8d, dword [rbp + 0x1e8]
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 + 0x1f0], r9b
je 0x18005ca02
test r15b, r15b
je 0x18005c9fd
test byte [rsi + 0x48c8], 4
jne 0x18005ca02
mov byte [rsp + 0x54], r8b
test r13b, r13b
jne 0x18005ca19
cmp byte [rbp + 0x1c8], r9b
je 0x18005ca1e
cmp byte [rsi + 0xe24], r9b
je 0x18005ca1e
mov byte [rsp + 0x54], r8b
test dword [rbp + 0x1e8], 0x2000
mov r14, qword [rsp + 0x78]
mov r15b, byte [rbp + 0x1c8]
je 0x18005ca41
mov byte [rdi + 0x60], r8b
jmp 0x18005ca41
mov r12d, dword [rsp + 0x68]
mov r13b, byte [rsi + 0x79]
mov bl, byte [rbp + 0x1f8]
mov byte [rsp + 0x6d], r13b
cmp dword [rsi + 0x3f28], r12d
je 0x18005ca7b
test bl, bl
je 0x18005ca7b
mov rdx, r14
mov ecx, r12d
call fcn.1800396a0
mov rdx, r14
mov ecx, r12d
call fcn.180045270
mov rcx, r14
call fcn.180040c58
mov r14d, dword [rsp + 0x68]
cmp dword [rsi + 0x3f28], r14d
jne 0x18005cb79
test r15b, r15b
je 0x18005cab4
mov rax, qword [0x1802d3cd8]
xor r15d, r15d
mov dword [rax + 0x4580], r14d
mov dword [rax + 0x457c], r14d
mov word [rax + 0x4584], r15w
jmp 0x18005cab7
xor r15d, r15d
mov eax, dword [rsi + 0x4738]
mov ecx, dword [rsp + 0x64]
or eax, 3
mov edx, dword [rbp + 0x1e8]
mov dword [rsi + 0x4738], eax
test cl, cl
jne 0x18005cad8
test dl, dl
jns 0x18005cae1
or eax, 0xc
mov dword [rsi + 0x4738], eax
mov rax, qword [0x1802d3cd8]
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 0x18005cb44
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 0x18005cb5f
and word [rax + 0x45f0], 0
mov dword [rax + 0x45ec], r14d
mov dword [rax + 0x45e8], r14d
test edx, 0x440
je 0x18005cb7c
xor r8d, r8d
mov edx, r14d
mov ecx, 0x200
call fcn.180041a48
jmp 0x18005cb7c
xor r15d, r15d
cmp dword [rsi + 0x3f28], r14d
jne 0x18005cbbb
test rdi, rdi
jne 0x18005cb93
xor edx, edx
xor ecx, ecx
call fcn.1800396a0
cmp dword [rsi + 0x3f28], r14d
jne 0x18005cbbb
mov edx, 1
cmp byte [rsi + 0x3748], r15b
je 0x18005cbcc
cmp byte [rsp + 0x59], r15b
jne 0x18005cbcc
test bl, bl
jne 0x18005cbcc
mov byte [rsp + 0x58], dl
jmp 0x18005cbcc
test rdi, rdi
je 0x18005cbd0
cmp byte [rsp + 0x51], r15b
je 0x18005cbd0
mov edx, 1
mov cl, dl
jmp 0x18005cbd3
mov cl, r15b
mov r12d, dword [rsp + 0x54]
mov byte [rbp + 0x1c8], cl
test rdi, rdi
je 0x18005cbfc
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18005cbf0
test r12b, r12b
je 0x18005cbfc
test cl, cl
je 0x18005cbfc
mov r8d, 1
jmp 0x18005cbff
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 0x18005ccec
test rdi, rdi
je 0x18005ccec
test cl, cl
jne 0x18005cc38
test r8b, r8b
je 0x18005ccf5
mov ebx, dword [rbp + 0x1d8]
mov ecx, dword [rdi + 0x1c]
inc ebx
mov qword [rbp + 0x1f8], r9
cmp ebx, ecx
jle 0x18005cc72
test ecx, ecx
je 0x18005cc5d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005cc62
mov eax, 8
cmp eax, ebx
lea rcx, [rdi + 0x18]
mov edx, ebx
cmovg edx, eax
call fcn.18004a5cc
mov r14, qword [rbp + 0x1d0]
lea rax, [rbp + 0x1f8]
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.180037494
mov ecx, dword [rbp + 0x1f8]
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 + 0x1c8]
mov r8d, r9d
cmovne r8d, r15d
mov dword [rdi + 0x5c], edx
mov dword [rsp + 0x54], r8d
test cl, cl
jne 0x18005ccfe
test r8b, r8b
jne 0x18005ccfe
cmp dword [rsi + 0x3f28], r14d
jne 0x18005cd1a
test al, al
jne 0x18005cd1a
test rdi, rdi
je 0x18005cd1a
cmp byte [rdi + 0x48], r9b
je 0x18005cd1a
mov r15d, 1
mov byte [rsp + 0x70], r15b
jmp 0x18005cd25
mov byte [rsp + 0x70], r9b
mov r15d, 1
mov ebx, dword [rbp - 0x64]
test bl, bl
je 0x18005cd9d
mov rcx, qword [rsi + 0x3c20]
mov edx, 0x2a
call fcn.180051734
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.180040f88
xor r9d, r9d
movss xmm9, dword [0x1801b8174]
mov dword [rbp - 0x30], r9d
cmp dword [rsi + 0x3f28], r14d
jne 0x18005d1c6
mov eax, dword [rdi + 0x10]
mov ebx, dword [rbp + 0x1e8]
mov byte [rdi + 0xe86], r9b
mov dword [rdi + 0xe88], ebx
mov dword [rbp - 0x30], eax
mov eax, dword [rbp + 0x1d8]
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 0x18005ce29
mov rax, qword [rbp - 0x60]
movss xmm3, dword [rsi + 0xe0c]
subss xmm3, dword [rax + 0x104]
jmp 0x18005ce36
movss xmm3, dword [rsi + 0x3c28]
mulss xmm3, xmm9
test r12b, r12b
je 0x18005ce5e
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 0x18005d001
mov al, byte [rsp + 0x60]
test al, al
je 0x18005cfb4
mov ecx, 2
cmp word [rsi + 0x3752], cx
jb 0x18005cfb4
cmp byte [rsi + 0xe25], r9b
jne 0x18005cfb4
lea r14, [rdi + 0x54]
mov rcx, rdi
mov rdx, r14
call fcn.18005a7b0
mov r12d, 1
test byte [rsi + 0x3752], r12b
jne 0x18005cf43
xor edx, edx
cmp dword [r14], edx
je 0x18005cec8
movsxd rcx, dword [r14]
lea r8d, [r12 + 9]
mov rax, qword [rdi + 0x20]
cmp word [rax + rcx*2 - 2], r8w
mov cl, dl
jne 0x18005cecb
mov cl, r12b
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18005ced7
test cl, cl
jne 0x18005cee4
mov edx, 0x20000c
mov rcx, rdi
call fcn.18005bd78
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18005ceff
cmp dword [rdi + 0x58], eax
jne 0x18005cefc
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x58], eax
jmp 0x18005ceff
mov dword [rdi + 0x54], eax
mov edx, dword [rdi + 0x54]
mov rcx, rdi
call fcn.18005a34c
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 0x18005cf36
cmp ecx, eax
jle 0x18005cf26
mov dword [rdi + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x18005cf2f
mov dword [rdi + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x18005cf36
mov dword [rdi + 0x54], ecx
xor r9d, r9d
cmp dword [rdi + 0x54], eax
jle 0x18005cfa3
mov dword [rdi + 0x54], eax
jmp 0x18005cfa3
movsxd rcx, dword [r14]
mov edx, 0x200004
mov rax, qword [rdi + 0x20]
movzx ebx, word [rax + rcx*2]
mov rcx, rdi
call fcn.18005bd78
mov edx, 0x600005
mov rcx, rdi
call fcn.18005bd78
mov edx, 0x600001
mov rcx, rdi
call fcn.18005bd78
mov eax, 0xa
xor r9d, r9d
cmp bx, ax
je 0x18005cf96
test r15b, r15b
je 0x18005cf96
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 + 0x1e8]
mov byte [rdi + 0xe84], r9b
mov r14d, dword [rsp + 0x68]
mov dword [rdi + 0xe80], 0xbe99999a
jmp 0x18005d001
cmp byte [rsi + 0x3748], r9b
je 0x18005d086
cmp byte [rdi + 0xe85], r9b
jne 0x18005d086
test al, al
je 0x18005cffb
lea rdx, [rdi + 0x54]
mov rcx, rdi
cmp byte [rsi + 0xe25], r9b
je 0x18005cfe9
call fcn.18005a810
jmp 0x18005cfee
call fcn.18005a7b0
mov dword [rdi + 0xe80], 0xbe99999a
xor r9d, r9d
mov r12d, 1
cmp byte [rdi + 0xe85], r9b
je 0x18005d01a
cmp byte [rsi + 0xe10], r9b
jne 0x18005d01a
mov byte [rdi + 0xe85], r9b
bt ebx, 0xa
jae 0x18005d0e3
xor r8d, r8d
mov edx, r14d
mov ecx, 0x200
call fcn.180043484
mov ecx, dword [rsp + 0x5c]
xor r9d, r9d
lea r15d, [r9 + 2]
test al, al
je 0x18005d0ed
test cl, cl
jne 0x18005d0ed
mov edx, ebx
mov dword [rbp + 0x1f8], 9
lea rcx, [rbp + 0x1f8]
mov dword [rsp + 0x20], r15d
call fcn.18005bda4
xor r9d, r9d
test al, al
je 0x18005d0e9
mov edx, dword [rbp + 0x1f8]
mov rcx, rdi
call fcn.18005bd78
xor r9d, r9d
jmp 0x18005d0e9
cmp byte [rsi + 0xe10], r9b
je 0x18005cffb
cmp byte [rdi + 0xe85], r9b
jne 0x18005cffb
ucomiss xmm12, dword [rsi + 0xf8]
jne 0x18005d0b8
ucomiss xmm12, dword [rsi + 0xfc]
je 0x18005cffb
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.18005a810
mov r12d, 1
mov dword [rdi + 0xe80], 0xbe99999a
mov byte [rdi + 0xe84], r12b
xor r9d, r9d
jmp 0x18005d001
mov r15d, 2
mov ecx, dword [rsp + 0x5c]
cmp byte [rsi + 0xe24], r9b
je 0x18005d0ff
cmp byte [rsi + 0xe26], r9b
je 0x18005d10d
test r13b, r13b
je 0x18005d112
cmp byte [rsi + 0xe27], r9b
je 0x18005d112
mov al, r12b
jmp 0x18005d115
mov al, r9b
cmp dword [rsi + 0x37c0], r9d
jle 0x18005d1c3
test al, al
jne 0x18005d196
test cl, cl
jne 0x18005d196
cmp byte [rbp + 0x1f0], r9b
jne 0x18005d196
mov r13d, dword [rbp + 0x1e8]
mov r14d, r9d
mov rbx, r9
mov rax, qword [rsi + 0x37c8]
movzx ecx, word [rax + rbx]
mov dword [rbp + 0x1f0], ecx
cmp ecx, 9
je 0x18005d17f
mov edx, r13d
mov dword [rsp + 0x20], r15d
lea rcx, [rbp + 0x1f0]
call fcn.18005bda4
xor r9d, r9d
test al, al
je 0x18005d182
mov edx, dword [rbp + 0x1f0]
mov rcx, rdi
call fcn.18005bd78
xor r9d, r9d
add r14d, r12d
add rbx, r15
cmp r14d, dword [rsi + 0x37c0]
jl 0x18005d140
mov r13b, byte [rsp + 0x6d]
lea rbx, [rsi + 0x37c0]
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x18005d1c0
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.18004a5cc
xor r9d, r9d
mov dword [rbx], r9d
mov ebx, dword [rbp - 0x64]
mov r12d, dword [rsp + 0x68]
mov r15b, r9b
mov byte [rbp + 0x1f0], r9b
cmp dword [rsi + 0x3f28], r12d
jne 0x18005dcfc
cmp byte [rsi + 0x3f34], r9b
jne 0x18005dcfc
cmp byte [rsp + 0x58], r9b
jne 0x18005dcfc
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 [rsp + 0x78], ecx
sbb r14d, r14d
and r14d, 0x400000
test r13b, r13b
je 0x18005d27b
mov al, byte [rsi + 0xe26]
mov byte [rbp + 0x1f8], al
cmp byte [rsi + 0xe27], r9b
je 0x18005d287
mov byte [rbp + 0x1f8], al
cmp byte [rsi + 0xe24], r9b
jne 0x18005d287
mov byte [rbp + 0x1f8], al
cmp al, r9b
jne 0x18005d287
mov byte [rsp + 0x51], r15b
mov byte [rbp + 0x1f8], al
jmp 0x18005d28c
mov al, byte [rsi + 0xe24]
mov byte [rbp + 0x1f8], al
mov byte [rsp + 0x51], r9b
mov r8d, r15d
mov edx, r12d
mov ecx, 0xa39
call fcn.180043484
xor ecx, ecx
test al, al
jne 0x18005d2b8
mov r8d, r15d
mov edx, r12d
mov ecx, 0x220a
call fcn.180043484
xor ecx, ecx
test al, al
je 0x18005d2dd
mov r15d, dword [rsp + 0x5c]
test r15b, r15b
jne 0x18005d2e2
test bl, bl
mov ebx, dword [rsp + 0x64]
jne 0x18005d2e6
test bl, bl
je 0x18005d2d6
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x18005d2e6
mov byte [rsp + 0x6c], 1
jmp 0x18005d2ea
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.180043484
test al, al
jne 0x18005d312
xor r8d, r8d
mov edx, r12d
mov ecx, 0x1209
call fcn.180043484
test al, al
je 0x18005d332
xor eax, eax
cmp byte [rbp - 0x64], al
jne 0x18005d332
test bl, bl
je 0x18005d325
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x18005d332
mov eax, 1
xor ebx, ebx
mov byte [rsp + 0x6f], al
jmp 0x18005d33b
xor ebx, ebx
mov byte [rsp + 0x6f], bl
lea eax, [rbx + 1]
mov r8d, eax
mov edx, r12d
mov ecx, 0xa37
call fcn.180043484
test al, al
jne 0x18005d366
mov r8d, 1
mov edx, r12d
mov ecx, 0x2209
call fcn.180043484
test al, al
je 0x18005d376
test r15b, r15b
jne 0x18005d376
mov eax, 1
mov byte [rsp + 0x60], al
jmp 0x18005d37f
mov byte [rsp + 0x60], bl
mov eax, 1
mov r8d, eax
mov edx, r12d
mov ecx, 0xa3b
call fcn.180043484
mov ebx, dword [rbp - 0x10]
test al, al
je 0x18005d3aa
test r15b, r15b
jne 0x18005d3aa
test bl, bl
je 0x18005d3aa
mov eax, 1
mov byte [rsp + 0x6e], al
jmp 0x18005d3b4
mov byte [rsp + 0x6e], 0
mov eax, 1
mov r8d, eax
mov edx, r12d
mov ecx, 0xa3a
call fcn.180043484
test al, al
jne 0x18005d47f
test r13b, r13b
je 0x18005d3ef
mov r13d, 1
mov edx, r12d
mov r8d, r13d
mov ecx, 0x2a3b
call fcn.180043484
test al, al
jne 0x18005d485
xor r15d, r15d
mov r13b, r15b
xor r8d, r8d
mov edx, r12d
mov ecx, 0xa22
call fcn.180043484
mov byte [rbp - 0x68], al
mov eax, 2
lea r12d, [rax - 1]
test byte [rsi + 8], al
je 0x18005d41f
mov bl, r12b
test byte [rsi + 0xc], r12b
jne 0x18005d422
mov bl, r15b
mov r8d, r12d
xor edx, edx
mov ecx, 0x20d
call fcn.180041b88
test al, al
jne 0x18005d44b
mov r8d, r12d
xor edx, edx
mov ecx, 0x267
call fcn.180041b88
test al, al
jne 0x18005d44b
mov r12b, r15b
test bl, bl
je 0x18005d49e
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.180041b88
test al, al
jne 0x18005d475
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.180041b88
test al, al
je 0x18005d49e
mov eax, 1
mov r15b, al
jmp 0x18005d4a3
mov r13d, 1
test r15b, r15b
jne 0x18005d3ef
xor r15d, r15d
test bl, bl
je 0x18005d3f2
jmp 0x18005d3f5
mov eax, 1
mov edx, dword [rsp + 0x68]
mov r8d, eax
mov ecx, 0x20e
call fcn.180043484
xor ecx, ecx
test al, al
jne 0x18005d4df
test bl, bl
je 0x18005d4d6
mov edx, dword [rsp + 0x68]
lea r8d, [rcx + 1]
mov ecx, 0x26c
call fcn.180043484
xor ecx, ecx
test al, al
jne 0x18005d4df
mov bl, cl
mov eax, 1
jmp 0x18005d4e6
mov eax, 1
mov bl, al
mov r8d, eax
xor edx, edx
mov ecx, 0x201
call fcn.180041b88
xor ecx, ecx
test al, al
je 0x18005d531
neg byte [rbp + 0x1f8]
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.18005bd78
xor r9d, r9d
mov r10d, 1
jmp 0x18005dcce
xor edx, edx
mov ecx, 0x202
lea r8d, [rdx + 1]
call fcn.180041b88
xor ecx, ecx
test al, al
je 0x18005d55f
neg byte [rbp + 0x1f8]
mov eax, 0x200005
sbb edx, edx
and edx, 0xc
add edx, 0x200001
jmp 0x18005d511
xor edx, edx
mov ecx, 0x203
lea r8d, [rdx + 1]
call fcn.180041b88
xor r9d, r9d
test al, al
je 0x18005d5cd
cmp byte [rsp + 0x64], r9b
je 0x18005d5cd
cmp byte [rsi + 0xe24], r9b
je 0x18005d5bc
mov r8, qword [rbp - 0x60]
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 0x18005d526
movzx eax, byte [rsp + 0x51]
lea edx, [rax*4 + 0x200002]
jmp 0x18005d518
xor edx, edx
mov ecx, 0x204
lea r8d, [rdx + 1]
call fcn.180041b88
xor r9d, r9d
test al, al
je 0x18005d64a
cmp byte [rsp + 0x64], r9b
je 0x18005d64a
cmp byte [rsi + 0xe24], r9b
je 0x18005d639
mov rdx, qword [rbp - 0x60]
movss xmm0, dword [rsi + 0x3c28]
mov rax, qword [0x1802d3cd8]
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 0x18005d526
movzx eax, byte [rsp + 0x51]
lea edx, [rax*4 + 0x200003]
jmp 0x18005d518
xor edx, edx
mov ecx, 0x205
lea r8d, [rdx + 1]
call fcn.180041b88
xor ecx, ecx
test al, al
je 0x18005d692
cmp byte [rsp + 0x64], cl
je 0x18005d692
or r14d, 0x20000e
mov rcx, rdi
mov edx, r14d
call fcn.18005bd78
movd xmm0, dword [rsp + 0x78]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [rsi + 0x3c28]
subss xmm6, xmm0
jmp 0x18005d523
xor edx, edx
mov ecx, 0x206
lea r8d, [rdx + 1]
call fcn.180041b88
xor ecx, ecx
test al, al
je 0x18005d6da
cmp byte [rsp + 0x64], cl
je 0x18005d6da
or r14d, 0x20000f
mov rcx, rdi
mov edx, r14d
call fcn.18005bd78
movd xmm0, dword [rsp + 0x78]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [rsi + 0x3c28]
addss xmm6, xmm0
jmp 0x18005d523
xor edx, edx
mov ecx, 0x207
lea r8d, [rdx + 1]
call fcn.180041b88
test al, al
je 0x18005d707
mov al, byte [rsi + 0xe24]
neg al
mov eax, 0x200004
sbb edx, edx
and edx, 2
add edx, eax
jmp 0x18005d518
xor edx, edx
mov ecx, 0x208
lea r8d, [rdx + 1]
call fcn.180041b88
test al, al
je 0x18005d72a
mov al, byte [rsi + 0xe24]
neg al
mov eax, 0x200005
jmp 0x18005d6fb
xor edx, edx
mov ecx, 0x20a
lea r8d, [rdx + 1]
call fcn.180041b88
xor ecx, ecx
test al, al
je 0x18005d778
cmp byte [rsp + 0x5c], cl
jne 0x18005d778
cmp byte [rsp + 0x6c], cl
jne 0x18005d778
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18005d769
cmp byte [rbp + 0x1f8], cl
je 0x18005d769
mov edx, 0x60000d
mov rcx, rdi
call fcn.18005bd78
or r14d, 0x200008
mov edx, r14d
jmp 0x18005d51b
xor edx, edx
mov ecx, 0x20b
lea r8d, [rdx + 1]
call fcn.180041b88
mov r8d, dword [rsp + 0x5c]
xor r9d, r9d
test al, al
je 0x18005d7e9
test r8b, r8b
jne 0x18005d7e9
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18005d7e0
cmp byte [rbp + 0x1f8], r9b
je 0x18005d7b1
mov edx, 0x60000c
jmp 0x18005d7d8
cmp byte [rsp + 0x6d], r9b
je 0x18005d7e0
cmp byte [rsi + 0xe27], r9b
je 0x18005d7e0
cmp byte [rsi + 0xe26], r9b
jne 0x18005d7e0
cmp byte [rsi + 0xe24], r9b
jne 0x18005d7e0
mov edx, 0x600004
mov rcx, rdi
call fcn.18005bd78
or r14d, 0x200009
jmp 0x18005d770
test r12b, r12b
jne 0x18005dc36
test r15b, r15b
jne 0x18005dc36
test bl, bl
je 0x18005d85f
test dword [rbp + 0x1e8], 0x100000
je 0x18005d839
mov eax, dword [rdi + 0x10]
test eax, eax
jg 0x18005d823
mov byte [rsp + 0x54], r9b
mov byte [rbp + 0x1c8], r9b
mov byte [rsp + 0x58], 1
setg r15b
mov r10d, 1
mov byte [rbp + 0x1f0], r15b
jmp 0x18005dcd5
mov r10d, 1
mov dl, r9b
mov r15b, r10b
mov byte [rbp + 0x1f0], r10b
mov byte [rsp + 0x58], r10b
mov cl, r9b
mov byte [rbp + 0x1c8], dl
jmp 0x18005dcdf
movzx eax, byte [rsp + 0x6e]
test al, al
jne 0x18005dc15
test r13b, r13b
jne 0x18005dc15
cmp byte [rbp - 0x68], r9b
je 0x18005d89e
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 0x18005dcce
mov r13b, byte [rsp + 0x6c]
test r13b, r13b
jne 0x18005dac1
cmp byte [rsp + 0x6f], r9b
jne 0x18005dac1
cmp byte [rsp + 0x60], r9b
je 0x18005d526
mov rax, qword [0x1802d3cd8]
mov rdx, qword [rax + 0xb0]
test rdx, rdx
je 0x18005d8f6
mov rcx, qword [rax + 0xc0]
call rdx
xor r9d, r9d
mov rbx, rax
test rax, rax
je 0x18005d526
mov rax, qword [0x1802d3cd8]
jmp 0x18005d8fd
lea rbx, [0x1800f39d0]
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rbx + rcx], r9b
jne 0x18005d901
test rax, rax
je 0x18005d91a
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 [rsp + 0x78], rax
mov r12, rax
mov r15d, r13d
cmp byte [rbx], r13b
je 0x18005d9a2
mov esi, dword [rbp + 0x1e8]
lea edi, [r13 + 1]
mov r14, rax
lea r12d, [r13 + 2]
xor r8d, r8d
lea rcx, [rbp + 0x1f8]
mov rdx, rbx
call fcn.1800372f4
movsxd rcx, eax
mov edx, esi
add rbx, rcx
mov dword [rsp + 0x20], 4
lea rcx, [rbp + 0x1f8]
call fcn.18005bda4
test al, al
je 0x18005d990
movzx eax, word [rbp + 0x1f8]
add r15d, edi
mov word [r14], ax
add r14, r12
cmp byte [rbx], r13b
jne 0x18005d94d
mov rdi, qword [rbp - 0x28]
mov rsi, qword [rbp + 0x40]
mov r12, qword [rsp + 0x78]
movsxd rax, r15d
mov word [r12 + rax*2], r13w
test r15d, r15d
jle 0x18005da9c
mov ecx, dword [rdi + 0xc]
lea rbx, [rdi + 0x54]
mov eax, dword [rbx + 4]
mov r8d, dword [rbx + 8]
cmp eax, r8d
je 0x18005d9eb
mov edx, eax
cmp eax, ecx
jle 0x18005d9d1
mov dword [rbx + 4], ecx
mov edx, ecx
mov r9d, r8d
cmp r8d, ecx
jle 0x18005d9df
mov dword [rbx + 8], ecx
mov r9d, ecx
mov eax, edx
mov r8d, r9d
cmp edx, r9d
jne 0x18005d9eb
mov dword [rbx], edx
mov r9d, dword [rbx]
cmp r9d, ecx
jle 0x18005d9f8
mov dword [rbx], ecx
mov r9d, ecx
mov ecx, dword [rdi + 0xc]
cmp eax, r8d
je 0x18005da28
mov edx, eax
cmp eax, ecx
jle 0x18005da0b
mov dword [rbx + 4], ecx
mov edx, ecx
mov r10d, r8d
cmp r8d, ecx
jle 0x18005da19
mov dword [rbx + 8], ecx
mov r10d, ecx
mov eax, edx
mov r8d, r10d
cmp edx, r10d
jne 0x18005da28
mov dword [rbx], edx
mov r9d, edx
cmp r9d, ecx
jle 0x18005da2f
mov dword [rbx], ecx
cmp eax, r8d
je 0x18005da69
mov rdx, rbx
mov rcx, rdi
jge 0x18005da52
sub r8d, eax
mov r9d, r8d
mov r8d, eax
call fcn.18005a9ec
mov eax, dword [rbx + 4]
mov dword [rbx + 8], eax
jmp 0x18005da63
sub eax, r8d
mov r9d, eax
call fcn.18005a9ec
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.18005a51c
test al, al
je 0x18005da95
mov edx, dword [rbx]
lea rcx, [rbx + 0x20]
mov r9d, r15d
xor r8d, r8d
call fcn.18005b740
add dword [rbx], r15d
mov byte [rbx + 0x16], r13b
mov byte [rdi + 0xe84], 1
test r12, r12
je 0x18005dab3
mov rax, qword [0x1802d3cd8]
test rax, rax
je 0x18005dab3
dec dword [rax + 0xf4]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18005d523
cmp qword [rsi + 0xb8], r9
je 0x18005db68
mov ecx, dword [rdi + 0x58]
mov eax, dword [rdi + 0x5c]
cmp ecx, eax
je 0x18005dae2
mov edx, eax
cmovge eax, ecx
cmovl edx, ecx
jmp 0x18005dae8
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.1800376f4
mov edx, 1
lea r14d, [rdx + rax]
mov rax, qword [0x1802d3cd8]
test rax, rax
je 0x18005db1a
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.180037654
mov rcx, rbx
call fcn.180039bd4
test rbx, rbx
je 0x18005db5c
mov rcx, qword [0x1802d3cd8]
test rcx, rcx
je 0x18005db5c
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 0x18005d526
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18005db8a
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 0x18005dcce
mov ecx, dword [rdi + 0xc]
cmp eax, ecx
jle 0x18005dbb7
mov dword [rbx + 4], ecx
mov eax, ecx
cmp r8d, ecx
jle 0x18005dbc2
mov dword [rbx + 8], ecx
mov r8d, ecx
cmp eax, r8d
jne 0x18005dbc9
mov dword [rbx], eax
cmp dword [rbx], ecx
jle 0x18005dbcf
mov dword [rbx], ecx
cmp eax, r8d
je 0x18005dc0c
mov rdx, rbx
mov rcx, rdi
jge 0x18005dbf2
sub r8d, eax
mov r9d, r8d
mov r8d, eax
call fcn.18005a9ec
mov eax, dword [rbx + 4]
mov dword [rbx + 8], eax
jmp 0x18005dc03
sub eax, r8d
mov r9d, eax
call fcn.18005a9ec
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 0x18005dcce
mov edx, eax
mov rcx, rdi
xor edx, 1
add edx, 0x20000a
call fcn.18005bd78
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x58], eax
jmp 0x18005d523
mov edx, dword [rbp + 0x1e8]
mov r10d, 1
mov ecx, dword [rsp + 0x64]
mov eax, edx
shr eax, 0xb
and al, r10b
test cl, cl
je 0x18005dc64
test r15b, r15b
jne 0x18005dc64
test al, al
je 0x18005dc86
cmp byte [rsi + 0xe24], r9b
jne 0x18005dc8f
mov byte [rsp + 0x59], r10b
cmp byte [rsi + 0x7c], r9b
je 0x18005dcc9
test cl, cl
jne 0x18005dcc9
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 0x18005dcce
cmp byte [rsi + 0xe24], r9b
jne 0x18005dc64
test r8b, r8b
jne 0x18005dcce
mov eax, 0xa
mov dword [rsp + 0x20], 2
lea rcx, [rbp + 0x1f8]
mov dword [rbp + 0x1f8], eax
call fcn.18005bda4
xor r9d, r9d
test al, al
je 0x18005d526
mov edx, dword [rbp + 0x1f8]
jmp 0x18005d51b
mov byte [rsp + 0x58], r10b
mov r15b, byte [rbp + 0x1f0]
mov ecx, dword [rsp + 0x54]
mov dl, byte [rbp + 0x1c8]
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x18005dcee
mov al, r10b
test dl, dl
jne 0x18005dcf1
mov al, r9b
mov r12d, dword [rsp + 0x68]
or cl, al
mov dword [rsp + 0x54], ecx
mov qword [rsp + 0x78], r9
mov dword [rbp + 0x1f8], r9d
cmp dword [rsi + 0x3f28], r12d
jne 0x18005e283
mov r13d, dword [rsp + 0x5c]
test r13b, r13b
jne 0x18005dede
test r15b, r15b
je 0x18005de8d
test dword [rbp + 0x1e8], 0x100000
je 0x18005dd81
lea rax, [0x1800f39d0]
mov dword [rbp + 0x1f8], r9d
mov dword [rsp + 0x20], r9d
lea rdx, [rdi + 0x54]
mov r9d, dword [rdi + 0xc]
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x78], rax
call fcn.18005bc88
mov r8d, dword [rdi + 0xc]
xor edx, edx
mov rcx, rdi
call fcn.18005a490
xor r9d, r9d
mov qword [rdi + 0x58], r9
mov dword [rdi + 0x54], r9d
jmp 0x18005de88
mov rax, qword [rbp + 0x1d0]
mov r10d, 1
mov r8, qword [rdi + 0x40]
sub r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18005dda8
add rax, r10
test ecx, ecx
jne 0x18005dd95
test edx, edx
je 0x18005de8d
mov r13d, dword [rdi + 0x38]
xor eax, eax
mov r12, qword [rdi + 0x40]
sub r13d, r10d
mov qword [rsp + 0x78], r12
mov ebx, eax
mov dword [rbp + 0x1f8], r13d
mov r14d, eax
mov byte [rsp + 0x50], r10b
test r13d, r13d
jle 0x18005de47
movsxd r15, r13d
mov rcx, r12
add r15, r12
mov rdx, r15
call fcn.180037534
lea r8d, [r14 + 1]
xor edx, edx
lea ebx, [r8 + rax]
test ebx, ebx
jle 0x18005de29
lea ecx, [rdx + 8]
mov eax, ebx
cmp ebx, ecx
cmovl eax, ecx
test eax, eax
jle 0x18005de29
mov rcx, qword [0x1802d3cd8]
test rcx, rcx
je 0x18005de18
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.180037494
mov r15b, byte [rbp + 0x1f0]
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.18005bcf4
test r14, r14
je 0x18005de83
mov rax, qword [0x1802d3cd8]
test rax, rax
je 0x18005de7a
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 0x18005dec6
test ecx, ecx
je 0x18005deb1
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005deb6
mov eax, 8
cmp eax, ebx
lea rcx, [rdi + 0x28]
mov edx, ebx
cmovg edx, eax
call fcn.18004a548
mov dword [rdi + 0x28], ebx
xor r9d, r9d
mov r8, qword [rdi + 0x20]
mov edx, ebx
mov rcx, qword [rdi + 0x30]
call fcn.180037654
xor r9d, r9d
test r15b, r15b
je 0x18005dfc9
cmp byte [rsp + 0x59], r9b
je 0x18005deff
mov r15d, dword [rbp + 0x1e8]
test r15b, 0x20
jne 0x18005dfd0
mov r12, qword [rbp + 0x1d0]
mov r13d, dword [rbp - 0x80]
mov r14d, dword [rsp + 0x5c]
mov r11, qword [rsp + 0x78]
mov r10d, dword [rbp + 0x1f8]
mov bl, byte [rsp + 0x50]
mov r15d, dword [rsp + 0x68]
cmp dword [rsi + 0x5a70], r15d
jne 0x18005e2a8
cmp dword [rsi + 0x3f28], r15d
je 0x18005e2a1
mov r9, qword [0x1802d3cd8]
call fcn.18003c5c4
xor ecx, ecx
test al, al
je 0x18005e29e
cmp byte [r9 + 0x3f5d], cl
jne 0x18005df77
cmp dword [r9 + 0x3f28], ecx
jne 0x18005e29e
cmp byte [r9 + 0x3f38], cl
je 0x18005e29e
xor r9d, r9d
test r14b, r14b
jne 0x18005e2a1
mov r11, qword [rsi + 0x5a80]
lea r14d, [r9 + 1]
mov r10d, dword [rsi + 0x5a78]
mov r8, r12
sub r10d, r14d
mov qword [rsp + 0x78], r11
sub r8, r11
mov rax, r11
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18005dfb9
add rax, r14
test ecx, ecx
jne 0x18005dfa6
test edx, edx
setne al
or bl, al
mov byte [rsp + 0x50], bl
jmp 0x18005e2a1
mov r15d, dword [rbp + 0x1e8]
test r15d, 0x801c0
je 0x18005e22a
mov ebx, 0x40
mov r14d, r9d
test bl, r15b
je 0x18005e005
mov edx, r12d
xor r8d, r8d
mov r12d, 0x200
mov ecx, r12d
call fcn.180043484
xor r9d, r9d
test al, al
jne 0x18005e048
test r15b, r15b
jns 0x18005e04d
mov ebx, 1
mov r12d, 0x203
mov r8d, ebx
mov ecx, r12d
xor edx, edx
call fcn.180041b88
xor r9d, r9d
test al, al
jne 0x18005e043
mov r12d, 0x204
mov r8d, ebx
mov ecx, r12d
xor edx, edx
call fcn.180041b88
xor r9d, r9d
test al, al
je 0x18005e04d
mov ebx, 0x80
mov r14d, r12d
jmp 0x18005e06e
mov ebx, 0x80000
test ebx, r15d
je 0x18005e060
cmp byte [rdi + 0xe86], r9b
jne 0x18005e06e
mov eax, 0x100
mov ebx, r9d
test eax, r15d
cmovne ebx, eax
test ebx, ebx
je 0x18005e22a
mov rax, qword [rbp + 0x1d0]
mov dword [rbp + 0x18], r9d
mov word [rbp + 0x31], r9w
mov byte [rbp + 0x33], r9b
mov qword [rbp], rsi
mov dword [rbp + 8], ebx
mov dword [rbp + 0xc], r15d
mov qword [rbp + 0x10], r9
test r13b, r13b
jne 0x18005e0a2
mov rax, qword [rdi + 0x30]
mov r11, qword [rdi + 0x20]
mov qword [rbp + 0x20], rax
mov rcx, r11
mov eax, dword [rdi + 0x10]
mov dword [rbp + 0x28], eax
mov eax, dword [rdi + 0x4c]
mov dword [rbp + 0x2c], eax
movsxd rax, dword [rdi + 0x54]
mov dword [rbp + 0x1c], r14d
mov byte [rbp + 0x30], r9b
lea rdx, [r11 + rax*2]
call fcn.1800376f4
movsxd rdx, dword [rdi + 0x58]
mov rcx, r11
mov ebx, eax
mov dword [rbp + 0x34], eax
lea rdx, [r11 + rdx*2]
call fcn.1800376f4
movsxd rdx, dword [rdi + 0x5c]
mov rcx, r11
mov r13d, eax
mov dword [rbp + 0x38], eax
lea rdx, [r11 + rdx*2]
call fcn.1800376f4
mov dword [rbp + 0x1f0], eax
lea rcx, [rbp]
mov dword [rbp + 0x3c], eax
xor eax, eax
call rax
movsxd r12, dword [rbp + 0x34]
mov r14, qword [rbp + 0x20]
mov r15b, byte [rbp + 0x30]
cmp r12d, ebx
jne 0x18005e123
xor r9d, r9d
test r15b, r15b
je 0x18005e13c
lea rdx, [r14 + r12]
mov rcx, r14
call fcn.180037534
mov dword [rdi + 0x54], eax
xor r9d, r9d
mov byte [rdi + 0xe84], 1
movsxd rbx, dword [rbp + 0x38]
cmp ebx, r13d
jne 0x18005e14a
test r15b, r15b
je 0x18005e166
cmp ebx, r12d
jne 0x18005e154
mov eax, dword [rdi + 0x54]
jmp 0x18005e160
lea rdx, [r14 + rbx]
mov rcx, r14
call fcn.180037534
mov dword [rdi + 0x58], eax
xor r9d, r9d
movsxd rax, dword [rbp + 0x3c]
cmp eax, dword [rbp + 0x1f0]
jne 0x18005e17b
test r15b, r15b
je 0x18005e22a
cmp eax, ebx
jne 0x18005e184
mov eax, dword [rdi + 0x58]
jmp 0x18005e193
lea rdx, [r14 + rax]
mov rcx, r14
call fcn.180037534
xor r9d, r9d
mov dword [rdi + 0x5c], eax
test r15b, r15b
je 0x18005e22a
mov r8d, dword [rbp + 0x28]
mov rdx, r14
mov rcx, rdi
call fcn.18005bf7c
mov eax, dword [rbp - 0x30]
mov ebx, dword [rbp + 0x28]
mov r13d, dword [rbp - 0x80]
cmp ebx, eax
jle 0x18005e1f8
test r13b, r13b
je 0x18005e1f8
lea r14, [rdi + 0x18]
sub ebx, eax
add ebx, dword [r14]
mov ecx, dword [r14 + 4]
cmp ebx, ecx
jle 0x18005e1f5
test ecx, ecx
je 0x18005e1e1
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005e1e6
mov eax, 8
cmp eax, ebx
mov edx, ebx
mov rcx, r14
cmovg edx, eax
call fcn.18004a5cc
mov dword [r14], ebx
mov r8, qword [rbp + 0x20]
xor eax, eax
mov edx, dword [rdi + 0x18]
xor r9d, r9d
mov rcx, qword [rdi + 0x20]
mov qword [rsp + 0x20], rax
call fcn.180037494
mov dword [rdi + 0xc], eax
xor r9d, r9d
mov eax, dword [rbp + 0x28]
mov dword [rdi + 0x10], eax
mov dword [rdi + 0xe80], 0xbe99999a
jmp 0x18005e22e
mov r13d, dword [rbp - 0x80]
mov r14d, dword [rsp + 0x5c]
mov r12, qword [rbp + 0x1d0]
test r14b, r14b
jne 0x18005df0f
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 0x18005e265
add rax, rbx
test ecx, ecx
jne 0x18005e252
test edx, edx
je 0x18005df0f
mov r11, qword [rdi + 0x30]
mov r10d, dword [rdi + 0x10]
mov qword [rsp + 0x78], r11
mov byte [rsp + 0x50], bl
jmp 0x18005df1f
mov r12, qword [rbp + 0x1d0]
mov r10d, r9d
mov r13d, dword [rbp - 0x80]
mov r11, r9
mov r14d, dword [rsp + 0x5c]
jmp 0x18005df1b
xor r9d, r9d
mov dword [rsi + 0x5a70], r9d
test r11, r11
je 0x18005e35b
test r13b, r13b
je 0x18005e325
mov eax, dword [rbp + 0x1e8]
lea rcx, [rbp + 0x50]
mov dword [rbp + 0x5c], eax
xorps xmm0, xmm0
lea eax, [r10 + 1]
mov qword [rbp + 0x68], r9
cmp dword [rbp + 0x1d8], eax
movdqa xmmword [rbp + 0x80], xmm0
cmovge eax, dword [rbp + 0x1d8]
mov dword [rbp + 0x7c], eax
mov qword [rbp + 0x50], rsi
mov dword [rbp + 0x58], 0x40000
mov qword [rbp + 0x70], r12
mov dword [rbp + 0x78], r10d
mov qword [rbp + 0x60], r9
call r9
mov ecx, dword [rbp + 0x7c]
mov r12, qword [rbp + 0x70]
mov r11, qword [rsp + 0x78]
mov qword [rbp + 0x1d0], r12
lea r10d, [rcx - 1]
cmp dword [rbp + 0x78], r10d
cmovl r10d, dword [rbp + 0x78]
xor r9d, r9d
jmp 0x18005e32b
mov ecx, dword [rbp + 0x1d8]
lea eax, [r10 + 1]
cmp eax, ecx
cmovl ecx, eax
mov eax, 1
movsxd rbx, ecx
cmp rbx, rax
jb 0x18005e35b
jbe 0x18005e356
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 0x18005e377
cmp dword [rsi + 0x3f28], r15d
jne 0x18005e377
xor edx, edx
xor ecx, ecx
call fcn.1800396a0
xor r9d, r9d
mov r13d, dword [rsp + 0x64]
mov ebx, 1
test r13b, r13b
jne 0x18005e3ee
mov r8d, ebx
lea rcx, [rbp - 0x78]
mov edx, r15d
call fcn.1800386cc
mov rax, qword [0x1802d3cd8]
lea rcx, [rbp + 0x40]
movdqu xmm0, xmmword [rax + 0x3940]
movups xmmword [rbp + 0x40], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37f4]
movss dword [rbp + 0x4c], xmm0
call fcn.1800377e8
movss xmm0, dword [rsi + 0x3838]
mov r8d, eax
mov rdx, qword [rbp - 0x70]
mov r9b, bl
movss dword [rsp + 0x20], xmm0
movaps xmm0, xmm7
unpcklps xmm0, xmm8
movq rcx, xmm0
call fcn.180038400
xor r9d, r9d
mov r11, qword [rbp - 0x60]
movaps xmm0, xmm10
movss dword [rbp - 0x48], xmm7
movaps xmm1, xmm8
movss dword [rbp - 0x44], xmm8
addss xmm0, xmm7
addss xmm1, xmm11
movss dword [rbp - 0x40], xmm0
movss dword [rbp - 0x3c], xmm1
test r13b, r13b
je 0x18005e431
movss xmm7, dword [r11 + 0x100]
movss xmm0, dword [r11 + 0x104]
jmp 0x18005e445
addss xmm7, dword [rsi + 0x3830]
movaps xmm0, xmm8
addss xmm0, dword [rsi + 0x3834]
movaps xmm14, xmm12
movss dword [rbp - 0x58], xmm7
movss dword [rbp - 0x54], xmm0
movss dword [rbp + 0x1f0], xmm12
cmp byte [rsp + 0x70], r9b
je 0x18005e46e
mov r12, qword [rdi + 0x30]
mov qword [rbp + 0x1d0], r12
mov r10b, byte [rbp + 0x1c8]
mov r8d, dword [rsp + 0x54]
test r10b, r10b
jne 0x18005e59b
test r8b, r8b
jne 0x18005e59b
test r13b, r13b
je 0x18005e4e9
mov dl, byte [r12]
lea r14, [r12 + 1]
mov ecx, r9d
test dl, dl
je 0x18005e4bc
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 0x18005e4a7
sub r14, rbx
mov eax, 0xa
cmp byte [r14], al
je 0x18005e4d1
cmp byte [r14], 0xd
je 0x18005e4d1
add ecx, ebx
movd xmm14, ecx
movaps xmm6, xmm10
cvtdq2ps xmm14, xmm14
mulss xmm14, dword [rsi + 0x3c28]
jmp 0x18005e522
cmp dword [rsi + 0x3f28], r15d
jne 0x18005e4f8
movsxd r14, dword [rdi + 0x10]
jmp 0x18005e505
or r14, 0xffffffffffffffff
inc r14
cmp byte [r12 + r14], r9b
jne 0x18005e4fc
movss xmm6, dword [rbp + 0x1f0]
add r14, r12
mov rax, r14
sub rax, r12
cmp rax, 0x200000
jge 0x18005ed55
mov rax, qword [0x1802d3cd8]
lea r8, [rbp - 0x48]
test r13b, r13b
lea rcx, [rbp - 0x78]
cmovne r8, r9
movdqu xmm0, xmmword [rax + 0x38d0]
movups xmmword [rbp - 0x78], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37f4]
movss dword [rbp - 0x6c], xmm0
call fcn.1800377e8
movss xmm2, dword [rsi + 0x3c28]
lea r9, [rbp - 0x58]
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.18004f8b0
xor r9d, r9d
jmp 0x18005ed55
movsxd r14, dword [rdi + 0x10]
xor r11d, r11d
add r14, r12
mov edx, 0xfffffc18
mov r12, qword [rdi + 0x20]
movaps xmm7, xmm12
mov qword [rsp + 0x78], r14
movaps xmm8, xmm12
mov r13d, r11d
mov r15d, edx
mov ecx, r11d
test r10b, r10b
je 0x18005e5d6
movsxd rax, dword [rdi + 0x54]
or edx, 0xffffffff
mov ecx, ebx
lea r9, [r12 + rax*2]
test r8b, r8b
je 0x18005e5f1
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
cmovl eax, dword [rdi + 0x58]
or r15d, 0xffffffff
cdqe
add ecx, ebx
lea r13, [r12 + rax*2]
movzx eax, byte [rsp + 0x64]
mov ebx, r11d
movzx r8d, word [r12]
add ecx, eax
mov rax, r12
mov r10d, 0xa
test r8w, r8w
je 0x18005e65e
lea edi, [r10 - 8]
lea r14d, [r10 - 9]
cmp r8w, r10w
jne 0x18005e648
add ebx, r14d
cmp edx, 0xffffffff
jne 0x18005e633
cmp rax, r9
jb 0x18005e633
sub ecx, r14d
mov edx, ebx
test ecx, ecx
jle 0x18005e655
cmp r15d, 0xffffffff
jne 0x18005e648
cmp rax, r13
jb 0x18005e648
sub ecx, r14d
mov r15d, ebx
test ecx, ecx
jle 0x18005e655
add rax, rdi
movzx r8d, word [rax]
test r8w, r8w
jne 0x18005e617
mov rdi, qword [rbp - 0x28]
mov r14, qword [rsp + 0x78]
inc ebx
mov r8, r9
cmp edx, 0xffffffff
mov eax, ebx
cmovne eax, edx
cmp r15d, 0xffffffff
mov dword [rbp + 0x1f8], eax
cmove r15d, ebx
cmp r9, r12
jbe 0x18005e690
lea rax, [r8 - 2]
cmp word [rax], r10w
je 0x18005e690
mov r8, rax
cmp rax, r12
ja 0x18005e67e
mov byte [rsp + 0x30], r11b
lea rcx, [rbp + 0x40]
mov rdx, rsi
mov qword [rsp + 0x20], r11
call fcn.18005a0d4
movd xmm15, dword [rbp + 0x1f8]
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 0x18005e726
mov r8, r13
cmp r13, r12
jbe 0x18005e6f0
lea ecx, [r9 + 0xa]
lea rax, [r8 - 2]
cmp word [rax], cx
je 0x18005e6f0
mov r8, rax
cmp rax, r12
ja 0x18005e6df
mov byte [rsp + 0x30], r9b
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x20], r9
mov rdx, rsi
mov r9, r13
call fcn.18005a0d4
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 0x18005e747
movd xmm14, ebx
cvtdq2ps xmm14, xmm14
movss dword [rbp + 0x1f0], xmm10
mulss xmm14, xmm5
mov r15b, byte [rbp + 0x1c8]
test r15b, r15b
je 0x18005e86e
cmp byte [rdi + 0xe84], r9b
je 0x18005e86e
test dword [rbp + 0x1e8], 0x1000
jne 0x18005e7c0
comiss xmm13, dword [rdi + 0x50]
movaps xmm1, xmm10
movaps xmm0, xmm13
mulss xmm1, dword [0x1801b8120]
subss xmm10, dword [rsi + 0x3830]
jae 0x18005e79f
subss xmm0, xmm1
maxss xmm0, xmm12
cvttss2si eax, xmm0
jmp 0x18005e7b2
subss xmm0, xmm10
comiss xmm0, dword [rdi + 0x50]
jb 0x18005e7c4
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x50], xmm0
jmp 0x18005e7c4
mov dword [rdi + 0x50], r9d
test r13b, r13b
je 0x18005e867
movaps xmm0, xmm15
subss xmm0, dword [rsi + 0x3c28]
comiss xmm0, xmm6
jae 0x18005e7e8
movaps xmm6, xmm0
maxss xmm6, xmm12
jmp 0x18005e816
movss xmm2, dword [rsi + 0x3834]
movaps xmm1, xmm11
addss xmm2, xmm2
movaps xmm0, xmm15
subss xmm1, xmm2
subss xmm0, xmm1
comiss xmm0, xmm6
jb 0x18005e816
movaps xmm6, xmm15
subss xmm6, xmm11
addss xmm6, xmm2
comiss xmm6, xmm12
movss xmm2, dword [rsi + 0x3834]
jae 0x18005e82a
movaps xmm2, xmm12
jmp 0x18005e841
addss xmm2, xmm2
addss xmm2, xmm14
subss xmm2, xmm11
maxss xmm2, xmm12
minss xmm2, xmm6
movss xmm1, dword [rbp - 0x54]
mov rax, qword [rbp - 0x60]
movss xmm0, dword [rax + 0x88]
subss xmm0, xmm2
addss xmm1, xmm0
movss dword [rbp - 0x54], xmm1
movss dword [rax + 0x88], xmm2
mov byte [rdi + 0xe84], r9b
movss xmm10, dword [rdi + 0x50]
movss xmm11, dword [0x1801b82bc]
cmp byte [rsp + 0x54], r9b
je 0x18005eae0
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 0x18005e8b0
movaps xmm1, xmm11
jmp 0x18005e8b8
movss xmm1, dword [0x1801b8194]
mov rax, qword [0x1802d3cd8]
lea rcx, [rbp - 0x78]
movdqu xmm0, xmmword [rax + 0x3bc0]
mulss xmm1, dword [rax + 0x37f4]
movups xmmword [rbp - 0x78], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, xmm1
movss dword [rbp - 0x6c], xmm0
call fcn.1800377e8
mov r15d, eax
test r13b, r13b
je 0x18005e8f9
movss dword [rbp - 0x18], xmm12
jmp 0x18005e902
movss xmm12, dword [0x1801b85e8]
movss xmm6, dword [rbp - 0x54]
mov qword [rbp + 0x1f8], r8
addss xmm6, xmm8
addss xmm7, dword [rbp - 0x58]
subss xmm7, xmm10
cmp r8, rbx
jae 0x18005ead5
movss xmm4, dword [rbp - 0x3c]
xorps xmm11, xmm11
movss xmm5, dword [rbp - 0x44]
xor r14d, r14d
movss xmm13, dword [rbp - 0x18]
mov r13, qword [rbp - 0x60]
movaps xmm0, xmm4
addss xmm0, dword [rsi + 0x3c28]
comiss xmm6, xmm0
ja 0x18005eab5
comiss xmm6, xmm5
jae 0x18005e98a
cmp r8, rbx
jae 0x18005ea9a
mov ecx, 0xa
movzx eax, word [r8]
add r8, 2
mov qword [rbp + 0x1f8], r8
cmp ax, cx
je 0x18005ea9a
cmp r8, rbx
jb 0x18005e968
jmp 0x18005ea9a
lea rax, [rbp + 0x1f8]
mov byte [rsp + 0x30], 1
mov r9, rbx
mov qword [rsp + 0x20], rax
mov rdx, rsi
lea rcx, [rbp - 0x18]
call fcn.18005a0d4
movss xmm5, dword [rbp - 0x18]
comiss xmm5, xmm11
ja 0x18005e9e9
mov rax, qword [rsi + 0x3c20]
cmp dword [rax], 0x20
jle 0x18005e9cf
mov rax, qword [rax + 8]
movss xmm0, dword [rax + 0x80]
jmp 0x18005e9d4
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 - 0x3c]
movaps xmm3, xmm7
movss xmm8, dword [rbp - 0x48]
addss xmm3, xmm5
movss xmm5, dword [rbp - 0x44]
maxss xmm7, xmm8
movss xmm9, dword [rbp - 0x40]
movaps xmm2, xmm13
subss xmm2, dword [rsi + 0x3c28]
movaps xmm1, xmm12
movaps xmm0, xmm4
addss xmm1, xmm6
minss xmm3, xmm9
movss dword [rbp - 0x78], xmm7
addss xmm2, xmm6
minss xmm0, xmm1
movss dword [rbp - 0x70], xmm3
maxss xmm2, xmm5
comiss xmm5, xmm0
movss dword [rbp - 0x74], xmm2
movss dword [rbp - 0x6c], xmm0
jae 0x18005ea8a
comiss xmm4, xmm2
jbe 0x18005ea8a
comiss xmm8, xmm3
jae 0x18005ea8a
comiss xmm9, xmm7
jbe 0x18005ea8a
mov rcx, qword [r13 + 0x298]
lea r8, [rbp - 0x70]
mov dword [rsp + 0x28], r14d
lea rdx, [rbp - 0x78]
mov r9d, r15d
movss dword [rsp + 0x20], xmm11
call fcn.18004e190
movss xmm4, dword [rbp - 0x3c]
movss xmm5, dword [rbp - 0x44]
movss xmm9, dword [0x1801b8174]
mov r8, qword [rbp + 0x1f8]
movss xmm7, dword [rbp - 0x58]
subss xmm7, xmm10
addss xmm6, dword [rsi + 0x3c28]
cmp r8, rbx
jb 0x18005e941
movss xmm11, dword [0x1801b82bc]
xor r9d, r9d
movss xmm13, dword [rbp - 0x30]
mov rdi, qword [rbp - 0x28]
mov r14, qword [rsp + 0x78]
mov r13d, dword [rsp + 0x64]
mov r15b, byte [rbp + 0x1c8]
xorps xmm12, xmm12
mov r12, qword [rbp + 0x1d0]
test r13b, r13b
jne 0x18005eafe
mov rax, r14
sub rax, r12
cmp rax, 0x200000
jge 0x18005eb9a
mov rax, qword [0x1802d3cd8]
lea r8, [rbp - 0x48]
test r13b, r13b
lea rcx, [rbp - 0x78]
cmovne r8, r9
movdqu xmm0, xmmword [rax + 0x38d0]
movups xmmword [rbp - 0x78], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37f4]
movss dword [rbp - 0x6c], xmm0
movss xmm0, dword [rbp - 0x58]
subss xmm0, xmm10
movss dword [rbp + 0x1c8], xmm0
movss xmm0, dword [rbp - 0x54]
movss dword [rbp + 0x1cc], xmm0
call fcn.1800377e8
mov rbx, qword [rbp - 0x60]
lea r9, [rbp + 0x1c8]
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.18004f8b0
xor r9d, r9d
jmp 0x18005eb9e
mov rbx, qword [rbp - 0x60]
test r15b, r15b
je 0x18005ed36
movss xmm0, dword [rsi + 0x18]
addss xmm0, dword [rdi + 0xe80]
movss dword [rdi + 0xe80], xmm0
cmp byte [rsi + 0x7b], r9b
je 0x18005ebea
comiss xmm0, xmm12
jbe 0x18005ebea
movss xmm1, dword [0x1801b8360]
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
xor r9d, r9d
comiss xmm0, dword [0x1801b8210]
jbe 0x18005ebea
mov cl, r9b
lea edi, [r9 + 1]
jmp 0x18005ebf2
mov edi, 1
mov cl, dil
movss xmm0, dword [rbp - 0x54]
addss xmm0, xmm15
addss xmm13, dword [rbp - 0x58]
subss xmm13, xmm10
cvttss2si eax, xmm13
movd xmm6, eax
cvtdq2ps xmm6, xmm6
cvttss2si eax, xmm0
movss dword [rbp - 0x78], xmm6
movaps xmm3, xmm6
addss xmm3, xmm11
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss dword [rbp - 0x70], xmm3
movaps xmm1, xmm7
movaps xmm2, xmm7
subss xmm1, dword [rsi + 0x3c28]
subss xmm2, dword [0x1801b846c]
addss xmm1, xmm9
movss dword [rbp - 0x6c], xmm2
movss dword [rbp - 0x74], xmm1
test cl, cl
je 0x18005ece6
movss xmm0, dword [rbp - 0x44]
comiss xmm0, xmm2
jae 0x18005ece6
movss xmm0, dword [rbp - 0x3c]
comiss xmm0, xmm1
jbe 0x18005ece6
movss xmm0, dword [rbp - 0x48]
comiss xmm0, xmm3
jae 0x18005ece6
movss xmm0, dword [rbp - 0x40]
comiss xmm0, xmm6
jbe 0x18005ece6
mov rax, qword [0x1802d3cd8]
lea rcx, [rbp - 0x28]
movss dword [rbp + 0x1c8], xmm6
movss dword [rbp + 0x1cc], 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.1800377e8
mov rcx, qword [rbx + 0x298]
lea rdx, [rbp - 0x78]
mov r9d, eax
movss dword [rsp + 0x20], xmm11
lea r8, [rbp + 0x1c8]
call fcn.18004df44
xor r9d, r9d
movss xmm8, dword [rbp - 0x50]
movss xmm13, dword [rbp - 0x4c]
movss xmm15, dword [rbp - 0x38]
mov r15d, dword [rsp + 0x68]
cmp byte [rsp + 0x5c], r9b
jne 0x18005ed4d
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 0x18005ed4d
movss xmm8, dword [rbp - 0x50]
movss xmm13, dword [rbp - 0x4c]
movss xmm15, dword [rbp - 0x38]
mov r15d, dword [rsp + 0x68]
movss xmm6, dword [rbp + 0x1f0]
mov ebx, dword [rbp - 0x64]
test bl, bl
je 0x18005ed64
call fcn.180041000
xor r9d, r9d
test r13b, r13b
je 0x18005edf1
addss xmm14, dword [rsi + 0x3834]
lea rcx, [rbp + 0x1c8]
movss dword [rbp + 0x1c8], xmm6
movss dword [rbp + 0x1cc], xmm14
call fcn.180057b4c
mov ebx, dword [rsi + 0x4748]
mov eax, ebx
or eax, 0x401
mov dword [rsi + 0x4748], eax
call fcn.18003c838
mov eax, dword [rsi + 0x476c]
mov edi, dword [rbp + 0x98]
and eax, 0x80
or edi, eax
mov dword [rsi + 0x4748], ebx
call fcn.180043c98
mov ebx, dword [rbp - 0x64]
xor r9d, r9d
cmp dword [rsi + 0x4764], r9d
jne 0x18005edf1
mov eax, dword [rbp + 0x94]
mov dword [rsi + 0x4768], eax
mov dword [rsi + 0x4764], r15d
mov dword [rsi + 0x476c], edi
cmp byte [rsi + 0x5c58], r9b
je 0x18005ee30
test bl, bl
jne 0x18005ee30
mov rax, qword [0x1802d3cd8]
lea rcx, [0x1800f3a0c]
mov r8, r14
mov rdx, r12
mov qword [rax + 0x5c78], rcx
lea rcx, [0x1800f3a08]
mov qword [rax + 0x5c80], rcx
lea rcx, [rbp - 0x58]
call fcn.1800485b4
comiss xmm15, xmm12
jbe 0x18005ee66
addss xmm13, dword [rsi + 0x3848]
addss xmm8, dword [rsi + 0x3834]
mov rdx, qword [rbp + 0x1c0]
mov r9d, 1
xor r8d, r8d
unpcklps xmm13, xmm8
movq rcx, xmm13
call fcn.180037f98
movzx r9d, byte [rsp + 0x50]
mov r8d, dword [rbp + 0x1e8]
test r9b, r9b
je 0x18005ee87
bt r8d, 0x1b
jb 0x18005ee87
mov ecx, r15d
call fcn.1800397fc
movzx ecx, byte [rsp + 0x59]
test r8b, 0x20
mov eax, r9d
cmovne eax, ecx
jmp 0x18005c456