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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1b8]
sub rsp, 0x280
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm11
movaps xmmword [rax - 0xa8], xmm12
movaps xmmword [rax - 0xb8], xmm13
movaps xmmword [rax - 0xc8], xmm14
movaps xmmword [rax - 0xd8], xmm15
mov rax, qword [0x180169480]
xor rax, rsp
mov qword [rbp + 0xd8], rax
mov dword [rbp - 0x60], r9d
mov qword [rbp - 0x48], r8
mov r13, rcx
mov qword [rbp - 0x20], rcx
mov rbx, qword [0x1801b50e0]
mov r15, rbx
mov qword [rsp + 0x68], rbx
mov rax, qword [rbx + 0x3eb8]
mov byte [rax + 0xb0], 1
mov r14, qword [rbx + 0x3eb8]
mov qword [rbp - 0x70], r14
cmp byte [r14 + 0xb3], 0
jne 0x18005c96a
mov r12d, dword [rbp + 0x1e8]
mov edi, r12d
shr edi, 0x1a
and dil, 1
mov dword [rsp + 0x5c], edi
mov eax, r12d
shr eax, 0xe
and al, 1
mov dword [rsp + 0x60], eax
mov eax, r12d
shr eax, 0xf
and al, 1
mov dword [rbp - 0x54], eax
mov eax, r12d
shr eax, 0x10
not al
and al, 1
mov dword [rsp + 0x70], eax
mov eax, r12d
shr eax, 0x12
and al, 1
mov dword [rbp - 0x68], eax
test dil, dil
je 0x18005c59e
call fcn.180030330
mov rbx, qword [0x1801b50e0]
movsxd r8, dword [r14 + 0xe8]
mov rax, qword [r14 + 0xf0]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
mov rcx, r13
call fcn.180020a40
mov esi, eax
mov dword [rbp - 0x78], eax
cmp dword [rbx + 0x3f00], eax
jne 0x18005c5de
mov r8, r13
mov edx, ntohl
mov ecx, eax
call fcn.1800375d0
mov rbx, qword [0x1801b50e0]
mov rcx, r13
cmp r13, 0xffffffffffffffff
jae 0x18005c604
movzx edx, byte [rcx]
test dl, dl
je 0x18005c604
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x18005c5fb
cmp byte [rax], dl
je 0x18005c604
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x18005c5e7
movss xmm0, dword [rbx + 0x3c18]
xor eax, eax
movss xmm1, dword [0x180151074]
movss dword [rbp - 0x2c], xmm1
movss xmm9, dword [0x180151064]
xorps xmm10, xmm10
cmp r13, rcx
jne 0x18005c632
xorps xmm7, xmm7
jmp 0x18005c67e
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r13
movss dword [rsp + 0x20], xmm1
movaps xmm3, xmm9
movaps xmm2, xmm0
lea rdx, [rsp + 0x78]
mov rcx, qword [rbx + 0x3c10]
call fcn.1800470e0
movss xmm0, dword [rsp + 0x78]
addss xmm0, dword [0x180150f64]
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss xmm0, dword [rsp + 0x7c]
movss dword [rbp - 0x28], xmm7
test dil, dil
je 0x18005c699
movss xmm0, dword [r15 + 0x3c18]
mulss xmm0, dword [0x180150fd8]
movss xmm6, dword [r15 + 0x3820]
movaps xmm3, xmm6
addss xmm3, xmm6
addss xmm3, xmm0
call fcn.180030190
movaps xmm2, xmm0
mov rdx, qword [rbp + 0x1e0]
mov rdx, qword [rdx]
lea rcx, [rsp + 0x78]
call fcn.180030210
comiss xmm7, xmm10
jbe 0x18005c6dd
movaps xmm1, xmm7
addss xmm1, dword [r15 + 0x3834]
jmp 0x18005c6e0
xorps xmm1, xmm1
movss xmm12, dword [r14 + 0xfc]
movss dword [rbp - 0x50], xmm12
movaps xmm0, xmm12
movss xmm7, dword [rsp + 0x7c]
movss dword [rbp - 0x30], xmm7
addss xmm0, xmm7
movss xmm8, dword [r14 + 0xf8]
movss dword [rbp - 0x34], xmm8
movaps xmm13, xmm8
movss xmm11, dword [rsp + 0x78]
addss xmm13, xmm11
movss dword [rbp - 0x38], xmm13
movss dword [rbp - 0x18], xmm8
movss dword [rbp - 0x14], xmm12
movss dword [rbp - 0x10], xmm13
movss dword [rbp - 0xc], xmm0
movaps xmm2, xmm12
addss xmm2, xmm7
addss xmm1, xmm11
addss xmm1, xmm8
movss dword [rbp + 0x68], xmm8
movss dword [rbp + 0x6c], xmm12
movss dword [rbp + 0x70], xmm1
movss dword [rbp + 0x74], xmm2
mov rbx, r14
mov qword [rbp - 0x40], rbx
xorps xmm0, xmm0
movups xmmword [rbp + 0x98], xmm0
subss xmm2, xmm12
subss xmm1, xmm8
movss dword [rsp + 0x78], xmm1
movss dword [rsp + 0x7c], xmm2
lea rcx, [rsp + 0x78]
movaps xmm1, xmm6
call fcn.18002fd20
test dil, dil
je 0x18005ca2d
mov r9d, 0x400
lea r8, [rbp - 0x18]
mov edx, esi
lea rcx, [rbp + 0x68]
call fcn.18002fe90
test al, al
je 0x18005c965
mov r13d, dword [r15 + 0x475c]
movups xmm0, xmmword [r15 + 0x4754]
movups xmmword [rbp + 0x98], xmm0
movss dword [r14 + 0xf8], xmm8
movss dword [r14 + 0xfc], xmm12
mov rbx, qword [0x1801b50e0]
mov dword [rbp + 0x68], 3
movups xmm0, xmmword [rbx + 0x38ec]
movups xmmword [rbp + 0x6c], xmm0
lea rcx, [rbx + 0x4800]
lea rdx, [rbp + 0x68]
call fcn.180037d30
movups xmm0, xmmword [r15 + 0x392c]
movups xmmword [rbx + 0x38ec], xmm0
movss xmm6, dword [r15 + 0x3824]
mov rbx, qword [0x1801b50e0]
lea rcx, [rbx + 0x4810]
movss xmm0, dword [rbx + 0x380c]
mov dword [rsp + 0x78], 7
movss dword [rsp + 0x7c], xmm0
lea rdx, [rsp + 0x78]
call fcn.180037c40
movss dword [rbx + 0x380c], xmm6
movss xmm6, dword [r15 + 0x3828]
mov rbx, qword [0x1801b50e0]
lea rcx, [rbx + 0x4810]
movss xmm0, dword [rbx + 0x3810]
mov dword [rsp + 0x78], 8
movss dword [rsp + 0x7c], xmm0
lea rdx, [rsp + 0x78]
call fcn.180037c40
movss dword [rbx + 0x3810], xmm6
mov qword [rsp + 0x78], 0
lea rdx, [rsp + 0x78]
mov ecx, 2
call fcn.1800214b0
movss xmm1, dword [rbp - 0xc]
movss xmm12, dword [rbp - 0x14]
movss dword [rbp - 0x50], xmm12
subss xmm1, xmm12
movss xmm13, dword [rbp - 0x10]
movss dword [rbp - 0x38], xmm13
movaps xmm0, xmm13
movss xmm8, dword [rbp - 0x18]
movss dword [rbp - 0x34], xmm8
subss xmm0, xmm8
movss dword [rsp + 0x78], xmm0
movss dword [rsp + 0x7c], xmm1
mov dword [rsp + 0x20], 4
mov r9b, 1
lea r8, [rsp + 0x78]
mov edx, esi
mov rcx, qword [rbp - 0x20]
call fcn.180027810
movzx ebx, al
mov ecx, 3
call fcn.180021540
mov r8, qword [0x1801b50e0]
movsxd rax, dword [r8 + 0x4800]
cmp eax, 1
jl 0x18005c95c
lea rdx, [rax + rax*4]
mov rcx, qword [r8 + 0x4808]
movsxd rax, dword [rcx + rdx*4 - 0x14]
add rax, rax
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
movups xmmword [r8 + rax*8 + 0x38bc], xmm0
dec dword [r8 + 0x4800]
test bl, bl
jne 0x18005c9ce
call fcn.180027ac0
call fcn.180030460
xor al, al
mov rcx, qword [rbp + 0xd8]
xor rcx, rsp
call fcn.1800eefb0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rbx, qword [r15 + 0x3eb8]
mov qword [rbp - 0x40], rbx
movsx ecx, word [rbx + 0x156]
mov eax, dword [rbx + 0x150]
bts ecx, eax
mov word [rbx + 0x156], cx
movss xmm0, dword [rbx + 0xf8]
addss xmm0, dword [r15 + 0x381c]
movss dword [rbx + 0xf8], xmm0
movss xmm1, dword [r15 + 0x3820]
addss xmm1, dword [rbx + 0xfc]
movss dword [rbx + 0xfc], xmm1
subss xmm11, dword [rbx + 0xa4]
jmp 0x18005ca7c
bt r12d, 0x1c
jb 0x18005ca75
mov r9d, 0x400
lea r8, [rbp - 0x18]
mov edx, esi
lea rcx, [rbp + 0x68]
call fcn.18002fe90
test al, al
je 0x18005c96a
movss xmm13, dword [rbp - 0x10]
movss dword [rbp - 0x38], xmm13
movss xmm12, dword [rbp - 0x14]
movss dword [rbp - 0x50], xmm12
movss xmm8, dword [rbp - 0x18]
movss dword [rbp - 0x34], xmm8
mov r13d, dword [r15 + 0x475c]
mov edx, esi
lea rcx, [rbp - 0x18]
call fcn.180024530
movzx ecx, al
mov byte [rsp + 0x64], al
test al, al
je 0x18005ca9d
mov dword [r15 + 0x4a38], 1
mov rdi, qword [0x1801b50e0]
test esi, esi
je 0x18005cab9
cmp dword [rdi + 0x4bd0], esi
jne 0x18005cab9
add rdi, 0x4bc8
jmp 0x18005cabb
xor edi, edi
shr r13d, 8
and r13b, 1
mov eax, dword [r15 + 0x3f18]
cmp eax, esi
je 0x18005caf2
cmp dword [r15 + 0x48a8], esi
jne 0x18005caf2
test byte [r15 + 0x48b4], 1
jne 0x18005caeb
cmp dword [r15 + 0x48cc], 2
jne 0x18005caf2
mov byte [rsp + 0x51], 1
jmp 0x18005caf7
mov byte [rsp + 0x51], 0
test cl, cl
je 0x18005cb0a
cmp byte [r15 + 0x3738], 0
je 0x18005cb0a
mov r12b, 1
jmp 0x18005cb0d
xor r12b, r12b
mov byte [rsp + 0x52], r12b
mov r8d, dword [rsp + 0x5c]
test r8b, r8b
je 0x18005cb7d
test rdi, rdi
je 0x18005cb7d
test eax, eax
jne 0x18005cb7d
movsxd r8, dword [rbx + 0xe8]
mov rax, qword [rbx + 0xf0]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
lea rcx, str.SCROLLY
call fcn.180020a40
mov ebx, eax
mov rcx, qword [0x1801b50e0]
cmp dword [rcx + 0x3f00], eax
jne 0x18005cb6a
lea r8, str.SCROLLY
mov edx, ntohl
mov ecx, eax
call fcn.1800375d0
cmp dword [r15 + 0x3f48], ebx
jne 0x18005cb78
mov sil, 1
jmp 0x18005cb8a
mov r8d, dword [rsp + 0x5c]
xor sil, sil
test r8b, r8b
je 0x18005cc00
test rdi, rdi
je 0x18005cc00
mov rax, qword [rbp - 0x40]
movsxd r8, dword [rax + 0xe8]
mov rax, qword [rax + 0xf0]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
lea rcx, str.SCROLLY
call fcn.180020a40
mov ebx, eax
mov rcx, qword [0x1801b50e0]
cmp dword [rcx + 0x3f00], eax
jne 0x18005cbd3
lea r8, str.SCROLLY
mov edx, ntohl
mov ecx, eax
call fcn.1800375d0
mov r8d, dword [rsp + 0x5c]
cmp dword [r15 + 0x3f18], ebx
jne 0x18005cc00
mov cl, 1
mov byte [rsp + 0x50], cl
mov byte [rsp + 0x59], 0
mov byte [rsp + 0x54], 0
mov rax, qword [rbp - 0x40]
movss xmm9, dword [rax + 0x80]
jmp 0x18005cc28
mov byte [rsp + 0x59], 0
mov byte [rsp + 0x54], 0
xor cl, cl
mov byte [rsp + 0x50], cl
test r8b, r8b
je 0x18005cc24
mov rax, qword [rbp - 0x40]
movss xmm9, dword [rax + 0x80]
jmp 0x18005cc28
mov byte [rsp + 0x50], cl
test rdi, rdi
je 0x18005cc3d
movzx eax, r8b
xor al, 1
cmp byte [rdi + 0x6b], al
je 0x18005cc3d
mov r15b, 1
jmp 0x18005cc40
xor r15b, r15b
test r12b, r12b
jne 0x18005cc6a
test sil, sil
jne 0x18005cc6a
cmp byte [rsp + 0x51], sil
jne 0x18005cc6a
test r13b, r13b
jne 0x18005cc6a
mov byte [rsp + 0x58], r13b
test cl, cl
jne 0x18005cc6f
mov byte [rsp + 0x5a], cl
mov rax, qword [rsp + 0x68]
jmp 0x18005cc84
mov byte [rsp + 0x58], 1
mov byte [rsp + 0x5a], 1
mov rax, qword [rsp + 0x68]
mov edx, dword [rbp - 0x78]
cmp dword [rax + 0x3f18], edx
jne 0x18005cc8d
test r15b, r15b
je 0x18005cecf
lea rdi, [rax + 0x4bc8]
mov dword [rdi + 0xe80], 0xbe99999a
mov rbx, 0xffffffffffffffff
mov rax, qword [rbp - 0x48]
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x18005ccb0
lea esi, [rbx + 1]
mov ecx, dword [rdi + 0x3c]
cmp esi, ecx
jle 0x18005cce7
test ecx, ecx
je 0x18005ccd2
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005ccd7
mov eax, 8
mov edx, esi
cmp eax, esi
cmovg edx, eax
lea rcx, [rdi + 0x38]
call fcn.1800384f0
mov dword [rdi + 0x38], esi
movsxd r8, esi
mov r14, qword [rbp - 0x48]
mov rdx, r14
mov rcx, qword [rdi + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov esi, dword [rbp - 0x78]
cmp dword [rdi + 8], esi
jne 0x18005cd2c
test r15b, r15b
jne 0x18005cd2c
mov r12b, 1
cmp dword [rdi + 0x10], ebx
jne 0x18005cd2c
cmp byte [rdi + 0x48], r15b
je 0x18005cd2f
movsxd r8, ebx
mov rdx, r14
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x18005cd2f
xor r12b, r12b
mov dword [rdi + 8], esi
mov ebx, dword [rbp - 0x60]
inc ebx
mov ecx, dword [rdi + 0x1c]
cmp ebx, ecx
jle 0x18005cd62
test ecx, ecx
je 0x18005cd4d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005cd52
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rdi + 0x18]
call fcn.180038580
mov dword [rdi + 0x18], ebx
mov ecx, dword [rdi + 0x2c]
test ecx, ecx
jns 0x18005cd85
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor edx, edx
test eax, eax
cmovg edx, eax
lea rcx, [rdi + 0x28]
call fcn.1800384f0
xor ecx, ecx
mov dword [rdi + 0x28], ecx
mov byte [rdi + 0x48], cl
mov rsi, r14
mov r15, qword [rdi + 0x20]
mov rbx, r15
movsxd r14, dword [rbp - 0x60]
dec r14
lea r14, [r15 + r14*2]
cmp r15, r14
jae 0x18005cdd3
cmp byte [rsi], 0
je 0x18005cdd1
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x58]
call fcn.180020d70
movsxd rcx, eax
add rsi, rcx
movzx eax, word [rbp - 0x58]
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x18005cda7
xor ecx, ecx
mov word [rbx], cx
sub rbx, r15
sar rbx, 1
mov dword [rdi + 0xc], ebx
mov rax, qword [rbp - 0x48]
sub esi, eax
mov dword [rdi + 0x10], esi
mov r8d, dword [rsp + 0x5c]
test r12b, r12b
je 0x18005ce16
mov ecx, ebx
cmp dword [rdi + 0x54], ebx
cmovl ecx, dword [rdi + 0x54]
mov dword [rdi + 0x54], ecx
mov ecx, ebx
cmp dword [rdi + 0x58], ebx
cmovl ecx, dword [rdi + 0x58]
mov dword [rdi + 0x58], ecx
cmp dword [rdi + 0x5c], ebx
cmovl ebx, dword [rdi + 0x5c]
mov dword [rdi + 0x5c], ebx
jmp 0x18005ce5d
mov qword [rdi + 0x50], 0
mov dword [rdi + 0xe72], 0x630000
mov dword [rdi + 0xe78], ecx
mov dword [rdi + 0xe7c], 0x3e7
mov qword [rdi + 0x58], 0
mov word [rdi + 0x69], 1
mov dword [rdi + 0x70], ecx
mov byte [rdi + 0x68], 0
movzx eax, r8b
xor al, 1
mov byte [rdi + 0x6b], al
mov byte [rdi + 0x60], 0
mov dword [rdi + 0x64], ecx
test r8b, r8b
jne 0x18005ceb5
mov ecx, dword [rbp + 0x1e8]
test cl, 0x10
mov eax, dword [rsp + 0x54]
movzx eax, al
mov ecx, 1
cmovne eax, ecx
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x68]
cmp byte [rsp + 0x51], r8b
je 0x18005ce9c
test r12b, r12b
je 0x18005ce98
test byte [rax + 0x48b4], 4
jne 0x18005ce9c
mov byte [rsp + 0x54], cl
test r13b, r13b
jne 0x18005ceb1
cmp byte [rsp + 0x52], r13b
je 0x18005ceb5
cmp byte [rax + 0xe14], r13b
je 0x18005ceb5
mov byte [rsp + 0x54], cl
mov r14, qword [rbp - 0x70]
movzx r12d, byte [rsp + 0x52]
test dword [rbp + 0x1e8], 0x2000
je 0x18005cecf
mov byte [rdi + 0x60], 1
mov rsi, qword [rsp + 0x68]
movzx r15d, byte [rsi + 0x79]
mov byte [rsp + 0x74], r15b
mov r13d, dword [rbp - 0x78]
movzx ebx, byte [rsp + 0x58]
cmp dword [rsi + 0x3f18], r13d
je 0x18005cf24
test bl, bl
je 0x18005cf17
mov rdx, r14
mov ecx, r13d
call fcn.180024140
mov rdx, r14
mov ecx, r13d
call fcn.180031e30
mov rcx, r14
call fcn.18002cc40
mov r8d, dword [rsp + 0x5c]
cmp dword [rsi + 0x3f18], r13d
jne 0x18005d058
test r12b, r12b
je 0x18005cf47
mov rax, qword [0x1801b50e0]
mov dword [rax + 0x4570], r13d
mov dword [rax + 0x456c], r13d
mov word [rax + 0x4574], 0
mov eax, dword [rsi + 0x4728]
or eax, 3
mov dword [rsi + 0x4728], eax
mov ecx, dword [rbp + 0x1e8]
test r8b, r8b
jne 0x18005cf65
test cl, cl
jns 0x18005cf6e
or eax, 0xc
mov dword [rsi + 0x4728], eax
mov rax, qword [0x1801b50e0]
mov dword [rax + 0x3fb8], r13d
mov dword [rax + 0x3fb4], r13d
mov word [rax + 0x3fbc], 0
mov dword [rax + 0x3fc4], r13d
mov dword [rax + 0x3fc0], r13d
mov word [rax + 0x3fc8], 0
test r8b, r8b
je 0x18005cfd6
mov dword [rax + 0x3fa0], r13d
mov dword [rax + 0x3f9c], r13d
mov word [rax + 0x3fa4], 0
mov dword [rax + 0x3fac], r13d
mov dword [rax + 0x3fa8], r13d
mov word [rax + 0x3fb0], 0
test r15b, r15b
je 0x18005cff9
mov rax, qword [0x1801b50e0]
mov dword [rax + 0x45dc], r13d
mov dword [rax + 0x45d8], r13d
mov word [rax + 0x45e0], 0
test ecx, 0x440
je 0x18005d01f
mov rax, qword [0x1801b50e0]
mov dword [rax + 0x3f64], r13d
mov dword [rax + 0x3f60], r13d
mov word [rax + 0x3f68], 0
cmp dword [rsi + 0x3f18], r13d
jne 0x18005d058
test rdi, rdi
jne 0x18005d032
call fcn.180024280
cmp dword [rsi + 0x3f18], r13d
jne 0x18005d058
cmp byte [rsi + 0x3738], 0
je 0x18005d064
cmp byte [rsp + 0x5a], 0
jne 0x18005d064
test bl, bl
jne 0x18005d064
mov byte [rsp + 0x59], 1
mov cl, 1
jmp 0x18005d06a
test rdi, rdi
je 0x18005d068
cmp byte [rsp + 0x50], 0
je 0x18005d068
mov cl, 1
jmp 0x18005d06a
xor cl, cl
mov byte [rsp + 0x50], cl
mov r13d, dword [rsp + 0x54]
test rdi, rdi
je 0x18005d08d
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18005d085
test r13b, r13b
je 0x18005d08d
test cl, cl
je 0x18005d08d
mov dl, 1
jmp 0x18005d08f
xor dl, dl
mov dword [rsp + 0x54], edx
movzx r12d, dl
mov byte [rbp - 0x64], 0
mov byte [rsp + 0x5a], 0
mov eax, dword [rsp + 0x60]
test al, al
je 0x18005d193
test rdi, rdi
je 0x18005d193
test cl, cl
jne 0x18005d0c1
test dl, dl
je 0x18005d19b
mov r14d, dword [rbp - 0x60]
inc r14d
mov ecx, dword [rdi + 0x1c]
cmp r14d, ecx
jle 0x18005d0f6
test ecx, ecx
je 0x18005d0df
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005d0e4
mov eax, 8
mov edx, r14d
cmp eax, r14d
cmovg edx, eax
lea rcx, [rdi + 0x18]
call fcn.180038580
mov dword [rdi + 0x18], r14d
mov rcx, qword [rbp - 0x48]
mov rsi, rcx
mov r15, qword [rdi + 0x20]
mov rbx, r15
movsxd r14, r14d
dec r14
lea r14, [r15 + r14*2]
cmp r15, r14
jae 0x18005d145
cmp byte [rsi], 0
je 0x18005d141
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x58]
call fcn.180020d70
movsxd rcx, eax
add rsi, rcx
movzx eax, word [rbp - 0x58]
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x18005d117
mov rcx, qword [rbp - 0x48]
xor edx, edx
mov word [rbx], dx
sub rbx, r15
sar rbx, 1
mov dword [rdi + 0xc], ebx
sub esi, ecx
mov dword [rdi + 0x10], esi
mov ecx, ebx
cmp dword [rdi + 0x54], ebx
cmovl ecx, dword [rdi + 0x54]
mov dword [rdi + 0x54], ecx
mov ecx, ebx
cmp dword [rdi + 0x58], ebx
cmovl ecx, dword [rdi + 0x58]
mov dword [rdi + 0x58], ecx
cmp dword [rdi + 0x5c], ebx
cmovl ebx, dword [rdi + 0x5c]
mov dword [rdi + 0x5c], ebx
cmp ecx, ebx
cmovne edx, r12d
mov dword [rsp + 0x54], edx
movzx r15d, byte [rsp + 0x74]
movzx ecx, byte [rsp + 0x50]
mov eax, dword [rsp + 0x60]
test cl, cl
jne 0x18005d1af
test dl, dl
jne 0x18005d1af
mov r12, qword [rsp + 0x68]
mov ebx, dword [rbp - 0x78]
cmp dword [r12 + 0x3f18], ebx
jne 0x18005d1c9
jmp 0x18005d1b7
mov ebx, dword [rbp - 0x78]
mov r12, qword [rsp + 0x68]
test al, al
jne 0x18005d1c9
test rdi, rdi
je 0x18005d1c9
cmp byte [rdi + 0x48], al
mov byte [rbp - 0x5b], 1
jne 0x18005d1cd
mov byte [rbp - 0x5b], 0
cmp byte [rbp - 0x54], 0
je 0x18005d267
mov rdx, qword [r12 + 0x3c10]
cmp dword [rdx + 0x18], 0x2a
ja 0x18005d1eb
mov r8, qword [rdx + 0x38]
jmp 0x18005d20f
mov rax, qword [rdx + 0x20]
movzx ecx, word [rax + 0x54]
mov eax, 0xffff
cmp cx, ax
jne 0x18005d203
mov r8, qword [rdx + 0x38]
jmp 0x18005d20f
lea rcx, [rcx + rcx*4]
mov rax, qword [rdx + 0x30]
lea r8, [rax + rcx*8]
lea rcx, [r12 + 0x5a58]
mov eax, dword [rdx + 0x14]
mov dword [rcx + 0x14], eax
mov rax, qword [r12 + 0x3c10]
mov edx, dword [rax + 0x64]
mov dword [rcx + 0x64], edx
mov rax, qword [r12 + 0x3c10]
mov edx, dword [rax + 0x68]
mov dword [rcx + 0x68], edx
mov rax, qword [r12 + 0x3c10]
mov edx, dword [rax + 0x6c]
mov dword [rcx + 0x6c], edx
mov rax, qword [r12 + 0x3c10]
mov rdx, qword [rax + 0x40]
mov qword [rcx + 0x40], rdx
mov qword [rcx + 0x38], r8
mov eax, dword [r8 + 4]
mov dword [rcx + 0x10], eax
call fcn.18002d000
xor eax, eax
mov dword [rbp - 0x58], eax
movss xmm0, dword [0x180150f34]
cmp dword [r12 + 0x3f18], ebx
jne 0x18005d745
mov eax, dword [rdi + 0x10]
mov dword [rbp - 0x58], eax
mov byte [rdi + 0xe86], 0
mov eax, dword [rbp - 0x60]
mov dword [rdi + 0x4c], eax
mov esi, dword [rbp + 0x1e8]
mov dword [rdi + 0xe88], esi
cmp byte [r12 + 0xe04], 0
sete al
mov byte [r12 + 0x3f25], al
mov ecx, 1
mov dword [r12 + 0x5ddc], ecx
movss xmm1, dword [r12 + 0xdfc]
subss xmm1, xmm8
subss xmm1, dword [r12 + 0x381c]
addss xmm1, dword [rdi + 0x50]
mov r14d, dword [rsp + 0x5c]
test r14b, r14b
je 0x18005d302
movss xmm2, dword [r12 + 0xe00]
mov rax, qword [rbp - 0x40]
subss xmm2, dword [rax + 0xfc]
jmp 0x18005d310
movss xmm2, dword [r12 + 0x3c18]
mulss xmm2, xmm0
test r13b, r13b
je 0x18005d334
xor r14d, r14d
mov dword [rdi + 0x58], r14d
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], r14b
mov byte [rdi + 0xe85], cl
jmp 0x18005d5cc
movzx eax, byte [rsp + 0x64]
test al, al
je 0x18005d4cd
cmp word [r12 + 0x3742], 2
jb 0x18005d4cd
cmp byte [r12 + 0xe15], 0
jne 0x18005d4cd
cmp byte [rdi + 0x6b], 0
je 0x18005d36a
movaps xmm2, xmm10
mov rcx, rdi
call fcn.18005a670
mov dword [rdi + 0x54], eax
mov dword [rdi + 0x58], eax
mov dword [rdi + 0x5c], eax
mov byte [rdi + 0x6a], 0
movzx ecx, word [r12 + 0x3742]
sub ecx, 2
test cl, 1
jne 0x18005d43f
test eax, eax
je 0x18005d3ab
movsxd rcx, eax
mov rax, qword [rdi + 0x20]
cmp word [rax + rcx*2 - 2], 0xa
je 0x18005d3ab
xor cl, cl
jmp 0x18005d3ad
mov cl, 1
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18005d3b9
test cl, cl
jne 0x18005d3dc
lea rdx, [rdi + 0x54]
mov r8d, 0x20000c
mov rcx, rdi
call fcn.18005ab30
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18005d3f7
cmp dword [rdi + 0x58], eax
jne 0x18005d3f4
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x58], eax
jmp 0x18005d3f7
mov dword [rdi + 0x54], eax
mov edx, dword [rdi + 0x54]
mov rcx, rdi
call fcn.18005a200
mov dword [rdi + 0x54], eax
mov dword [rdi + 0x5c], eax
mov eax, dword [rdi + 0xc]
mov edx, dword [rdi + 0x5c]
mov ecx, dword [rdi + 0x58]
cmp ecx, edx
je 0x18005d42e
cmp ecx, eax
jle 0x18005d41e
mov dword [rdi + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x18005d427
mov dword [rdi + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x18005d42e
mov dword [rdi + 0x54], ecx
cmp dword [rdi + 0x54], eax
jle 0x18005d5ba
mov dword [rdi + 0x54], eax
jmp 0x18005d5ba
mov rcx, qword [rdi + 0x20]
cdqe
movzx ebx, word [rcx + rax*2]
mov r8d, 0x200004
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.18005ab30
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov r8d, 0x600005
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.18005ab30
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov r8d, 0x600001
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.18005ab30
cmp bx, 0xa
je 0x18005d4bb
test r14b, r14b
je 0x18005d4bb
mov ecx, dword [rdi + 0x58]
mov eax, dword [rdi + 0x5c]
mov dword [rdi + 0x58], eax
mov dword [rdi + 0x5c], ecx
mov dword [rdi + 0x54], ecx
mov byte [rdi + 0xe84], 0
mov esi, dword [rbp + 0x1e8]
jmp 0x18005d5ba
cmp byte [r12 + 0x3738], 0
je 0x18005d555
cmp byte [rdi + 0xe85], 0
jne 0x18005d555
test al, al
je 0x18005d5c9
cmp byte [r12 + 0xe15], 0
je 0x18005d529
cmp byte [rdi + 0x6b], 0
je 0x18005d4fe
movaps xmm2, xmm10
lea rbx, [rdi + 0x5c]
mov eax, dword [rbx]
cmp dword [rdi + 0x58], eax
jne 0x18005d50f
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x58], eax
mov rcx, rdi
call fcn.18005a670
mov ecx, 0x54
mov rdx, rdi
mov dword [rbx], eax
mov dword [rcx + rdx], eax
jmp 0x18005d5ba
cmp byte [rdi + 0x6b], 0
je 0x18005d533
movaps xmm2, xmm10
mov rcx, rdi
call fcn.18005a670
mov dword [rdi + 0x58], eax
mov byte [rdi + 0x6a], 0
lea rbx, [rdi + 0x5c]
mov ecx, 0x54
mov rdx, rdi
mov dword [rbx], eax
mov dword [rcx + rdx], eax
jmp 0x18005d5ba
cmp byte [r12 + 0xe04], 0
je 0x18005d5c9
cmp byte [rdi + 0xe85], 0
jne 0x18005d5c9
movss xmm0, dword [r12 + 0xf8]
ucomiss xmm0, xmm10
jp 0x18005d58d
jne 0x18005d58d
movss xmm0, dword [r12 + 0xfc]
ucomiss xmm0, xmm10
jp 0x18005d58d
je 0x18005d5c9
cmp byte [rdi + 0x6b], 0
je 0x18005d597
movaps xmm2, xmm10
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18005d5a5
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x58], eax
mov rcx, rdi
call fcn.18005a670
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov ecx, 1
xor r14d, r14d
cmp byte [rdi + 0xe85], 0
je 0x18005d5e7
cmp byte [r12 + 0xe04], 0
jne 0x18005d5e7
mov byte [rdi + 0xe85], 0
cmp byte [r12 + 0xe14], 0
je 0x18005d5fd
cmp byte [r12 + 0xe16], 0
je 0x18005d60d
test r15b, r15b
je 0x18005d611
cmp byte [r12 + 0xe17], 0
je 0x18005d611
mov bl, 1
jmp 0x18005d613
xor bl, bl
bt esi, 0xa
jae 0x18005d681
mov r8d, ecx
xor edx, edx
mov ecx, 0x200
call fcn.18002dce0
test al, al
mov eax, dword [rsp + 0x60]
je 0x18005d685
test bl, bl
jne 0x18005d685
cmp byte [r12 + 0xe15], bl
jne 0x18005d685
test al, al
jne 0x18005d685
mov dword [rbp - 0x70], 9
mov dword [rsp + 0x20], 2
mov edx, esi
lea rcx, [rbp - 0x70]
call fcn.18005c010
test al, al
je 0x18005d681
lea rdx, [rdi + 0x54]
mov r8d, dword [rbp - 0x70]
mov rcx, rdi
call fcn.18005ab30
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov eax, dword [rsp + 0x60]
cmp dword [r12 + 0x37b0], 0
jle 0x18005d745
test bl, bl
jne 0x18005d713
test al, al
jne 0x18005d713
cmp byte [rsp + 0x51], al
jne 0x18005d713
mov esi, r14d
mov rbx, r14
mov r15d, dword [rbp + 0x1e8]
nop
mov rax, qword [r12 + 0x37b8]
movzx ecx, word [rbx + rax]
mov dword [rbp - 0x70], ecx
cmp ecx, 9
je 0x18005d6fd
mov dword [rsp + 0x20], 2
mov edx, r15d
lea rcx, [rbp - 0x70]
call fcn.18005c010
test al, al
je 0x18005d6fd
lea rdx, [rdi + 0x54]
mov r8d, dword [rbp - 0x70]
mov rcx, rdi
call fcn.18005ab30
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
inc esi
add rbx, 2
cmp esi, dword [r12 + 0x37b0]
jl 0x18005d6b0
movzx r15d, byte [rsp + 0x74]
mov ecx, dword [r12 + 0x37b4]
test ecx, ecx
jns 0x18005d73d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov edx, r14d
test eax, eax
cmovg edx, eax
lea rcx, [r12 + 0x37b0]
call fcn.180038580
mov dword [r12 + 0x37b0], r14d
xor r14b, r14b
mov byte [rsp + 0x75], r14b
lea rcx, [0x180148d5b]
mov esi, dword [rbp - 0x78]
cmp dword [r12 + 0x3f18], esi
jne 0x18005e40f
cmp byte [r12 + 0x3f24], r14b
jne 0x18005e40f
cmp byte [rsp + 0x59], r14b
jne 0x18005e40f
movaps xmm0, xmm7
subss xmm0, dword [r12 + 0x3820]
divss xmm0, dword [r12 + 0x3c18]
cvttss2si eax, xmm0
mov r14d, 1
mov ecx, r14d
cmp eax, r14d
cmovge ecx, eax
mov dword [rbp - 0x70], ecx
mov dword [rdi + 0x64], ecx
movzx eax, byte [r12 + 0xe15]
neg al
sbb ebx, ebx
and ebx, 0x400000
test r15b, r15b
je 0x18005d7f4
movzx eax, byte [r12 + 0xe16]
mov byte [rsp + 0x52], al
cmp byte [r12 + 0xe17], 0
je 0x18005d801
cmp byte [r12 + 0xe14], 0
jne 0x18005d801
test al, al
jne 0x18005d801
mov byte [rsp + 0x51], r14b
jmp 0x18005d806
movzx eax, byte [r12 + 0xe14]
mov byte [rsp + 0x52], al
mov byte [rsp + 0x51], 0
mov r8d, r14d
mov edx, esi
mov ecx, 0xa39
call fcn.18002fb40
test al, al
jne 0x18005d82c
mov r8d, r14d
mov edx, esi
mov ecx, 0x220a
call fcn.18002fb40
test al, al
je 0x18005d858
mov r12d, dword [rsp + 0x60]
mov r13d, dword [rbp - 0x54]
mov r14d, dword [rsp + 0x5c]
test r12b, r12b
jne 0x18005d866
test r13b, r13b
jne 0x18005d866
test r14b, r14b
je 0x18005d851
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x18005d866
mov byte [rsp + 0x58], 1
jmp 0x18005d86b
mov r14d, dword [rsp + 0x5c]
mov r12d, dword [rsp + 0x60]
mov r13d, dword [rbp - 0x54]
mov byte [rsp + 0x58], 0
xor r8d, r8d
mov edx, esi
mov ecx, 0xa24
call fcn.18002fb40
test al, al
jne 0x18005d891
xor r8d, r8d
mov edx, esi
mov ecx, 0x1209
call fcn.18002fb40
test al, al
je 0x18005d8a9
test r13b, r13b
jne 0x18005d8a9
test r14b, r14b
je 0x18005d8a3
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x18005d8a9
mov byte [rbp - 0x5c], 1
jmp 0x18005d8ad
mov byte [rbp - 0x5c], 0
mov r14d, 1
mov r8d, r14d
mov edx, esi
mov ecx, 0xa37
call fcn.18002fb40
test al, al
jne 0x18005d8d9
mov r8d, r14d
mov edx, esi
mov ecx, 0x2209
call fcn.18002fb40
test al, al
je 0x18005d8e3
test r12b, r12b
mov byte [rsp + 0x64], r14b
je 0x18005d8e8
mov byte [rsp + 0x64], 0
mov r8d, r14d
mov edx, esi
mov ecx, 0xa3b
call fcn.18002fb40
mov esi, dword [rsp + 0x70]
test al, al
je 0x18005d90f
test r12b, r12b
jne 0x18005d90f
test sil, sil
je 0x18005d90f
movzx r13d, r14b
jmp 0x18005d912
xor r13b, r13b
mov r8d, r14d
mov r14d, dword [rbp - 0x78]
mov edx, r14d
mov ecx, 0xa3a
call fcn.18002fb40
test al, al
jne 0x18005d946
test r15b, r15b
je 0x18005d955
mov r8d, 1
mov edx, r14d
mov ecx, 0x2a3b
call fcn.18002fb40
test al, al
je 0x18005d955
test r12b, r12b
jne 0x18005d955
test sil, sil
je 0x18005d955
mov r12b, 1
jmp 0x18005d958
xor r12b, r12b
xor r8d, r8d
mov edx, r14d
mov ecx, 0xa22
call fcn.18002fb40
mov byte [rbp - 0x63], al
mov rax, qword [rsp + 0x68]
test byte [rax + 8], 2
je 0x18005d981
test byte [rax + 0xc], 1
je 0x18005d981
mov sil, 1
jmp 0x18005d984
xor sil, sil
mov r14d, 1
mov r8d, r14d
xor edx, edx
mov ecx, 0x20d
call fcn.18002dce0
test al, al
jne 0x18005d9b5
mov r8d, r14d
xor edx, edx
mov ecx, 0x267
call fcn.18002dce0
test al, al
jne 0x18005d9b5
xor r15b, r15b
jmp 0x18005d9b9
movzx r15d, r14b
test sil, sil
je 0x18005d9e4
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.18002dce0
test al, al
jne 0x18005d9e7
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.18002dce0
test al, al
jne 0x18005d9e7
xor r14b, r14b
mov r8d, 1
mov edx, dword [rbp - 0x78]
mov ecx, 0x20e
call fcn.18002fb40
test al, al
jne 0x18005da1f
test sil, sil
je 0x18005da1a
mov r8d, 1
mov edx, dword [rbp - 0x78]
mov ecx, 0x26c
call fcn.18002fb40
test al, al
jne 0x18005da1f
xor sil, sil
jmp 0x18005da22
mov sil, 1
xor edx, edx
mov ecx, 0x201
lea r8d, [rdx + 1]
call fcn.18002dce0
test al, al
je 0x18005da82
cmp byte [rsp + 0x51], 0
je 0x18005da44
mov eax, 0x200004
jmp 0x18005da56
mov eax, 0x200000
cmp byte [rsp + 0x52], 0
mov ecx, 0x20000c
cmovne eax, ecx
or ebx, eax
lea rdx, [rdi + 0x54]
mov r8d, ebx
mov rcx, rdi
call fcn.18005ab30
mov dword [rdi + 0xe80], 0xbe99999a
mov byte [rdi + 0xe84], 1
mov r12, qword [rsp + 0x68]
jmp 0x18005e3e1
xor edx, edx
mov ecx, 0x202
lea r8d, [rdx + 1]
call fcn.18002dce0
test al, al
je 0x18005dabc
cmp byte [rsp + 0x51], 0
je 0x18005daa6
mov ecx, 0x200005
or ebx, ecx
jmp 0x18005da58
mov ecx, 0x200001
mov eax, 0x20000d
cmp byte [rsp + 0x52], 0
cmovne ecx, eax
or ebx, ecx
jmp 0x18005da58
xor edx, edx
mov ecx, 0x203
lea r8d, [rdx + 1]
call fcn.18002dce0
test al, al
je 0x18005db57
cmp byte [rsp + 0x5c], 0
je 0x18005db57
mov r12, qword [rsp + 0x68]
cmp byte [r12 + 0xe14], 0
je 0x18005db25
mov r8, qword [rbp - 0x40]
movss xmm0, dword [r8 + 0x80]
subss xmm0, dword [r12 + 0x3c18]
maxss xmm0, xmm10
movss dword [r8 + 0x90], xmm0
xor eax, eax
mov dword [r8 + 0x98], eax
mov dword [r8 + 0xa0], eax
jmp 0x18005e3e1
movzx eax, byte [rsp + 0x51]
lea r8d, [rax*4 + 0x200002]
or r8d, ebx
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.18005ab30
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
jmp 0x18005e3e1
xor edx, edx
mov ecx, 0x204
lea r8d, [rdx + 1]
call fcn.18002dce0
test al, al
je 0x18005dbdb
cmp byte [rsp + 0x5c], 0
je 0x18005dbdb
mov r12, qword [rsp + 0x68]
cmp byte [r12 + 0xe14], 0
je 0x18005dbc9
mov rax, qword [0x1801b50e0]
mov rcx, qword [rax + 0x3eb8]
movss xmm0, dword [r12 + 0x3c18]
mov rax, qword [rbp - 0x40]
addss xmm0, dword [rax + 0x80]
minss xmm0, dword [rcx + 0x88]
movss dword [rax + 0x90], xmm0
xor ecx, ecx
mov dword [rax + 0x98], ecx
mov dword [rax + 0xa0], ecx
jmp 0x18005e3e1
movzx eax, byte [rsp + 0x51]
lea r8d, [rax*4 + 0x200003]
jmp 0x18005db32
xor edx, edx
mov ecx, 0x205
lea r8d, [rdx + 1]
call fcn.18002dce0
test al, al
je 0x18005dc3d
cmp byte [rsp + 0x5c], 0
je 0x18005dc3d
or ebx, 0x20000e
lea rdx, [rdi + 0x54]
mov r8d, ebx
mov rcx, rdi
call fcn.18005ab30
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
movd xmm0, dword [rbp - 0x70]
cvtdq2ps xmm0, xmm0
mov r12, qword [rsp + 0x68]
mulss xmm0, dword [r12 + 0x3c18]
subss xmm9, xmm0
jmp 0x18005e3e1
xor edx, edx
mov ecx, 0x206
lea r8d, [rdx + 1]
call fcn.18002dce0
test al, al
je 0x18005dc9f
cmp byte [rsp + 0x5c], 0
je 0x18005dc9f
or ebx, 0x20000f
lea rdx, [rdi + 0x54]
mov r8d, ebx
mov rcx, rdi
call fcn.18005ab30
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
movd xmm0, dword [rbp - 0x70]
cvtdq2ps xmm0, xmm0
mov r12, qword [rsp + 0x68]
mulss xmm0, dword [r12 + 0x3c18]
addss xmm9, xmm0
jmp 0x18005e3e1
xor edx, edx
mov ecx, 0x207
lea r8d, [rdx + 1]
call fcn.18002dce0
test al, al
je 0x18005dcd9
mov eax, ebx
or eax, 0x200006
or ebx, 0x200004
mov r12, qword [rsp + 0x68]
cmp byte [r12 + 0xe14], 0
cmovne ebx, eax
mov r8d, ebx
jmp 0x18005db35
xor edx, edx
mov ecx, 0x208
lea r8d, [rdx + 1]
call fcn.18002dce0
test al, al
je 0x18005dd14
mov eax, ebx
or eax, 0x200007
mov r8d, 0x200005
or r8d, ebx
mov r12, qword [rsp + 0x68]
cmp byte [r12 + 0xe14], 0
cmovne r8d, eax
jmp 0x18005db35
xor edx, edx
mov ecx, 0x20a
lea r8d, [rdx + 1]
call fcn.18002dce0
test al, al
je 0x18005dd73
cmp byte [rsp + 0x60], 0
jne 0x18005dd73
cmp byte [rsp + 0x58], 0
jne 0x18005dd73
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18005dd68
cmp byte [rsp + 0x52], 0
je 0x18005dd68
lea rdx, [rdi + 0x54]
mov r8d, 0x60000d
mov rcx, rdi
call fcn.18005ab30
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
or ebx, 0x200008
jmp 0x18005da58
xor edx, edx
mov ecx, 0x20b
lea r8d, [rdx + 1]
call fcn.18002dce0
mov r8d, dword [rsp + 0x60]
test al, al
je 0x18005de3c
test r8b, r8b
jne 0x18005de3c
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18005ddcb
cmp byte [rsp + 0x52], r8b
je 0x18005ddde
lea rdx, [rdi + 0x54]
mov r8d, 0x60000c
mov rcx, rdi
call fcn.18005ab30
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov r12, qword [rsp + 0x68]
or ebx, 0x200009
mov r8d, ebx
jmp 0x18005db35
cmp byte [rsp + 0x74], 0
je 0x18005ddcb
mov r12, qword [rsp + 0x68]
cmp byte [r12 + 0xe17], 0
je 0x18005ddd0
cmp byte [r12 + 0xe16], 0
jne 0x18005ddd0
cmp byte [r12 + 0xe14], 0
jne 0x18005ddd0
lea rdx, [rdi + 0x54]
mov r8d, 0x600004
mov rcx, rdi
call fcn.18005ab30
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
or ebx, 0x200009
mov r8d, ebx
jmp 0x18005db35
test r15b, r15b
jne 0x18005e34e
test r14b, r14b
jne 0x18005e34e
test sil, sil
je 0x18005dea9
test dword [rbp + 0x1e8], 0x100000
je 0x18005de8a
mov eax, dword [rdi + 0x10]
test eax, eax
jg 0x18005de77
xor cl, cl
mov dword [rsp + 0x54], ecx
mov byte [rsp + 0x50], cl
mov byte [rsp + 0x59], 1
test eax, eax
setg r14b
mov byte [rsp + 0x75], r14b
mov r12, qword [rsp + 0x68]
jmp 0x18005e3e4
mov r14b, 1
mov byte [rsp + 0x75], r14b
mov byte [rsp + 0x59], r14b
xor cl, cl
xor dl, dl
mov byte [rsp + 0x50], dl
mov r12, qword [rsp + 0x68]
jmp 0x18005e3ed
test r13b, r13b
jne 0x18005e325
test r12b, r12b
jne 0x18005e325
cmp byte [rbp - 0x63], r12b
je 0x18005dee4
xor eax, eax
mov dword [rdi + 0x58], eax
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], r12b
mov byte [rdi + 0xe84], 1
mov r12, qword [rsp + 0x68]
jmp 0x18005e3e1
movzx r12d, byte [rsp + 0x58]
test r12b, r12b
jne 0x18005e111
cmp byte [rbp - 0x5c], r12b
jne 0x18005e111
cmp byte [rsp + 0x64], r12b
je 0x18005da78
mov rcx, qword [0x1801b50e0]
mov rax, qword [rcx + 0xb0]
test rax, rax
je 0x18005df39
mov rcx, qword [rcx + 0xc0]
call rax
mov rbx, rax
test rax, rax
je 0x18005da78
mov rcx, qword [0x1801b50e0]
jmp 0x18005df40
lea rbx, [0x180148d5b]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x18005df47
test rcx, rcx
je 0x18005df5b
inc dword [rcx + 0xf4]
inc eax
movsxd rcx, eax
add rcx, rcx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
mov qword [rsp + 0x78], rax
xor r12d, r12d
mov r14d, r12d
cmp byte [rbx], r12b
je 0x18005dfd5
mov rsi, rax
mov r15d, dword [rbp + 0x1e8]
nop word [rax + rax]
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.180020d70
movsxd rcx, eax
add rbx, rcx
mov dword [rsp + 0x20], 4
mov edx, r15d
lea rcx, [rbp - 0x70]
call fcn.18005c010
test al, al
je 0x18005dfcb
movzx eax, word [rbp - 0x70]
mov word [rsi], ax
inc r14d
add rsi, 2
cmp byte [rbx], r12b
jne 0x18005df90
mov r15, qword [rsp + 0x78]
movsxd rax, r14d
mov word [r15 + rax*2], r12w
test r14d, r14d
jle 0x18005e0e7
mov ecx, dword [rdi + 0xc]
mov r8d, dword [rdi + 0x5c]
mov eax, dword [rdi + 0x58]
cmp eax, r8d
je 0x18005e01b
mov edx, eax
cmp eax, ecx
jle 0x18005e000
mov dword [rdi + 0x58], ecx
mov edx, ecx
mov r9d, r8d
cmp r8d, ecx
jle 0x18005e00e
mov dword [rdi + 0x5c], ecx
mov r9d, ecx
mov r8d, r9d
mov eax, edx
cmp edx, r9d
jne 0x18005e01b
mov dword [rdi + 0x54], edx
mov r9d, dword [rdi + 0x54]
cmp r9d, ecx
jle 0x18005e02a
mov dword [rdi + 0x54], ecx
mov r9d, ecx
mov ecx, dword [rdi + 0xc]
cmp eax, r8d
je 0x18005e05b
mov edx, eax
cmp eax, ecx
jle 0x18005e03d
mov dword [rdi + 0x58], ecx
mov edx, ecx
mov r10d, r8d
cmp r8d, ecx
jle 0x18005e04b
mov dword [rdi + 0x5c], ecx
mov r10d, ecx
mov r8d, r10d
mov eax, edx
cmp edx, r10d
jne 0x18005e05b
mov dword [rdi + 0x54], edx
mov r9d, edx
cmp r9d, ecx
jle 0x18005e063
mov dword [rdi + 0x54], ecx
cmp eax, r8d
je 0x18005e09f
lea rdx, [rdi + 0x54]
mov rcx, rdi
jge 0x18005e087
sub r8d, eax
mov r9d, r8d
mov r8d, eax
call fcn.18005a9b0
mov eax, dword [rdi + 0x58]
mov dword [rdi + 0x5c], eax
jmp 0x18005e098
sub eax, r8d
mov r9d, eax
call fcn.18005a9b0
mov eax, dword [rdi + 0x5c]
mov dword [rdi + 0x58], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], r12b
mov r9d, r14d
mov r8, r15
mov edx, dword [rdi + 0x54]
mov rcx, rdi
call fcn.18005a4e0
test al, al
je 0x18005e0e0
mov esi, dword [rdi + 0x54]
lea rcx, [rdi + 0x74]
xor edx, edx
call fcn.18005bb00
test rax, rax
je 0x18005e0d8
mov dword [rax], esi
mov dword [rax + 4], r12d
mov dword [rax + 8], r14d
mov dword [rax + 0xc], 0xffffffff
add dword [rdi + 0x54], r14d
mov byte [rdi + 0x6a], r12b
mov byte [rdi + 0xe84], 1
test r15, r15
je 0x18005e0fe
mov rax, qword [0x1801b50e0]
test rax, rax
je 0x18005e0fe
dec dword [rax + 0xf4]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r12, qword [rsp + 0x68]
jmp 0x18005e3e1
mov rax, qword [rsp + 0x68]
cmp qword [rax + 0xb8], 0
je 0x18005e26d
mov esi, dword [rdi + 0x5c]
mov eax, dword [rdi + 0x58]
cmp eax, esi
je 0x18005e13d
mov r14d, esi
cmovl r14d, eax
cmovge esi, eax
xor r13d, r13d
jmp 0x18005e146
xor r13d, r13d
mov r14d, r13d
mov esi, dword [rdi + 0xc]
mov rcx, qword [rdi + 0x20]
movsxd rax, esi
lea r8, [rcx + rax*2]
movsxd rax, r14d
lea rdx, [rcx + rax*2]
mov ecx, r13d
mov r9d, 0x800
mov r10d, 0x80
test r8, r8
je 0x18005e171
cmp rdx, r8
jae 0x18005e194
movzx eax, word [rdx]
test ax, ax
je 0x18005e194
add rdx, 2
cmp ax, r10w
jae 0x18005e187
inc ecx
jmp 0x18005e167
cmp ax, r9w
sbb eax, eax
add eax, 3
add ecx, eax
jmp 0x18005e167
inc ecx
mov rax, qword [0x1801b50e0]
test rax, rax
je 0x18005e1a8
inc dword [rax + 0xf4]
movsxd rbx, ecx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
mov rdx, qword [rdi + 0x20]
movsxd rcx, esi
lea r11, [rdx + rcx*2]
movsxd rcx, r14d
lea r10, [rdx + rcx*2]
mov r9, rax
lea rsi, [rbx + rax]
lea rbx, [rsi - 1]
cmp rax, rbx
jae 0x18005e227
mov r12d, 0x80
nop
test r11, r11
je 0x18005e1ea
cmp r10, r11
jae 0x18005e221
movzx eax, word [r10]
test ax, ax
je 0x18005e221
mov r8d, eax
add r10, 2
cmp eax, r12d
jae 0x18005e207
mov byte [r9], r8b
inc r9
jmp 0x18005e21c
mov edx, esi
sub edx, r9d
dec edx
mov rcx, r9
call fcn.180020f20
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x18005e1e0
movzx r12d, byte [rsp + 0x58]
mov byte [r9], 0
mov rax, qword [0x1801b50e0]
mov r8, qword [rax + 0xb8]
test r8, r8
je 0x18005e252
mov rdx, r15
mov rcx, qword [rax + 0xc0]
call r8
mov rax, qword [0x1801b50e0]
test r15, r15
je 0x18005e262
test rax, rax
je 0x18005e262
dec dword [rax + 0xf4]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18005e270
xor r13d, r13d
test r12b, r12b
je 0x18005da78
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18005e292
mov dword [rdi + 0x58], r13d
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], 0
mov byte [rdi + 0xe84], 1
mov r8d, dword [rdi + 0x5c]
mov eax, dword [rdi + 0x58]
cmp eax, r8d
je 0x18005da78
mov ecx, dword [rdi + 0xc]
cmp eax, ecx
jle 0x18005e2b5
mov dword [rdi + 0x58], ecx
mov eax, ecx
cmp r8d, ecx
jle 0x18005e2c0
mov dword [rdi + 0x5c], ecx
mov r8d, ecx
cmp eax, r8d
jne 0x18005e2c8
mov dword [rdi + 0x54], eax
cmp dword [rdi + 0x54], ecx
jle 0x18005e2d0
mov dword [rdi + 0x54], ecx
cmp eax, r8d
je 0x18005e317
lea rdx, [rdi + 0x54]
mov rcx, rdi
jge 0x18005e303
sub r8d, eax
mov r9d, r8d
mov r8d, eax
call fcn.18005a9b0
mov eax, dword [rdi + 0x58]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], 0
mov r12, qword [rsp + 0x68]
jmp 0x18005e3e1
sub eax, r8d
mov r9d, eax
call fcn.18005a9b0
mov eax, dword [rdi + 0x5c]
mov dword [rdi + 0x58], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], 0
mov r12, qword [rsp + 0x68]
jmp 0x18005e3e1
movzx r8d, r13b
xor r8d, 1
add r8d, 0x20000a
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.18005ab30
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x58], eax
jmp 0x18005da67
mov edx, dword [rbp + 0x1e8]
mov eax, edx
shr eax, 0xb
and al, 1
mov ecx, dword [rsp + 0x5c]
mov r12, qword [rsp + 0x68]
test cl, cl
je 0x18005e37b
test r14b, r14b
jne 0x18005e37b
test al, al
je 0x18005e39f
cmp byte [r12 + 0xe14], r14b
jne 0x18005e3aa
mov byte [rsp + 0x5a], 1
cmp byte [r12 + 0x7c], 0
je 0x18005e3dc
test cl, cl
jne 0x18005e3dc
xor eax, eax
mov dword [rdi + 0x58], eax
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], cl
jmp 0x18005e3e1
cmp byte [r12 + 0xe14], 0
jne 0x18005e37b
test r8b, r8b
jne 0x18005da78
mov dword [rbp - 0x70], 0xa
mov dword [rsp + 0x20], 2
lea rcx, [rbp - 0x70]
call fcn.18005c010
test al, al
je 0x18005da78
mov r8d, dword [rbp - 0x70]
jmp 0x18005db35
mov byte [rsp + 0x59], 1
xor r14b, r14b
mov ecx, dword [rsp + 0x54]
movzx edx, byte [rsp + 0x50]
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x18005e3fd
test dl, dl
je 0x18005e3fd
mov al, 1
jmp 0x18005e3ff
xor al, al
or cl, al
mov dword [rsp + 0x54], ecx
mov esi, dword [rbp - 0x78]
lea rcx, [0x180148d5b]
xor r10d, r10d
mov qword [rsp + 0x78], r10
mov dword [rsp + 0x70], r10d
cmp dword [r12 + 0x3f18], esi
jne 0x18005eb9e
mov r15d, dword [rsp + 0x60]
test r15b, r15b
jne 0x18005e6c5
test r14b, r14b
je 0x18005e628
test dword [rbp + 0x1e8], 0x100000
je 0x18005e4b1
mov qword [rsp + 0x78], rcx
mov dword [rsp + 0x70], r10d
movsxd rbx, dword [rdi + 0xc]
lea rcx, [rdi + 0x74]
xor r9d, r9d
mov r8d, ebx
xor edx, edx
call fcn.18005bc50
mov r9, rax
test rax, rax
je 0x18005e495
test ebx, ebx
jle 0x18005e495
xor eax, eax
mov edx, eax
nop dword [rax]
mov rcx, qword [rdi + 0x20]
movzx eax, word [rcx + rdx*2]
mov word [r9 + rdx*2], ax
inc rdx
cmp rdx, rbx
jl 0x18005e480
mov r8d, dword [rdi + 0xc]
xor edx, edx
mov rcx, rdi
call fcn.18005a410
xor eax, eax
mov qword [rdi + 0x58], rax
mov dword [rdi + 0x54], eax
jmp 0x18005e628
mov r9, qword [rdi + 0x40]
mov rax, qword [rbp - 0x48]
mov r8, r9
sub r8, rax
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18005e4d3
inc rax
test ecx, ecx
jne 0x18005e4c0
test edx, edx
je 0x18005e628
mov r12, r9
mov qword [rsp + 0x78], r9
mov eax, dword [rdi + 0x38]
dec eax
mov dword [rsp + 0x70], eax
mov qword [rbp + 0x68], r10
mov r15d, r10d
mov r13, r10
mov qword [rbp + 0x70], r10
test eax, eax
jle 0x18005e5e8
movsxd rsi, eax
add rsi, r9
mov rbx, r9
mov r14d, r10d
nop
test rsi, rsi
je 0x18005e51a
cmp rbx, rsi
jae 0x18005e539
cmp byte [rbx], 0
je 0x18005e539
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.180020d70
movsxd rcx, eax
add rbx, rcx
inc r14d
jmp 0x18005e510
lea r15d, [r14 + 1]
test r15d, r15d
jle 0x18005e57d
mov ebx, r15d
cmp r15d, 8
mov eax, 8
cmovl ebx, eax
test ebx, ebx
jle 0x18005e57d
mov rax, qword [0x1801b50e0]
test rax, rax
je 0x18005e567
inc dword [rax + 0xf4]
movsxd rcx, ebx
add rcx, rcx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r13, rax
mov qword [rbp + 0x70], rax
mov dword [rbp + 0x6c], ebx
mov dword [rbp + 0x68], r15d
movsxd rax, dword [rsp + 0x70]
lea r14, [r12 + rax]
mov rbx, r12
mov rsi, r13
movsxd r12, r15d
lea r12, [r12*2 - 2]
add r12, r13
cmp r13, r12
jae 0x18005e5db
test r14, r14
je 0x18005e5ad
cmp rbx, r14
jae 0x18005e5d7
cmp byte [rbx], 0
je 0x18005e5d7
mov r8, r14
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.180020d70
movsxd rcx, eax
add rbx, rcx
movzx eax, word [rbp - 0x70]
mov word [rsi], ax
add rsi, 2
cmp rsi, r12
jb 0x18005e5a3
mov eax, dword [rsp + 0x70]
xor r10d, r10d
mov word [rsi], r10w
movzx r14d, byte [rsp + 0x75]
lea r9d, [r15 - 1]
test eax, eax
cmovle r9d, r10d
lea rdx, [rdi + 0x54]
mov r8, r13
mov rcx, rdi
call fcn.18005bf50
nop
test r13, r13
je 0x18005e623
mov rax, qword [0x1801b50e0]
test rax, rax
je 0x18005e619
dec dword [rax + 0xf4]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov r15d, dword [rsp + 0x60]
mov byte [rdi + 0x48], 1
mov eax, dword [rdi + 0x18]
lea ebx, [rax*4 + 1]
mov ecx, dword [rdi + 0x2c]
cmp ebx, ecx
jle 0x18005e661
test ecx, ecx
je 0x18005e64c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005e651
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rdi + 0x28]
call fcn.1800384f0
mov dword [rdi + 0x28], ebx
mov r10, qword [rdi + 0x20]
mov r9, qword [rdi + 0x30]
movsxd r11, ebx
add r11, r9
lea rbx, [r11 - 1]
cmp r9, rbx
jae 0x18005e6be
mov r15d, 0x80
movzx eax, word [r10]
test ax, ax
je 0x18005e6b9
mov r8d, eax
add r10, 2
cmp eax, r15d
jae 0x18005e69e
mov byte [r9], r8b
inc r9
jmp 0x18005e6b4
mov edx, r11d
sub edx, r9d
dec edx
mov rcx, r9
call fcn.180020f20
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x18005e681
mov r15d, dword [rsp + 0x60]
mov byte [r9], 0
xor r10d, r10d
test r14b, r14b
je 0x18005e759
cmp byte [rsp + 0x5a], 0
je 0x18005e6e1
mov esi, dword [rbp + 0x1e8]
test sil, 0x20
jne 0x18005e75f
mov r12d, dword [rbp - 0x68]
mov r14, qword [rbp - 0x48]
mov rsi, qword [rsp + 0x78]
mov ecx, dword [rsp + 0x70]
test rsi, rsi
je 0x18005eb96
test r12b, r12b
je 0x18005eb66
mov qword [rbp + 0x40], r10
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x58], xmm0
mov dword [rbp + 0x30], 0x40000
mov eax, dword [rbp + 0x1e8]
mov dword [rbp + 0x34], eax
mov qword [rbp + 0x48], r14
mov dword [rbp + 0x50], ecx
lea eax, [rcx + 1]
cmp dword [rbp - 0x60], eax
cmovge eax, dword [rbp - 0x60]
mov dword [rbp + 0x54], eax
mov qword [rbp + 0x38], r10
lea rcx, [rbp + 0x30]
call r10
mov r14, qword [rbp + 0x48]
mov qword [rbp - 0x48], r14
mov edx, dword [rbp + 0x54]
lea ecx, [rdx - 1]
cmp dword [rbp + 0x50], ecx
cmovl ecx, dword [rbp + 0x50]
jmp 0x18005eb69
mov esi, dword [rbp + 0x1e8]
test esi, 0x801c0
je 0x18005eb0c
mov ebx, r10d
mov r14d, 1
test sil, 0x40
je 0x18005e79b
mov r8d, r14d
xor edx, edx
mov ecx, 0x200
call fcn.18002dce0
test al, al
je 0x18005e79b
lea eax, [r14 + 0x3f]
mov ebx, 0x200
xor r10d, r10d
jmp 0x18005e816
test sil, sil
jns 0x18005e7ec
mov r8d, r14d
xor edx, edx
mov ecx, 0x203
call fcn.18002dce0
test al, al
je 0x18005e7c6
mov r11d, 0x80
mov eax, r11d
mov ebx, 0x203
xor r10d, r10d
jmp 0x18005e81c
mov r8d, r14d
xor edx, edx
mov ecx, 0x204
call fcn.18002dce0
test al, al
je 0x18005e7ec
mov r11d, 0x80
mov eax, r11d
mov ebx, 0x204
xor r10d, r10d
jmp 0x18005e81c
mov eax, 0x80000
test eax, esi
je 0x18005e803
cmp byte [rdi + 0xe86], 0
je 0x18005e803
xor r10d, r10d
jmp 0x18005e816
mov ecx, 0x100
test ecx, esi
mov r10d, 0
mov eax, r10d
cmovne eax, ecx
mov r11d, 0x80
test eax, eax
je 0x18005eb0c
mov dword [rbp + 8], r10d
mov qword [rbp + 0x21], r10
mov dword [rbp + 0x29], r10d
mov word [rbp + 0x2d], r10w
mov byte [rbp + 0x2f], 0
mov dword [rbp - 8], eax
mov dword [rbp - 4], esi
mov qword [rbp], r10
test r15b, r15b
mov rax, qword [rbp - 0x48]
jne 0x18005e850
mov rax, qword [rdi + 0x30]
mov dword [rbp + 0xc], ebx
mov qword [rbp + 0x10], rax
mov eax, dword [rdi + 0x10]
mov dword [rbp + 0x18], eax
mov eax, dword [rdi + 0x4c]
mov dword [rbp + 0x1c], eax
mov byte [rbp + 0x20], 0
mov rdx, qword [rdi + 0x20]
movsxd rax, dword [rdi + 0x54]
lea r8, [rdx + rax*2]
mov rcx, rdx
mov ebx, r10d
mov r9d, 0x800
nop
test r8, r8
je 0x18005e88a
cmp rcx, r8
jae 0x18005e8ad
movzx eax, word [rcx]
test ax, ax
je 0x18005e8ad
add rcx, 2
cmp ax, r11w
jae 0x18005e8a0
inc ebx
jmp 0x18005e880
cmp ax, r9w
sbb eax, eax
add eax, 3
add ebx, eax
jmp 0x18005e880
mov dword [rbp + 0x24], ebx
movsxd rax, dword [rdi + 0x58]
lea r8, [rdx + rax*2]
mov rcx, rdx
mov r15d, r10d
nop
test r8, r8
je 0x18005e8ca
cmp rcx, r8
jae 0x18005e8ef
movzx eax, word [rcx]
test ax, ax
je 0x18005e8ef
add rcx, 2
cmp ax, r11w
jae 0x18005e8e1
inc r15d
jmp 0x18005e8c0
cmp ax, r9w
sbb eax, eax
add eax, 3
add r15d, eax
jmp 0x18005e8c0
mov dword [rbp + 0x28], r15d
movsxd rax, dword [rdi + 0x5c]
lea rcx, [rdx + rax*2]
mov r14d, r10d
nop
test rcx, rcx
je 0x18005e90a
cmp rdx, rcx
jae 0x18005e92f
movzx eax, word [rdx]
test ax, ax
je 0x18005e92f
add rdx, 2
cmp ax, r11w
jae 0x18005e921
inc r14d
jmp 0x18005e900
cmp ax, r9w
sbb eax, eax
add eax, 3
add r14d, eax
jmp 0x18005e900
mov dword [rbp + 0x2c], r14d
lea rcx, [rbp - 8]
call r10
movzx r13d, byte [rbp + 0x20]
movsxd rcx, dword [rbp + 0x24]
cmp ecx, ebx
jne 0x18005e94c
test r13b, r13b
je 0x18005e997
mov rbx, qword [rbp + 0x10]
lea rsi, [rbx + rcx]
xor edx, edx
mov r12d, edx
nop dword [rax]
test rsi, rsi
je 0x18005e96a
cmp rbx, rsi
jae 0x18005e989
cmp byte [rbx], 0
je 0x18005e989
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.180020d70
movsxd rcx, eax
add rbx, rcx
inc r12d
jmp 0x18005e960
mov dword [rdi + 0x54], r12d
mov byte [rdi + 0xe84], 1
mov ecx, dword [rbp + 0x24]
movsxd rax, dword [rbp + 0x28]
cmp eax, r15d
jne 0x18005e9a5
test r13b, r13b
je 0x18005e9f0
cmp eax, ecx
jne 0x18005e9af
mov r15d, dword [rdi + 0x54]
jmp 0x18005e9ec
mov rbx, qword [rbp + 0x10]
lea rsi, [rbx + rax]
xor eax, eax
mov r15d, eax
nop dword [rax]
test rsi, rsi
je 0x18005e9ca
cmp rbx, rsi
jae 0x18005e9e9
cmp byte [rbx], 0
je 0x18005e9e9
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.180020d70
movsxd rcx, eax
add rbx, rcx
inc r15d
jmp 0x18005e9c0
mov eax, dword [rbp + 0x28]
mov dword [rdi + 0x58], r15d
movsxd rcx, dword [rbp + 0x2c]
cmp ecx, r14d
jne 0x18005ea02
test r13b, r13b
je 0x18005eb12
cmp ecx, eax
jne 0x18005ea55
mov r14d, dword [rdi + 0x58]
mov dword [rdi + 0x5c], r14d
test r13b, r13b
je 0x18005eb12
mov r8d, dword [rbp + 0x18]
mov rdx, qword [rbp + 0x10]
mov rcx, rdi
call fcn.18005c230
mov ebx, dword [rbp + 0x18]
mov eax, dword [rbp - 0x58]
mov r12d, dword [rbp - 0x68]
cmp ebx, eax
jle 0x18005eaa3
test r12b, r12b
je 0x18005eaa3
sub ebx, eax
add ebx, dword [rdi + 0x18]
mov ecx, dword [rdi + 0x1c]
cmp ebx, ecx
jle 0x18005eaa0
test ecx, ecx
je 0x18005ea8b
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005ea90
mov rbx, qword [rbp + 0x10]
lea rsi, [rbx + rcx]
xor eax, eax
mov r14d, eax
test rsi, rsi
je 0x18005ea6c
cmp rbx, rsi
jae 0x18005ea0a
cmp byte [rbx], 0
je 0x18005ea0a
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.180020d70
movsxd rcx, eax
add rbx, rcx
inc r14d
jmp 0x18005ea62
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rdi + 0x18]
call fcn.180038580
mov dword [rdi + 0x18], ebx
mov rsi, qword [rbp + 0x10]
mov r15, qword [rdi + 0x20]
mov rbx, r15
movsxd r14, dword [rdi + 0x18]
dec r14
lea r14, [r15 + r14*2]
cmp r15, r14
jae 0x18005eaea
nop
cmp byte [rsi], 0
je 0x18005eaea
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x58]
call fcn.180020d70
movsxd rcx, eax
add rsi, rcx
movzx eax, word [rbp - 0x58]
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x18005eac0
xor r10d, r10d
mov word [rbx], r10w
sub rbx, r15
sar rbx, 1
mov dword [rdi + 0xc], ebx
mov eax, dword [rbp + 0x18]
mov dword [rdi + 0x10], eax
mov dword [rdi + 0xe80], 0xbe99999a
jmp 0x18005eb19
mov r12d, dword [rbp - 0x68]
jmp 0x18005eb1e
xor r10d, r10d
mov r12d, dword [rbp - 0x68]
mov r15d, dword [rsp + 0x60]
mov r14, qword [rbp - 0x48]
test r15b, r15b
jne 0x18005e6e9
mov r9, qword [rdi + 0x30]
mov rax, r9
mov r8, r14
sub r8, r9
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18005eb53
inc rax
test ecx, ecx
jne 0x18005eb40
test edx, edx
je 0x18005e6e9
mov rsi, r9
mov ecx, dword [rdi + 0x10]
jmp 0x18005e6f2
mov edx, dword [rbp - 0x60]
lea eax, [rcx + 1]
cmp eax, edx
cmovl edx, eax
movsxd rbx, edx
cmp rbx, 1
jb 0x18005eb92
jbe 0x18005eb8c
lea r8, [rbx - 1]
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [r14 + rbx - 1], 0
mov byte [rbp - 0x64], 1
mov esi, dword [rbp - 0x78]
mov r12, qword [rsp + 0x68]
cmp byte [rsp + 0x59], 0
je 0x18005ebb4
cmp dword [r12 + 0x3f18], esi
jne 0x18005ebb4
call fcn.180024280
mov r11d, dword [rsp + 0x5c]
test r11b, r11b
jne 0x18005ec8f
mov r8d, 1
mov edx, esi
lea rcx, [rbp - 0x18]
call fcn.180022cc0
mov rax, qword [0x1801b50e0]
movups xmm0, xmmword [rax + 0x392c]
movups xmmword [rbp + 0x68], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37e0]
movss dword [rbp + 0x74], xmm0
lea rcx, [rbp + 0x68]
call fcn.180020fe0
mov r8d, eax
movss xmm0, dword [r12 + 0x3824]
movss dword [rsp + 0x20], xmm0
mov r9b, 1
mov rdx, qword [rbp - 0x10]
movaps xmm0, xmm8
unpcklps xmm0, xmm12
movq rcx, xmm0
call fcn.1800229d0
movaps xmm15, xmm8
addss xmm15, xmm11
movss dword [rbp + 0x90], xmm15
movaps xmm14, xmm12
addss xmm14, xmm7
movss dword [rbp + 0x94], xmm14
movaps xmm0, xmm8
addss xmm0, dword [r12 + 0x381c]
movss dword [rsp + 0x78], xmm0
movaps xmm1, xmm12
addss xmm1, dword [r12 + 0x3820]
movss dword [rsp + 0x7c], xmm1
movss dword [rsp + 0x70], xmm15
movss dword [rbp - 0x60], xmm14
mov r11d, dword [rsp + 0x5c]
mov r8, qword [rbp - 0x40]
jmp 0x18005ecd6
movaps xmm2, xmm11
addss xmm2, xmm8
movss dword [rsp + 0x70], xmm2
movaps xmm15, xmm2
movss dword [rbp + 0x90], xmm2
movaps xmm1, xmm12
addss xmm1, xmm7
movss dword [rbp - 0x60], xmm1
movaps xmm14, xmm1
movss dword [rbp + 0x94], xmm1
mov r8, qword [rbp - 0x40]
movsd xmm0, qword [r8 + 0xf8]
movsd qword [rsp + 0x78], xmm0
lea rax, [rsp + 0x78]
movss dword [rbp + 0x8c], xmm12
movss dword [rbp + 0x88], xmm8
movsd xmm0, qword [rax]
movsd qword [rbp + 0x80], xmm0
xorps xmm4, xmm4
movss dword [rbp - 0x68], xmm4
xorps xmm8, xmm8
movss dword [rbp - 0x70], xmm8
cmp byte [rbp - 0x5b], 0
je 0x18005ed17
mov r13, qword [rdi + 0x30]
jmp 0x18005ed1b
mov r13, qword [rbp - 0x48]
movzx eax, byte [rsp + 0x50]
mov ecx, dword [rsp + 0x54]
test al, al
jne 0x18005ef0d
test cl, cl
jne 0x18005ef0d
test r11b, r11b
je 0x18005ed96
xor r15d, r15d
mov ecx, r15d
movzx edx, byte [r13]
lea rsi, [r13 + 1]
test dl, dl
je 0x18005ed65
nop dword [rax]
lea eax, [rcx + 1]
cmp dl, 0xa
cmovne eax, ecx
mov ecx, eax
movzx edx, byte [rsi]
inc rsi
test dl, dl
jne 0x18005ed50
dec rsi
movzx eax, byte [rsi]
cmp al, 0xa
je 0x18005ed75
cmp al, 0xd
je 0x18005ed75
inc ecx
movss dword [rbp - 0x68], xmm11
movd xmm8, ecx
cvtdq2ps xmm8, xmm8
mulss xmm8, dword [r12 + 0x3c18]
movss dword [rbp - 0x70], xmm8
jmp 0x18005edd2
cmp dword [r12 + 0x3f18], esi
jne 0x18005eda6
movsxd rsi, dword [rdi + 0x10]
jmp 0x18005edba
mov rsi, 0xffffffffffffffff
nop dword [rax]
inc rsi
cmp byte [rsi + r13], 0
jne 0x18005edb0
add rsi, r13
mov rax, rsi
sub rax, r13
xor r15d, r15d
cmp rax, 0x200000
jge 0x18005f80f
mov rax, qword [0x1801b50e0]
movups xmm0, xmmword [rax + 0x38bc]
movups xmmword [rbp + 0x68], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37e0]
movss dword [rbp + 0x74], xmm0
lea rcx, [rbp + 0x68]
call fcn.180020fe0
mov r9d, eax
mov r8, qword [r8 + 0x290]
lea rdx, [rbp + 0x88]
test r11b, r11b
cmovne rdx, r15
mov rcx, rsi
movss xmm2, dword [r12 + 0x3c18]
mov r10, qword [r12 + 0x3c10]
test eax, 0xff000000
je 0x18005f80f
test rsi, rsi
jne 0x18005ee4f
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rcx + r13], 0
jne 0x18005ee42
add rcx, r13
cmp r13, rcx
je 0x18005f80f
test r10, r10
jne 0x18005ee65
mov rax, qword [r8 + 0x38]
mov r10, qword [rax + 8]
xorps xmm10, xmm10
ucomiss xmm2, xmm10
jp 0x18005ee7a
jne 0x18005ee7a
mov rax, qword [r8 + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm1, xmmword [r8 + 0x88]
movups xmmword [rbp - 0x18], xmm1
test rdx, rdx
je 0x18005eed0
movss xmm0, dword [rdx]
comiss xmm1, xmm0
jae 0x18005ee99
movss dword [rbp - 0x18], xmm0
movss xmm1, dword [rdx + 4]
movss xmm0, dword [rbp - 0x14]
comiss xmm0, xmm1
jae 0x18005eead
movss dword [rbp - 0x14], xmm1
movss xmm0, dword [rdx + 8]
comiss xmm0, dword [rbp - 0x10]
ja 0x18005eebd
movss dword [rbp - 0x10], xmm0
movss xmm0, dword [rdx + 0xc]
comiss xmm0, dword [rbp - 0xc]
ja 0x18005eecd
movss dword [rbp - 0xc], xmm0
test rdx, rdx
setne al
mov byte [rsp + 0x48], al
movss dword [rsp + 0x40], xmm10
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r13
lea rax, [rbp - 0x18]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
lea r9, [rbp + 0x80]
mov rdx, r8
mov rcx, r10
call fcn.1800474f0
jmp 0x18005f813
movsxd rsi, dword [rdi + 0x10]
add rsi, r13
mov r15, qword [rdi + 0x20]
xorps xmm6, xmm6
xorps xmm7, xmm7
xor r10d, r10d
mov r9d, r10d
mov r14d, r10d
mov r8d, 0xfffffc18
mov ebx, r8d
mov edx, r10d
test al, al
je 0x18005ef47
movsxd rax, dword [rdi + 0x54]
lea r9, [r15 + rax*2]
lea edx, [r10 + 1]
lea r8d, [r10 - 1]
test cl, cl
je 0x18005ef63
mov ecx, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], ecx
cmovl ecx, dword [rdi + 0x58]
movsxd rax, ecx
lea r14, [r15 + rax*2]
mov ebx, 0xffffffff
inc edx
movzx eax, r11b
add edx, eax
mov rax, r15
movzx ecx, word [r15]
test cx, cx
je 0x18005efb1
cmp cx, 0xa
jne 0x18005efa5
inc r10d
cmp r8d, 0xffffffff
jne 0x18005ef92
cmp rax, r9
jb 0x18005ef92
mov r8d, r10d
dec edx
test edx, edx
jle 0x18005efb1
cmp ebx, 0xffffffff
jne 0x18005efa5
cmp rax, r14
jb 0x18005efa5
mov ebx, r10d
dec edx
test edx, edx
jle 0x18005efb1
add rax, 2
movzx ecx, word [rax]
test cx, cx
jne 0x18005ef75
inc r10d
mov r11d, r10d
cmp r8d, 0xffffffff
cmovne r11d, r8d
cmp ebx, 0xffffffff
cmove ebx, r10d
mov rdx, r9
cmp r9, r15
jbe 0x18005efe2
nop
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x18005efe2
mov rdx, rax
cmp rax, r15
ja 0x18005efd0
mov r8, qword [r12 + 0x3c10]
movss xmm2, dword [r12 + 0x3c18]
divss xmm2, dword [r8 + 0x14]
movaps xmm1, xmm4
movaps xmm12, xmm4
cmp rdx, r9
jae 0x18005f050
nop word [rax + rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x18005f027
maxss xmm1, xmm12
movaps xmm12, xmm4
jmp 0x18005f04b
cmp ecx, 0xd
je 0x18005f04b
cmp ecx, dword [r8]
jge 0x18005f03c
mov rax, qword [r8 + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x18005f042
movss xmm0, dword [r8 + 0x10]
mulss xmm0, xmm2
addss xmm12, xmm0
cmp rdx, r9
jb 0x18005f010
maxss xmm12, xmm1
movss xmm0, dword [r12 + 0x3c18]
movd xmm13, r11d
cvtdq2ps xmm13, xmm13
mulss xmm13, xmm0
test ebx, ebx
js 0x18005f109
mov rdx, r14
cmp r14, r15
jbe 0x18005f092
nop dword [rax]
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x18005f092
mov rdx, rax
cmp rax, r15
ja 0x18005f080
movaps xmm3, xmm0
divss xmm3, dword [r8 + 0x14]
movaps xmm2, xmm4
movaps xmm6, xmm4
cmp rdx, r14
jae 0x18005f0f0
nop word [rax + rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x18005f0c5
maxss xmm2, xmm6
movaps xmm6, xmm4
jmp 0x18005f0eb
cmp ecx, 0xd
je 0x18005f0eb
cmp ecx, dword [r8]
jge 0x18005f0da
mov rax, qword [r8 + 8]
movss xmm1, dword [rax + rcx*4]
jmp 0x18005f0e0
movss xmm1, dword [r8 + 0x10]
movaps xmm0, xmm3
mulss xmm0, xmm1
addss xmm6, xmm0
cmp rdx, r14
jb 0x18005f0b0
movss xmm0, dword [r12 + 0x3c18]
movd xmm7, ebx
cvtdq2ps xmm7, xmm7
mulss xmm7, xmm0
maxss xmm6, xmm2
mov r11d, dword [rsp + 0x5c]
test r11b, r11b
je 0x18005f12d
movss dword [rbp - 0x68], xmm11
movd xmm8, r10d
cvtdq2ps xmm8, xmm8
mulss xmm8, xmm0
movss dword [rbp - 0x70], xmm8
movzx r8d, byte [rsp + 0x50]
test r8b, r8b
je 0x18005f268
cmp byte [rdi + 0xe84], 0
je 0x18005f268
test dword [rbp + 0x1e8], 0x1000
jne 0x18005f1a7
movaps xmm0, xmm11
mulss xmm0, dword [0x180150f20]
subss xmm11, dword [r12 + 0x381c]
movss xmm2, dword [rdi + 0x50]
movaps xmm1, xmm12
comiss xmm2, xmm12
jbe 0x18005f187
subss xmm1, xmm0
movaps xmm0, xmm4
maxss xmm0, xmm1
jmp 0x18005f195
subss xmm1, xmm11
comiss xmm1, xmm2
jb 0x18005f1ac
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x50], xmm0
jmp 0x18005f1ac
xor eax, eax
mov dword [rdi + 0x50], eax
test r11b, r11b
je 0x18005f261
movaps xmm0, xmm13
subss xmm0, dword [r12 + 0x3c18]
movss xmm3, dword [rbp - 0x30]
comiss xmm9, xmm0
jbe 0x18005f1d9
movaps xmm9, xmm4
maxss xmm9, xmm0
jmp 0x18005f20a
movss xmm2, dword [r12 + 0x3820]
addss xmm2, xmm2
movaps xmm1, xmm3
subss xmm1, xmm2
movaps xmm0, xmm13
subss xmm0, xmm1
comiss xmm0, xmm9
jb 0x18005f20a
movaps xmm9, xmm13
subss xmm9, xmm3
addss xmm9, xmm2
movss xmm2, dword [r12 + 0x3820]
comiss xmm4, xmm9
jbe 0x18005f21f
movaps xmm2, xmm4
jmp 0x18005f235
addss xmm2, xmm2
addss xmm2, xmm8
subss xmm2, xmm3
maxss xmm2, xmm4
minss xmm2, xmm9
mov rax, qword [rbp - 0x40]
movss xmm0, dword [rax + 0x80]
subss xmm0, xmm2
movss xmm1, dword [rbp + 0x84]
addss xmm1, xmm0
movss dword [rbp + 0x84], xmm1
movss dword [rax + 0x80], xmm2
mov byte [rdi + 0xe84], 0
movss xmm11, dword [rdi + 0x50]
cmp byte [rsp + 0x54], 0
je 0x18005f4e3
mov edx, dword [rdi + 0x5c]
mov ecx, dword [rdi + 0x58]
mov eax, edx
cmp ecx, edx
cmovl eax, ecx
cdqe
lea rbx, [r15 + rax*2]
cmovge edx, ecx
movsxd rax, edx
lea r14, [r15 + rax*2]
test r8b, r8b
je 0x18005f2a5
movss xmm1, dword [0x180150f6c]
jmp 0x18005f2ad
movss xmm1, dword [0x180150f38]
mov rax, qword [0x1801b50e0]
movups xmm0, xmmword [rax + 0x3bac]
movups xmmword [rbp + 0x68], xmm0
mulss xmm1, dword [rax + 0x37e0]
shufps xmm0, xmm0, 0xff
mulss xmm0, xmm1
movss dword [rbp + 0x74], xmm0
lea rcx, [rbp + 0x68]
call fcn.180020fe0
mov r15d, eax
xorps xmm4, xmm4
test r11b, r11b
je 0x18005f2f3
movss dword [rbp - 0x2c], xmm4
xorps xmm10, xmm10
jmp 0x18005f2fc
movss xmm10, dword [0x180150f94]
movss xmm9, dword [rbp + 0x80]
addss xmm6, xmm9
subss xmm6, xmm11
movss xmm8, dword [rbp + 0x84]
addss xmm8, xmm7
subss xmm8, xmm4
cmp rbx, r14
jae 0x18005f4ec
movss xmm7, dword [0x180150f34]
nop dword [rax]
nop word [rax + rax]
movss xmm2, dword [r12 + 0x3c18]
movaps xmm0, xmm14
addss xmm0, xmm2
comiss xmm8, xmm0
ja 0x18005f4dc
movss xmm5, dword [rbp - 0x50]
comiss xmm5, xmm8
jbe 0x18005f38b
cmp rbx, r14
jae 0x18005f4c0
movzx eax, word [rbx]
add rbx, 2
cmp ax, 0xa
je 0x18005f4c0
cmp rbx, r14
jb 0x18005f370
jmp 0x18005f4c0
mov rdx, qword [r12 + 0x3c10]
divss xmm2, dword [rdx + 0x14]
movaps xmm3, xmm4
movaps xmm1, xmm4
cmp rbx, r14
jae 0x18005f3e1
movzx ecx, word [rbx]
add rbx, 2
cmp ecx, 0xa
je 0x18005f3d7
cmp ecx, 0xd
je 0x18005f3d0
cmp ecx, dword [rdx]
jge 0x18005f3c3
mov rax, qword [rdx + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x18005f3c8
movss xmm0, dword [rdx + 0x10]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp rbx, r14
jb 0x18005f3a3
jmp 0x18005f3e1
movaps xmm3, xmm4
maxss xmm3, xmm1
movaps xmm1, xmm4
maxss xmm1, xmm3
comiss xmm4, xmm1
jb 0x18005f411
cmp dword [rdx], 0x20
jle 0x18005f3fd
mov rax, qword [rdx + 8]
movss xmm0, dword [rax + 0x80]
jmp 0x18005f402
movss xmm0, dword [rdx + 0x10]
mulss xmm0, xmm7
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm1, xmm6
movaps xmm0, xmm10
addss xmm0, xmm8
addss xmm6, xmm4
movss xmm2, dword [rbp - 0x2c]
subss xmm2, dword [r12 + 0x3c18]
addss xmm2, xmm8
movss xmm3, dword [rbp - 0x34]
maxss xmm6, xmm3
maxss xmm2, xmm5
movss dword [rbp + 0x68], xmm6
movss dword [rbp + 0x6c], xmm2
minss xmm1, xmm15
minss xmm0, xmm14
movss dword [rbp + 0x70], xmm1
movss dword [rbp + 0x74], xmm0
comiss xmm0, xmm5
jbe 0x18005f4c0
comiss xmm14, xmm2
jbe 0x18005f4c0
comiss xmm1, xmm3
jbe 0x18005f4c0
comiss xmm15, xmm6
jbe 0x18005f4c0
xor eax, eax
mov dword [rsp + 0x28], eax
movss dword [rsp + 0x20], xmm4
mov r9d, r15d
lea r8, [rbp + 0x70]
lea rdx, [rbp + 0x68]
mov rax, qword [rbp - 0x40]
mov rcx, qword [rax + 0x290]
call fcn.1800433f0
movss xmm0, dword [rsp + 0x70]
movss dword [rsp + 0x70], xmm0
movss xmm0, dword [rbp - 0x60]
movss dword [rbp - 0x60], xmm0
movss xmm9, dword [rbp + 0x80]
xorps xmm4, xmm4
movaps xmm6, xmm9
subss xmm6, xmm11
addss xmm8, dword [r12 + 0x3c18]
cmp rbx, r14
jb 0x18005f340
mov r11d, dword [rsp + 0x5c]
jmp 0x18005f4ec
movss xmm9, dword [rbp + 0x80]
test r11b, r11b
jne 0x18005f503
mov rax, rsi
sub rax, r13
cmp rax, 0x200000
jge 0x18005f662
mov rax, qword [0x1801b50e0]
movups xmm0, xmmword [rax + 0x38bc]
movups xmmword [rbp + 0x68], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37e0]
movss dword [rbp + 0x74], xmm0
lea rcx, [rbp + 0x68]
call fcn.180020fe0
mov r9d, eax
mov rbx, qword [rbp - 0x40]
mov r8, qword [rbx + 0x290]
mov rcx, rsi
subss xmm9, xmm11
movss dword [rsp + 0x78], xmm9
movss xmm0, dword [rbp + 0x84]
xorps xmm4, xmm4
subss xmm0, xmm4
movss dword [rsp + 0x7c], xmm0
movss xmm2, dword [r12 + 0x3c18]
mov r10, qword [r12 + 0x3c10]
lea rdx, [rbp + 0x88]
test r11b, r11b
mov r15d, 0
cmovne rdx, r15
test eax, 0xff000000
je 0x18005f669
test rsi, rsi
jne 0x18005f5ac
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rcx + r13], r15b
jne 0x18005f5a0
add rcx, r13
cmp r13, rcx
je 0x18005f669
test r10, r10
jne 0x18005f5c2
mov rax, qword [r8 + 0x38]
mov r10, qword [rax + 8]
ucomiss xmm2, xmm4
jp 0x18005f5d2
jne 0x18005f5d2
mov rax, qword [r8 + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm1, xmmword [r8 + 0x88]
movups xmmword [rbp - 0x18], xmm1
test rdx, rdx
je 0x18005f628
movss xmm0, dword [rdx]
comiss xmm1, xmm0
jae 0x18005f5f1
movss dword [rbp - 0x18], xmm0
movss xmm1, dword [rdx + 4]
movss xmm0, dword [rbp - 0x14]
comiss xmm0, xmm1
jae 0x18005f605
movss dword [rbp - 0x14], xmm1
movss xmm0, dword [rdx + 8]
comiss xmm0, dword [rbp - 0x10]
ja 0x18005f615
movss dword [rbp - 0x10], xmm0
movss xmm0, dword [rdx + 0xc]
comiss xmm0, dword [rbp - 0xc]
ja 0x18005f625
movss dword [rbp - 0xc], xmm0
test rdx, rdx
setne al
mov byte [rsp + 0x48], al
movss dword [rsp + 0x40], xmm4
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r13
lea rax, [rbp - 0x18]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
lea r9, [rsp + 0x78]
mov rdx, r8
mov rcx, r10
call fcn.1800474f0
xorps xmm4, xmm4
jmp 0x18005f669
mov rbx, qword [rbp - 0x40]
xor r15d, r15d
cmp byte [rsp + 0x50], 0
je 0x18005f803
movss xmm0, dword [r12 + 0x18]
addss xmm0, dword [rdi + 0xe80]
movss dword [rdi + 0xe80], xmm0
cmp byte [r12 + 0x7b], 0
je 0x18005f6b6
comiss xmm4, xmm0
jae 0x18005f6b6
movss xmm1, dword [0x180150f74]
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
movss xmm1, dword [0x180150f58]
comiss xmm1, xmm0
jae 0x18005f6b6
xor cl, cl
jmp 0x18005f6b8
mov cl, 1
addss xmm12, dword [rbp + 0x80]
subss xmm12, xmm11
cvttss2si eax, xmm12
movd xmm6, eax
cvtdq2ps xmm6, xmm6
movss xmm0, dword [rbp + 0x84]
addss xmm0, xmm13
xorps xmm10, xmm10
subss xmm0, xmm10
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss dword [rbp + 0x68], xmm6
movaps xmm0, xmm7
subss xmm0, dword [r12 + 0x3c18]
addss xmm0, dword [0x180150f34]
movss dword [rbp + 0x6c], xmm0
movaps xmm2, xmm6
movss xmm8, dword [0x180150f6c]
addss xmm2, xmm8
movss dword [rbp + 0x70], xmm2
movaps xmm1, xmm7
subss xmm1, dword [0x180150f7c]
movss dword [rbp + 0x74], xmm1
movss xmm12, dword [rbp - 0x50]
test cl, cl
je 0x18005f7ba
comiss xmm1, xmm12
jbe 0x18005f7ba
movss xmm3, dword [rbp - 0x60]
comiss xmm3, xmm0
jbe 0x18005f7ba
comiss xmm2, dword [rbp - 0x34]
jbe 0x18005f7ba
movss xmm0, dword [rsp + 0x70]
comiss xmm0, xmm6
jbe 0x18005f7ba
mov rax, qword [0x1801b50e0]
movups xmm0, xmmword [rax + 0x38bc]
movups xmmword [rbp - 0x18], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37e0]
movss dword [rbp - 0xc], xmm0
movss dword [rsp + 0x78], xmm6
movss dword [rsp + 0x7c], xmm1
lea rcx, [rbp - 0x18]
call fcn.180020fe0
mov r9d, eax
movss dword [rsp + 0x20], xmm8
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0x68]
mov rcx, qword [rbx + 0x290]
call fcn.180043180
movss xmm13, dword [rbp - 0x38]
cmp byte [rsp + 0x60], 0
jne 0x18005f81c
mov byte [r12 + 0x5b70], 1
subss xmm6, xmm8
movss xmm0, dword [r12 + 0x3c18]
subss xmm7, xmm0
movss dword [r12 + 0x5b74], xmm6
movss dword [r12 + 0x5b78], xmm7
movss dword [r12 + 0x5b7c], xmm0
jmp 0x18005f81c
movss xmm12, dword [rbp - 0x50]
movss xmm13, dword [rbp - 0x38]
xorps xmm10, xmm10
movss xmm8, dword [0x180150f6c]
mov ebx, dword [rbp - 0x54]
test bl, bl
je 0x18005f828
call fcn.18002d0a0
cmp byte [rsp + 0x5c], 0
je 0x18005f8ca
movss xmm0, dword [rbp - 0x68]
movss dword [rsp + 0x78], xmm0
movss xmm0, dword [rbp - 0x70]
addss xmm0, dword [r12 + 0x3820]
movss dword [rsp + 0x7c], xmm0
lea rcx, [rsp + 0x78]
call fcn.180056a60
mov ebx, dword [r12 + 0x4738]
mov eax, ebx
or eax, 0x401
mov dword [r12 + 0x4738], eax
call fcn.180027ac0
mov eax, dword [r12 + 0x475c]
and eax, 0x80
mov edi, dword [rbp + 0xa0]
or edi, eax
mov dword [r12 + 0x4738], ebx
call fcn.180030460
mov ebx, dword [rbp - 0x54]
cmp dword [r12 + 0x4754], 0
jne 0x18005f8ca
mov eax, dword [rbp - 0x78]
mov dword [r12 + 0x4754], eax
mov eax, dword [rbp + 0x9c]
mov dword [r12 + 0x4758], eax
mov dword [r12 + 0x475c], edi
cmp byte [r12 + 0x5c28], 0
je 0x18005fa5e
test bl, bl
jne 0x18005fa5e
mov rdi, qword [0x1801b50e0]
mov r14, qword [rdi + 0x3eb8]
mov qword [rdi + 0x5c50], r15
mov qword [rdi + 0x5c48], r15
test rsi, rsi
jne 0x18005f92d
mov rsi, r13
cmp r13, 0xffffffffffffffff
jae 0x18005f92d
nop dword [rax + rax]
movzx ecx, byte [rsi]
test cl, cl
je 0x18005f92d
lea rax, [rsi + 1]
cmp cl, 0x23
jne 0x18005f924
cmp byte [rax], cl
je 0x18005f92d
mov rsi, rax
cmp rax, 0xffffffffffffffff
jb 0x18005f910
movss xmm0, dword [rdi + 0x3820]
addss xmm0, dword [rdi + 0x5c58]
addss xmm0, xmm8
movss xmm1, dword [rbp + 0x84]
movss dword [rdi + 0x5c58], xmm1
comiss xmm1, xmm0
jbe 0x18005f96a
lea rcx, [0x18014d66c]
call fcn.180035ef0
mov byte [rdi + 0x5c5c], 1
lea r8, [0x18014dbf5]
lea rdx, [0x18014dbf4]
lea rcx, [rbp + 0x80]
call fcn.180035f30
mov eax, dword [r14 + 0x180]
mov ecx, dword [rdi + 0x5c60]
cmp ecx, eax
jle 0x18005f99d
mov dword [rdi + 0x5c60], eax
mov ecx, eax
mov r14d, dword [r14 + 0x180]
sub r14d, ecx
lea r15, [0x180148d5b]
mov r12d, 1
nop dword [rax]
nop dword [rax + rax]
mov r8, rsi
sub r8, r13
mov edx, 0xa
mov rcx, r13
call sub.VCRUNTIME140.dll_memchr
mov rbx, rsi
test rax, rax
cmovne rbx, rax
cmp r13, rbx
jne 0x18005f9e7
cmp rbx, rsi
je 0x18005fa3f
mov r9d, ebx
sub r9d, r13d
cmp byte [rdi + 0x5c5c], 0
lea edx, [r14*4]
jne 0x18005fa01
mov edx, r12d
mov qword [rsp + 0x20], r13
mov r8, r15
lea rcx, str._s_.s
call fcn.180035ef0
mov byte [rdi + 0x5c5c], 0
cmp byte [rbx], 0xa
jne 0x18005fa34
lea rcx, [0x18014d66c]
call fcn.180035ef0
mov byte [rdi + 0x5c5c], r12b
cmp rbx, rsi
je 0x18005fa3f
lea r13, [rbx + 1]
jmp 0x18005f9c0
lea r8, [0x18014dbf1]
lea rdx, [0x18014dbf0]
lea rcx, [rbp + 0x80]
call fcn.180035f30
mov r12, qword [rsp + 0x68]
movss xmm0, dword [rbp - 0x28]
comiss xmm0, xmm10
jbe 0x18005fa95
addss xmm13, dword [r12 + 0x3834]
addss xmm12, dword [r12 + 0x3820]
mov r9b, 1
xor r8d, r8d
mov rdx, qword [rbp - 0x20]
unpcklps xmm13, xmm12
movq rcx, xmm13
call fcn.1800217b0
movzx edx, byte [rbp - 0x64]
mov ecx, dword [rbp + 0x1e8]
test dl, dl
je 0x18005fac0
bt ecx, 0x1b
jb 0x18005fac0
mov rax, qword [0x1801b50e0]
mov word [rax + 0x3f28], 0x101
or dword [rax + 0x475c], 4
test cl, 0x20
mov eax, edx
movzx ecx, byte [rsp + 0x5a]
cmovne eax, ecx
jmp 0x18005c96c