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

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1b8]
sub rsp, 0x278
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
movaps xmmword [rax - 0x78], xmm8
movaps xmmword [rax - 0x88], xmm9
movaps xmmword [rax - 0x98], xmm10
movaps xmmword [rax - 0xa8], xmm11
movaps xmmword [rax - 0xb8], xmm12
movaps xmmword [rax - 0xc8], xmm13
movaps xmmword [rax - 0xd8], xmm14
movaps xmmword [rax - 0xe8], xmm15
mov r13, rcx
mov r15, qword [0x18007bc90]
mov qword [rsp + 0x70], r15
mov rax, qword [r15 + 0x3ed8]
mov byte [rax + 0xb8], 1
mov r14, qword [r15 + 0x3ed8]
mov qword [rbp - 0x70], r14
cmp byte [r14 + 0xbb], 0
jne 0x18004446e
mov edi, dword [rbp + 0x1e8]
mov dword [rsp + 0x68], edi
mov ebx, edi
shr ebx, 0x1a
and bl, 1
mov dword [rsp + 0x54], ebx
mov eax, edi
shr eax, 0xe
and al, 1
mov dword [rsp + 0x5c], eax
mov eax, edi
shr eax, 0xf
and al, 1
mov dword [rbp - 0x78], eax
mov eax, edi
shr eax, 0x10
not al
and al, 1
mov dword [rsp + 0x7c], eax
mov eax, edi
shr eax, 0x12
and al, 1
mov dword [rbp], eax
test bl, bl
je 0x1800440d3
call fcn.180022e80
movsxd rcx, dword [r14 + 0xf0]
mov rax, qword [r14 + 0xf8]
mov r8d, dword [rax + rcx*4 - 4]
xor edx, edx
mov rcx, r13
call fcn.180014c60
mov esi, eax
mov dword [rsp + 0x64], eax
mov rcx, qword [r14]
cmp dword [rcx + 0x3f20], eax
jne 0x180044110
mov r8, r13
mov edx, 0xb
mov ecx, eax
call fcn.18002a520
mov rdx, qword [0x18007bc90]
mov rcx, r13
cmp r13, 0xffffffffffffffff
jae 0x180044139
movzx eax, byte [rcx]
test al, al
je 0x180044139
cmp al, 0x23
jne 0x180044130
cmp byte [rcx + 1], al
je 0x180044139
inc rcx
cmp rcx, 0xffffffffffffffff
jb 0x180044120
mov rax, qword [rdx + 0x3c08]
movss xmm0, dword [rdx + 0x3c10]
movss xmm1, dword [0x180072800]
movss dword [rbp + 8], xmm1
movss xmm9, dword [0x1800727f4]
xorps xmm10, xmm10
cmp r13, rcx
jne 0x18004416c
xorps xmm7, xmm7
jmp 0x1800441b5
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r13
movss dword [rsp + 0x20], xmm1
movaps xmm3, xmm9
movaps xmm2, xmm0
lea rdx, [rbp + 0x1c8]
mov rcx, rax
call fcn.1800392c0
movss xmm0, dword [rbp + 0x1c8]
addss xmm0, dword [0x18007273c]
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss xmm0, dword [rbp + 0x1cc]
movss dword [rbp - 4], xmm7
test bl, bl
je 0x1800441cf
movss xmm0, dword [r15 + 0x3c10]
mulss xmm0, dword [0x180072790]
movss xmm6, dword [r15 + 0x3808]
movaps xmm3, xmm6
addss xmm3, xmm6
addss xmm3, xmm0
call fcn.180022d00
movaps xmm2, xmm0
mov rdx, qword [rbp + 0x1e0]
mov rdx, qword [rdx]
lea rcx, [rbp + 0x1c8]
call fcn.180022d80
comiss xmm7, xmm10
jbe 0x180044215
movaps xmm1, xmm7
addss xmm1, dword [r15 + 0x381c]
jmp 0x180044218
xorps xmm1, xmm1
movss xmm14, dword [r14 + 0x104]
movss dword [rbp - 0x58], xmm14
movaps xmm0, xmm14
movss xmm8, dword [rbp + 0x1cc]
movss dword [rbp + 4], xmm8
addss xmm0, xmm8
movss xmm7, dword [r14 + 0x100]
movaps xmm12, xmm7
movss xmm11, dword [rbp + 0x1c8]
movss dword [rbp - 0x20], xmm11
addss xmm12, xmm11
movss dword [rbp - 8], xmm12
movss dword [rbp - 0x18], xmm7
movss dword [rbp - 0x14], xmm14
movss dword [rbp - 0x10], xmm12
movss dword [rbp - 0xc], xmm0
movaps xmm2, xmm14
addss xmm2, xmm8
addss xmm1, xmm11
addss xmm1, xmm7
movss dword [rbp - 0x48], xmm7
movss dword [rbp - 0x44], xmm14
movss dword [rbp - 0x40], xmm1
movss dword [rbp - 0x3c], xmm2
mov qword [rbp - 0x68], r14
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
subss xmm2, xmm14
subss xmm1, xmm7
movss dword [rbp + 0x1c8], xmm1
movss dword [rbp + 0x1cc], xmm2
lea rcx, [rbp + 0x1c8]
movaps xmm1, xmm6
call fcn.180022930
test bl, bl
je 0x180044533
mov r9d, 0x400
lea r8, [rbp - 0x18]
mov edx, esi
lea rcx, [rbp - 0x48]
call fcn.180022aa0
test al, al
je 0x180044469
mov r12d, dword [r15 + 0x4780]
movups xmm0, xmmword [r15 + 0x4778]
movups xmmword [rbp + 0x90], xmm0
movss dword [r14 + 0x100], xmm7
movss dword [r14 + 0x104], xmm14
mov rbx, qword [0x18007bc90]
mov dword [rbp - 0x48], 3
movups xmm0, xmmword [rbx + 0x38d4]
movups xmmword [rbp - 0x44], xmm0
lea rcx, [rbx + 0x4828]
lea rdx, [rbp - 0x48]
call fcn.18002acd0
movups xmm0, xmmword [r15 + 0x3914]
movups xmmword [rbx + 0x38d4], xmm0
movss xmm1, dword [r15 + 0x380c]
mov ecx, 7
call fcn.180015540
movss xmm1, dword [r15 + 0x3810]
mov ecx, 8
call fcn.180015540
mov rbx, qword [0x18007bc90]
lea rcx, [rbx + 0x4838]
movss xmm1, dword [rbx + 0x37d0]
movss xmm0, dword [rbx + 0x37d4]
mov dword [rbp - 0x68], 2
movss dword [rbp - 0x64], xmm1
movss dword [rbp - 0x60], xmm0
lea rdx, [rbp - 0x68]
call fcn.18002abd0
xor eax, eax
mov qword [rbx + 0x37d0], rax
movss xmm1, dword [rbp - 0xc]
movss xmm14, dword [rbp - 0x14]
movss dword [rbp - 0x58], xmm14
subss xmm1, xmm14
movss xmm6, dword [rbp - 0x10]
movss dword [rbp - 8], xmm6
movaps xmm0, xmm6
movss xmm7, dword [rbp - 0x18]
subss xmm0, xmm7
movss dword [rbp + 0x1c8], xmm0
movss dword [rbp + 0x1cc], xmm1
lea r8, [rbp + 0x1c8]
mov edx, esi
mov rcx, r13
call fcn.18001a860
movzx ebx, al
mov ecx, 3
call fcn.1800155c0
mov r9, qword [0x18007bc90]
cmp dword [r9 + 0x4828], 1
jl 0x180044460
movsxd rcx, dword [r9 + 0x4828]
lea r8, [rcx + rcx*4]
mov rdx, qword [r9 + 0x4830]
movsxd rcx, dword [rdx + r8*4 - 0x14]
add rcx, rcx
movups xmm0, xmmword [rdx + r8*4 - 0x10]
movups xmmword [r9 + rcx*8 + 0x38a4], xmm0
dec dword [r9 + 0x4828]
test bl, bl
jne 0x1800444c3
call fcn.18001aab0
call fcn.180022fb0
xor al, al
lea r11, [rsp + 0x278]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
movaps xmm10, xmmword [r11 - 0x58]
movaps xmm11, xmmword [r11 - 0x68]
movaps xmm12, xmmword [r11 - 0x78]
movaps xmm13, xmmword [r11 - 0x88]
movaps xmm14, xmmword [r11 - 0x98]
movaps xmm15, xmmword [r11 - 0xa8]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r13, qword [r15 + 0x3ed8]
mov qword [rbp - 0x68], r13
movsx ecx, word [r13 + 0x15e]
mov eax, dword [r13 + 0x158]
bts ecx, eax
mov word [r13 + 0x15e], cx
movss xmm0, dword [r13 + 0x100]
addss xmm0, dword [r15 + 0x3804]
movss dword [r13 + 0x100], xmm0
movss xmm1, dword [r15 + 0x3808]
addss xmm1, dword [r13 + 0x104]
movss dword [r13 + 0x104], xmm1
subss xmm11, dword [r13 + 0xac]
movss dword [rbp - 0x20], xmm11
mov ebx, dword [rsp + 0x54]
jmp 0x180044578
bt edi, 0x1c
jb 0x180044571
mov r9d, 0x400
lea r8, [rbp - 0x18]
mov edx, esi
lea rcx, [rbp - 0x48]
call fcn.180022aa0
test al, al
je 0x18004446e
movss xmm0, dword [rbp - 0x10]
movss dword [rbp - 8], xmm0
movss xmm14, dword [rbp - 0x14]
movss dword [rbp - 0x58], xmm14
movss xmm7, dword [rbp - 0x18]
mov r12d, dword [r15 + 0x4780]
mov r8d, dword [r15 + 0x477c]
mov edx, esi
lea rcx, [rbp - 0x18]
call fcn.180017540
movzx ecx, al
mov byte [rsp + 0x59], al
test al, al
je 0x1800445a0
mov dword [r15 + 0x4c08], 1
mov rdi, qword [0x18007bc90]
test esi, esi
je 0x1800445bc
cmp dword [rdi + 0x4c20], esi
jne 0x1800445bc
add rdi, 0x4c18
jmp 0x1800445be
xor edi, edi
shr r12d, 8
and r12b, 1
mov dword [rbp - 0x7c], r12d
mov eax, dword [r15 + 0x3f38]
cmp eax, esi
je 0x1800445f9
cmp dword [r15 + 0x48d0], esi
jne 0x1800445f9
test byte [r15 + 0x48dc], 1
jne 0x1800445f2
cmp dword [r15 + 0x48f4], 2
jne 0x1800445f9
mov byte [rsp + 0x50], 1
jmp 0x1800445fe
mov byte [rsp + 0x50], 0
test cl, cl
je 0x180044611
cmp byte [r15 + 0x3740], 0
je 0x180044611
mov r13b, 1
jmp 0x180044614
xor r13b, r13b
mov byte [rbp + 0x1d8], r13b
test bl, bl
je 0x18004467f
test rdi, rdi
je 0x18004467f
test eax, eax
jne 0x18004467f
mov rsi, qword [rbp - 0x68]
movsxd rcx, dword [rsi + 0xf0]
mov rax, qword [rsi + 0xf8]
mov r8d, dword [rax + rcx*4 - 4]
xor edx, edx
lea rcx, str.SCROLLY
call fcn.180014c60
mov ebx, eax
mov rcx, qword [rsi]
cmp dword [rcx + 0x3f20], eax
jne 0x18004466d
lea r8, str.SCROLLY
mov edx, 0xb
mov ecx, eax
call fcn.18002a520
cmp dword [r15 + 0x3f68], ebx
jne 0x18004467b
mov sil, 1
jmp 0x18004468b
mov ebx, dword [rsp + 0x54]
xor sil, sil
test bl, bl
je 0x1800446f8
test rdi, rdi
je 0x1800446f8
mov rax, qword [rbp - 0x68]
movsxd rcx, dword [rax + 0xf0]
mov rax, qword [rax + 0xf8]
mov r8d, dword [rax + rcx*4 - 4]
xor edx, edx
lea rcx, str.SCROLLY
call fcn.180014c60
mov ebx, eax
mov rcx, qword [rbp - 0x68]
mov rcx, qword [rcx]
cmp dword [rcx + 0x3f20], eax
jne 0x1800446d4
lea r8, str.SCROLLY
mov edx, 0xb
mov ecx, eax
call fcn.18002a520
cmp dword [r15 + 0x3f38], ebx
mov ebx, dword [rsp + 0x54]
jne 0x1800446f8
mov cl, 1
mov byte [rbp + 0x1f0], cl
mov rax, qword [rbp - 0x68]
movss xmm9, dword [rax + 0x88]
jmp 0x180044719
xor cl, cl
mov byte [rbp + 0x1f0], cl
test bl, bl
je 0x180044713
mov rax, qword [rbp - 0x68]
movss xmm9, dword [rax + 0x88]
jmp 0x180044719
mov byte [rbp + 0x1f0], cl
test rdi, rdi
je 0x18004472d
movzx eax, bl
xor al, 1
cmp byte [rdi + 0x6b], al
je 0x18004472d
mov r15b, 1
jmp 0x180044730
xor r15b, r15b
test r13b, r13b
jne 0x18004475c
test sil, sil
jne 0x18004475c
cmp byte [rsp + 0x50], sil
jne 0x18004475c
test r12b, r12b
jne 0x18004475c
mov byte [rbp + 0x1c8], r12b
test cl, cl
jne 0x180044763
mov byte [rsp + 0x51], cl
mov rax, qword [rsp + 0x70]
jmp 0x18004477b
mov byte [rbp + 0x1c8], 1
mov byte [rsp + 0x51], 1
mov rax, qword [rsp + 0x70]
mov r13d, dword [rsp + 0x64]
cmp dword [rax + 0x3f38], r13d
jne 0x18004478c
xor r13b, r13b
test r15b, r15b
je 0x1800449cf
mov r13d, dword [rsp + 0x64]
lea rdi, [rax + 0x4c18]
mov dword [rdi + 0xe80], 0xbe99999a
mov ecx, dword [rdi + 8]
call fcn.180043f00
mov rbx, 0xffffffffffffffff
mov rax, qword [rbp + 0x1d0]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800447b3
lea esi, [rbx + 1]
mov ecx, dword [rdi + 0x3c]
cmp esi, ecx
jle 0x1800447ea
test ecx, ecx
je 0x1800447d5
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1800447da
mov eax, 8
mov edx, esi
cmp eax, esi
cmovg edx, eax
lea rcx, [rdi + 0x38]
call fcn.18002b110
mov dword [rdi + 0x38], esi
movsxd r8, esi
mov rsi, qword [rbp + 0x1d0]
mov rdx, rsi
mov rcx, qword [rdi + 0x40]
call sub.VCRUNTIME140.dll_memcpy
cmp dword [rdi + 8], r13d
jne 0x180044830
test r15b, r15b
jne 0x180044830
mov r12b, 1
cmp dword [rdi + 0x10], ebx
jne 0x180044830
cmp byte [rdi + 0x48], r15b
je 0x180044833
movsxd r8, ebx
mov rdx, rsi
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x180044833
xor r12b, r12b
mov dword [rdi + 8], r13d
mov ecx, dword [rdi + 0x1c]
cmp ecx, 0x21
jge 0x180044866
test ecx, ecx
je 0x18004484e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180044853
mov eax, 8
mov edx, 0x21
cmp eax, edx
cmovg edx, eax
lea rcx, [rdi + 0x18]
call fcn.18002b1a0
mov dword [rdi + 0x18], 0x21
mov ecx, dword [rdi + 0x2c]
test ecx, ecx
jns 0x18004488d
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.18002b110
xor edx, edx
mov dword [rdi + 0x28], edx
mov byte [rdi + 0x48], dl
mov r15, qword [rdi + 0x20]
mov rbx, r15
lea r14, [r15 + 0x3e]
cmp r15, r14
jae 0x1800448d7
cmp byte [rsi], 0
je 0x1800448d5
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp + 0x1f8]
call fcn.180014fb0
movsxd rcx, eax
add rsi, rcx
movzx eax, word [rbp + 0x1f8]
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x1800448a5
xor edx, edx
mov word [rbx], dx
sub rbx, r15
sar rbx, 1
mov dword [rdi + 0xc], ebx
mov rax, qword [rbp + 0x1d0]
sub esi, eax
mov dword [rdi + 0x10], esi
test r12b, r12b
je 0x18004491c
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
mov ecx, dword [rsp + 0x54]
jmp 0x180044966
mov qword [rdi + 0x50], 0
mov dword [rdi + 0xe72], 0x630000
mov dword [rdi + 0xe78], edx
mov dword [rdi + 0xe7c], 0x3e7
mov qword [rdi + 0x58], 0
mov word [rdi + 0x69], 1
mov dword [rdi + 0x70], edx
mov byte [rdi + 0x68], 0
mov ecx, dword [rsp + 0x54]
movzx eax, cl
xor al, 1
mov byte [rdi + 0x6b], al
mov byte [rdi + 0x60], 0
mov dword [rdi + 0x64], edx
xor r13b, r13b
mov eax, dword [rsp + 0x68]
test cl, cl
jne 0x1800449b8
mov r13d, eax
shr r13d, 4
and r13b, 1
mov rcx, qword [rsp + 0x70]
cmp byte [rsp + 0x50], 0
je 0x180044999
test r12b, r12b
je 0x180044996
test byte [rcx + 0x48dc], 4
jne 0x180044999
mov r13b, 1
movzx ebx, byte [rbp + 0x1d8]
cmp byte [rbp - 0x7c], 0
jne 0x1800449b3
test bl, bl
je 0x1800449bf
cmp byte [rcx + 0xe1c], 0
je 0x1800449bf
mov r13b, 1
jmp 0x1800449bf
movzx ebx, byte [rbp + 0x1d8]
mov r14, qword [rbp - 0x70]
bt eax, 0xd
jae 0x1800449d6
mov byte [rdi + 0x60], 1
jmp 0x1800449d6
movzx ebx, byte [rbp + 0x1d8]
mov r12, qword [rsp + 0x70]
movzx r15d, byte [r12 + 0x59]
mov byte [rsp + 0x78], r15b
mov eax, dword [r12 + 0x3f38]
mov ecx, dword [rsp + 0x64]
movzx esi, byte [rbp + 0x1c8]
cmp eax, ecx
je 0x180044a2c
test sil, sil
je 0x180044b47
mov rdx, r14
call fcn.1800171d0
mov rdx, r14
mov ecx, dword [rsp + 0x64]
call fcn.180024780
xor edx, edx
mov rcx, r14
call fcn.18001f840
mov eax, dword [r12 + 0x3f38]
mov r14d, dword [rsp + 0x64]
cmp eax, r14d
jne 0x180044b4a
test bl, bl
je 0x180044a5c
mov rax, qword [0x18007bc90]
mov dword [rax + 0x4590], r14d
mov dword [rax + 0x458c], r14d
mov word [rax + 0x4594], 0
mov eax, dword [r12 + 0x4748]
or eax, 3
mov dword [r12 + 0x4748], eax
mov ecx, dword [rsp + 0x54]
mov edx, dword [rsp + 0x68]
test cl, cl
jne 0x180044a7f
test dl, dl
jns 0x180044a8a
or eax, 0xc
mov dword [r12 + 0x4748], eax
mov rax, qword [0x18007bc90]
mov dword [rax + 0x3fd8], r14d
mov dword [rax + 0x3fd4], r14d
mov word [rax + 0x3fdc], 0
mov dword [rax + 0x3fe4], r14d
mov dword [rax + 0x3fe0], r14d
mov word [rax + 0x3fe8], 0
test cl, cl
je 0x180044af1
mov dword [rax + 0x3fc0], r14d
mov dword [rax + 0x3fbc], r14d
mov word [rax + 0x3fc4], 0
mov dword [rax + 0x3fcc], r14d
mov dword [rax + 0x3fc8], r14d
mov word [rax + 0x3fd0], 0
test r15b, r15b
je 0x180044b0d
mov dword [rax + 0x45fc], r14d
mov dword [rax + 0x45f8], r14d
mov word [rax + 0x4600], 0
test edx, 0x440
je 0x180044b4a
mov ecx, 0x200
call fcn.1800205e0
mov rdx, qword [0x18007bc90]
lea ecx, [r14 - 1]
cmp ecx, 0xfffffffd
mov ecx, r14d
jbe 0x180044b38
mov ecx, dword [rdx + 0x4754]
cmp byte [rax + 4], 0
jbe 0x180044b4a
mov dword [rax + 0xc], ecx
mov byte [rax + 4], 0
jmp 0x180044b4a
mov r14d, ecx
mov eax, dword [r12 + 0x3f38]
cmp eax, r14d
jne 0x180044ba5
test rdi, rdi
jne 0x180044b6e
call fcn.180017330
mov eax, dword [r12 + 0x3f38]
cmp eax, r14d
jne 0x180044ba5
mov byte [rbp + 0x1f8], 0
cmp byte [r12 + 0x3740], 0
je 0x180044bba
mov byte [rbp + 0x1f8], 0
cmp byte [rsp + 0x51], 0
jne 0x180044bba
mov byte [rbp + 0x1f8], 0
test sil, sil
jne 0x180044bba
mov byte [rbp + 0x1f8], 1
mov cl, 1
jmp 0x180044bc6
test rdi, rdi
je 0x180044bbe
mov byte [rbp + 0x1f8], 0
cmp byte [rbp + 0x1f0], 0
je 0x180044bbe
mov cl, 1
jmp 0x180044bc6
xor cl, cl
mov byte [rbp + 0x1f8], cl
mov byte [rbp + 0x1c8], cl
test rdi, rdi
je 0x180044be6
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x180044bde
test r13b, r13b
je 0x180044be6
test cl, cl
je 0x180044be6
mov al, 1
jmp 0x180044be8
xor al, al
mov byte [rbp + 0x1d8], al
xor r8b, r8b
mov byte [rbp + 0x1f0], r8b
mov byte [rsp + 0x51], r8b
mov edx, dword [rsp + 0x5c]
test dl, dl
je 0x180044d08
test rdi, rdi
je 0x180044d08
test cl, cl
jne 0x180044c1e
test al, al
je 0x180044d10
mov ecx, dword [rdi + 0x1c]
cmp ecx, 0x21
jge 0x180044c4d
test ecx, ecx
je 0x180044c35
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180044c3a
mov eax, 8
mov edx, 0x21
cmp eax, edx
cmovg edx, eax
lea rcx, [rdi + 0x18]
call fcn.18002b1a0
mov dword [rdi + 0x18], 0x21
mov rax, qword [rbp + 0x1d0]
mov rsi, rax
mov r15, qword [rdi + 0x20]
mov rbx, r15
lea r14, [r15 + 0x40]
cmp r15, r14
jae 0x180044ca1
nop
cmp byte [rsi], 0
je 0x180044c9a
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x7c]
call fcn.180014fb0
movsxd rcx, eax
add rsi, rcx
movzx eax, word [rbp - 0x7c]
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x180044c70
mov rax, qword [rbp + 0x1d0]
xor r8d, r8d
mov word [rbx], r8w
sub rbx, r15
sar rbx, 1
mov dword [rdi + 0xc], ebx
sub esi, eax
mov dword [rdi + 0x10], esi
mov ecx, ebx
cmp dword [rdi + 0x54], ebx
cmovl ecx, dword [rdi + 0x54]
mov dword [rdi + 0x54], ecx
mov edx, ebx
cmp dword [rdi + 0x58], ebx
cmovl edx, dword [rdi + 0x58]
mov dword [rdi + 0x58], edx
cmp dword [rdi + 0x5c], ebx
cmovl ebx, dword [rdi + 0x5c]
mov dword [rdi + 0x5c], ebx
mov ecx, r8d
movzx r8d, byte [rbp + 0x1d8]
cmp edx, ebx
cmovne ecx, r8d
movzx eax, cl
mov byte [rbp + 0x1d8], cl
movzx r15d, byte [rsp + 0x78]
mov r14d, dword [rsp + 0x64]
movzx ecx, byte [rbp + 0x1c8]
mov edx, dword [rsp + 0x5c]
test cl, cl
jne 0x180044d1a
test al, al
jne 0x180044d1a
cmp dword [r12 + 0x3f38], r14d
jne 0x180044d2c
test dl, dl
jne 0x180044d2c
test rdi, rdi
je 0x180044d2c
cmp byte [rdi + 0x48], dl
mov byte [rbp - 0x7e], 1
jne 0x180044d30
mov byte [rbp - 0x7e], 0
cmp byte [rbp - 0x78], 0
je 0x180044dca
mov rdx, qword [r12 + 0x3c08]
cmp dword [rdx + 0x18], 0x2a
ja 0x180044d4e
mov r8, qword [rdx + 0x38]
jmp 0x180044d72
mov rax, qword [rdx + 0x20]
movzx ecx, word [rax + 0x54]
mov eax, 0xffff
cmp cx, ax
jne 0x180044d66
mov r8, qword [rdx + 0x38]
jmp 0x180044d72
lea rcx, [rcx + rcx*4]
mov rax, qword [rdx + 0x30]
lea r8, [rax + rcx*8]
lea rcx, [r12 + 0x5ac0]
mov eax, dword [rdx + 0x14]
mov dword [rcx + 0x14], eax
mov rax, qword [r12 + 0x3c08]
mov edx, dword [rax + 0x64]
mov dword [rcx + 0x64], edx
mov rax, qword [r12 + 0x3c08]
mov edx, dword [rax + 0x68]
mov dword [rcx + 0x68], edx
mov rax, qword [r12 + 0x3c08]
mov edx, dword [rax + 0x6c]
mov dword [rcx + 0x6c], edx
mov rax, qword [r12 + 0x3c08]
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.18001fd70
xor esi, esi
mov dword [rbp - 0x7c], esi
movss xmm0, dword [0x180072710]
cmp dword [r12 + 0x3f38], r14d
jne 0x1800452ce
mov eax, dword [rdi + 0x10]
mov dword [rbp - 0x7c], eax
mov byte [rdi + 0xe86], sil
mov dword [rdi + 0x4c], 0x20
mov ebx, dword [rsp + 0x68]
mov dword [rdi + 0xe88], ebx
movzx ecx, byte [r12 + 0xe08]
test cl, cl
sete al
mov byte [r12 + 0x3f45], al
movss xmm6, dword [r12 + 0xe00]
subss xmm6, xmm7
subss xmm6, dword [r12 + 0x3804]
addss xmm6, dword [rdi + 0x50]
cmp byte [rsp + 0x54], sil
je 0x180044e55
movss xmm2, dword [r12 + 0xe04]
mov rax, qword [rbp - 0x68]
subss xmm2, dword [rax + 0x104]
jmp 0x180044e63
movss xmm2, dword [r12 + 0x3c10]
mulss xmm2, xmm0
test r13b, r13b
je 0x180044e84
mov dword [rdi + 0x58], esi
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], sil
mov byte [rdi + 0xe85], 1
jmp 0x180045149
movzx edx, byte [rsp + 0x59]
test dl, dl
je 0x180045032
cmp word [r12 + 0x374a], 2
jb 0x180045032
cmp byte [r12 + 0xe1d], sil
jne 0x180045032
cmp byte [rdi + 0x6b], sil
je 0x180044ec9
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x48]
call fcn.180041d20
movss xmm2, dword [rbp - 0x3c]
movaps xmm1, xmm6
mov rcx, rdi
call fcn.1800422c0
mov dword [rdi + 0x54], eax
mov dword [rdi + 0x58], eax
mov dword [rdi + 0x5c], eax
mov byte [rdi + 0x6a], sil
movzx ecx, word [r12 + 0x374a]
sub ecx, 2
test cl, 1
jne 0x180044fa4
test eax, eax
je 0x180044f0d
movsxd rcx, eax
mov rax, qword [rdi + 0x20]
cmp word [rax + rcx*2 - 2], 0xa
je 0x180044f0d
xor cl, cl
jmp 0x180044f0f
mov cl, 1
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x180044f1b
test cl, cl
jne 0x180044f46
mov r8d, 0x20000c
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180042730
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x180044f5c
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x180044f59
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x58], eax
jmp 0x180044f5c
mov dword [rdi + 0x54], eax
mov edx, dword [rdi + 0x54]
mov rcx, rdi
call fcn.180041f00
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 0x180044f93
cmp ecx, eax
jle 0x180044f83
mov dword [rdi + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x180044f8c
mov dword [rdi + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x180044f93
mov dword [rdi + 0x54], ecx
cmp dword [rdi + 0x54], eax
jle 0x18004513f
mov dword [rdi + 0x54], eax
jmp 0x18004513f
mov rcx, qword [rdi + 0x20]
cdqe
movzx ebx, word [rcx + rax*2]
mov r8d, 0x200004
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180042730
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov r8d, 0x600005
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180042730
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov r8d, 0x600001
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180042730
cmp bx, 0xa
je 0x180045022
cmp byte [rsp + 0x54], sil
je 0x180045022
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], sil
mov ebx, dword [rsp + 0x68]
jmp 0x18004513f
movzx eax, byte [rdi + 0xe85]
cmp byte [r12 + 0x3740], sil
je 0x1800450d3
test al, al
jne 0x1800450d3
test dl, dl
je 0x180045149
cmp byte [r12 + 0xe1d], sil
je 0x18004509f
cmp byte [rdi + 0x6b], sil
je 0x18004507b
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x48]
call fcn.180041d20
movss xmm2, dword [rbp - 0x3c]
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x180045089
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x58], eax
movaps xmm1, xmm6
mov rcx, rdi
call fcn.1800422c0
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
jmp 0x18004513f
cmp byte [rdi + 0x6b], sil
je 0x1800450b9
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x48]
call fcn.180041d20
movss xmm2, dword [rbp - 0x3c]
movaps xmm1, xmm6
mov rcx, rdi
call fcn.1800422c0
mov dword [rdi + 0x58], eax
mov byte [rdi + 0x6a], sil
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
jmp 0x18004513f
test cl, cl
je 0x180045149
test al, al
jne 0x180045149
movss xmm0, dword [r12 + 0xf0]
ucomiss xmm0, xmm10
jp 0x1800450ff
jne 0x1800450ff
movss xmm0, dword [r12 + 0xf4]
ucomiss xmm0, xmm10
jp 0x1800450ff
je 0x180045149
cmp byte [rdi + 0x6b], sil
je 0x180045119
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x48]
call fcn.180041d20
movss xmm2, dword [rbp - 0x3c]
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x180045127
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x58], eax
movaps xmm1, xmm6
mov rcx, rdi
call fcn.1800422c0
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
cmp byte [rdi + 0xe85], 0
je 0x180045164
cmp byte [r12 + 0xe08], 0
jne 0x180045164
mov byte [rdi + 0xe85], 0
bt ebx, 0xa
jae 0x1800451c8
xor r8d, r8d
mov edx, r14d
mov ecx, 0x200
call fcn.180022830
mov ecx, dword [rsp + 0x5c]
test al, al
je 0x1800451cc
test cl, cl
jne 0x1800451cc
mov dword [rsp + 0x60], 9
mov dword [rsp + 0x20], 2
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.180043af0
test al, al
je 0x1800451c8
lea rdx, [rdi + 0x54]
mov r8d, dword [rsp + 0x60]
mov rcx, rdi
call fcn.180042730
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov ecx, dword [rsp + 0x5c]
cmp byte [r12 + 0xe1c], 0
je 0x1800451e2
cmp byte [r12 + 0xe1e], 0
je 0x1800451f2
test r15b, r15b
je 0x1800451f6
cmp byte [r12 + 0xe1f], 0
je 0x1800451f6
mov al, 1
jmp 0x1800451f8
xor al, al
cmp dword [r12 + 0x37b8], 0
jle 0x1800452c9
test al, al
jne 0x180045296
test cl, cl
jne 0x180045296
cmp byte [rsp + 0x50], cl
jne 0x180045296
xor eax, eax
mov ebx, eax
mov r15d, dword [rsp + 0x68]
nop word [rax + rax]
mov rax, qword [r12 + 0x37c0]
movzx ecx, word [rax + rbx]
mov dword [rsp + 0x60], ecx
cmp ecx, 9
je 0x180045280
mov dword [rsp + 0x20], 2
mov edx, r15d
lea rcx, [rsp + 0x60]
call fcn.180043af0
test al, al
je 0x180045280
lea rdx, [rdi + 0x54]
mov r8d, dword [rsp + 0x60]
mov rcx, rdi
call fcn.180042730
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
inc esi
add rbx, 2
cmp esi, dword [r12 + 0x37b8]
jl 0x180045230
movzx r15d, byte [rsp + 0x78]
mov ecx, dword [r12 + 0x37bc]
xor esi, esi
test ecx, ecx
jns 0x1800452c1
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 + 0x37b8]
call fcn.18002b1a0
mov dword [r12 + 0x37b8], esi
mov r14d, dword [rsp + 0x64]
xor r13b, r13b
mov byte [rsp + 0x7a], r13b
mov ecx, dword [r12 + 0x3f38]
mov eax, ecx
cmp ecx, r14d
jne 0x180045e4e
cmp byte [r12 + 0x3f44], r13b
jne 0x180045e4e
cmp byte [rbp + 0x1f8], r13b
jne 0x180045e4e
movaps xmm0, xmm8
subss xmm0, dword [r12 + 0x3808]
divss xmm0, dword [r12 + 0x3c10]
cvttss2si eax, xmm0
mov ecx, 1
cmp eax, ecx
cmovge ecx, eax
mov dword [rsp + 0x60], ecx
mov dword [rdi + 0x64], ecx
movzx eax, byte [r12 + 0xe1d]
neg al
sbb ebx, ebx
and ebx, 0x400000
test r15b, r15b
je 0x180045375
movzx eax, byte [r12 + 0xe1e]
mov byte [rsp + 0x50], al
cmp byte [r12 + 0xe1f], r13b
je 0x180045382
cmp byte [r12 + 0xe1c], r13b
jne 0x180045382
test al, al
jne 0x180045382
mov byte [rsp + 0x58], 1
jmp 0x180045387
movzx eax, byte [r12 + 0xe1c]
mov byte [rsp + 0x50], al
mov byte [rsp + 0x58], r13b
mov r8d, 1
mov edx, r14d
mov ecx, 0xa39
call fcn.180022830
test al, al
jne 0x1800453b5
mov r8d, 1
mov edx, r14d
mov ecx, 0x220a
call fcn.180022830
test al, al
je 0x1800453e0
mov r12d, dword [rsp + 0x5c]
mov r13d, dword [rbp - 0x78]
mov esi, dword [rsp + 0x54]
test r12b, r12b
jne 0x1800453ed
test r13b, r13b
jne 0x1800453ed
test sil, sil
je 0x1800453d9
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x1800453ed
mov byte [rsp + 0x79], 1
jmp 0x1800453f2
mov esi, dword [rsp + 0x54]
mov r12d, dword [rsp + 0x5c]
mov r13d, dword [rbp - 0x78]
mov byte [rsp + 0x79], 0
xor r8d, r8d
mov edx, r14d
mov ecx, 0xa24
call fcn.180022830
test al, al
jne 0x18004541a
xor r8d, r8d
mov edx, r14d
mov ecx, 0x1209
call fcn.180022830
test al, al
je 0x180045432
test r13b, r13b
jne 0x180045432
test sil, sil
je 0x18004542c
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x180045432
mov byte [rbp - 0x7f], 1
jmp 0x180045436
mov byte [rbp - 0x7f], 0
mov r8d, 1
mov edx, r14d
mov ecx, 0xa37
call fcn.180022830
test al, al
jne 0x180045464
mov r8d, 1
mov edx, r14d
mov ecx, 0x2209
call fcn.180022830
test al, al
je 0x18004546e
test r12b, r12b
mov byte [rsp + 0x59], 1
je 0x180045473
mov byte [rsp + 0x59], 0
mov r8d, 1
mov edx, r14d
mov ecx, 0xa3b
call fcn.180022830
mov esi, dword [rsp + 0x7c]
test al, al
je 0x18004549c
test r12b, r12b
jne 0x18004549c
test sil, sil
mov byte [rbp - 0x80], 1
jne 0x1800454a0
mov byte [rbp - 0x80], 0
mov r8d, 1
mov edx, r14d
mov ecx, 0xa3a
call fcn.180022830
test al, al
jne 0x1800454d3
test r15b, r15b
je 0x1800454e2
mov r8d, 1
mov edx, r14d
mov ecx, 0x2a3b
call fcn.180022830
test al, al
je 0x1800454e2
test r12b, r12b
jne 0x1800454e2
test sil, sil
je 0x1800454e2
mov r12b, 1
jmp 0x1800454e5
xor r12b, r12b
xor r8d, r8d
mov edx, r14d
mov ecx, 0xa22
call fcn.180022830
movzx r13d, al
mov rax, qword [rsp + 0x70]
test byte [rax + 8], 2
je 0x18004550f
test byte [rax + 0xc], 1
je 0x18004550f
mov sil, 1
jmp 0x180045512
xor sil, sil
xor edx, edx
mov ecx, 0x20d
lea r8d, [rdx + 1]
call fcn.1800208d0
test al, al
jne 0x18004553f
xor edx, edx
mov ecx, 0x267
lea r8d, [rdx + 1]
call fcn.1800208d0
test al, al
jne 0x18004553f
xor r15b, r15b
jmp 0x180045542
mov r15b, 1
test sil, sil
je 0x180045572
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.1800208d0
test al, al
jne 0x18004556d
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.1800208d0
test al, al
je 0x180045572
mov r14b, 1
jmp 0x180045575
xor r14b, r14b
mov r8d, 1
mov edx, dword [rsp + 0x64]
mov ecx, 0x20e
call fcn.180022830
test al, al
jne 0x1800455af
test sil, sil
je 0x1800455aa
mov r8d, 1
mov edx, dword [rsp + 0x64]
mov ecx, 0x26c
call fcn.180022830
test al, al
jne 0x1800455af
xor sil, sil
jmp 0x1800455b2
mov sil, 1
xor edx, edx
mov ecx, 0x201
lea r8d, [rdx + 1]
call fcn.1800208d0
test al, al
je 0x180045612
cmp byte [rsp + 0x58], 0
je 0x1800455d4
mov eax, 0x200004
jmp 0x1800455e6
mov eax, 0x200000
cmp byte [rsp + 0x50], 0
mov ecx, 0x20000c
cmovne eax, ecx
or ebx, eax
lea rdx, [rdi + 0x54]
mov r8d, ebx
mov rcx, rdi
call fcn.180042730
mov dword [rdi + 0xe80], 0xbe99999a
mov byte [rdi + 0xe84], 1
mov rsi, qword [rsp + 0x70]
jmp 0x180045e1b
xor edx, edx
mov ecx, 0x202
lea r8d, [rdx + 1]
call fcn.1800208d0
test al, al
je 0x18004564c
cmp byte [rsp + 0x58], 0
je 0x180045636
mov ecx, 0x200005
or ebx, ecx
jmp 0x1800455e8
mov ecx, 0x200001
mov eax, 0x20000d
cmp byte [rsp + 0x50], 0
cmovne ecx, eax
or ebx, ecx
jmp 0x1800455e8
xor edx, edx
mov ecx, 0x203
lea r8d, [rdx + 1]
call fcn.1800208d0
test al, al
je 0x1800456df
cmp byte [rsp + 0x54], 0
je 0x1800456df
mov rsi, qword [rsp + 0x70]
cmp byte [rsi + 0xe1c], 0
je 0x1800456ad
mov r8, qword [rbp - 0x68]
movss xmm0, dword [r8 + 0x88]
subss xmm0, dword [rsi + 0x3c10]
maxss xmm0, xmm10
movss dword [r8 + 0x98], xmm0
xor eax, eax
mov dword [r8 + 0xa0], eax
mov dword [r8 + 0xa8], eax
jmp 0x180045e1b
movzx eax, byte [rsp + 0x58]
lea r8d, [rax*4 + 0x200002]
or r8d, ebx
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180042730
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
jmp 0x180045e1b
xor edx, edx
mov ecx, 0x204
lea r8d, [rdx + 1]
call fcn.1800208d0
test al, al
je 0x18004575f
cmp byte [rsp + 0x54], 0
je 0x18004575f
mov rsi, qword [rsp + 0x70]
cmp byte [rsi + 0xe1c], 0
je 0x18004574d
mov rax, qword [0x18007bc90]
mov rcx, qword [rax + 0x3ed8]
mov rax, qword [rbp - 0x68]
movss xmm0, dword [rax + 0x88]
addss xmm0, dword [rsi + 0x3c10]
minss xmm0, dword [rcx + 0x90]
movss dword [rax + 0x98], xmm0
xor ecx, ecx
mov dword [rax + 0xa0], ecx
mov dword [rax + 0xa8], ecx
jmp 0x180045e1b
movzx eax, byte [rsp + 0x58]
lea r8d, [rax*4 + 0x200003]
jmp 0x1800456ba
xor edx, edx
mov ecx, 0x205
lea r8d, [rdx + 1]
call fcn.1800208d0
test al, al
je 0x1800457c0
cmp byte [rsp + 0x54], 0
je 0x1800457c0
or ebx, 0x20000e
lea rdx, [rdi + 0x54]
mov r8d, ebx
mov rcx, rdi
call fcn.180042730
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
movd xmm0, dword [rsp + 0x60]
cvtdq2ps xmm0, xmm0
mov rsi, qword [rsp + 0x70]
mulss xmm0, dword [rsi + 0x3c10]
subss xmm9, xmm0
jmp 0x180045e1b
xor edx, edx
mov ecx, 0x206
lea r8d, [rdx + 1]
call fcn.1800208d0
test al, al
je 0x180045821
cmp byte [rsp + 0x54], 0
je 0x180045821
or ebx, 0x20000f
lea rdx, [rdi + 0x54]
mov r8d, ebx
mov rcx, rdi
call fcn.180042730
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
movd xmm0, dword [rsp + 0x60]
cvtdq2ps xmm0, xmm0
mov rsi, qword [rsp + 0x70]
mulss xmm0, dword [rsi + 0x3c10]
addss xmm9, xmm0
jmp 0x180045e1b
xor edx, edx
mov ecx, 0x207
lea r8d, [rdx + 1]
call fcn.1800208d0
test al, al
je 0x180045859
mov eax, ebx
or eax, 0x200006
or ebx, 0x200004
mov rsi, qword [rsp + 0x70]
cmp byte [rsi + 0xe1c], 0
cmovne ebx, eax
mov r8d, ebx
jmp 0x1800456bd
xor edx, edx
mov ecx, 0x208
lea r8d, [rdx + 1]
call fcn.1800208d0
test al, al
je 0x180045892
mov eax, ebx
or eax, 0x200007
mov r8d, 0x200005
or r8d, ebx
mov rsi, qword [rsp + 0x70]
cmp byte [rsi + 0xe1c], 0
cmovne r8d, eax
jmp 0x1800456bd
xor edx, edx
mov ecx, 0x20a
lea r8d, [rdx + 1]
call fcn.1800208d0
test al, al
je 0x1800458f1
cmp byte [rsp + 0x5c], 0
jne 0x1800458f1
cmp byte [rsp + 0x79], 0
jne 0x1800458f1
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x1800458e6
cmp byte [rsp + 0x50], 0
je 0x1800458e6
lea rdx, [rdi + 0x54]
mov r8d, 0x60000d
mov rcx, rdi
call fcn.180042730
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
or ebx, 0x200008
jmp 0x1800455e8
xor edx, edx
mov ecx, 0x20b
lea r8d, [rdx + 1]
call fcn.1800208d0
mov r8d, dword [rsp + 0x5c]
test al, al
je 0x1800459b4
test r8b, r8b
jne 0x1800459b4
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x180045949
cmp byte [rsp + 0x50], r8b
je 0x18004595c
lea rdx, [rdi + 0x54]
mov r8d, 0x60000c
mov rcx, rdi
call fcn.180042730
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov rsi, qword [rsp + 0x70]
or ebx, 0x200009
mov r8d, ebx
jmp 0x1800456bd
cmp byte [rsp + 0x78], 0
je 0x180045949
mov rsi, qword [rsp + 0x70]
cmp byte [rsi + 0xe1f], 0
je 0x18004594e
cmp byte [rsi + 0xe1e], 0
jne 0x18004594e
cmp byte [rsi + 0xe1c], 0
jne 0x18004594e
lea rdx, [rdi + 0x54]
mov r8d, 0x600004
mov rcx, rdi
call fcn.180042730
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
or ebx, 0x200009
mov r8d, ebx
jmp 0x1800456bd
test r15b, r15b
jne 0x180045d91
test r14b, r14b
jne 0x180045d91
test sil, sil
je 0x180045a2c
test dword [rsp + 0x68], 0x100000
je 0x180045a09
mov eax, dword [rdi + 0x10]
test eax, eax
jg 0x1800459f6
xor r8b, r8b
mov byte [rbp + 0x1d8], r8b
mov byte [rbp + 0x1c8], r8b
mov byte [rbp + 0x1f8], 1
test eax, eax
setg r13b
mov byte [rsp + 0x7a], r13b
mov rsi, qword [rsp + 0x70]
jmp 0x180045e1e
mov r13b, 1
mov byte [rsp + 0x7a], r13b
mov byte [rbp + 0x1f8], r13b
xor cl, cl
xor dl, dl
mov byte [rbp + 0x1c8], dl
mov rsi, qword [rsp + 0x70]
jmp 0x180045e2c
movzx eax, byte [rbp - 0x80]
test al, al
jne 0x180045d69
test r12b, r12b
jne 0x180045d69
test r13b, r13b
je 0x180045a69
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 rsi, qword [rsp + 0x70]
jmp 0x180045e1b
movzx r12d, byte [rsp + 0x79]
test r12b, r12b
jne 0x180045c11
cmp byte [rbp - 0x7f], r12b
jne 0x180045c11
cmp byte [rsp + 0x59], r12b
je 0x180045608
mov rcx, qword [0x18007bc90]
mov rax, qword [rcx + 0xa8]
test rax, rax
je 0x180045abe
mov rcx, qword [rcx + 0xb8]
call rax
mov rbx, rax
test rax, rax
je 0x180045608
mov rcx, qword [0x18007bc90]
jmp 0x180045ac5
lea rbx, [0x18004c9b8]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x180045ad0
test rcx, rcx
je 0x180045ae4
inc dword [rcx + 0xec]
movsxd rcx, eax
lea rcx, [rcx*2 + 2]
mov rdx, qword [0x18007bc80]
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r15, rax
mov qword [rbp - 0x70], rax
xor r12d, r12d
mov r14d, r12d
cmp byte [rbx], r12b
je 0x180045b67
mov rsi, rax
mov r15d, dword [rsp + 0x68]
nop word [rax + rax]
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.180014fb0
movsxd rcx, eax
add rbx, rcx
mov dword [rsp + 0x20], 4
mov edx, r15d
lea rcx, [rsp + 0x60]
call fcn.180043af0
test al, al
je 0x180045b5e
movzx eax, word [rsp + 0x60]
mov word [rsi], ax
inc r14d
add rsi, 2
cmp byte [rbx], r12b
jne 0x180045b20
mov r15, qword [rbp - 0x70]
movsxd rax, r14d
mov word [r15 + rax*2], r12w
test r14d, r14d
jle 0x180045be1
mov eax, dword [rdi + 0xc]
mov edx, dword [rdi + 0x5c]
mov ecx, dword [rdi + 0x58]
cmp ecx, edx
je 0x180045b9a
cmp ecx, eax
jle 0x180045b8a
mov dword [rdi + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x180045b93
mov dword [rdi + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x180045b9a
mov dword [rdi + 0x54], ecx
cmp dword [rdi + 0x54], eax
jle 0x180045ba2
mov dword [rdi + 0x54], eax
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.1800425f0
mov r9d, r14d
mov r8, r15
mov edx, dword [rdi + 0x54]
mov rcx, rdi
call fcn.180042130
test al, al
je 0x180045bda
mov r8d, r14d
mov edx, dword [rdi + 0x54]
lea rcx, [rdi + 0x54]
call fcn.180043980
add dword [rdi + 0x54], r14d
mov byte [rdi + 0x6a], r12b
mov byte [rdi + 0xe84], 1
test r15, r15
je 0x180045bf8
mov rax, qword [0x18007bc90]
test rax, rax
je 0x180045bf8
dec dword [rax + 0xec]
mov rdx, qword [0x18007bc80]
mov rcx, r15
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov rsi, qword [rsp + 0x70]
jmp 0x180045e1b
mov rsi, qword [rsp + 0x70]
cmp qword [rsi + 0xb0], 0
je 0x180045d1c
mov ecx, dword [rdi + 0x5c]
mov eax, dword [rdi + 0x58]
cmp eax, ecx
je 0x180045c3b
mov edx, ecx
cmovge edx, eax
cmovl ecx, eax
xor r13d, r13d
jmp 0x180045c44
mov edx, dword [rdi + 0xc]
xor r13d, r13d
mov ecx, r13d
movsxd r14, edx
mov rax, qword [rdi + 0x20]
lea r8, [rax + r14*2]
movsxd r15, ecx
lea rdx, [rax + r15*2]
mov ecx, r13d
mov r9d, 0x800
mov r10d, 0x80
test r8, r8
je 0x180045c6f
cmp rdx, r8
jae 0x180045c92
movzx eax, word [rdx]
test ax, ax
je 0x180045c92
add rdx, 2
cmp ax, r10w
jae 0x180045c85
inc ecx
jmp 0x180045c65
cmp ax, r9w
sbb eax, eax
add eax, 3
add ecx, eax
jmp 0x180045c65
lea esi, [rcx + 1]
mov rax, qword [0x18007bc90]
test rax, rax
je 0x180045ca7
inc dword [rax + 0xec]
movsxd rcx, esi
mov rdx, qword [0x18007bc80]
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rbx, rax
mov rcx, qword [rdi + 0x20]
lea r9, [rcx + r14*2]
lea r8, [rcx + r15*2]
mov edx, esi
mov rcx, rax
call fcn.180015220
mov r9, qword [0x18007bc90]
mov rax, qword [r9 + 0xb0]
test rax, rax
je 0x180045cf5
mov rdx, rbx
mov rcx, qword [r9 + 0xb8]
call rax
mov r9, qword [0x18007bc90]
test rbx, rbx
je 0x180045d06
test r9, r9
je 0x180045d06
dec dword [r9 + 0xec]
mov rdx, qword [0x18007bc80]
mov rcx, rbx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov rsi, qword [rsp + 0x70]
jmp 0x180045d1f
xor r13d, r13d
test r12b, r12b
je 0x180045e1b
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x180045d41
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 eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x180045e1b
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.1800425f0
mov byte [rdi + 0x6a], 0
jmp 0x180045e1b
mov r8d, eax
xor r8d, 1
add r8d, 0x20000a
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180042730
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x58], eax
jmp 0x1800455f7
mov edx, dword [rsp + 0x68]
mov eax, edx
shr eax, 0xb
and al, 1
mov ecx, dword [rsp + 0x54]
mov rsi, qword [rsp + 0x70]
test cl, cl
je 0x180045dc1
test r14b, r14b
jne 0x180045dc1
movzx ecx, byte [rsi + 0xe1c]
test al, al
je 0x180045de3
test cl, cl
jne 0x180045de7
mov ecx, dword [rsp + 0x54]
mov byte [rsp + 0x51], 1
cmp byte [rsi + 0x5c], 0
je 0x180045e14
test cl, cl
jne 0x180045e14
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 0x180045e1b
test cl, cl
jne 0x180045dbd
test r8b, r8b
jne 0x180045e1b
mov dword [rsp + 0x60], 0xa
mov dword [rsp + 0x20], 2
lea rcx, [rsp + 0x60]
call fcn.180043af0
test al, al
je 0x180045e1b
mov r8d, dword [rsp + 0x60]
jmp 0x1800456bd
mov byte [rbp + 0x1f8], 1
xor r13b, r13b
movzx ecx, byte [rbp + 0x1d8]
movzx edx, byte [rbp + 0x1c8]
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x180045e3c
test dl, dl
je 0x180045e3c
mov al, 1
jmp 0x180045e3e
xor al, al
or cl, al
mov byte [rbp + 0x1d8], cl
mov eax, dword [rsi + 0x3f38]
xor esi, esi
mov r12, rsi
mov qword [rbp - 0x70], rsi
mov r14d, esi
mov dword [rsp + 0x7c], esi
mov r15d, dword [rsp + 0x64]
cmp eax, r15d
jne 0x180046588
test r13b, r13b
je 0x180046075
cmp byte [rsp + 0x5c], 0
jne 0x180046136
mov rax, qword [rbp + 0x1d0]
test dword [rsp + 0x68], 0x100000
je 0x180045f03
lea r12, [0x18004c9b8]
cmp byte [rax], 0
setne r8b
mov byte [rbp + 0x1f0], r8b
movsxd rbx, dword [rdi + 0xc]
lea rcx, [rdi + 0x74]
xor r9d, r9d
mov r8d, ebx
xor edx, edx
call fcn.180043620
mov r9, rax
test rax, rax
je 0x180045ee5
test ebx, ebx
jle 0x180045ee5
mov rdx, rsi
nop dword [rax + rax]
mov rcx, qword [rdi + 0x20]
movzx eax, word [rcx + rdx*2]
mov word [r9 + rdx*2], ax
inc rdx
cmp rdx, rbx
jl 0x180045ed0
mov r8d, dword [rdi + 0xc]
xor edx, edx
mov rcx, rdi
call fcn.180042060
mov qword [rdi + 0x58], 0
mov dword [rdi + 0x54], esi
jmp 0x180046080
mov r9, qword [rdi + 0x40]
mov r8, r9
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180045f23
inc rax
test ecx, ecx
jne 0x180045f10
test edx, edx
je 0x180046080
mov r12, r9
mov qword [rbp - 0x70], r9
mov r14d, dword [rdi + 0x38]
dec r14d
mov dword [rsp + 0x7c], r14d
mov byte [rbp + 0x1f0], 1
mov qword [rbp - 0x48], 0
mov r15d, esi
mov r13, rsi
mov qword [rbp - 0x40], rsi
test r14d, r14d
jle 0x180046026
movsxd rbx, r14d
add rbx, r9
mov rsi, r9
xor eax, eax
mov r14d, eax
nop
test rbx, rbx
je 0x180045f7a
cmp rsi, rbx
jae 0x180045f9a
cmp byte [rsi], 0
je 0x180045f9a
mov r8, rbx
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.180014fb0
movsxd rcx, eax
add rsi, rcx
inc r14d
jmp 0x180045f70
lea r15d, [r14 + 1]
test r15d, r15d
jle 0x180045fbf
mov edx, r15d
cmp r15d, 8
mov eax, 8
cmovl edx, eax
lea rcx, [rbp - 0x48]
call fcn.18002b1a0
mov r13, qword [rbp - 0x40]
mov dword [rbp - 0x48], r15d
mov rsi, r12
mov r14, r13
movsxd r12, r15d
lea r12, [r12*2 - 2]
add r12, r13
cmp r13, r12
jae 0x180046017
nop dword [rax]
test rbx, rbx
je 0x180045fea
cmp rsi, rbx
jae 0x180046017
cmp byte [rsi], 0
je 0x180046017
mov r8, rbx
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.180014fb0
movsxd rcx, eax
add rsi, rcx
movzx eax, word [rsp + 0x60]
mov word [r14], ax
add r14, 2
cmp r14, r12
jb 0x180045fe0
xor esi, esi
mov word [r14], si
mov r14d, dword [rsp + 0x7c]
mov r12, qword [rbp - 0x70]
lea r9d, [r15 - 1]
test r14d, r14d
cmovle r9d, esi
lea rdx, [rdi + 0x54]
mov r8, r13
mov rcx, rdi
call fcn.180043a30
nop
test r13, r13
je 0x180046068
mov rax, qword [0x18007bc90]
test rax, rax
je 0x180046058
dec dword [rax + 0xec]
mov rdx, qword [0x18007bc80]
mov rcx, r13
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
nop
movzx r13d, byte [rsp + 0x7a]
mov r15d, dword [rsp + 0x64]
jmp 0x180046080
cmp byte [rsp + 0x5c], 0
jne 0x18004619f
mov dword [rsp + 0x7c], r14d
mov qword [rbp - 0x70], r12
movzx eax, byte [rbp + 0x1f0]
mov byte [rbp + 0x1f0], al
mov byte [rdi + 0x48], 1
mov eax, dword [rdi + 0x18]
lea ebx, [rax*4 + 1]
mov ecx, dword [rdi + 0x2c]
cmp ebx, ecx
jle 0x1800460cf
test ecx, ecx
je 0x1800460ba
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1800460bf
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rdi + 0x28]
call fcn.18002b110
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 0x18004612d
mov r15d, 0x80
nop
movzx eax, word [r10]
test ax, ax
je 0x180046128
mov r8d, eax
add r10, 2
cmp eax, r15d
jae 0x18004610d
mov byte [r9], r8b
inc r9
jmp 0x180046123
mov edx, r11d
sub edx, r9d
dec edx
mov rcx, r9
call fcn.180015160
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x1800460f0
mov r15d, dword [rsp + 0x64]
mov byte [r9], 0
test r13b, r13b
je 0x18004619f
cmp byte [rsp + 0x51], 0
je 0x180046147
mov esi, dword [rsp + 0x68]
test sil, 0x20
jne 0x1800461a3
mov r10, qword [rbp + 0x1d0]
mov r8d, dword [rsp + 0x5c]
movzx r9d, byte [rbp + 0x1f0]
mov r13, qword [rsp + 0x70]
mov esi, dword [rsp + 0x64]
cmp dword [r13 + 0x5aa8], esi
jne 0x180046620
cmp dword [r13 + 0x3f38], esi
je 0x180046614
mov rax, qword [0x18007bc90]
mov ecx, dword [rax + 0x4780]
test cl, 0x20
je 0x18004659c
shr ecx, 6
and cl, 1
jmp 0x1800465b6
mov esi, dword [rsp + 0x68]
test esi, 0x801c0
je 0x180046530
xor eax, eax
mov ebx, eax
test sil, 0x40
je 0x1800461d9
xor r8d, r8d
mov edx, r15d
mov ecx, 0x200
call fcn.180022830
test al, al
je 0x1800461d9
mov eax, 0x40
mov ebx, 0x200
jmp 0x180046244
test sil, sil
jns 0x180046226
xor edx, edx
mov ecx, 0x203
lea r8d, [rdx + 1]
call fcn.1800208d0
test al, al
je 0x180046202
mov r10d, 0x80
mov eax, r10d
mov ebx, 0x203
jmp 0x18004624a
xor edx, edx
mov ecx, 0x204
lea r8d, [rdx + 1]
call fcn.1800208d0
test al, al
je 0x180046226
mov r10d, 0x80
mov eax, r10d
mov ebx, 0x204
jmp 0x18004624a
mov eax, 0x80000
test eax, esi
je 0x180046237
cmp byte [rdi + 0xe86], bl
jne 0x180046244
mov eax, 0x100
test eax, esi
je 0x180046530
mov r10d, 0x80
xor r14d, r14d
mov dword [rbp + 0x28], r14d
mov qword [rbp + 0x41], r14
mov dword [rbp + 0x49], r14d
mov word [rbp + 0x4d], r14w
mov byte [rbp + 0x4f], r14b
mov rcx, qword [rsp + 0x70]
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], eax
mov dword [rbp + 0x1c], esi
mov qword [rbp + 0x20], r14
cmp byte [rsp + 0x5c], r14b
mov rax, qword [rbp + 0x1d0]
jne 0x180046287
mov rax, qword [rdi + 0x30]
mov dword [rbp + 0x2c], ebx
mov qword [rbp + 0x30], rax
mov eax, dword [rdi + 0x10]
mov dword [rbp + 0x38], eax
mov eax, dword [rdi + 0x4c]
mov dword [rbp + 0x3c], eax
mov byte [rbp + 0x40], r14b
mov r8, qword [rdi + 0x20]
movsxd rax, dword [rdi + 0x54]
lea rdx, [r8 + rax*2]
mov rcx, r8
mov ebx, r14d
mov r9d, 0x800
test rdx, rdx
je 0x1800462c0
cmp rcx, rdx
jae 0x1800462e3
movzx eax, word [rcx]
test ax, ax
je 0x1800462e3
add rcx, 2
cmp ax, r10w
jae 0x1800462d6
inc ebx
jmp 0x1800462b6
cmp ax, r9w
sbb eax, eax
add eax, 3
add ebx, eax
jmp 0x1800462b6
mov dword [rbp + 0x44], ebx
movsxd rax, dword [rdi + 0x58]
lea rdx, [r8 + rax*2]
mov rcx, r8
mov r12d, r14d
test rdx, rdx
je 0x1800462fe
cmp rcx, rdx
jae 0x180046323
movzx eax, word [rcx]
test ax, ax
je 0x180046323
add rcx, 2
cmp ax, r10w
jae 0x180046315
inc r12d
jmp 0x1800462f4
cmp ax, r9w
sbb eax, eax
add eax, 3
add r12d, eax
jmp 0x1800462f4
mov dword [rbp + 0x48], r12d
movsxd rax, dword [rdi + 0x5c]
lea rcx, [r8 + rax*2]
mov r15d, r14d
test rcx, rcx
je 0x18004633c
cmp r8, rcx
jae 0x180046362
movzx eax, word [r8]
test ax, ax
je 0x180046362
add r8, 2
cmp ax, r10w
jae 0x180046354
inc r15d
jmp 0x180046332
cmp ax, r9w
sbb eax, eax
add eax, 3
add r15d, eax
jmp 0x180046332
mov dword [rbp + 0x4c], r15d
lea rcx, [rbp + 0x10]
call r14
movzx r13d, byte [rbp + 0x40]
movsxd rcx, dword [rbp + 0x44]
cmp ecx, ebx
jne 0x18004637f
test r13b, r13b
je 0x1800463c2
mov rbx, qword [rbp + 0x30]
lea rsi, [rbx + rcx]
test rsi, rsi
je 0x180046391
cmp rbx, rsi
jae 0x1800463b1
cmp byte [rbx], 0
je 0x1800463b1
mov r8, rsi
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.180014fb0
movsxd rcx, eax
add rbx, rcx
inc r14d
jmp 0x180046387
mov dword [rdi + 0x54], r14d
mov byte [rdi + 0xe84], 1
mov ecx, dword [rbp + 0x44]
xor r14d, r14d
movsxd rax, dword [rbp + 0x48]
cmp eax, r12d
jne 0x1800463d0
test r13b, r13b
je 0x180046413
cmp eax, ecx
jne 0x1800463da
mov r14d, dword [rdi + 0x54]
jmp 0x18004640f
mov rbx, qword [rbp + 0x30]
lea rsi, [rbx + rax]
test rsi, rsi
je 0x1800463ec
cmp rbx, rsi
jae 0x18004640c
cmp byte [rbx], 0
je 0x18004640c
mov r8, rsi
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.180014fb0
movsxd rcx, eax
add rbx, rcx
inc r14d
jmp 0x1800463e2
mov eax, dword [rbp + 0x48]
mov dword [rdi + 0x58], r14d
movsxd rcx, dword [rbp + 0x4c]
cmp ecx, r15d
jne 0x180046425
test r13b, r13b
je 0x180046527
xor r12d, r12d
cmp ecx, eax
jne 0x180046478
mov r14d, dword [rdi + 0x58]
mov dword [rdi + 0x5c], r14d
test r13b, r13b
je 0x180046527
mov r8d, dword [rbp + 0x38]
mov rdx, qword [rbp + 0x30]
mov rcx, rdi
call fcn.180043cd0
mov ebx, dword [rbp + 0x38]
mov eax, dword [rbp - 0x7c]
cmp ebx, eax
jle 0x1800464c5
cmp byte [rbp], 0
je 0x1800464c5
sub ebx, eax
add ebx, dword [rdi + 0x18]
mov ecx, dword [rdi + 0x1c]
cmp ebx, ecx
jle 0x1800464c2
test ecx, ecx
je 0x1800464ad
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1800464b2
mov rbx, qword [rbp + 0x30]
lea rsi, [rbx + rcx]
mov r14d, r12d
test rsi, rsi
je 0x18004648d
cmp rbx, rsi
jae 0x180046430
cmp byte [rbx], r12b
je 0x180046430
mov r8, rsi
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.180014fb0
movsxd rcx, eax
add rbx, rcx
inc r14d
jmp 0x180046483
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rdi + 0x18]
call fcn.18002b1a0
mov dword [rdi + 0x18], ebx
mov rsi, qword [rbp + 0x30]
mov r15, qword [rdi + 0x20]
mov rbx, r15
movsxd r14, dword [rdi + 0x18]
dec r14
lea r14, [r15 + r14*2]
cmp r15, r14
jae 0x18004650a
cmp byte [rsi], 0
je 0x18004650a
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x7c]
call fcn.180014fb0
movsxd rcx, eax
add rsi, rcx
movzx eax, word [rbp - 0x7c]
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x1800464e0
mov word [rbx], r12w
sub rbx, r15
sar rbx, 1
mov dword [rdi + 0xc], ebx
mov eax, dword [rbp + 0x38]
mov dword [rdi + 0x10], eax
mov dword [rdi + 0xe80], 0xbe99999a
mov r14d, dword [rsp + 0x7c]
mov r12, qword [rbp - 0x70]
mov r8d, dword [rsp + 0x5c]
mov r10, qword [rbp + 0x1d0]
test r8b, r8b
jne 0x180046153
mov r9, qword [rdi + 0x30]
mov rax, r9
mov r8, r10
sub r8, r9
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180046565
inc rax
test ecx, ecx
jne 0x180046552
mov r8d, dword [rsp + 0x5c]
test edx, edx
je 0x180046153
mov r12, r9
mov r14d, dword [rdi + 0x10]
mov r9b, 1
mov byte [rbp + 0x1f0], r9b
jmp 0x18004615b
mov r10, qword [rbp + 0x1d0]
xor r9b, r9b
mov r8d, dword [rsp + 0x5c]
jmp 0x18004615b
mov edx, dword [rax + 0x4778]
mov ecx, dword [rax + 0x3f68]
cmp ecx, edx
jne 0x180046614
test ecx, ecx
je 0x180046614
cmp dword [rax + 0x3f38], edx
je 0x180046614
cmp byte [rax + 0x3f6d], 0
jne 0x1800465d3
cmp dword [rax + 0x3f38], 0
jne 0x180046614
cmp byte [rax + 0x3f48], 0
je 0x180046614
test r8b, r8b
jne 0x180046614
mov r12, qword [r13 + 0x5ab8]
mov r14d, dword [r13 + 0x5ab0]
dec r14d
mov rax, r12
mov r8, r10
sub r8, r12
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180046605
inc rax
test ecx, ecx
jne 0x1800465f2
test edx, edx
setne al
or r9b, al
mov byte [rbp + 0x1f0], r9b
xor r15d, r15d
mov dword [r13 + 0x5aa8], r15d
jmp 0x180046623
xor r15d, r15d
test r12, r12
je 0x1800466c5
mov ecx, 0x20
cmp byte [rbp], 0
je 0x180046692
mov qword [rbp + 0x68], r15
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x50], r13
mov dword [rbp + 0x58], 0x40000
mov eax, dword [rsp + 0x68]
mov dword [rbp + 0x5c], eax
mov qword [rbp + 0x70], r10
mov dword [rbp + 0x78], r14d
lea eax, [r14 + 1]
cmp eax, ecx
cmovle eax, ecx
mov dword [rbp + 0x7c], eax
mov qword [rbp + 0x60], r15
lea rcx, [rbp + 0x50]
call r15
mov rax, qword [rbp + 0x70]
mov qword [rbp + 0x1d0], rax
mov ecx, dword [rbp + 0x7c]
lea r14d, [rcx - 1]
cmp dword [rbp + 0x78], r14d
cmovl r14d, dword [rbp + 0x78]
lea eax, [r14 + 1]
cmp eax, ecx
cmovl ecx, eax
movsxd rbx, ecx
cmp rbx, 1
jb 0x1800466c5
mov r14, qword [rbp + 0x1d0]
jbe 0x1800466bd
lea r8, [rbx - 1]
mov rdx, r12
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [rbx + r14 - 1], 0
jmp 0x1800466cc
mov r14, qword [rbp + 0x1d0]
cmp dword [r13 + 0x3f38], esi
jne 0x1800466f0
cmp byte [rbp + 0x1f8], 0
je 0x1800466e5
call fcn.180017330
jmp 0x1800466f0
mov dword [r13 + 0x5e54], 1
mov r11d, dword [rsp + 0x54]
test r11b, r11b
jne 0x1800467aa
mov r8d, 1
mov edx, esi
lea rcx, [rbp - 0x18]
call fcn.180015e60
movss xmm10, dword [0x180072744]
movaps xmm1, xmm10
mov ecx, 7
call fcn.180015460
mov r8d, eax
movss xmm0, dword [r13 + 0x380c]
movss dword [rsp + 0x20], xmm0
mov r9b, 1
mov rdx, qword [rbp - 0x10]
movaps xmm0, xmm7
unpcklps xmm0, xmm14
movq rcx, xmm0
call fcn.180015cf0
movss dword [rbp - 0x30], xmm7
movss dword [rbp - 0x2c], xmm14
movaps xmm13, xmm7
addss xmm13, xmm11
movss dword [rbp - 0x28], xmm13
movaps xmm12, xmm14
addss xmm12, xmm8
movss dword [rbp - 0x24], xmm12
addss xmm7, dword [r13 + 0x3804]
movss dword [rbp + 0x1f8], xmm7
movaps xmm0, xmm14
addss xmm0, dword [r13 + 0x3808]
movss dword [rbp + 0x1fc], xmm0
mov r11d, dword [rsp + 0x54]
mov r10, qword [rbp - 0x68]
jmp 0x1800467f1
movss dword [rbp - 0x30], xmm7
movss dword [rbp - 0x2c], xmm14
movaps xmm13, xmm7
addss xmm13, xmm11
movss dword [rbp - 0x28], xmm13
movaps xmm12, xmm14
addss xmm12, xmm8
movss dword [rbp - 0x24], xmm12
mov r10, qword [rbp - 0x68]
movsd xmm0, qword [r10 + 0x100]
movsd qword [rbp + 0x1f8], xmm0
movss xmm10, dword [0x180072744]
lea rax, [rbp + 0x1f8]
movaps xmm15, xmm14
movsd xmm0, qword [rax]
movsd qword [rbp - 0x50], xmm0
xorps xmm7, xmm7
movss dword [rbp + 0x1f8], xmm7
xorps xmm8, xmm8
movss dword [rsp + 0x7c], xmm8
cmp byte [rbp - 0x7e], 0
je 0x18004682c
mov r14, qword [rdi + 0x30]
mov qword [rbp + 0x1d0], r14
movzx eax, byte [rbp + 0x1c8]
movzx ecx, byte [rbp + 0x1d8]
test al, al
jne 0x180046940
test cl, cl
jne 0x180046940
test r11b, r11b
je 0x1800468a6
mov ecx, r15d
movzx edx, byte [r14]
lea r15, [r14 + 1]
test dl, dl
je 0x180046876
nop
lea eax, [rcx + 1]
cmp dl, 0xa
cmovne eax, ecx
mov ecx, eax
movzx edx, byte [r15]
inc r15
test dl, dl
jne 0x180046860
dec r15
movzx eax, byte [r15]
cmp al, 0xa
je 0x180046887
cmp al, 0xd
je 0x180046887
inc ecx
movaps xmm6, xmm11
movd xmm8, ecx
cvtdq2ps xmm8, xmm8
mulss xmm8, dword [r13 + 0x3c10]
movss dword [rsp + 0x7c], xmm8
jmp 0x1800468e7
cmp dword [r13 + 0x3f38], esi
jne 0x1800468b5
movsxd r15, dword [rdi + 0x10]
jmp 0x1800468ca
mov r15, 0xffffffffffffffff
nop dword [rax]
inc r15
cmp byte [r14 + r15], 0
jne 0x1800468c0
add r15, r14
mov rax, r15
sub rax, r14
movss xmm6, dword [rbp + 0x1f8]
cmp rax, 0x200000
jge 0x1800470c0
lea r8, [rbp - 0x30]
test r11b, r11b
mov eax, 0
cmovne r8, rax
movaps xmm1, xmm10
xor ecx, ecx
call fcn.180015460
mov qword [rsp + 0x40], r8
movss dword [rsp + 0x38], xmm7
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], eax
lea r9, [rbp - 0x50]
movss xmm2, dword [r13 + 0x3c10]
mov rdx, qword [r13 + 0x3c08]
mov rcx, qword [r10 + 0x298]
call fcn.180035ce0
jmp 0x1800470c0
movsxd r12, dword [rdi + 0x10]
lea r15, [r14 + r12]
mov r14, qword [rdi + 0x20]
xorps xmm6, xmm6
xor r10d, r10d
mov r9d, r10d
mov esi, r10d
mov r8d, 0xfffffc18
mov ebx, r8d
mov edx, r10d
test al, al
je 0x180046978
movsxd rax, dword [rdi + 0x54]
lea r9, [r14 + rax*2]
lea edx, [r10 + 1]
lea r8d, [r10 - 1]
test cl, cl
je 0x180046994
mov ecx, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], ecx
cmovl ecx, dword [rdi + 0x58]
movsxd rax, ecx
lea rsi, [r14 + rax*2]
mov ebx, 0xffffffff
inc edx
movzx eax, r11b
add edx, eax
mov rax, r14
movzx ecx, word [r14]
test cx, cx
je 0x1800469e2
cmp cx, 0xa
jne 0x1800469d6
inc r10d
cmp r8d, 0xffffffff
jne 0x1800469c3
cmp rax, r9
jb 0x1800469c3
mov r8d, r10d
dec edx
test edx, edx
jle 0x1800469e2
cmp ebx, 0xffffffff
jne 0x1800469d6
cmp rax, rsi
jb 0x1800469d6
mov ebx, r10d
dec edx
test edx, edx
jle 0x1800469e2
add rax, 2
movzx ecx, word [rax]
test cx, cx
jne 0x1800469a6
inc r10d
mov r11d, r10d
cmp r8d, 0xffffffff
cmovne r11d, r8d
cmp ebx, 0xffffffff
cmove ebx, r10d
mov rdx, r9
cmp r9, r14
jbe 0x180046a12
nop
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x180046a12
mov rdx, rax
cmp rax, r14
ja 0x180046a00
mov r8, qword [r13 + 0x3c08]
movss xmm3, dword [r13 + 0x3c10]
movaps xmm2, xmm3
divss xmm2, dword [r8 + 0x14]
xorps xmm4, xmm4
xorps xmm1, xmm1
xorps xmm11, xmm11
cmp rdx, r9
jae 0x180046a80
nop word [rax + rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x180046a57
maxss xmm1, xmm11
movaps xmm11, xmm4
jmp 0x180046a7b
cmp ecx, 0xd
je 0x180046a7b
cmp ecx, dword [r8]
jge 0x180046a6c
mov rax, qword [r8 + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x180046a72
movss xmm0, dword [r8 + 0x10]
mulss xmm0, xmm2
addss xmm11, xmm0
cmp rdx, r9
jb 0x180046a40
maxss xmm11, xmm1
movd xmm14, r11d
cvtdq2ps xmm14, xmm14
mulss xmm14, xmm3
test ebx, ebx
js 0x180046b0c
mov rdx, rsi
cmp rsi, r14
jbe 0x180046ab2
nop
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x180046ab2
mov rdx, rax
cmp rax, r14
ja 0x180046aa0
movaps xmm1, xmm4
movaps xmm6, xmm4
cmp rdx, rsi
jae 0x180046afd
nop dword [rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x180046ad5
maxss xmm1, xmm6
movaps xmm6, xmm4
jmp 0x180046af8
cmp ecx, 0xd
je 0x180046af8
cmp ecx, dword [r8]
jge 0x180046aea
mov rax, qword [r8 + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x180046af0
movss xmm0, dword [r8 + 0x10]
mulss xmm0, xmm2
addss xmm6, xmm0
cmp rdx, rsi
jb 0x180046ac0
movd xmm7, ebx
cvtdq2ps xmm7, xmm7
mulss xmm7, xmm3
maxss xmm6, xmm1
mov r11d, dword [rsp + 0x54]
movss xmm5, dword [rbp - 0x20]
test r11b, r11b
je 0x180046b38
movss dword [rbp + 0x1f8], xmm5
movd xmm8, r10d
cvtdq2ps xmm8, xmm8
mulss xmm8, xmm3
movss dword [rsp + 0x7c], xmm8
movzx r9d, byte [rbp + 0x1c8]
test r9b, r9b
je 0x180046c73
cmp byte [rdi + 0xe84], 0
je 0x180046c73
test dword [rsp + 0x68], 0x1000
jne 0x180046baf
movaps xmm0, xmm5
mulss xmm0, dword [0x1800726fc]
subss xmm5, dword [r13 + 0x3804]
movss xmm2, dword [rdi + 0x50]
movaps xmm1, xmm11
comiss xmm2, xmm11
jbe 0x180046b90
subss xmm1, xmm0
movaps xmm0, xmm4
maxss xmm0, xmm1
jmp 0x180046b9d
subss xmm1, xmm5
comiss xmm1, xmm2
jb 0x180046bb4
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x50], xmm0
jmp 0x180046bb4
xor eax, eax
mov dword [rdi + 0x50], eax
test r11b, r11b
je 0x180046c5a
movaps xmm0, xmm14
subss xmm0, dword [r13 + 0x3c10]
movss xmm2, dword [r13 + 0x3808]
movss xmm5, dword [rbp + 4]
comiss xmm9, xmm0
jbe 0x180046be9
movaps xmm9, xmm4
maxss xmm9, xmm0
jmp 0x180046c13
movaps xmm3, xmm2
addss xmm3, xmm2
movaps xmm1, xmm5
subss xmm1, xmm3
movaps xmm0, xmm14
subss xmm0, xmm1
comiss xmm0, xmm9
jb 0x180046c13
movaps xmm9, xmm14
subss xmm9, xmm5
addss xmm9, xmm3
comiss xmm4, xmm9
jbe 0x180046c1e
movaps xmm2, xmm4
jmp 0x180046c34
addss xmm2, xmm2
addss xmm2, xmm8
subss xmm2, xmm5
maxss xmm2, xmm4
minss xmm2, xmm9
mov rax, qword [rbp - 0x68]
movss xmm0, dword [rax + 0x88]
subss xmm0, xmm2
movss xmm1, dword [rbp - 0x4c]
addss xmm1, xmm0
movss dword [rbp - 0x4c], xmm1
movss dword [rax + 0x88], xmm2
mov byte [rdi + 0xe84], 0
movss xmm12, dword [rbp - 0x24]
movss xmm13, dword [rbp - 0x28]
movss xmm15, dword [rbp - 0x2c]
movss xmm9, dword [rdi + 0x50]
cmp byte [rbp + 0x1d8], 0
je 0x180046ea5
mov edx, dword [rdi + 0x5c]
mov ecx, dword [rdi + 0x58]
mov eax, edx
cmp ecx, edx
cmovl eax, ecx
cdqe
lea rbx, [r14 + rax*2]
cmovge edx, ecx
movsxd rax, edx
lea rsi, [r14 + rax*2]
test r9b, r9b
je 0x180046cae
movaps xmm1, xmm10
jmp 0x180046cb6
movss xmm1, dword [0x180072714]
mov ecx, 0x2f
call fcn.180015460
mov r14d, eax
test r11b, r11b
je 0x180046cd4
xorps xmm10, xmm10
movss dword [rbp + 8], xmm10
jmp 0x180046cdd
movss xmm10, dword [0x180072760]
movss xmm5, dword [rbp - 0x50]
addss xmm6, xmm5
subss xmm6, xmm9
movss xmm8, dword [rbp - 0x4c]
addss xmm8, xmm7
xorps xmm7, xmm7
subss xmm8, xmm7
cmp rbx, rsi
jae 0x180046ead
movss xmm4, dword [r13 + 0x3c10]
movaps xmm2, xmm4
movaps xmm0, xmm12
addss xmm0, xmm2
comiss xmm8, xmm0
ja 0x180046e9e
comiss xmm15, xmm8
jbe 0x180046d50
cmp rbx, rsi
jae 0x180046e7c
movzx eax, word [rbx]
add rbx, 2
cmp ax, 0xa
je 0x180046e7c
cmp rbx, rsi
jae 0x180046e9e
jmp 0x180046d34
mov rdx, qword [r13 + 0x3c08]
divss xmm2, dword [rdx + 0x14]
movaps xmm3, xmm7
movaps xmm1, xmm7
cmp rbx, rsi
jae 0x180046da8
movzx ecx, word [rbx]
add rbx, 2
cmp ecx, 0xa
je 0x180046d9e
cmp ecx, 0xd
je 0x180046d62
cmp ecx, dword [rdx]
jge 0x180046d8f
mov rax, qword [rdx + 8]
movss xmm0, dword [rax + rcx*4]
mulss xmm0, xmm2
addss xmm1, xmm0
jmp 0x180046d62
movss xmm0, dword [rdx + 0x10]
mulss xmm0, xmm2
addss xmm1, xmm0
jmp 0x180046d62
movaps xmm3, xmm7
maxss xmm3, xmm1
movaps xmm1, xmm7
maxss xmm1, xmm3
comiss xmm7, xmm1
jb 0x180046ddc
cmp dword [rdx], 0x20
jle 0x180046dc4
mov rax, qword [rdx + 8]
movss xmm0, dword [rax + 0x80]
jmp 0x180046dc9
movss xmm0, dword [rdx + 0x10]
mulss xmm0, dword [0x180072710]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm1, xmm6
movaps xmm0, xmm10
addss xmm0, xmm8
addss xmm6, xmm7
movss xmm2, dword [rbp + 8]
subss xmm2, xmm4
addss xmm2, xmm8
movss xmm3, dword [rbp - 0x30]
maxss xmm6, xmm3
maxss xmm2, xmm15
movss dword [rbp - 0x48], xmm6
movss dword [rbp - 0x44], xmm2
minss xmm1, xmm13
minss xmm0, xmm12
movss dword [rbp - 0x40], xmm1
movss dword [rbp - 0x3c], xmm0
comiss xmm0, xmm15
jbe 0x180046e7c
comiss xmm12, xmm2
jbe 0x180046e7c
comiss xmm1, xmm3
jbe 0x180046e7c
comiss xmm13, xmm6
jbe 0x180046e7c
xor eax, eax
mov dword [rsp + 0x28], eax
movss dword [rsp + 0x20], xmm7
mov r9d, r14d
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x48]
mov rax, qword [rbp - 0x68]
mov rcx, qword [rax + 0x298]
call fcn.1800359e0
movss xmm12, dword [rbp - 0x24]
movss xmm13, dword [rbp - 0x28]
movss xmm15, dword [rbp - 0x2c]
movss xmm5, dword [rbp - 0x50]
movaps xmm6, xmm5
subss xmm6, xmm9
movss xmm4, dword [r13 + 0x3c10]
addss xmm8, xmm4
movaps xmm2, xmm4
cmp rbx, rsi
jb 0x180046d13
mov r11d, dword [rsp + 0x54]
jmp 0x180046ead
movss xmm5, dword [rbp - 0x50]
xorps xmm7, xmm7
test r11b, r11b
jne 0x180046ebf
cmp r12, 0x200000
jge 0x180046f41
subss xmm5, xmm9
movss dword [rbp - 0x70], xmm5
movss xmm0, dword [rbp - 0x4c]
subss xmm0, xmm7
movss dword [rbp - 0x6c], xmm0
lea r8, [rbp - 0x30]
test r11b, r11b
mov eax, 0
cmovne r8, rax
movss xmm8, dword [0x180072744]
movaps xmm1, xmm8
xor ecx, ecx
call fcn.180015460
mov qword [rsp + 0x40], r8
movss dword [rsp + 0x38], xmm7
mov qword [rsp + 0x30], r15
mov r14, qword [rbp + 0x1d0]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], eax
lea r9, [rbp - 0x70]
movss xmm2, dword [r13 + 0x3c10]
mov rdx, qword [r13 + 0x3c08]
mov rbx, qword [rbp - 0x68]
mov rcx, qword [rbx + 0x298]
call fcn.180035ce0
jmp 0x180046f55
movss xmm8, dword [0x180072744]
mov r14, qword [rbp + 0x1d0]
mov rbx, qword [rbp - 0x68]
cmp byte [rbp + 0x1c8], 0
je 0x18004721a
movss xmm0, dword [r13 + 0x18]
addss xmm0, dword [rdi + 0xe80]
movss dword [rdi + 0xe80], xmm0
cmp byte [r13 + 0x5b], 0
je 0x180046fa2
comiss xmm7, xmm0
jae 0x180046fa2
movss xmm1, dword [0x18007274c]
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
movss xmm1, dword [0x180072730]
comiss xmm1, xmm0
jae 0x180046fa2
xor cl, cl
jmp 0x180046fa4
mov cl, 1
addss xmm11, dword [rbp - 0x50]
subss xmm11, xmm9
cvttss2si eax, xmm11
movd xmm6, eax
cvtdq2ps xmm6, xmm6
movss xmm0, dword [rbp - 0x4c]
addss xmm0, xmm14
subss xmm0, xmm7
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss dword [rbp - 0x48], xmm6
movaps xmm1, xmm7
subss xmm1, dword [r13 + 0x3c10]
addss xmm1, dword [0x180072710]
movss dword [rbp - 0x44], xmm1
movaps xmm3, xmm6
addss xmm3, xmm8
movss dword [rbp - 0x40], xmm3
movaps xmm2, xmm7
subss xmm2, dword [0x180072754]
movss dword [rbp - 0x3c], xmm2
test cl, cl
je 0x18004706f
comiss xmm2, dword [rbp - 0x2c]
jbe 0x18004706f
movss xmm0, dword [rbp - 0x24]
comiss xmm0, xmm1
jbe 0x18004706f
comiss xmm3, dword [rbp - 0x30]
jbe 0x18004706f
movss xmm0, dword [rbp - 0x28]
comiss xmm0, xmm6
jbe 0x18004706f
movss dword [rbp + 0x1c8], xmm6
movss dword [rbp + 0x1cc], xmm2
movaps xmm1, xmm8
xor ecx, ecx
call fcn.180015460
mov r9d, eax
movss dword [rsp + 0x20], xmm8
lea r8, [rbp + 0x1c8]
lea rdx, [rbp - 0x48]
mov rcx, qword [rbx + 0x298]
call fcn.180035780
movss xmm14, dword [rbp - 0x58]
mov esi, dword [rsp + 0x64]
cmp byte [rsp + 0x5c], 0
jne 0x1800470b5
mov byte [r13 + 0x5bd8], 1
subss xmm6, xmm8
movss xmm0, dword [r13 + 0x3c10]
subss xmm7, xmm0
movss dword [r13 + 0x5bdc], xmm6
movss dword [r13 + 0x5be0], xmm7
movss dword [r13 + 0x5be4], xmm0
xorps xmm7, xmm7
movss xmm6, dword [rbp + 0x1f8]
mov ebx, dword [rbp - 0x78]
test bl, bl
je 0x1800470cc
call fcn.18001fdf0
cmp byte [rsp + 0x54], 0
je 0x18004714f
movss dword [rbp + 0x1c8], xmm6
movss xmm0, dword [rsp + 0x7c]
addss xmm0, dword [r13 + 0x3808]
movss dword [rbp + 0x1cc], xmm0
lea rcx, [rbp + 0x1c8]
call fcn.180041110
or dword [r13 + 0x4764], 0x401
call fcn.18001aab0
mov eax, dword [r13 + 0x4780]
and eax, 0x80
mov ebx, dword [rbp + 0x98]
or ebx, eax
call fcn.180022fb0
cmp dword [r13 + 0x4778], 0
jne 0x18004714c
mov dword [r13 + 0x4778], esi
mov eax, dword [rbp + 0x94]
mov dword [r13 + 0x477c], eax
mov dword [r13 + 0x4780], ebx
mov ebx, dword [rbp - 0x78]
cmp byte [r13 + 0x5c98], 0
je 0x18004718f
test bl, bl
jne 0x18004718f
mov rax, qword [0x18007bc90]
lea rcx, [0x180072604]
mov qword [rax + 0x5cb8], rcx
lea rcx, [0x180072600]
mov qword [rax + 0x5cc0], rcx
mov r8, r15
mov rdx, r14
lea rcx, [rbp - 0x50]
call fcn.180028f30
movss xmm0, dword [rbp - 4]
comiss xmm0, xmm7
jbe 0x1800471cb
movss xmm0, dword [rbp - 8]
addss xmm0, dword [r13 + 0x381c]
addss xmm14, dword [r13 + 0x3808]
mov r9b, 1
xor r8d, r8d
mov rdx, qword [rbp + 0x1c0]
unpcklps xmm0, xmm14
movq rcx, xmm0
call fcn.180015840
movzx r8d, byte [rbp + 0x1f0]
mov edx, dword [rsp + 0x68]
test r8b, r8b
je 0x180047207
bt edx, 0x1b
jb 0x180047207
mov rax, qword [0x18007bc90]
mov ecx, dword [rax + 0x3f38]
cmp ecx, esi
je 0x1800471f7
test ecx, ecx
jne 0x180047200
mov word [rax + 0x3f48], 0x101
or dword [rax + 0x4780], 4
test dl, 0x20
mov eax, r8d
movzx ecx, byte [rsp + 0x51]
cmovne eax, ecx
jmp 0x180044470
movss xmm14, dword [rbp - 0x58]
mov esi, dword [rsp + 0x64]
jmp 0x1800470b8