Function at 0x18004e9f0
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 - 0x1c8]
sub rsp, 0x290
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 [0x1800e5040]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov dword [rbp - 0x5c], r9d
mov qword [rsp + 0x70], r8
mov r12, rcx
mov qword [rbp - 0x30], rcx
mov r15, qword [0x1800e6460]
mov qword [rbp - 0x78], r15
mov rax, qword [r15 + 0x4038]
mov byte [rax + 0xed], 1
mov r14, qword [r15 + 0x4038]
mov qword [rbp - 0x40], r14
cmp byte [r14 + 0xf0], 0
jne 0x18004ee54
mov esi, dword [rbp + 0x1f8]
mov ebx, esi
shr ebx, 0x1a
and bl, 1
mov dword [rsp + 0x64], ebx
mov eax, esi
shr eax, 0xe
and al, 1
mov dword [rsp + 0x68], eax
mov eax, esi
shr eax, 0xf
and al, 1
mov dword [rbp - 0x54], eax
mov eax, esi
shr eax, 0x10
not al
and al, 1
mov dword [rbp - 0x80], eax
mov eax, esi
shr eax, 0x12
and al, 1
mov dword [rbp - 0x68], eax
test bl, bl
je 0x18004eaeb
call fcn.180018ce0
movsxd r8, dword [r14 + 0x128]
mov rax, qword [r14 + 0x130]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
mov rcx, r12
call fcn.180006590
mov edi, eax
mov dword [rbp - 0x70], eax
mov rcx, qword [r14]
cmp dword [rcx + 0x4080], eax
jne 0x18004eb27
mov r8, r12
mov edx, 0xb
mov ecx, eax
call fcn.18002c4b0
mov r8, qword [0x1800e6460]
mov rcx, r12
cmp r12, 0xffffffffffffffff
jae 0x18004eb54
movzx edx, byte [rcx]
test dl, dl
je 0x18004eb54
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x18004eb4b
cmp byte [rax], dl
je 0x18004eb54
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x18004eb37
movss xmm0, dword [r8 + 0x3d70]
xor eax, eax
movss xmm1, dword [0x1800d5710]
movss dword [rbp - 0x34], xmm1
movss xmm9, dword [0x1800d56ec]
xorps xmm12, xmm12
cmp r12, rcx
jne 0x18004eb83
xorps xmm7, xmm7
jmp 0x18004ebcf
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r12
movss dword [rsp + 0x20], xmm1
movaps xmm3, xmm9
movaps xmm2, xmm0
lea rdx, [rsp + 0x78]
mov rcx, qword [r8 + 0x3d68]
call fcn.18003d6e0
movss xmm0, dword [rsp + 0x78]
addss xmm0, dword [0x1800d55a0]
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss xmm0, dword [rsp + 0x7c]
movss dword [rbp - 0x38], xmm7
test bl, bl
je 0x18004ebe9
movss xmm0, dword [r15 + 0x3d70]
mulss xmm0, dword [0x1800d5640]
movss xmm6, dword [r15 + 0x3918]
movaps xmm3, xmm6
addss xmm3, xmm6
addss xmm3, xmm0
call fcn.180018b50
movaps xmm2, xmm0
mov rdx, qword [rbp + 0x1f0]
mov rdx, qword [rdx]
lea rcx, [rsp + 0x78]
call fcn.180018bd0
comiss xmm7, xmm12
jbe 0x18004ec2d
movaps xmm1, xmm7
addss xmm1, dword [r15 + 0x392c]
jmp 0x18004ec30
xorps xmm1, xmm1
movss xmm13, dword [r14 + 0x13c]
movss dword [rbp - 0x64], xmm13
movaps xmm0, xmm13
movss xmm11, dword [rsp + 0x7c]
addss xmm0, xmm11
movss xmm7, dword [r14 + 0x138]
movss dword [rbp - 0x48], xmm7
movaps xmm8, xmm7
movss xmm10, dword [rsp + 0x78]
addss xmm8, xmm10
movss dword [rbp - 0x44], xmm8
movss dword [rbp - 0x28], xmm7
movss dword [rbp - 0x24], xmm13
movss dword [rbp - 0x20], xmm8
movss dword [rbp - 0x1c], xmm0
movaps xmm2, xmm13
addss xmm2, xmm11
addss xmm1, xmm10
addss xmm1, xmm7
movss dword [rbp + 0x70], xmm7
movss dword [rbp + 0x74], xmm13
movss dword [rbp + 0x78], xmm1
movss dword [rbp + 0x7c], xmm2
mov r12, r14
mov qword [rbp - 0x50], r14
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
subss xmm2, xmm13
subss xmm1, xmm7
movss dword [rsp + 0x78], xmm1
movss dword [rsp + 0x7c], xmm2
lea rcx, [rsp + 0x78]
movaps xmm1, xmm6
call fcn.180018710
test bl, bl
je 0x18004ef2a
mov r9d, 0x400
lea r8, [rbp - 0x28]
mov edx, edi
lea rcx, [rbp + 0x70]
call fcn.180018880
test al, al
je 0x18004ee4f
mov r13d, dword [r15 + 0x48e0]
movups xmm0, xmmword [r15 + 0x48d8]
movups xmmword [rbp + 0xa0], xmm0
movss dword [r14 + 0x138], xmm7
movss dword [r14 + 0x13c], xmm13
mov rbx, qword [0x1800e6460]
mov dword [rbp + 0x70], 3
movups xmm0, xmmword [rbx + 0x39e8]
movups xmmword [rbp + 0x74], xmm0
lea rcx, [rbx + 0x49a8]
lea rdx, [rbp + 0x70]
call fcn.18002d000
movups xmm0, xmmword [r15 + 0x3a28]
movups xmmword [rbx + 0x39e8], xmm0
movss xmm1, dword [r15 + 0x391c]
mov ecx, 7
call fcn.180007350
movss xmm1, dword [r15 + 0x3920]
mov ecx, 8
call fcn.180007350
mov qword [rsp + 0x78], 0
lea rdx, [rsp + 0x78]
mov ecx, 2
call fcn.1800073d0
movss xmm1, dword [rbp - 0x1c]
movss xmm13, dword [rbp - 0x24]
movss dword [rbp - 0x64], xmm13
subss xmm1, xmm13
movss xmm6, dword [rbp - 0x20]
movss dword [rbp - 0x44], xmm6
movaps xmm0, xmm6
movss xmm7, dword [rbp - 0x28]
movss dword [rbp - 0x48], xmm7
subss xmm0, xmm7
movss dword [rsp + 0x78], xmm0
movss dword [rsp + 0x7c], xmm1
mov dword [rsp + 0x20], 4
mov r9b, 1
lea r8, [rsp + 0x78]
mov edx, edi
mov rcx, qword [rbp - 0x30]
call fcn.18000ee90
movzx ebx, al
mov ecx, 3
call fcn.180007460
mov r8, qword [0x1800e6460]
movsxd rax, dword [r8 + 0x49a8]
cmp eax, 1
jl 0x18004ee46
lea rdx, [rax + rax*4]
mov rcx, qword [r8 + 0x49b0]
movsxd rax, dword [rcx + rdx*4 - 0x14]
add rax, rax
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
movups xmmword [r8 + rax*8 + 0x39b8], xmm0
dec dword [r8 + 0x49a8]
test bl, bl
jne 0x18004eeb8
call fcn.18000f110
call fcn.180018e10
xor al, al
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.180090540
lea r11, [rsp + 0x290]
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 r12, qword [r15 + 0x4038]
mov qword [rbp - 0x50], r12
movsx ecx, word [r12 + 0x196]
mov eax, dword [r12 + 0x190]
bts ecx, eax
mov word [r12 + 0x196], cx
movss xmm0, dword [r12 + 0x138]
addss xmm0, dword [r15 + 0x3914]
movss dword [r12 + 0x138], xmm0
movss xmm1, dword [r15 + 0x3918]
addss xmm1, dword [r12 + 0x13c]
movss dword [r12 + 0x13c], xmm1
subss xmm10, dword [r12 + 0xe0]
mov ebx, dword [rsp + 0x64]
jmp 0x18004ef74
bt esi, 0x1c
jb 0x18004ef6d
mov r9d, 0x400
lea r8, [rbp - 0x28]
mov edx, edi
lea rcx, [rbp + 0x70]
call fcn.180018880
test al, al
je 0x18004ee54
movss xmm0, dword [rbp - 0x20]
movss dword [rbp - 0x44], xmm0
movss xmm13, dword [rbp - 0x24]
movss dword [rbp - 0x64], xmm13
movss xmm7, dword [rbp - 0x28]
movss dword [rbp - 0x48], xmm7
mov r13d, dword [r15 + 0x48e0]
mov r8d, dword [r15 + 0x48dc]
mov edx, edi
lea rcx, [rbp - 0x28]
call fcn.18000b150
movzx ecx, al
mov byte [rsp + 0x60], al
test al, al
je 0x18004ef9c
mov dword [r15 + 0x4df0], 1
mov r14, qword [0x1800e6460]
test edi, edi
je 0x18004efb9
cmp dword [r14 + 0x4e08], edi
jne 0x18004efb9
add r14, 0x4e00
jmp 0x18004efbc
xor r14d, r14d
shr r13d, 8
and r13b, 1
mov eax, dword [r15 + 0x4098]
cmp eax, edi
je 0x18004eff3
cmp dword [r15 + 0x4ab8], edi
jne 0x18004eff3
test byte [r15 + 0x4ac4], 1
jne 0x18004efec
cmp dword [r15 + 0x4adc], 2
jne 0x18004eff3
mov byte [rsp + 0x51], 1
jmp 0x18004eff8
mov byte [rsp + 0x51], 0
test cl, cl
je 0x18004f00b
cmp byte [r15 + 0x3750], 0
je 0x18004f00b
mov sil, 1
jmp 0x18004f00e
xor sil, sil
mov byte [rsp + 0x53], sil
test bl, bl
je 0x18004f076
test r14, r14
je 0x18004f076
test eax, eax
jne 0x18004f076
movsxd r8, dword [r12 + 0x128]
mov rax, qword [r12 + 0x130]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
lea rcx, str.SCROLLY
call fcn.180006590
mov ebx, eax
mov rcx, qword [r12]
cmp dword [rcx + 0x4080], eax
jne 0x18004f064
lea r8, str.SCROLLY
mov edx, 0xb
mov ecx, eax
call fcn.18002c4b0
cmp dword [r15 + 0x40c8], ebx
jne 0x18004f072
mov dil, 1
jmp 0x18004f082
mov ebx, dword [rsp + 0x64]
xor dil, dil
test bl, bl
je 0x18004f0f4
test r14, r14
je 0x18004f0f4
movsxd r8, dword [r12 + 0x128]
mov rax, qword [r12 + 0x130]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
lea rcx, str.SCROLLY
call fcn.180006590
mov ebx, eax
mov rcx, qword [r12]
cmp dword [rcx + 0x4080], eax
jne 0x18004f0c6
lea r8, str.SCROLLY
mov edx, 0xb
mov ecx, eax
call fcn.18002c4b0
cmp dword [r15 + 0x4098], ebx
mov ebx, dword [rsp + 0x64]
jne 0x18004f0f4
mov r12b, 1
mov byte [rsp + 0x52], r12b
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x54], 0
mov rax, qword [rbp - 0x50]
movss xmm9, dword [rax + 0xbc]
jmp 0x18004f11e
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x54], 0
xor r12b, r12b
mov byte [rsp + 0x52], r12b
test bl, bl
je 0x18004f119
mov rax, qword [rbp - 0x50]
movss xmm9, dword [rax + 0xbc]
jmp 0x18004f11e
mov byte [rsp + 0x52], r12b
test r14, r14
je 0x18004f133
movzx eax, bl
xor al, 1
cmp byte [r14 + 0x6b], al
je 0x18004f133
mov r15b, 1
jmp 0x18004f136
xor r15b, r15b
test sil, sil
jne 0x18004f161
test dil, dil
jne 0x18004f161
cmp byte [rsp + 0x51], dil
jne 0x18004f161
test r13b, r13b
jne 0x18004f161
mov byte [rsp + 0x50], r13b
test r12b, r12b
jne 0x18004f166
mov byte [rsp + 0x59], r12b
mov rax, qword [rbp - 0x78]
jmp 0x18004f17a
mov byte [rsp + 0x50], 1
mov byte [rsp + 0x59], 1
mov rax, qword [rbp - 0x78]
mov edx, dword [rbp - 0x70]
cmp dword [rax + 0x4098], edx
jne 0x18004f183
test r15b, r15b
je 0x18004f3f5
lea r14, [rax + 0x4e00]
mov dword [r14 + 0xe80], 0xbe99999a
mov ecx, dword [r14 + 8]
call fcn.18004e910
mov rbx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x70]
nop word [rax + rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x18004f1b0
lea edi, [rbx + 1]
mov ecx, dword [r14 + 0x3c]
cmp edi, ecx
jle 0x18004f1e8
test ecx, ecx
je 0x18004f1d3
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18004f1d8
mov eax, 8
mov edx, edi
cmp eax, edi
cmovg edx, eax
lea rcx, [r14 + 0x38]
call fcn.18002d9a0
mov dword [r14 + 0x38], edi
movsxd r8, edi
mov rdi, qword [rsp + 0x70]
mov rdx, rdi
mov rcx, qword [r14 + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov esi, dword [rbp - 0x70]
cmp dword [r14 + 8], esi
jne 0x18004f231
test r15b, r15b
jne 0x18004f231
mov r12b, 1
cmp dword [r14 + 0x10], ebx
jne 0x18004f231
cmp byte [r14 + 0x48], r15b
je 0x18004f234
movsxd r8, ebx
mov rdx, rdi
mov rcx, qword [r14 + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x18004f234
xor r12b, r12b
mov dword [r14 + 8], esi
movsxd rsi, dword [rbp - 0x5c]
lea ebx, [rsi + 1]
mov ecx, dword [r14 + 0x1c]
cmp ebx, ecx
jle 0x18004f26b
test ecx, ecx
je 0x18004f256
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18004f25b
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [r14 + 0x18]
call fcn.18002da30
mov dword [r14 + 0x18], ebx
mov ecx, dword [r14 + 0x2c]
test ecx, ecx
jns 0x18004f290
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor edx, edx
test eax, eax
cmovg edx, eax
lea rcx, [r14 + 0x28]
call fcn.18002d9a0
xor edx, edx
mov dword [r14 + 0x28], edx
mov byte [r14 + 0x48], dl
mov rcx, qword [rsp + 0x70]
mov rdi, rcx
mov r15, qword [r14 + 0x20]
mov rbx, r15
dec rsi
lea rsi, [r15 + rsi*2]
cmp r15, rsi
jae 0x18004f2e6
cmp byte [rdi], 0
je 0x18004f2df
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x58]
call fcn.1800068b0
movsxd rcx, eax
add rdi, rcx
movzx eax, word [rbp - 0x58]
mov word [rbx], ax
add rbx, 2
cmp rbx, rsi
jb 0x18004f2b5
mov rcx, qword [rsp + 0x70]
xor edx, edx
mov word [rbx], dx
sub rbx, r15
sar rbx, 1
mov dword [r14 + 0xc], ebx
sub edi, ecx
mov dword [r14 + 0x10], edi
test r12b, r12b
je 0x18004f32f
mov ecx, ebx
cmp dword [r14 + 0x54], ebx
cmovl ecx, dword [r14 + 0x54]
mov dword [r14 + 0x54], ecx
mov ecx, ebx
cmp dword [r14 + 0x58], ebx
cmovl ecx, dword [r14 + 0x58]
mov dword [r14 + 0x58], ecx
cmp dword [r14 + 0x5c], ebx
cmovl ebx, dword [r14 + 0x5c]
mov dword [r14 + 0x5c], ebx
mov ebx, dword [rsp + 0x64]
jmp 0x18004f382
mov qword [r14 + 0x50], 0
mov dword [r14 + 0xe72], 0x630000
mov dword [r14 + 0xe78], edx
mov dword [r14 + 0xe7c], 0x3e7
mov qword [r14 + 0x58], 0
mov word [r14 + 0x69], 1
mov dword [r14 + 0x70], edx
mov byte [r14 + 0x68], 0
mov ebx, dword [rsp + 0x64]
movzx eax, bl
xor al, 1
mov byte [r14 + 0x6b], al
mov byte [r14 + 0x60], 0
mov dword [r14 + 0x64], edx
test bl, bl
jne 0x18004f3d9
mov r8d, dword [rbp + 0x1f8]
test r8b, 0x10
mov eax, dword [rsp + 0x54]
movzx eax, al
mov ecx, 1
cmovne eax, ecx
mov dword [rsp + 0x54], eax
mov rax, qword [rbp - 0x78]
cmp byte [rsp + 0x51], bl
je 0x18004f3c0
test r12b, r12b
je 0x18004f3bc
test byte [rax + 0x4ac4], 4
jne 0x18004f3c0
mov byte [rsp + 0x54], cl
test r13b, r13b
jne 0x18004f3d5
cmp byte [rsp + 0x53], r13b
je 0x18004f3d9
cmp byte [rax + 0xe28], r13b
je 0x18004f3d9
mov byte [rsp + 0x54], cl
movzx esi, byte [rsp + 0x53]
movzx r12d, byte [rsp + 0x52]
test dword [rbp + 0x1f8], 0x2000
je 0x18004f3f5
mov byte [r14 + 0x60], 1
mov rdi, qword [rbp - 0x78]
movzx r15d, byte [rdi + 0x61]
mov byte [rbp - 0x6c], r15b
mov r13d, dword [rbp - 0x70]
movzx ebx, byte [rsp + 0x50]
cmp dword [rdi + 0x4098], r13d
je 0x18004f448
test bl, bl
je 0x18004f43b
mov rdx, qword [rbp - 0x40]
mov ecx, r13d
call fcn.18000ad40
mov rdx, qword [rbp - 0x40]
mov ecx, r13d
call fcn.18001ab70
xor edx, edx
mov rcx, qword [rbp - 0x40]
call fcn.180015360
cmp dword [rdi + 0x4098], r13d
jne 0x18004f58d
test sil, sil
je 0x18004f46b
mov rax, qword [0x1800e6460]
mov dword [rax + 0x46f0], r13d
mov dword [rax + 0x46ec], r13d
mov word [rax + 0x46f4], 0
mov eax, dword [rdi + 0x48a8]
or eax, 3
mov dword [rdi + 0x48a8], eax
mov ecx, dword [rsp + 0x64]
mov edx, dword [rbp + 0x1f8]
test cl, cl
jne 0x18004f48c
test dl, dl
jns 0x18004f495
or eax, 0xc
mov dword [rdi + 0x48a8], eax
mov rax, qword [0x1800e6460]
mov dword [rax + 0x4138], r13d
mov dword [rax + 0x4134], r13d
mov word [rax + 0x413c], 0
mov dword [rax + 0x4144], r13d
mov dword [rax + 0x4140], r13d
mov word [rax + 0x4148], 0
test cl, cl
je 0x18004f4fc
mov dword [rax + 0x4120], r13d
mov dword [rax + 0x411c], r13d
mov word [rax + 0x4124], 0
mov dword [rax + 0x412c], r13d
mov dword [rax + 0x4128], r13d
mov word [rax + 0x4130], 0
test r15b, r15b
je 0x18004f518
mov dword [rax + 0x475c], r13d
mov dword [rax + 0x4758], r13d
mov word [rax + 0x4760], 0
test edx, 0x440
je 0x18004f550
mov ecx, 0x200
call fcn.180016230
mov rdx, qword [0x1800e6460]
lea ecx, [r13 - 1]
cmp ecx, 0xfffffffd
mov ecx, r13d
jbe 0x18004f543
mov ecx, dword [rdx + 0x48b4]
cmp byte [rax + 4], 0
jbe 0x18004f550
mov dword [rax + 0xc], ecx
mov byte [rax + 4], 0
cmp dword [rdi + 0x4098], r13d
jne 0x18004f58d
test r14, r14
jne 0x18004f567
xor edx, edx
xor ecx, ecx
call fcn.18000ad40
cmp dword [rdi + 0x4098], r13d
jne 0x18004f58d
cmp byte [rdi + 0x3750], 0
je 0x18004f597
cmp byte [rsp + 0x59], 0
jne 0x18004f597
test bl, bl
jne 0x18004f597
mov byte [rsp + 0x58], 1
mov cl, 1
jmp 0x18004f59d
test r14, r14
je 0x18004f59b
test r12b, r12b
je 0x18004f59b
mov cl, 1
jmp 0x18004f59d
xor cl, cl
mov byte [rsp + 0x50], cl
mov r13d, dword [rsp + 0x54]
test r14, r14
je 0x18004f5c2
mov eax, dword [r14 + 0x5c]
cmp dword [r14 + 0x58], eax
jne 0x18004f5ba
test r13b, r13b
je 0x18004f5c2
test cl, cl
je 0x18004f5c2
mov dl, 1
jmp 0x18004f5c4
xor dl, dl
mov dword [rsp + 0x5c], edx
movzx r12d, dl
mov byte [rsp + 0x53], 0
mov byte [rsp + 0x59], 0
mov eax, dword [rsp + 0x68]
test al, al
je 0x18004f6d7
test r14, r14
je 0x18004f6d7
test cl, cl
jne 0x18004f5f7
test dl, dl
je 0x18004f6df
mov esi, dword [rbp - 0x5c]
inc esi
mov ecx, dword [r14 + 0x1c]
cmp esi, ecx
jle 0x18004f628
test ecx, ecx
je 0x18004f613
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18004f618
mov eax, 8
mov edx, esi
cmp eax, esi
cmovg edx, eax
lea rcx, [r14 + 0x18]
call fcn.18002da30
mov dword [r14 + 0x18], esi
mov rcx, qword [rsp + 0x70]
mov rbx, rcx
mov r15, qword [r14 + 0x20]
mov rdi, r15
movsxd rsi, esi
dec rsi
lea rsi, [r15 + rsi*2]
cmp r15, rsi
jae 0x18004f67f
nop word [rax + rax]
cmp byte [rbx], 0
je 0x18004f67a
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x58]
call fcn.1800068b0
movsxd rcx, eax
add rbx, rcx
movzx eax, word [rbp - 0x58]
mov word [rdi], ax
add rdi, 2
cmp rdi, rsi
jb 0x18004f650
mov rcx, qword [rsp + 0x70]
xor edx, edx
mov word [rdi], dx
sub rdi, r15
sar rdi, 1
mov dword [r14 + 0xc], edi
sub ebx, ecx
mov dword [r14 + 0x10], ebx
mov ecx, edi
cmp dword [r14 + 0x54], edi
cmovl ecx, dword [r14 + 0x54]
mov dword [r14 + 0x54], ecx
mov ecx, edi
cmp dword [r14 + 0x58], edi
cmovl ecx, dword [r14 + 0x58]
mov dword [r14 + 0x58], ecx
cmp dword [r14 + 0x5c], edi
cmovl edi, dword [r14 + 0x5c]
mov dword [r14 + 0x5c], edi
cmp ecx, edi
cmovne edx, r12d
mov dword [rsp + 0x5c], edx
movzx r15d, byte [rbp - 0x6c]
movzx ecx, byte [rsp + 0x50]
mov eax, dword [rsp + 0x68]
test cl, cl
jne 0x18004f6f2
test dl, dl
jne 0x18004f6f2
mov r12, qword [rbp - 0x78]
mov edi, dword [rbp - 0x70]
cmp dword [r12 + 0x4098], edi
jne 0x18004f70c
jmp 0x18004f6f9
mov edi, dword [rbp - 0x70]
mov r12, qword [rbp - 0x78]
test al, al
jne 0x18004f70c
test r14, r14
je 0x18004f70c
cmp byte [r14 + 0x48], al
mov byte [rbp - 0x69], 1
jne 0x18004f710
mov byte [rbp - 0x69], 0
mov ebx, dword [rbp - 0x54]
test bl, bl
je 0x18004f7ab
mov rdx, qword [r12 + 0x3d68]
cmp dword [rdx + 0x18], 0x2a
ja 0x18004f72f
mov r8, qword [rdx + 0x38]
jmp 0x18004f753
mov rax, qword [rdx + 0x20]
movzx ecx, word [rax + 0x54]
mov eax, 0xffff
cmp cx, ax
jne 0x18004f747
mov r8, qword [rdx + 0x38]
jmp 0x18004f753
lea rcx, [rcx + rcx*4]
mov rax, qword [rdx + 0x30]
lea r8, [rax + rcx*8]
lea rcx, [r12 + 0x5ca8]
mov eax, dword [rdx + 0x14]
mov dword [rcx + 0x14], eax
mov rax, qword [r12 + 0x3d68]
mov edx, dword [rax + 0x64]
mov dword [rcx + 0x64], edx
mov rax, qword [r12 + 0x3d68]
mov edx, dword [rax + 0x68]
mov dword [rcx + 0x68], edx
mov rax, qword [r12 + 0x3d68]
mov edx, dword [rax + 0x6c]
mov dword [rcx + 0x6c], edx
mov rax, qword [r12 + 0x3d68]
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.180015840
xor eax, eax
mov dword [rbp - 0x58], eax
movss xmm0, dword [0x1800d555c]
cmp dword [r12 + 0x4098], edi
jne 0x18004fd2b
mov eax, dword [r14 + 0x10]
mov dword [rbp - 0x58], eax
mov byte [r14 + 0xe86], 0
mov eax, dword [rbp - 0x5c]
mov dword [r14 + 0x4c], eax
mov ecx, dword [rbp + 0x1f8]
mov dword [r14 + 0xe88], ecx
cmp byte [r12 + 0xe10], 0
sete al
mov byte [r12 + 0x40a5], al
movss xmm6, dword [r12 + 0xe08]
subss xmm6, xmm7
subss xmm6, dword [r12 + 0x3914]
addss xmm6, dword [r14 + 0x50]
mov esi, dword [rsp + 0x64]
test sil, sil
je 0x18004f83c
movss xmm2, dword [r12 + 0xe0c]
mov rax, qword [rbp - 0x50]
subss xmm2, dword [rax + 0x13c]
jmp 0x18004f84a
movss xmm2, dword [r12 + 0x3d70]
mulss xmm2, xmm0
test r13b, r13b
je 0x18004f872
xor esi, esi
mov dword [r14 + 0x58], esi
mov eax, dword [r14 + 0xc]
mov dword [r14 + 0x5c], eax
mov dword [r14 + 0x54], eax
mov byte [r14 + 0x6a], sil
mov byte [r14 + 0xe85], 1
jmp 0x18004fb9c
movzx eax, byte [rsp + 0x60]
test al, al
je 0x18004fa43
cmp word [r12 + 0x375a], 2
jb 0x18004fa43
cmp byte [r12 + 0xe29], 0
jne 0x18004fa43
cmp byte [r14 + 0x6b], 0
je 0x18004f8b9
xor r8d, r8d
mov rdx, r14
lea rcx, [rbp + 0x70]
call fcn.18004c4d0
movss xmm2, dword [rbp + 0x7c]
movaps xmm1, xmm6
mov rcx, r14
call fcn.18004ca70
mov dword [r14 + 0x54], eax
mov dword [r14 + 0x58], eax
mov dword [r14 + 0x5c], eax
mov byte [r14 + 0x6a], 0
movzx ecx, word [r12 + 0x375a]
sub ecx, 2
test cl, 1
jne 0x18004f9ae
test eax, eax
je 0x18004f901
movsxd rcx, eax
mov rax, qword [r14 + 0x20]
cmp word [rax + rcx*2 - 2], 0xa
je 0x18004f901
xor cl, cl
jmp 0x18004f903
mov cl, 1
mov eax, dword [r14 + 0x5c]
cmp dword [r14 + 0x58], eax
jne 0x18004f911
test cl, cl
jne 0x18004f936
lea rdx, [r14 + 0x54]
mov r8d, 0x20000c
mov rcx, r14
call fcn.18004cf30
mov byte [r14 + 0xe84], 1
mov dword [r14 + 0xe80], 0xbe99999a
mov eax, dword [r14 + 0x5c]
cmp dword [r14 + 0x58], eax
jne 0x18004f958
cmp dword [r14 + 0x58], eax
jne 0x18004f954
mov eax, dword [r14 + 0x54]
mov dword [r14 + 0x5c], eax
mov dword [r14 + 0x58], eax
jmp 0x18004f958
mov dword [r14 + 0x54], eax
mov edx, dword [r14 + 0x54]
mov rcx, r14
call fcn.18004c6b0
mov dword [r14 + 0x54], eax
mov dword [r14 + 0x5c], eax
mov eax, dword [r14 + 0xc]
mov edx, dword [r14 + 0x5c]
mov ecx, dword [r14 + 0x58]
cmp ecx, edx
je 0x18004f998
cmp ecx, eax
jle 0x18004f986
mov dword [r14 + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x18004f990
mov dword [r14 + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x18004f998
mov dword [r14 + 0x54], ecx
cmp dword [r14 + 0x54], eax
jle 0x18004fa3b
mov dword [r14 + 0x54], eax
mov edi, dword [rbp - 0x70]
jmp 0x18004fb89
mov rcx, qword [r14 + 0x20]
cdqe
movzx ebx, word [rcx + rax*2]
mov r8d, 0x200004
lea rdx, [r14 + 0x54]
mov rcx, r14
call fcn.18004cf30
mov byte [r14 + 0xe84], 1
mov dword [r14 + 0xe80], 0xbe99999a
mov r8d, 0x600005
lea rdx, [r14 + 0x54]
mov rcx, r14
call fcn.18004cf30
mov byte [r14 + 0xe84], 1
mov dword [r14 + 0xe80], 0xbe99999a
mov r8d, 0x600001
lea rdx, [r14 + 0x54]
mov rcx, r14
call fcn.18004cf30
cmp bx, 0xa
je 0x18004fa33
test sil, sil
je 0x18004fa33
mov ecx, dword [r14 + 0x58]
mov eax, dword [r14 + 0x5c]
mov dword [r14 + 0x58], eax
mov dword [r14 + 0x5c], ecx
mov dword [r14 + 0x54], ecx
mov byte [r14 + 0xe84], 0
mov edi, dword [rbp - 0x70]
jmp 0x18004fb89
cmp byte [r12 + 0x3750], 0
je 0x18004fb04
cmp byte [r14 + 0xe85], 0
jne 0x18004fb04
test al, al
je 0x18004fb9a
cmp byte [r12 + 0xe29], 0
je 0x18004fabf
cmp byte [r14 + 0x6b], 0
je 0x18004fa8e
xor r8d, r8d
mov rdx, r14
lea rcx, [rbp + 0x70]
call fcn.18004c4d0
movss xmm2, dword [rbp + 0x7c]
lea rbx, [r14 + 0x5c]
mov eax, dword [rbx]
cmp dword [r14 + 0x58], eax
jne 0x18004faa2
mov eax, dword [r14 + 0x54]
mov dword [r14 + 0x58], eax
movaps xmm1, xmm6
mov rcx, r14
call fcn.18004ca70
mov ecx, 0x54
mov rdx, r14
mov dword [rbx], eax
mov dword [rdx + rcx], eax
jmp 0x18004fb89
cmp byte [r14 + 0x6b], 0
je 0x18004fada
xor r8d, r8d
mov rdx, r14
lea rcx, [rbp + 0x70]
call fcn.18004c4d0
movss xmm2, dword [rbp + 0x7c]
movaps xmm1, xmm6
mov rcx, r14
call fcn.18004ca70
mov dword [r14 + 0x58], eax
mov byte [r14 + 0x6a], 0
lea rbx, [r14 + 0x5c]
mov ecx, 0x54
mov rdx, r14
mov dword [rbx], eax
mov dword [rdx + rcx], eax
jmp 0x18004fb89
cmp byte [r12 + 0xe10], 0
je 0x18004fb9a
cmp byte [r14 + 0xe85], 0
jne 0x18004fb9a
movss xmm0, dword [r12 + 0xf8]
ucomiss xmm0, xmm12
jp 0x18004fb41
jne 0x18004fb41
movss xmm0, dword [r12 + 0xfc]
ucomiss xmm0, xmm12
jp 0x18004fb41
je 0x18004fb9a
cmp byte [r14 + 0x6b], 0
je 0x18004fb5c
xor r8d, r8d
mov rdx, r14
lea rcx, [rbp + 0x70]
call fcn.18004c4d0
movss xmm2, dword [rbp + 0x7c]
mov eax, dword [r14 + 0x5c]
cmp dword [r14 + 0x58], eax
jne 0x18004fb6e
mov eax, dword [r14 + 0x54]
mov dword [r14 + 0x58], eax
movaps xmm1, xmm6
mov rcx, r14
call fcn.18004ca70
mov dword [r14 + 0x5c], eax
mov dword [r14 + 0x54], eax
mov byte [r14 + 0xe84], 1
mov dword [r14 + 0xe80], 0xbe99999a
mov ecx, dword [rbp + 0x1f8]
xor esi, esi
cmp byte [r14 + 0xe85], 0
je 0x18004fbb9
cmp byte [r12 + 0xe10], 0
jne 0x18004fbb9
mov byte [r14 + 0xe85], 0
bt ecx, 0xa
jae 0x18004fc22
xor r8d, r8d
mov edx, edi
mov ecx, 0x200
call fcn.180018610
mov ecx, dword [rsp + 0x68]
test al, al
je 0x18004fc26
test cl, cl
jne 0x18004fc26
mov dword [rsp + 0x54], 9
mov dword [rsp + 0x20], 2
mov edx, dword [rbp + 0x1f8]
lea rcx, [rsp + 0x54]
call fcn.18004e490
test al, al
je 0x18004fc22
lea rdx, [r14 + 0x54]
mov r8d, dword [rsp + 0x54]
mov rcx, r14
call fcn.18004cf30
mov byte [r14 + 0xe84], 1
mov dword [r14 + 0xe80], 0xbe99999a
mov ecx, dword [rsp + 0x68]
cmp byte [r12 + 0xe28], 0
je 0x18004fc3c
cmp byte [r12 + 0xe2a], 0
je 0x18004fc4c
test r15b, r15b
je 0x18004fc50
cmp byte [r12 + 0xe2b], 0
je 0x18004fc50
mov al, 1
jmp 0x18004fc52
xor al, al
cmp dword [r12 + 0x37f0], 0
jle 0x18004fd28
test al, al
jne 0x18004fcf7
test cl, cl
jne 0x18004fcf7
cmp byte [rsp + 0x51], cl
jne 0x18004fcf7
mov edi, esi
mov rbx, rsi
mov r15d, dword [rbp + 0x1f8]
nop word [rax + rax]
mov rax, qword [r12 + 0x37f8]
movzx ecx, word [rbx + rax]
mov dword [rsp + 0x54], ecx
cmp ecx, 9
je 0x18004fce2
mov dword [rsp + 0x20], 2
mov edx, r15d
lea rcx, [rsp + 0x54]
call fcn.18004e490
test al, al
je 0x18004fce2
lea rdx, [r14 + 0x54]
mov r8d, dword [rsp + 0x54]
mov rcx, r14
call fcn.18004cf30
mov byte [r14 + 0xe84], 1
mov dword [r14 + 0xe80], 0xbe99999a
inc edi
add rbx, 2
cmp edi, dword [r12 + 0x37f0]
jl 0x18004fc90
movzx r15d, byte [rbp - 0x6c]
mov ecx, dword [r12 + 0x37f4]
test ecx, ecx
jns 0x18004fd20
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov edx, esi
test eax, eax
cmovg edx, eax
lea rcx, [r12 + 0x37f0]
call fcn.18002da30
mov dword [r12 + 0x37f0], esi
mov ebx, dword [rbp - 0x54]
xor sil, sil
mov byte [rbp - 0x6a], sil
mov r13d, dword [rbp - 0x70]
cmp dword [r12 + 0x4098], r13d
jne 0x180050910
cmp byte [r12 + 0x40a4], sil
jne 0x180050910
cmp byte [rsp + 0x58], sil
jne 0x180050910
movaps xmm0, xmm11
subss xmm0, dword [r12 + 0x3918]
divss xmm0, dword [r12 + 0x3d70]
cvttss2si eax, xmm0
mov ecx, 1
cmp eax, ecx
cmovge ecx, eax
mov dword [rsp + 0x54], ecx
mov dword [r14 + 0x64], ecx
movzx eax, byte [r12 + 0xe29]
neg al
sbb edi, edi
and edi, 0x400000
test r15b, r15b
je 0x18004fdcf
movzx eax, byte [r12 + 0xe2a]
mov byte [rsp + 0x52], al
cmp byte [r12 + 0xe2b], sil
je 0x18004fddc
cmp byte [r12 + 0xe28], sil
jne 0x18004fddc
test al, al
jne 0x18004fddc
mov byte [rsp + 0x51], 1
jmp 0x18004fde1
movzx eax, byte [r12 + 0xe28]
mov byte [rsp + 0x52], al
mov byte [rsp + 0x51], sil
mov r12d, 1
mov r8d, r12d
mov edx, r13d
mov ecx, 0xa39
call fcn.180018610
test al, al
jne 0x18004fe0f
mov r8d, r12d
mov edx, r13d
mov ecx, 0x220a
call fcn.180018610
test al, al
je 0x18004fe34
mov esi, dword [rsp + 0x68]
test sil, sil
jne 0x18004fe38
test bl, bl
mov ebx, dword [rsp + 0x64]
jne 0x18004fe3c
test bl, bl
je 0x18004fe2e
mov eax, dword [r14 + 0x5c]
cmp dword [r14 + 0x58], eax
je 0x18004fe3c
mov byte [rbp - 0x6b], r12b
jmp 0x18004fe40
mov esi, dword [rsp + 0x68]
mov ebx, dword [rsp + 0x64]
mov byte [rbp - 0x6b], 0
xor r8d, r8d
mov edx, r13d
mov ecx, 0xa24
call fcn.180018610
test al, al
jne 0x18004fe68
xor r8d, r8d
mov edx, r13d
mov ecx, 0x1209
call fcn.180018610
test al, al
je 0x18004fe82
cmp byte [rbp - 0x54], 0
jne 0x18004fe82
test bl, bl
je 0x18004fe7c
mov eax, dword [r14 + 0x5c]
cmp dword [r14 + 0x58], eax
je 0x18004fe82
mov byte [rbp - 0x5f], r12b
jmp 0x18004fe86
mov byte [rbp - 0x5f], 0
mov r8d, r12d
mov edx, r13d
mov ecx, 0xa37
call fcn.180018610
test al, al
jne 0x18004feae
mov r8d, r12d
mov edx, r13d
mov ecx, 0x2209
call fcn.180018610
test al, al
je 0x18004feb8
test sil, sil
mov byte [rsp + 0x60], r12b
je 0x18004febd
mov byte [rsp + 0x60], 0
mov r8d, r12d
mov edx, r13d
mov ecx, 0xa3b
call fcn.180018610
mov ebx, dword [rbp - 0x80]
test al, al
je 0x18004fee1
test sil, sil
jne 0x18004fee1
test bl, bl
mov byte [rbp - 0x60], r12b
jne 0x18004fee5
mov byte [rbp - 0x60], 0
mov r8d, r12d
mov edx, r13d
mov ecx, 0xa3a
call fcn.180018610
test al, al
jne 0x18004ff12
test r15b, r15b
je 0x18004ff1b
mov r8d, r12d
mov edx, r13d
mov ecx, 0x2a3b
call fcn.180018610
test al, al
je 0x18004ff1b
test sil, sil
jne 0x18004ff1b
test bl, bl
jne 0x18004ff1e
xor r12b, r12b
xor r8d, r8d
mov edx, r13d
mov ecx, 0xa22
call fcn.180018610
movzx r13d, al
mov rax, qword [rbp - 0x78]
test byte [rax + 8], 2
je 0x18004ff46
test byte [rax + 0xc], 1
je 0x18004ff46
mov bl, 1
jmp 0x18004ff48
xor bl, bl
mov esi, 1
mov r8d, esi
xor edx, edx
mov ecx, 0x20d
call fcn.180016590
test al, al
jne 0x18004ff78
mov r8d, esi
xor edx, edx
mov ecx, 0x267
call fcn.180016590
test al, al
jne 0x18004ff78
xor r15b, r15b
jmp 0x18004ff7c
movzx r15d, sil
test bl, bl
je 0x18004ffa6
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.180016590
test al, al
jne 0x18004ffa9
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.180016590
test al, al
jne 0x18004ffa9
xor sil, sil
mov r8d, 1
mov edx, dword [rbp - 0x70]
mov ecx, 0x20e
call fcn.180018610
test al, al
jne 0x18004ffdf
test bl, bl
je 0x18004ffdb
mov r8d, 1
mov edx, dword [rbp - 0x70]
mov ecx, 0x26c
call fcn.180018610
test al, al
jne 0x18004ffdf
xor bl, bl
jmp 0x18004ffe1
mov bl, 1
xor edx, edx
mov ecx, 0x201
lea r8d, [rdx + 1]
call fcn.180016590
test al, al
je 0x180050042
cmp byte [rsp + 0x51], 0
je 0x180050003
mov eax, 0x200004
jmp 0x180050015
mov eax, 0x200000
cmp byte [rsp + 0x52], 0
mov ecx, 0x20000c
cmovne eax, ecx
or edi, eax
lea rdx, [r14 + 0x54]
mov r8d, edi
mov rcx, r14
call fcn.18004cf30
mov dword [r14 + 0xe80], 0xbe99999a
mov byte [r14 + 0xe84], 1
mov r12, qword [rbp - 0x78]
jmp 0x1800508d3
xor edx, edx
mov ecx, 0x202
lea r8d, [rdx + 1]
call fcn.180016590
test al, al
je 0x18005007c
cmp byte [rsp + 0x51], 0
je 0x180050066
mov ecx, 0x200005
or edi, ecx
jmp 0x180050017
mov ecx, 0x200001
mov eax, 0x20000d
cmp byte [rsp + 0x52], 0
cmovne ecx, eax
or edi, ecx
jmp 0x180050017
xor edx, edx
mov ecx, 0x203
lea r8d, [rdx + 1]
call fcn.180016590
test al, al
je 0x180050118
cmp byte [rsp + 0x64], 0
je 0x180050118
mov r12, qword [rbp - 0x78]
cmp byte [r12 + 0xe28], 0
je 0x1800500e4
mov r9, qword [rbp - 0x50]
movss xmm0, dword [r9 + 0xbc]
subss xmm0, dword [r12 + 0x3d70]
maxss xmm0, xmm12
movss dword [r9 + 0xcc], xmm0
xor eax, eax
mov dword [r9 + 0xd4], eax
mov dword [r9 + 0xdc], eax
jmp 0x1800508d3
movzx eax, byte [rsp + 0x51]
lea r8d, [rax*4 + 0x200002]
or r8d, edi
lea rdx, [r14 + 0x54]
mov rcx, r14
call fcn.18004cf30
mov byte [r14 + 0xe84], 1
mov dword [r14 + 0xe80], 0xbe99999a
jmp 0x1800508d3
xor edx, edx
mov ecx, 0x204
lea r8d, [rdx + 1]
call fcn.180016590
test al, al
je 0x18005019b
cmp byte [rsp + 0x64], 0
je 0x18005019b
mov r12, qword [rbp - 0x78]
cmp byte [r12 + 0xe28], 0
je 0x180050189
mov rax, qword [0x1800e6460]
mov rcx, qword [rax + 0x4038]
movss xmm0, dword [r12 + 0x3d70]
mov rax, qword [rbp - 0x50]
addss xmm0, dword [rax + 0xbc]
minss xmm0, dword [rcx + 0xc4]
movss dword [rax + 0xcc], xmm0
xor ecx, ecx
mov dword [rax + 0xd4], ecx
mov dword [rax + 0xdc], ecx
jmp 0x1800508d3
movzx eax, byte [rsp + 0x51]
lea r8d, [rax*4 + 0x200003]
jmp 0x1800500f1
xor edx, edx
mov ecx, 0x205
lea r8d, [rdx + 1]
call fcn.180016590
test al, al
je 0x1800501ff
cmp byte [rsp + 0x64], 0
je 0x1800501ff
or edi, 0x20000e
lea rdx, [r14 + 0x54]
mov r8d, edi
mov rcx, r14
call fcn.18004cf30
mov byte [r14 + 0xe84], 1
mov dword [r14 + 0xe80], 0xbe99999a
movd xmm0, dword [rsp + 0x54]
cvtdq2ps xmm0, xmm0
mov r12, qword [rbp - 0x78]
mulss xmm0, dword [r12 + 0x3d70]
subss xmm9, xmm0
jmp 0x1800508d3
xor edx, edx
mov ecx, 0x206
lea r8d, [rdx + 1]
call fcn.180016590
test al, al
je 0x180050263
cmp byte [rsp + 0x64], 0
je 0x180050263
or edi, 0x20000f
lea rdx, [r14 + 0x54]
mov r8d, edi
mov rcx, r14
call fcn.18004cf30
mov byte [r14 + 0xe84], 1
mov dword [r14 + 0xe80], 0xbe99999a
movd xmm0, dword [rsp + 0x54]
cvtdq2ps xmm0, xmm0
mov r12, qword [rbp - 0x78]
mulss xmm0, dword [r12 + 0x3d70]
addss xmm9, xmm0
jmp 0x1800508d3
xor edx, edx
mov ecx, 0x207
lea r8d, [rdx + 1]
call fcn.180016590
test al, al
je 0x18005029c
mov eax, edi
or eax, 0x200006
or edi, 0x200004
mov r12, qword [rbp - 0x78]
cmp byte [r12 + 0xe28], 0
cmovne edi, eax
mov r8d, edi
jmp 0x1800500f4
xor edx, edx
mov ecx, 0x208
lea r8d, [rdx + 1]
call fcn.180016590
test al, al
je 0x1800502d6
mov eax, edi
or eax, 0x200007
mov r8d, 0x200005
or r8d, edi
mov r12, qword [rbp - 0x78]
cmp byte [r12 + 0xe28], 0
cmovne r8d, eax
jmp 0x1800500f4
xor edx, edx
mov ecx, 0x20a
lea r8d, [rdx + 1]
call fcn.180016590
test al, al
je 0x180050338
cmp byte [rsp + 0x68], 0
jne 0x180050338
cmp byte [rbp - 0x6b], 0
jne 0x180050338
mov eax, dword [r14 + 0x5c]
cmp dword [r14 + 0x58], eax
jne 0x18005032d
cmp byte [rsp + 0x52], 0
je 0x18005032d
lea rdx, [r14 + 0x54]
mov r8d, 0x60000d
mov rcx, r14
call fcn.18004cf30
mov byte [r14 + 0xe84], 1
mov dword [r14 + 0xe80], 0xbe99999a
or edi, 0x200008
jmp 0x180050017
xor edx, edx
mov ecx, 0x20b
lea r8d, [rdx + 1]
call fcn.180016590
mov r8d, dword [rsp + 0x68]
test al, al
je 0x180050404
test r8b, r8b
jne 0x180050404
mov eax, dword [r14 + 0x5c]
cmp dword [r14 + 0x58], eax
jne 0x180050394
cmp byte [rsp + 0x52], r8b
je 0x1800503a6
lea rdx, [r14 + 0x54]
mov r8d, 0x60000c
mov rcx, r14
call fcn.18004cf30
mov byte [r14 + 0xe84], 1
mov dword [r14 + 0xe80], 0xbe99999a
mov r12, qword [rbp - 0x78]
or edi, 0x200009
mov r8d, edi
jmp 0x1800500f4
cmp byte [rbp - 0x6c], 0
je 0x180050394
mov r12, qword [rbp - 0x78]
cmp byte [r12 + 0xe2b], 0
je 0x180050398
cmp byte [r12 + 0xe2a], 0
jne 0x180050398
cmp byte [r12 + 0xe28], 0
jne 0x180050398
lea rdx, [r14 + 0x54]
mov r8d, 0x600004
mov rcx, r14
call fcn.18004cf30
mov byte [r14 + 0xe84], 1
mov dword [r14 + 0xe80], 0xbe99999a
or edi, 0x200009
mov r8d, edi
jmp 0x1800500f4
test r15b, r15b
jne 0x18005083c
test sil, sil
jne 0x18005083c
test bl, bl
je 0x180050476
mov rdx, qword [rsp + 0x70]
test dword [rbp + 0x1f8], 0x100000
je 0x180050457
movzx eax, byte [rdx]
test al, al
jne 0x180050446
xor r12b, r12b
mov dword [rsp + 0x5c], r12d
mov byte [rsp + 0x50], r12b
mov byte [rsp + 0x58], 1
test al, al
setne sil
mov byte [rbp - 0x6a], sil
mov r12, qword [rbp - 0x78]
jmp 0x1800508db
mov sil, 1
mov byte [rbp - 0x6a], sil
mov byte [rsp + 0x58], sil
xor cl, cl
xor r8b, r8b
mov byte [rsp + 0x50], r8b
mov r12, qword [rbp - 0x78]
jmp 0x1800508e5
movzx eax, byte [rbp - 0x60]
test al, al
jne 0x180050811
test r12b, r12b
jne 0x180050811
test r13b, r13b
je 0x1800504b7
xor eax, eax
mov dword [r14 + 0x58], eax
mov eax, dword [r14 + 0xc]
mov dword [r14 + 0x5c], eax
mov dword [r14 + 0x54], eax
mov byte [r14 + 0x6a], r12b
mov byte [r14 + 0xe84], 1
mov r12, qword [rbp - 0x78]
jmp 0x1800508d3
movzx r12d, byte [rbp - 0x6b]
test r12b, r12b
jne 0x180050669
cmp byte [rbp - 0x5f], r12b
jne 0x180050669
cmp byte [rsp + 0x60], r12b
je 0x180050039
mov rcx, qword [0x1800e6460]
mov rax, qword [rcx + 0xb0]
test rax, rax
je 0x18005050b
mov rcx, qword [rcx + 0xc0]
call rax
mov rbx, rax
test rax, rax
je 0x180050039
mov rcx, qword [0x1800e6460]
jmp 0x180050512
lea rbx, [0x18009698e]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x180050520
test rcx, rcx
je 0x180050534
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 esi, r12d
cmp byte [rbx], r12b
je 0x1800505a4
mov rdi, rax
mov r15d, dword [rbp + 0x1f8]
nop
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.1800068b0
movsxd rcx, eax
add rbx, rcx
mov dword [rsp + 0x20], 4
mov edx, r15d
lea rcx, [rbp - 0x80]
call fcn.18004e490
test al, al
je 0x18005059a
movzx eax, word [rbp - 0x80]
mov word [rdi], ax
inc esi
add rdi, 2
cmp byte [rbx], r12b
jne 0x180050560
mov r15, qword [rsp + 0x78]
movsxd rax, esi
mov word [r15 + rax*2], r12w
test esi, esi
jle 0x180050640
mov eax, dword [r14 + 0xc]
mov edx, dword [r14 + 0x5c]
mov ecx, dword [r14 + 0x58]
cmp ecx, edx
je 0x1800505e0
cmp ecx, eax
jle 0x1800505ce
mov dword [r14 + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x1800505d8
mov dword [r14 + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x1800505e0
mov dword [r14 + 0x54], ecx
cmp dword [r14 + 0x54], eax
jle 0x1800505ea
mov dword [r14 + 0x54], eax
lea rdx, [r14 + 0x54]
mov rcx, r14
call fcn.18004ce90
mov r9d, esi
mov r8, r15
mov edx, dword [r14 + 0x54]
mov rcx, r14
call fcn.18004c8e0
test al, al
je 0x180050638
mov edi, dword [r14 + 0x54]
lea rcx, [r14 + 0x74]
xor edx, edx
call fcn.18004df80
test rax, rax
je 0x180050630
mov dword [rax], edi
mov dword [rax + 4], r12d
mov dword [rax + 8], esi
mov dword [rax + 0xc], 0xffffffff
add dword [r14 + 0x54], esi
mov byte [r14 + 0x6a], r12b
mov byte [r14 + 0xe84], 1
test r15, r15
je 0x180050657
mov rax, qword [0x1800e6460]
test rax, rax
je 0x180050657
dec dword [rax + 0xf4]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r12, qword [rbp - 0x78]
jmp 0x1800508d3
mov rax, qword [rbp - 0x78]
cmp qword [rax + 0xb8], 0
je 0x1800507b7
mov edi, dword [r14 + 0x5c]
mov eax, dword [r14 + 0x58]
cmp eax, edi
je 0x180050691
mov esi, edi
cmovl esi, eax
cmovge edi, eax
jmp 0x180050699
xor eax, eax
mov esi, eax
mov edi, dword [r14 + 0xc]
mov rcx, qword [r14 + 0x20]
movsxd rax, edi
lea r8, [rcx + rax*2]
movsxd rax, esi
lea rdx, [rcx + rax*2]
xor eax, eax
mov ecx, eax
mov r9d, 0x800
mov r13d, 0x80
nop dword [rax + rax]
test r8, r8
je 0x1800506ca
cmp rdx, r8
jae 0x1800506ed
movzx eax, word [rdx]
test ax, ax
je 0x1800506ed
add rdx, 2
cmp ax, r13w
jae 0x1800506e0
inc ecx
jmp 0x1800506c0
cmp ax, r9w
sbb eax, eax
add eax, 3
add ecx, eax
jmp 0x1800506c0
inc ecx
mov rax, qword [0x1800e6460]
test rax, rax
je 0x180050701
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 [r14 + 0x20]
movsxd rcx, edi
lea r11, [rdx + rcx*2]
movsxd rcx, esi
lea r10, [rdx + rcx*2]
mov r9, rax
lea rdi, [rbx + rax]
lea rbx, [rdi - 1]
cmp rax, rbx
jae 0x180050773
test r11, r11
je 0x18005073c
cmp r10, r11
jae 0x180050773
movzx eax, word [r10]
test ax, ax
je 0x180050773
mov r8d, eax
add r10, 2
cmp eax, r13d
jae 0x180050759
mov byte [r9], r8b
inc r9
jmp 0x18005076e
mov edx, edi
sub edx, r9d
dec edx
mov rcx, r9
call fcn.180006a60
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x180050732
mov byte [r9], 0
mov rax, qword [0x1800e6460]
mov r8, qword [rax + 0xb8]
test r8, r8
je 0x18005079e
mov rdx, r15
mov rcx, qword [rax + 0xc0]
call r8
mov rax, qword [0x1800e6460]
test r15, r15
je 0x1800507ae
test rax, rax
je 0x1800507ae
dec dword [rax + 0xf4]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test r12b, r12b
je 0x180050039
mov eax, dword [r14 + 0x5c]
cmp dword [r14 + 0x58], eax
jne 0x1800507e1
xor eax, eax
mov dword [r14 + 0x58], eax
mov eax, dword [r14 + 0xc]
mov dword [r14 + 0x5c], eax
mov dword [r14 + 0x54], eax
mov byte [r14 + 0x6a], 0
mov byte [r14 + 0xe84], 1
mov eax, dword [r14 + 0x5c]
cmp dword [r14 + 0x58], eax
je 0x180050039
lea rdx, [r14 + 0x54]
mov rcx, r14
call fcn.18004ce90
mov byte [r14 + 0x6a], 0
mov r12, qword [rbp - 0x78]
jmp 0x1800508d3
mov r8d, eax
xor r8d, 1
add r8d, 0x20000a
lea rdx, [r14 + 0x54]
mov rcx, r14
call fcn.18004cf30
mov eax, dword [r14 + 0x54]
mov dword [r14 + 0x5c], eax
mov dword [r14 + 0x58], eax
jmp 0x180050026
mov edx, dword [rbp + 0x1f8]
mov eax, edx
shr eax, 0xb
and al, 1
mov ecx, dword [rsp + 0x64]
mov r12, qword [rbp - 0x78]
test cl, cl
je 0x180050868
test sil, sil
jne 0x180050868
test al, al
je 0x180050891
cmp byte [r12 + 0xe28], sil
jne 0x18005089c
mov byte [rsp + 0x59], 1
cmp byte [r12 + 0x64], 0
je 0x1800508ce
test cl, cl
jne 0x1800508ce
xor eax, eax
mov dword [r14 + 0x58], eax
mov eax, dword [r14 + 0xc]
mov dword [r14 + 0x5c], eax
mov dword [r14 + 0x54], eax
mov byte [r14 + 0x6a], cl
jmp 0x1800508d3
cmp byte [r12 + 0xe28], 0
jne 0x180050868
test r8b, r8b
jne 0x180050039
mov dword [rbp - 0x80], 0xa
mov dword [rsp + 0x20], 2
lea rcx, [rbp - 0x80]
call fcn.18004e490
test al, al
je 0x180050039
mov r8d, dword [rbp - 0x80]
jmp 0x1800500f4
mov byte [rsp + 0x58], 1
mov rdx, qword [rsp + 0x70]
xor sil, sil
mov ecx, dword [rsp + 0x5c]
movzx r8d, byte [rsp + 0x50]
mov eax, dword [r14 + 0x5c]
cmp dword [r14 + 0x58], eax
je 0x180050902
test r8b, r8b
je 0x180050902
mov al, 1
or cl, al
mov dword [rsp + 0x5c], ecx
mov r13d, dword [rbp - 0x70]
jmp 0x180050915
xor al, al
or cl, al
mov dword [rsp + 0x5c], ecx
mov r13d, dword [rbp - 0x70]
jmp 0x180050915
mov rdx, qword [rsp + 0x70]
xor r11d, r11d
mov qword [rsp + 0x78], r11
mov dword [rsp + 0x54], r11d
cmp dword [r12 + 0x4098], r13d
jne 0x180051067
mov r15d, dword [rsp + 0x68]
test r15b, r15b
jne 0x180050be4
test sil, sil
je 0x180050b41
test dword [rbp + 0x1f8], 0x100000
je 0x1800509c2
lea rax, [0x18009698e]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x54], r11d
mov byte [rsp + 0x53], 1
movsxd rbx, dword [r14 + 0xc]
lea rcx, [r14 + 0x74]
xor r9d, r9d
mov r8d, ebx
xor edx, edx
call fcn.18004e0d0
mov r9, rax
test rax, rax
je 0x1800509a5
test ebx, ebx
jle 0x1800509a5
xor eax, eax
mov edx, eax
nop
mov rcx, qword [r14 + 0x20]
movzx eax, word [rcx + rdx*2]
mov word [r9 + rdx*2], ax
inc rdx
cmp rdx, rbx
jl 0x180050990
mov r8d, dword [r14 + 0xc]
xor edx, edx
mov rcx, r14
call fcn.18004c810
xor eax, eax
mov qword [r14 + 0x58], rax
mov dword [r14 + 0x54], eax
jmp 0x180050b41
mov r9, qword [r14 + 0x40]
mov rax, rdx
mov r8, r9
sub r8, rdx
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1800509e3
inc rax
test ecx, ecx
jne 0x1800509d0
test edx, edx
je 0x180050b41
mov r12, r9
mov qword [rsp + 0x78], r9
mov eax, dword [r14 + 0x38]
dec eax
mov dword [rsp + 0x54], eax
mov byte [rsp + 0x53], 1
mov qword [rbp + 0x70], r11
mov r15d, r11d
mov r13, r11
mov qword [rbp + 0x78], r11
test eax, eax
jle 0x180050af9
movsxd rdi, eax
add rdi, r9
mov rbx, r9
mov esi, r11d
test rdi, rdi
je 0x180050a2e
cmp rbx, rdi
jae 0x180050a4c
cmp byte [rbx], 0
je 0x180050a4c
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.1800068b0
movsxd rcx, eax
add rbx, rcx
inc esi
jmp 0x180050a24
lea r15d, [rsi + 1]
test r15d, r15d
jle 0x180050a90
mov ebx, r15d
cmp r15d, 8
mov eax, 8
cmovl ebx, eax
test ebx, ebx
jle 0x180050a90
mov rax, qword [0x1800e6460]
test rax, rax
je 0x180050a7a
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 + 0x78], rax
mov dword [rbp + 0x74], ebx
mov dword [rbp + 0x70], r15d
movsxd rax, dword [rsp + 0x54]
lea rdi, [r12 + rax]
mov rbx, r12
mov rsi, r13
movsxd r12, r15d
lea r12, [r12*2 - 2]
add r12, r13
cmp r13, r12
jae 0x180050aee
test rdi, rdi
je 0x180050ac0
cmp rbx, rdi
jae 0x180050aea
cmp byte [rbx], 0
je 0x180050aea
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.1800068b0
movsxd rcx, eax
add rbx, rcx
movzx eax, word [rbp - 0x80]
mov word [rsi], ax
add rsi, 2
cmp rsi, r12
jb 0x180050ab6
mov eax, dword [rsp + 0x54]
xor r11d, r11d
mov word [rsi], r11w
movzx esi, byte [rbp - 0x6a]
lea r9d, [r15 - 1]
test eax, eax
cmovle r9d, r11d
lea rdx, [r14 + 0x54]
mov r8, r13
mov rcx, r14
call fcn.18004e3d0
nop
test r13, r13
je 0x180050b34
mov rax, qword [0x1800e6460]
test rax, rax
je 0x180050b2a
dec dword [rax + 0xf4]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov r12, qword [rbp - 0x78]
mov r13d, dword [rbp - 0x70]
mov r15d, dword [rsp + 0x68]
mov byte [r14 + 0x48], 1
mov eax, dword [r14 + 0x18]
lea ebx, [rax*4 + 1]
mov ecx, dword [r14 + 0x2c]
cmp ebx, ecx
jle 0x180050b7d
test ecx, ecx
je 0x180050b68
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180050b6d
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [r14 + 0x28]
call fcn.18002d9a0
mov dword [r14 + 0x28], ebx
mov r10, qword [r14 + 0x20]
mov r9, qword [r14 + 0x30]
movsxd r11, ebx
add r11, r9
lea rbx, [r11 - 1]
cmp r9, rbx
jae 0x180050bdd
mov r15d, 0x80
nop
movzx eax, word [r10]
test ax, ax
je 0x180050bd8
mov r8d, eax
add r10, 2
cmp eax, r15d
jae 0x180050bbd
mov byte [r9], r8b
inc r9
jmp 0x180050bd3
mov edx, r11d
sub edx, r9d
dec edx
mov rcx, r9
call fcn.180006a60
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x180050ba0
mov r15d, dword [rsp + 0x68]
mov byte [r9], 0
xor r11d, r11d
test sil, sil
je 0x180050c56
cmp byte [rsp + 0x59], 0
je 0x180050bfc
mov edi, dword [rbp + 0x1f8]
test dil, 0x20
jne 0x180050c5c
mov r12d, dword [rbp - 0x68]
mov r15, qword [rsp + 0x70]
mov r8d, dword [rsp + 0x68]
mov r11, qword [rsp + 0x78]
mov r10d, dword [rsp + 0x54]
mov r13, qword [rbp - 0x78]
mov edi, dword [rbp - 0x70]
cmp dword [r13 + 0x5c90], edi
jne 0x180051109
cmp dword [r13 + 0x4098], edi
je 0x1800510fe
mov rax, qword [0x1800e6460]
mov ecx, dword [rax + 0x48e0]
test cl, 0x20
je 0x180051080
shr ecx, 6
test cl, 1
jmp 0x18005109a
mov edi, dword [rbp + 0x1f8]
test edi, 0x801c0
je 0x18005100d
mov ebx, r11d
test dil, 0x40
je 0x180050c97
xor r8d, r8d
mov edx, r13d
mov ecx, 0x200
call fcn.180018610
test al, al
je 0x180050c97
mov eax, 0x40
mov ebx, 0x200
xor r11d, r11d
jmp 0x180050d18
test dil, dil
jns 0x180050ced
mov esi, 1
mov r8d, esi
xor edx, edx
mov ecx, 0x203
call fcn.180016590
test al, al
je 0x180050cc7
mov r10d, 0x80
mov eax, r10d
mov ebx, 0x203
xor r11d, r11d
jmp 0x180050d1e
mov r8d, esi
xor edx, edx
mov ecx, 0x204
call fcn.180016590
test al, al
je 0x180050ced
mov r10d, 0x80
mov eax, r10d
mov ebx, 0x204
xor r11d, r11d
jmp 0x180050d1e
mov eax, 0x80000
test eax, edi
je 0x180050d05
cmp byte [r14 + 0xe86], 0
je 0x180050d05
xor r11d, r11d
jmp 0x180050d18
mov ecx, 0x100
test ecx, edi
mov r11d, 0
mov eax, r11d
cmovne eax, ecx
mov r10d, 0x80
test eax, eax
je 0x18005100d
mov dword [rbp + 8], r11d
mov qword [rbp + 0x21], r11
mov dword [rbp + 0x29], r11d
mov word [rbp + 0x2d], r11w
mov byte [rbp + 0x2f], 0
mov qword [rbp - 0x10], r12
mov dword [rbp - 8], eax
mov dword [rbp - 4], edi
mov qword [rbp], r11
test r15b, r15b
mov rax, qword [rsp + 0x70]
jne 0x180050d57
mov rax, qword [r14 + 0x30]
mov dword [rbp + 0xc], ebx
mov qword [rbp + 0x10], rax
mov eax, dword [r14 + 0x10]
mov dword [rbp + 0x18], eax
mov eax, dword [r14 + 0x4c]
mov dword [rbp + 0x1c], eax
mov byte [rbp + 0x20], 0
mov rdx, qword [r14 + 0x20]
movsxd rax, dword [r14 + 0x54]
lea r8, [rdx + rax*2]
mov rcx, rdx
mov ebx, r11d
mov r9d, 0x800
test r8, r8
je 0x180050d92
cmp rcx, r8
jae 0x180050db5
movzx eax, word [rcx]
test ax, ax
je 0x180050db5
add rcx, 2
cmp ax, r10w
jae 0x180050da8
inc ebx
jmp 0x180050d88
cmp ax, r9w
sbb eax, eax
add eax, 3
add ebx, eax
jmp 0x180050d88
mov dword [rbp + 0x24], ebx
movsxd rax, dword [r14 + 0x58]
lea r8, [rdx + rax*2]
mov rcx, rdx
mov r12d, r11d
test r8, r8
je 0x180050dd0
cmp rcx, r8
jae 0x180050df5
movzx eax, word [rcx]
test ax, ax
je 0x180050df5
add rcx, 2
cmp ax, r10w
jae 0x180050de7
inc r12d
jmp 0x180050dc6
cmp ax, r9w
sbb eax, eax
add eax, 3
add r12d, eax
jmp 0x180050dc6
mov dword [rbp + 0x28], r12d
movsxd rax, dword [r14 + 0x5c]
lea rcx, [rdx + rax*2]
mov r15d, r11d
test rcx, rcx
je 0x180050e0e
cmp rdx, rcx
jae 0x180050e33
movzx eax, word [rdx]
test ax, ax
je 0x180050e33
add rdx, 2
cmp ax, r10w
jae 0x180050e25
inc r15d
jmp 0x180050e04
cmp ax, r9w
sbb eax, eax
add eax, 3
add r15d, eax
jmp 0x180050e04
mov dword [rbp + 0x2c], r15d
lea rcx, [rbp - 0x10]
call r11
movzx r13d, byte [rbp + 0x20]
movsxd rcx, dword [rbp + 0x24]
cmp ecx, ebx
jne 0x180050e50
test r13b, r13b
je 0x180050e97
mov rbx, qword [rbp + 0x10]
lea rdi, [rbx + rcx]
xor edx, edx
mov esi, edx
nop dword [rax]
test rdi, rdi
je 0x180050e6a
cmp rbx, rdi
jae 0x180050e88
cmp byte [rbx], 0
je 0x180050e88
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.1800068b0
movsxd rcx, eax
add rbx, rcx
inc esi
jmp 0x180050e60
mov dword [r14 + 0x54], esi
mov byte [r14 + 0xe84], 1
mov ecx, dword [rbp + 0x24]
movsxd rax, dword [rbp + 0x28]
cmp eax, r12d
jne 0x180050ea5
test r13b, r13b
je 0x180050eef
cmp eax, ecx
jne 0x180050eaf
mov esi, dword [r14 + 0x54]
jmp 0x180050eeb
mov rbx, qword [rbp + 0x10]
lea rdi, [rbx + rax]
xor eax, eax
mov esi, eax
nop dword [rax + rax]
test rdi, rdi
je 0x180050eca
cmp rbx, rdi
jae 0x180050ee8
cmp byte [rbx], 0
je 0x180050ee8
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.1800068b0
movsxd rcx, eax
add rbx, rcx
inc esi
jmp 0x180050ec0
mov eax, dword [rbp + 0x28]
mov dword [r14 + 0x58], esi
movsxd rcx, dword [rbp + 0x2c]
cmp ecx, r15d
jne 0x180050f01
test r13b, r13b
je 0x18005100d
cmp ecx, eax
jne 0x180050f56
mov esi, dword [r14 + 0x58]
mov dword [r14 + 0x5c], esi
test r13b, r13b
je 0x18005100d
mov r8d, dword [rbp + 0x18]
mov rdx, qword [rbp + 0x10]
mov rcx, r14
call fcn.18004e6b0
mov ebx, dword [rbp + 0x18]
mov eax, dword [rbp - 0x58]
mov r12d, dword [rbp - 0x68]
cmp ebx, eax
jle 0x180050fa3
test r12b, r12b
je 0x180050fa3
sub ebx, eax
add ebx, dword [r14 + 0x18]
mov ecx, dword [r14 + 0x1c]
cmp ebx, ecx
jle 0x180050f9f
test ecx, ecx
je 0x180050f8a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180050f8f
mov rbx, qword [rbp + 0x10]
lea rdi, [rbx + rcx]
xor eax, eax
mov esi, eax
test rdi, rdi
je 0x180050f6c
cmp rbx, rdi
jae 0x180050f09
cmp byte [rbx], 0
je 0x180050f09
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.1800068b0
movsxd rcx, eax
add rbx, rcx
inc esi
jmp 0x180050f62
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [r14 + 0x18]
call fcn.18002da30
mov dword [r14 + 0x18], ebx
mov rdi, qword [rbp + 0x10]
mov r15, qword [r14 + 0x20]
mov rbx, r15
movsxd rsi, dword [r14 + 0x18]
dec rsi
lea rsi, [r15 + rsi*2]
cmp r15, rsi
jae 0x180050fea
nop
cmp byte [rdi], 0
je 0x180050fea
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x58]
call fcn.1800068b0
movsxd rcx, eax
add rdi, rcx
movzx eax, word [rbp - 0x58]
mov word [rbx], ax
add rbx, 2
cmp rbx, rsi
jb 0x180050fc0
xor eax, eax
mov word [rbx], ax
sub rbx, r15
sar rbx, 1
mov dword [r14 + 0xc], ebx
mov eax, dword [rbp + 0x18]
mov dword [r14 + 0x10], eax
mov dword [r14 + 0xe80], 0xbe99999a
jmp 0x180051011
mov r12d, dword [rbp - 0x68]
mov r8d, dword [rsp + 0x68]
mov r15, qword [rsp + 0x70]
test r8b, r8b
jne 0x180050c0a
mov r9, qword [r14 + 0x30]
mov rax, r9
mov r8, r15
sub r8, r9
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180051044
inc rax
test ecx, ecx
jne 0x180051031
mov r8d, dword [rsp + 0x68]
test edx, edx
je 0x180050c0a
mov r11, r9
mov qword [rsp + 0x78], r9
mov r10d, dword [r14 + 0x10]
mov byte [rsp + 0x53], 1
jmp 0x180050c14
mov r10d, r11d
mov r11d, r10d
mov r12d, dword [rbp - 0x68]
mov r15, qword [rsp + 0x70]
mov r8d, dword [rsp + 0x68]
jmp 0x180050c14
mov edx, dword [rax + 0x48d8]
mov ecx, dword [rax + 0x40c8]
cmp ecx, edx
jne 0x1800510fe
test ecx, ecx
je 0x1800510fe
cmp dword [rax + 0x4098], edx
je 0x1800510fe
cmp byte [rax + 0x40cd], 0
jne 0x1800510b7
cmp dword [rax + 0x4098], 0
jne 0x1800510fe
cmp byte [rax + 0x40a8], 0
je 0x1800510fe
test r8b, r8b
jne 0x1800510fe
mov r9, qword [r13 + 0x5ca0]
mov rax, r9
mov r8, r15
sub r8, r9
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1800510e3
inc rax
test ecx, ecx
jne 0x1800510d0
test edx, edx
je 0x1800510fe
mov r11, r9
mov qword [rsp + 0x78], r9
mov r10d, dword [r13 + 0x5c98]
dec r10d
mov byte [rsp + 0x53], 1
xor esi, esi
mov dword [r13 + 0x5c90], esi
jmp 0x18005110b
xor esi, esi
test r11, r11
je 0x1800511a6
test r12b, r12b
je 0x180051179
mov qword [rbp + 0x48], rsi
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x30], r13
mov dword [rbp + 0x38], 0x40000
mov eax, dword [rbp + 0x1f8]
mov dword [rbp + 0x3c], eax
mov qword [rbp + 0x50], r15
mov dword [rbp + 0x58], r10d
lea eax, [r10 + 1]
cmp dword [rbp - 0x5c], eax
cmovge eax, dword [rbp - 0x5c]
mov dword [rbp + 0x5c], eax
mov qword [rbp + 0x40], rsi
lea rcx, [rbp + 0x30]
call rsi
mov r15, qword [rbp + 0x50]
mov qword [rsp + 0x70], r15
mov ecx, dword [rbp + 0x5c]
lea r10d, [rcx - 1]
cmp dword [rbp + 0x58], r10d
cmovl r10d, dword [rbp + 0x58]
mov r11, qword [rsp + 0x78]
jmp 0x18005117c
mov ecx, dword [rbp - 0x5c]
lea eax, [r10 + 1]
cmp eax, ecx
cmovl ecx, eax
movsxd rbx, ecx
cmp rbx, 1
jb 0x1800511a6
jbe 0x1800511a0
lea r8, [rbx - 1]
mov rdx, r11
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [rbx + r15 - 1], 0
cmp dword [r13 + 0x4098], edi
jne 0x1800511c3
cmp byte [rsp + 0x58], 0
je 0x18005129b
xor edx, edx
xor ecx, ecx
call fcn.18000ad40
mov eax, 1
mov r11d, dword [rsp + 0x64]
test r11b, r11b
jne 0x1800512ac
mov r8d, eax
mov edx, edi
lea rcx, [rbp - 0x28]
call fcn.180008be0
mov rax, qword [0x1800e6460]
movups xmm0, xmmword [rax + 0x3a28]
movups xmmword [rbp + 0x70], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38d8]
movss dword [rbp + 0x7c], xmm0
lea rcx, [rbp + 0x70]
call fcn.180006b20
mov r8d, eax
movss xmm0, dword [r13 + 0x391c]
movss dword [rsp + 0x20], xmm0
mov r9b, 1
mov rdx, qword [rbp - 0x20]
movaps xmm0, xmm7
unpcklps xmm0, xmm13
movq rcx, xmm0
call fcn.1800088f0
movaps xmm15, xmm10
addss xmm15, xmm7
movss dword [rbp + 0x98], xmm15
movaps xmm14, xmm13
addss xmm14, xmm11
movss dword [rbp + 0x9c], xmm14
movaps xmm0, xmm7
addss xmm0, dword [r13 + 0x3914]
movss dword [rsp + 0x78], xmm0
movaps xmm1, xmm13
addss xmm1, dword [r13 + 0x3918]
movss dword [rsp + 0x7c], xmm1
movss dword [rsp + 0x54], xmm15
movss dword [rbp - 0x5c], xmm14
mov r11d, dword [rsp + 0x64]
mov r8, qword [rbp - 0x50]
jmp 0x1800512f3
mov eax, 1
mov dword [r13 + 0x6094], eax
jmp 0x1800511c8
movaps xmm2, xmm10
addss xmm2, xmm7
movss dword [rsp + 0x54], xmm2
movaps xmm15, xmm2
movss dword [rbp + 0x98], xmm2
movaps xmm1, xmm13
addss xmm1, xmm11
movss dword [rbp - 0x5c], xmm1
movaps xmm14, xmm1
movss dword [rbp + 0x9c], xmm1
mov r8, qword [rbp - 0x50]
movsd xmm0, qword [r8 + 0x138]
movsd qword [rsp + 0x78], xmm0
lea rax, [rsp + 0x78]
movss dword [rbp + 0x94], xmm13
movss dword [rbp + 0x90], xmm7
movsd xmm0, qword [rax]
movsd qword [rbp + 0x88], xmm0
xorps xmm5, xmm5
movss dword [rbp - 0x80], xmm5
xorps xmm7, xmm7
movss dword [rbp - 0x68], xmm7
cmp byte [rbp - 0x69], 0
je 0x180051334
mov r15, qword [r14 + 0x30]
mov qword [rsp + 0x70], r15
movzx eax, byte [rsp + 0x50]
mov r12d, dword [rsp + 0x5c]
test al, al
jne 0x18005151d
test r12b, r12b
jne 0x18005151d
test r11b, r11b
je 0x1800513a4
mov ecx, esi
movzx edx, byte [r15]
lea rsi, [r15 + 1]
test dl, dl
je 0x180051377
lea eax, [rcx + 1]
cmp dl, 0xa
cmovne eax, ecx
mov ecx, eax
movzx edx, byte [rsi]
inc rsi
test dl, dl
jne 0x180051362
dec rsi
movzx eax, byte [rsi]
cmp al, 0xa
je 0x180051387
cmp al, 0xd
je 0x180051387
inc ecx
movss dword [rbp - 0x80], xmm10
movd xmm7, ecx
cvtdq2ps xmm7, xmm7
mulss xmm7, dword [r13 + 0x3d70]
movss dword [rbp - 0x68], xmm7
jmp 0x1800513df
cmp dword [r13 + 0x4098], edi
jne 0x1800513b3
movsxd rsi, dword [r14 + 0x10]
jmp 0x1800513ca
mov rsi, 0xffffffffffffffff
nop word [rax + rax]
inc rsi
cmp byte [r15 + rsi], 0
jne 0x1800513c0
add rsi, r15
mov rax, rsi
sub rax, r15
cmp rax, 0x200000
jge 0x180051e1b
mov rax, qword [0x1800e6460]
movups xmm0, xmmword [rax + 0x39b8]
movups xmmword [rbp + 0x70], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38d8]
movss dword [rbp + 0x7c], xmm0
lea rcx, [rbp + 0x70]
call fcn.180006b20
mov r9d, eax
mov r8, qword [r8 + 0x2d8]
lea rdx, [rbp + 0x90]
test r11b, r11b
mov r12d, 0
cmovne rdx, r12
mov rcx, rsi
movss xmm2, dword [r13 + 0x3d70]
mov r10, qword [r13 + 0x3d68]
test eax, 0xff000000
je 0x180051e29
test rsi, rsi
jne 0x18005145f
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [r15 + rcx], r12b
jne 0x180051453
add rcx, r15
cmp r15, rcx
je 0x180051e29
test r10, r10
jne 0x180051475
mov rax, qword [r8 + 0x38]
mov r10, qword [rax + 8]
xorps xmm12, xmm12
ucomiss xmm2, xmm12
jp 0x18005148a
jne 0x18005148a
mov rax, qword [r8 + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm1, xmmword [r8 + 0x88]
movups xmmword [rbp - 0x28], xmm1
test rdx, rdx
je 0x1800514e0
movss xmm0, dword [rdx]
comiss xmm1, xmm0
jae 0x1800514a9
movss dword [rbp - 0x28], xmm0
movss xmm1, dword [rdx + 4]
movss xmm0, dword [rbp - 0x24]
comiss xmm0, xmm1
jae 0x1800514bd
movss dword [rbp - 0x24], xmm1
movss xmm0, dword [rdx + 8]
comiss xmm0, dword [rbp - 0x20]
ja 0x1800514cd
movss dword [rbp - 0x20], xmm0
movss xmm0, dword [rdx + 0xc]
comiss xmm0, dword [rbp - 0x1c]
ja 0x1800514dd
movss dword [rbp - 0x1c], xmm0
test rdx, rdx
setne al
mov byte [rsp + 0x48], al
movss dword [rsp + 0x40], xmm12
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r15
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
lea r9, [rbp + 0x88]
mov rdx, r8
mov rcx, r10
call fcn.18003daf0
jmp 0x180051e2d
movsxd rsi, dword [r14 + 0x10]
add rsi, r15
mov r15, qword [r14 + 0x20]
xorps xmm8, xmm8
xorps xmm6, xmm6
xor r10d, r10d
mov r9d, r10d
mov ebx, r10d
mov r8d, 0xfffffc18
mov edi, r8d
mov edx, r10d
test al, al
je 0x180051558
movsxd rax, dword [r14 + 0x54]
lea r9, [r15 + rax*2]
lea edx, [r10 + 1]
lea r8d, [r10 - 1]
test r12b, r12b
je 0x180051578
mov ecx, dword [r14 + 0x5c]
cmp dword [r14 + 0x58], ecx
cmovl ecx, dword [r14 + 0x58]
movsxd rax, ecx
lea rbx, [r15 + rax*2]
mov edi, 0xffffffff
inc edx
movzx eax, r11b
add edx, eax
mov rax, r15
movzx ecx, word [r15]
test cx, cx
je 0x1800515cc
nop word [rax + rax]
cmp cx, 0xa
jne 0x1800515c0
inc r10d
cmp r8d, 0xffffffff
jne 0x1800515ad
cmp rax, r9
jb 0x1800515ad
mov r8d, r10d
dec edx
test edx, edx
jle 0x1800515cc
cmp edi, 0xffffffff
jne 0x1800515c0
cmp rax, rbx
jb 0x1800515c0
mov edi, r10d
dec edx
test edx, edx
jle 0x1800515cc
add rax, 2
movzx ecx, word [rax]
test cx, cx
jne 0x180051590
inc r10d
mov r11d, r10d
cmp r8d, 0xffffffff
cmovne r11d, r8d
cmp edi, 0xffffffff
cmove edi, r10d
mov rdx, r9
cmp r9, r15
jbe 0x180051602
nop dword [rax]
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x180051602
mov rdx, rax
cmp rax, r15
ja 0x1800515f0
mov r8, qword [r13 + 0x3d68]
movss xmm2, dword [r13 + 0x3d70]
divss xmm2, dword [r8 + 0x14]
movaps xmm1, xmm5
movaps xmm12, xmm5
cmp rdx, r9
jae 0x180051664
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x18005163b
maxss xmm1, xmm12
movaps xmm12, xmm5
jmp 0x18005165f
cmp ecx, 0xd
je 0x18005165f
cmp ecx, dword [r8]
jge 0x180051650
mov rax, qword [r8 + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x180051656
movss xmm0, dword [r8 + 0x10]
mulss xmm0, xmm2
addss xmm12, xmm0
cmp rdx, r9
jb 0x180051624
maxss xmm12, xmm1
movss xmm0, dword [r13 + 0x3d70]
movd xmm13, r11d
cvtdq2ps xmm13, xmm13
mulss xmm13, xmm0
test edi, edi
js 0x18005171c
mov rdx, rbx
cmp rbx, r15
jbe 0x1800516a2
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x1800516a2
mov rdx, rax
cmp rax, r15
ja 0x180051690
movaps xmm3, xmm0
divss xmm3, dword [r8 + 0x14]
movaps xmm2, xmm5
movaps xmm8, xmm5
cmp rdx, rbx
jae 0x180051703
nop word [rax + rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x1800516d7
maxss xmm2, xmm8
movaps xmm8, xmm5
jmp 0x1800516fe
cmp ecx, 0xd
je 0x1800516fe
cmp ecx, dword [r8]
jge 0x1800516ec
mov rax, qword [r8 + 8]
movss xmm1, dword [rax + rcx*4]
jmp 0x1800516f2
movss xmm1, dword [r8 + 0x10]
movaps xmm0, xmm3
mulss xmm0, xmm1
addss xmm8, xmm0
cmp rdx, rbx
jb 0x1800516c0
movss xmm0, dword [r13 + 0x3d70]
movd xmm6, edi
cvtdq2ps xmm6, xmm6
mulss xmm6, xmm0
maxss xmm8, xmm2
mov r11d, dword [rsp + 0x64]
test r11b, r11b
je 0x18005173d
movss dword [rbp - 0x80], xmm10
movd xmm7, r10d
cvtdq2ps xmm7, xmm7
mulss xmm7, xmm0
movss dword [rbp - 0x68], xmm7
movzx r8d, byte [rsp + 0x50]
test r8b, r8b
je 0x180051875
cmp byte [r14 + 0xe84], 0
je 0x180051875
test dword [rbp + 0x1f8], 0x1000
jne 0x1800517b9
movaps xmm0, xmm10
mulss xmm0, dword [0x1800d5548]
subss xmm10, dword [r13 + 0x3914]
movss xmm2, dword [r14 + 0x50]
movaps xmm1, xmm12
comiss xmm2, xmm12
jbe 0x180051798
subss xmm1, xmm0
movaps xmm0, xmm5
maxss xmm0, xmm1
jmp 0x1800517a6
subss xmm1, xmm10
comiss xmm1, xmm2
jb 0x1800517bf
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r14 + 0x50], xmm0
jmp 0x1800517bf
xor eax, eax
mov dword [r14 + 0x50], eax
test r11b, r11b
je 0x18005186d
movaps xmm0, xmm13
subss xmm0, dword [r13 + 0x3d70]
comiss xmm9, xmm0
jbe 0x1800517e6
movaps xmm9, xmm5
maxss xmm9, xmm0
jmp 0x180051817
movss xmm2, dword [r13 + 0x3918]
addss xmm2, xmm2
movaps xmm1, xmm11
subss xmm1, xmm2
movaps xmm0, xmm13
subss xmm0, xmm1
comiss xmm0, xmm9
jb 0x180051817
movaps xmm9, xmm13
subss xmm9, xmm11
addss xmm9, xmm2
movss xmm2, dword [r13 + 0x3918]
comiss xmm5, xmm9
jbe 0x18005182b
movaps xmm2, xmm5
jmp 0x180051841
addss xmm2, xmm2
addss xmm2, xmm7
subss xmm2, xmm11
maxss xmm2, xmm5
minss xmm2, xmm9
mov rax, qword [rbp - 0x50]
movss xmm0, dword [rax + 0xbc]
subss xmm0, xmm2
movss xmm1, dword [rbp + 0x8c]
addss xmm1, xmm0
movss dword [rbp + 0x8c], xmm1
movss dword [rax + 0xbc], xmm2
mov byte [r14 + 0xe84], 0
movss xmm11, dword [r14 + 0x50]
test r12b, r12b
je 0x180051aec
mov edx, dword [r14 + 0x5c]
mov ecx, dword [r14 + 0x58]
mov eax, edx
cmp ecx, edx
cmovl eax, ecx
cdqe
lea rbx, [r15 + rax*2]
cmovge edx, ecx
movsxd rax, edx
lea rdi, [r15 + rax*2]
test r8b, r8b
je 0x1800518b2
movss xmm1, dword [0x1800d55a8]
jmp 0x1800518ba
movss xmm1, dword [0x1800d5564]
mov rax, qword [0x1800e6460]
movups xmm0, xmmword [rax + 0x3ce8]
movups xmmword [rbp + 0x70], xmm0
mulss xmm1, dword [rax + 0x38d8]
shufps xmm0, xmm0, 0xff
mulss xmm0, xmm1
movss dword [rbp + 0x7c], xmm0
lea rcx, [rbp + 0x70]
call fcn.180006b20
mov r15d, eax
xorps xmm5, xmm5
test r11b, r11b
je 0x180051900
movss dword [rbp - 0x34], xmm5
xorps xmm10, xmm10
jmp 0x180051909
movss xmm10, dword [0x1800d55f8]
movss xmm9, dword [rbp + 0x88]
addss xmm8, xmm9
subss xmm8, xmm11
movss xmm7, dword [rbp + 0x8c]
addss xmm7, xmm6
subss xmm7, xmm5
cmp rbx, rdi
jae 0x180051af5
movss xmm6, dword [0x1800d555c]
movss xmm1, dword [rbp - 0x64]
movss xmm3, dword [r13 + 0x3d70]
movaps xmm0, xmm14
addss xmm0, xmm3
comiss xmm7, xmm0
ja 0x180051ae5
comiss xmm1, xmm7
jbe 0x18005198b
cmp rbx, rdi
jae 0x180051aca
nop word [rax + rax]
movzx eax, word [rbx]
add rbx, 2
cmp ax, 0xa
je 0x180051aca
cmp rbx, rdi
jb 0x180051970
jmp 0x180051aca
mov rdx, qword [r13 + 0x3d68]
divss xmm3, dword [rdx + 0x14]
movaps xmm4, xmm5
movaps xmm2, xmm5
cmp rbx, rdi
jae 0x1800519e3
movzx ecx, word [rbx]
add rbx, 2
cmp ecx, 0xa
je 0x1800519d9
cmp ecx, 0xd
je 0x1800519d2
cmp ecx, dword [rdx]
jge 0x1800519c2
mov rax, qword [rdx + 8]
movss xmm1, dword [rax + rcx*4]
jmp 0x1800519c7
movss xmm1, dword [rdx + 0x10]
movaps xmm0, xmm3
mulss xmm0, xmm1
addss xmm2, xmm0
cmp rbx, rdi
jb 0x1800519a2
jmp 0x1800519e3
movaps xmm4, xmm5
maxss xmm4, xmm2
movaps xmm2, xmm5
maxss xmm2, xmm4
comiss xmm5, xmm2
jb 0x180051a13
cmp dword [rdx], 0x20
jle 0x1800519ff
mov rax, qword [rdx + 8]
movss xmm0, dword [rax + 0x80]
jmp 0x180051a04
movss xmm0, dword [rdx + 0x10]
mulss xmm0, xmm6
cvttss2si eax, xmm0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
addss xmm2, xmm8
movaps xmm0, xmm10
addss xmm0, xmm7
addss xmm8, xmm5
movss xmm1, dword [rbp - 0x34]
subss xmm1, dword [r13 + 0x3d70]
addss xmm1, xmm7
movss xmm3, dword [rbp - 0x48]
maxss xmm8, xmm3
maxss xmm1, dword [rbp - 0x64]
movss dword [rbp + 0x70], xmm8
movss dword [rbp + 0x74], xmm1
minss xmm2, xmm15
minss xmm0, xmm14
movss dword [rbp + 0x78], xmm2
movss dword [rbp + 0x7c], xmm0
comiss xmm0, dword [rbp - 0x64]
jbe 0x180051ac5
comiss xmm14, xmm1
jbe 0x180051ac5
comiss xmm2, xmm3
jbe 0x180051ac5
comiss xmm15, xmm8
jbe 0x180051ac5
xor eax, eax
mov dword [rsp + 0x28], eax
movss dword [rsp + 0x20], xmm5
mov r9d, r15d
lea r8, [rbp + 0x78]
lea rdx, [rbp + 0x70]
mov rax, qword [rbp - 0x50]
mov rcx, qword [rax + 0x2d8]
call fcn.180039030
movss xmm0, dword [rsp + 0x54]
movss dword [rsp + 0x54], xmm0
movss xmm0, dword [rbp - 0x5c]
movss dword [rbp - 0x5c], xmm0
movss xmm9, dword [rbp + 0x88]
xorps xmm5, xmm5
movss xmm1, dword [rbp - 0x64]
movaps xmm8, xmm9
subss xmm8, xmm11
addss xmm7, dword [r13 + 0x3d70]
cmp rbx, rdi
jb 0x180051942
mov r11d, dword [rsp + 0x64]
jmp 0x180051af5
movss xmm9, dword [rbp + 0x88]
mov r15, qword [rsp + 0x70]
test r11b, r11b
jne 0x180051b11
mov rax, rsi
sub rax, r15
cmp rax, 0x200000
jge 0x180051c72
mov rax, qword [0x1800e6460]
movups xmm0, xmmword [rax + 0x39b8]
movups xmmword [rbp + 0x70], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38d8]
movss dword [rbp + 0x7c], xmm0
lea rcx, [rbp + 0x70]
call fcn.180006b20
mov r9d, eax
mov rbx, qword [rbp - 0x50]
mov r8, qword [rbx + 0x2d8]
mov rcx, rsi
subss xmm9, xmm11
movss dword [rsp + 0x78], xmm9
movss xmm0, dword [rbp + 0x8c]
xorps xmm5, xmm5
subss xmm0, xmm5
movss dword [rsp + 0x7c], xmm0
movss xmm2, dword [r13 + 0x3d70]
mov r10, qword [r13 + 0x3d68]
lea rdx, [rbp + 0x90]
test r11b, r11b
mov r12d, 0
cmovne rdx, r12
test eax, 0xff000000
je 0x180051c79
test rsi, rsi
jne 0x180051bbc
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
inc rcx
cmp byte [r15 + rcx], r12b
jne 0x180051bb0
add rcx, r15
cmp r15, rcx
je 0x180051c79
test r10, r10
jne 0x180051bd2
mov rax, qword [r8 + 0x38]
mov r10, qword [rax + 8]
ucomiss xmm2, xmm5
jp 0x180051be2
jne 0x180051be2
mov rax, qword [r8 + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm1, xmmword [r8 + 0x88]
movups xmmword [rbp - 0x28], xmm1
test rdx, rdx
je 0x180051c38
movss xmm0, dword [rdx]
comiss xmm1, xmm0
jae 0x180051c01
movss dword [rbp - 0x28], xmm0
movss xmm1, dword [rdx + 4]
movss xmm0, dword [rbp - 0x24]
comiss xmm0, xmm1
jae 0x180051c15
movss dword [rbp - 0x24], xmm1
movss xmm0, dword [rdx + 8]
comiss xmm0, dword [rbp - 0x20]
ja 0x180051c25
movss dword [rbp - 0x20], xmm0
movss xmm0, dword [rdx + 0xc]
comiss xmm0, dword [rbp - 0x1c]
ja 0x180051c35
movss dword [rbp - 0x1c], xmm0
test rdx, rdx
setne al
mov byte [rsp + 0x48], al
movss dword [rsp + 0x40], xmm5
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r15
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
lea r9, [rsp + 0x78]
mov rdx, r8
mov rcx, r10
call fcn.18003daf0
xorps xmm5, xmm5
jmp 0x180051c79
mov rbx, qword [rbp - 0x50]
xor r12d, r12d
cmp byte [rsp + 0x50], 0
je 0x180051e20
movss xmm0, dword [r13 + 0x18]
addss xmm0, dword [r14 + 0xe80]
movss dword [r14 + 0xe80], xmm0
cmp byte [r13 + 0x63], 0
je 0x180051cc6
comiss xmm5, xmm0
jae 0x180051cc6
movss xmm1, dword [0x1800d55b0]
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
movss xmm1, dword [0x1800d5588]
comiss xmm1, xmm0
jae 0x180051cc6
xor cl, cl
jmp 0x180051cc8
mov cl, 1
addss xmm12, dword [rbp + 0x88]
subss xmm12, xmm11
cvttss2si eax, xmm12
movd xmm6, eax
cvtdq2ps xmm6, xmm6
movss xmm0, dword [rbp + 0x8c]
addss xmm0, xmm13
xorps xmm12, xmm12
subss xmm0, xmm12
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss dword [rbp + 0x70], xmm6
movaps xmm0, xmm7
subss xmm0, dword [r13 + 0x3d70]
addss xmm0, dword [0x1800d555c]
movss dword [rbp + 0x74], xmm0
movaps xmm2, xmm6
movss xmm8, dword [0x1800d55a8]
addss xmm2, xmm8
movss dword [rbp + 0x78], xmm2
movaps xmm1, xmm7
subss xmm1, dword [0x1800d55bc]
movss dword [rbp + 0x7c], xmm1
movss xmm13, dword [rbp - 0x64]
test cl, cl
je 0x180051dc9
comiss xmm1, xmm13
jbe 0x180051dc9
movss xmm3, dword [rbp - 0x5c]
comiss xmm3, xmm0
jbe 0x180051dc9
comiss xmm2, dword [rbp - 0x48]
jbe 0x180051dc9
movss xmm0, dword [rsp + 0x54]
comiss xmm0, xmm6
jbe 0x180051dc9
mov rax, qword [0x1800e6460]
movups xmm0, xmmword [rax + 0x39b8]
movups xmmword [rbp - 0x28], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38d8]
movss dword [rbp - 0x1c], xmm0
movss dword [rsp + 0x78], xmm6
movss dword [rsp + 0x7c], xmm1
lea rcx, [rbp - 0x28]
call fcn.180006b20
mov r9d, eax
movss dword [rsp + 0x20], xmm8
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0x70]
mov rcx, qword [rbx + 0x2d8]
call fcn.180038dc0
mov edi, dword [rbp - 0x70]
cmp byte [rsp + 0x68], 0
jne 0x180051e36
mov byte [r13 + 0x5dc0], 1
subss xmm6, xmm8
movss xmm0, dword [r13 + 0x3d70]
subss xmm7, xmm0
movss dword [r13 + 0x5dc4], xmm6
movss dword [r13 + 0x5dc8], xmm7
movss dword [r13 + 0x5dcc], xmm0
mov rax, qword [rbp - 0x40]
mov rax, qword [rax + 0x38]
mov ecx, dword [rax]
mov dword [r13 + 0x5de0], ecx
jmp 0x180051e36
xor r12d, r12d
jmp 0x180051e29
movss xmm13, dword [rbp - 0x64]
mov edi, dword [rbp - 0x70]
xorps xmm12, xmm12
movss xmm8, dword [0x1800d55a8]
mov ebx, dword [rbp - 0x54]
test bl, bl
je 0x180051e42
call fcn.1800158e0
cmp byte [rsp + 0x64], 0
je 0x180051ec0
movss xmm0, dword [rbp - 0x80]
movss dword [rbp - 0x40], xmm0
movss xmm0, dword [rbp - 0x68]
addss xmm0, dword [r13 + 0x3918]
movss dword [rbp - 0x3c], xmm0
lea rcx, [rbp - 0x40]
call fcn.180048c10
or dword [r13 + 0x48c4], 0x401
call fcn.18000f110
mov eax, dword [r13 + 0x48e0]
and eax, 0x80
mov ebx, dword [rbp + 0xa8]
or ebx, eax
call fcn.180018e10
cmp dword [r13 + 0x48d8], 0
jne 0x180051ebd
mov dword [r13 + 0x48d8], edi
mov eax, dword [rbp + 0xa4]
mov dword [r13 + 0x48dc], eax
mov dword [r13 + 0x48e0], ebx
mov ebx, dword [rbp - 0x54]
cmp byte [r13 + 0x5ed0], 0
je 0x180052044
test bl, bl
jne 0x180052044
mov rdi, qword [0x1800e6460]
mov r14, qword [rdi + 0x4038]
mov qword [rdi + 0x5ef8], r12
mov qword [rdi + 0x5ef0], r12
test rsi, rsi
jne 0x180051f1d
mov rsi, r15
cmp r15, 0xffffffffffffffff
jae 0x180051f1d
movzx ecx, byte [rsi]
test cl, cl
je 0x180051f1d
lea rax, [rsi + 1]
cmp cl, 0x23
jne 0x180051f14
cmp byte [rax], cl
je 0x180051f1d
mov rsi, rax
cmp rax, 0xffffffffffffffff
jb 0x180051f00
movss xmm0, dword [rdi + 0x3918]
addss xmm0, dword [rdi + 0x5f00]
addss xmm0, xmm8
movss xmm1, dword [rbp + 0x8c]
movss dword [rdi + 0x5f00], xmm1
comiss xmm1, xmm0
jbe 0x180051f5a
lea rcx, [0x180097818]
call fcn.18001faf0
mov byte [rdi + 0x5f04], 1
lea r8, [0x1800c67d5]
lea rdx, [0x1800c67d4]
lea rcx, [rbp + 0x88]
call fcn.18001fb30
mov eax, dword [r14 + 0x1c0]
mov ecx, dword [rdi + 0x5f08]
cmp ecx, eax
jle 0x180051f8d
mov dword [rdi + 0x5f08], eax
mov ecx, eax
mov r14d, dword [r14 + 0x1c0]
sub r14d, ecx
mov r13d, 1
nop dword [rax]
mov r8, rsi
sub r8, r15
mov edx, 0xa
mov rcx, r15
call sub.VCRUNTIME140.dll_memchr
mov rbx, rsi
test rax, rax
cmovne rbx, rax
cmp r15, rbx
jne 0x180051fc7
cmp rbx, rsi
je 0x180052026
mov r9d, ebx
sub r9d, r15d
cmp byte [rdi + 0x5f04], 0
lea edx, [r14*4]
jne 0x180051fe1
mov edx, r13d
mov qword [rsp + 0x20], r15
lea r8, [0x18009698e]
lea rcx, str._s_.s
call fcn.18001faf0
mov byte [rdi + 0x5f04], 0
cmp byte [rbx], 0xa
jne 0x180052018
lea rcx, [0x180097818]
call fcn.18001faf0
mov byte [rdi + 0x5f04], r13b
cmp rbx, rsi
je 0x180052026
lea r15, [rbx + 1]
jmp 0x180051fa0
lea r8, [0x1800c67d1]
lea rdx, [0x1800c67d0]
lea rcx, [rbp + 0x88]
call fcn.18001fb30
mov r13, qword [rbp - 0x78]
movss xmm0, dword [rbp - 0x38]
comiss xmm0, xmm12
jbe 0x18005207e
movss xmm0, dword [rbp - 0x44]
addss xmm0, dword [r13 + 0x392c]
addss xmm13, dword [r13 + 0x3918]
mov r9b, 1
xor r8d, r8d
mov rdx, qword [rbp - 0x30]
unpcklps xmm0, xmm13
movq rcx, xmm0
call fcn.1800076d0
movzx r9d, byte [rsp + 0x53]
mov r8d, dword [rbp + 0x1f8]
test r9b, r9b
je 0x1800520bd
bt r8d, 0x1b
jb 0x1800520bd
mov rax, qword [0x1800e6460]
mov ecx, dword [rax + 0x4098]
cmp ecx, dword [rbp - 0x70]
je 0x1800520ad
test ecx, ecx
jne 0x1800520b6
mov word [rax + 0x40a8], 0x101
or dword [rax + 0x48e0], 4
test r8b, 0x20
mov eax, r9d
movzx ecx, byte [rsp + 0x59]
cmovne eax, ecx
jmp 0x18004ee56