Function at 0x18004d420
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 - 0xe8]
sub rsp, 0x1b0
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 [0x1800723c0]
xor rax, rsp
mov qword [rbp], rax
mov qword [rbp - 0x78], r8
mov r14, rcx
mov qword [rbp - 0x20], rcx
mov rbx, qword [0x180073348]
mov r12, rbx
mov qword [rsp + 0x60], rbx
mov rax, qword [rbx + 0x4000]
mov byte [rax + 0xc0], 1
mov rdi, qword [rbx + 0x4000]
mov qword [rbp - 0x50], rdi
cmp byte [rdi + 0xc3], 0
je 0x18004d4d3
xor al, al
jmp 0x18004fd51
movsxd r8, dword [rdi + 0x100]
mov rax, qword [rdi + 0x108]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
call fcn.18001b580
mov esi, eax
mov dword [rsp + 0x7c], eax
mov rcx, qword [rdi]
cmp dword [rcx + 0x404c], eax
jne 0x18004d514
mov r8, r14
mov edx, 0xb
mov ecx, eax
call fcn.1800316b0
mov rbx, qword [0x180073348]
mov rcx, r14
cmp r14, 0xffffffffffffffff
jae 0x18004d53d
nop dword [rax]
movzx edx, byte [rcx]
test dl, dl
je 0x18004d53d
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x18004d534
cmp byte [rax], dl
je 0x18004d53d
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x18004d520
movss xmm0, dword [rbx + 0x3d38]
movss xmm1, dword [0x180066e64]
xorps xmm10, xmm10
cmp r14, rcx
jne 0x18004d55b
xorps xmm7, xmm7
jmp 0x18004d5a3
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r14
movss dword [rsp + 0x20], xmm1
movss xmm3, dword [0x180066e58]
movaps xmm2, xmm0
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 0x3d30]
call fcn.180041ac0
movss xmm0, dword [rbp - 0x40]
addss xmm0, dword [0x180066d98]
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss xmm0, dword [rbp - 0x3c]
movss dword [rbp - 0x38], xmm7
movss xmm6, dword [r12 + 0x3928]
movaps xmm3, xmm6
addss xmm3, xmm6
addss xmm3, xmm0
call fcn.18002a970
movaps xmm2, xmm0
mov rdx, qword [rbp + 0x110]
mov rdx, qword [rdx]
lea rcx, [rbp - 0x40]
call fcn.18002a9f0
comiss xmm7, xmm10
jbe 0x18004d5ed
movaps xmm1, xmm7
addss xmm1, dword [r12 + 0x393c]
jmp 0x18004d5f0
xorps xmm1, xmm1
movss xmm12, dword [rdi + 0x114]
movss dword [rsp + 0x74], xmm12
movaps xmm8, xmm12
movss xmm7, dword [rbp - 0x3c]
addss xmm8, xmm7
movss xmm11, dword [rdi + 0x110]
movss dword [rbp - 0x68], xmm11
movaps xmm13, xmm11
movss xmm9, dword [rbp - 0x40]
addss xmm13, xmm9
movss dword [rbp - 0x40], xmm13
movss dword [rbp - 0x10], xmm11
movss dword [rbp - 0xc], xmm12
movss dword [rbp - 8], xmm13
movss dword [rbp - 4], xmm8
movaps xmm0, xmm12
addss xmm0, xmm7
addss xmm1, xmm9
addss xmm1, xmm11
subss xmm0, xmm12
subss xmm1, xmm11
movss dword [rbp - 0x70], xmm1
movss dword [rbp - 0x6c], xmm0
movaps xmm1, xmm6
lea rcx, [rbp - 0x70]
call fcn.18002a750
mov r8d, dword [r12 + 0x49b4]
mov edx, esi
lea rcx, [rbp - 0x10]
call fcn.18001e830
mov byte [rsp + 0x58], al
mov rdx, r12
test al, al
je 0x18004d6a6
mov dword [r12 + 0x4ee8], 1
mov rdi, qword [0x180073348]
xor r9d, r9d
test esi, esi
je 0x18004d6c5
cmp dword [rdi + 0x4f00], esi
jne 0x18004d6c5
add rdi, 0x4ef8
jmp 0x18004d6c8
mov rdi, r9
mov ecx, dword [rdx + 0x49b4]
mov r8d, 0x80
and ecx, r8d
shl ecx, 7
or ecx, 0x18000010
mov dword [rbp - 0x70], ecx
shr ecx, 0xe
mov dword [rsp + 0x70], ecx
cmp dword [rdx + 0x4064], esi
je 0x18004d710
cmp dword [rdx + 0x4b38], esi
jne 0x18004d710
test byte [rdx + 0x4b44], 1
jne 0x18004d70c
cmp dword [rdx + 0x4b64], 2
jne 0x18004d710
mov cl, 1
jmp 0x18004d712
xor cl, cl
mov byte [rsp + 0x51], cl
test al, al
je 0x18004d727
cmp byte [rdx + 0x3860], r9b
je 0x18004d727
mov bl, 1
jmp 0x18004d729
xor bl, bl
mov byte [rsp + 0x53], bl
xor r12b, r12b
mov dword [rbp - 0x80], r12d
xor r14b, r14b
mov dword [rsp + 0x78], r14d
test rdi, rdi
je 0x18004d74f
cmp byte [rdi + 0xe8c], r9b
je 0x18004d74f
mov r13b, 1
jmp 0x18004d757
xor r13b, r13b
test rdi, rdi
je 0x18004d762
cmp byte [rdi + 0x6b], 1
je 0x18004d762
mov r15b, 1
jmp 0x18004d765
xor r15b, r15b
test bl, bl
jne 0x18004d774
test cl, cl
jne 0x18004d774
mov byte [rsp + 0x52], r9b
jmp 0x18004d781
mov byte [rsp + 0x52], 1
cmp dword [rdx + 0x4064], esi
jne 0x18004d78f
test r15b, r15b
jne 0x18004d78f
test r13b, r13b
je 0x18004db61
lea rdi, [rdx + 0x4ef8]
mov dword [rdi + 0xe80], 0xbe99999a
mov byte [rdi + 0xe8c], r9b
mov ecx, dword [rdi + 8]
call fcn.18004d340
mov rbx, 0xffffffffffffffff
mov r14, qword [rbp - 0x78]
nop word [rax + rax]
inc rbx
cmp byte [r14 + rbx], 0
jne 0x18004d7c0
test r13b, r13b
jne 0x18004d817
lea esi, [rbx + 1]
mov ecx, dword [rdi + 0x3c]
cmp esi, ecx
jle 0x18004d7fd
test ecx, ecx
je 0x18004d7e8
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18004d7ed
mov eax, 8
mov edx, esi
cmp eax, esi
cmovg edx, eax
lea rcx, [rdi + 0x38]
call fcn.1800325f0
mov dword [rdi + 0x38], esi
movsxd r8, esi
mov r14, qword [rbp - 0x78]
mov rdx, r14
mov rcx, qword [rdi + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov esi, dword [rsp + 0x7c]
cmp dword [rdi + 8], esi
jne 0x18004d848
test r15b, r15b
jne 0x18004d848
test r13b, r13b
jne 0x18004d848
mov r12b, 1
cmp dword [rdi + 0x10], ebx
jne 0x18004d848
cmp byte [rdi + 0x48], r13b
je 0x18004d84b
movsxd r8, ebx
mov rdx, r14
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x18004d84b
xor r12b, r12b
mov dword [rdi + 8], esi
mov ecx, dword [rdi + 0x1c]
cmp ecx, 0x21
jge 0x18004d87d
test ecx, ecx
je 0x18004d865
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18004d86a
mov eax, 8
mov edx, 0x21
cmp eax, edx
cmovg edx, eax
lea rcx, [rdi + 0x18]
call fcn.1800326d0
mov dword [rdi + 0x18], 0x21
mov ecx, dword [rdi + 0x2c]
test ecx, ecx
jns 0x18004d8a8
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor r9d, r9d
mov edx, r9d
test eax, eax
cmovg edx, eax
lea rcx, [rdi + 0x28]
call fcn.1800325f0
xor r9d, r9d
mov dword [rdi + 0x28], r9d
mov byte [rdi + 0x48], r9b
mov rsi, r14
mov r15, qword [rdi + 0x20]
mov rbx, r15
lea r14, [r15 + 0x3e]
cmp r15, r14
jae 0x18004d8f5
cmp byte [rsi], 0
je 0x18004d8f2
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x54]
call fcn.18001b980
movsxd rcx, eax
add rsi, rcx
movzx eax, word [rsp + 0x54]
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x18004d8c6
xor r9d, r9d
mov word [rbx], r9w
sub rbx, r15
sar rbx, 1
mov dword [rdi + 0xc], ebx
sub esi, dword [rbp - 0x78]
mov dword [rdi + 0x10], esi
test r12b, r12b
je 0x18004d931
mov ecx, ebx
cmp dword [rdi + 0x54], ebx
cmovl ecx, dword [rdi + 0x54]
mov dword [rdi + 0x54], ecx
mov ecx, ebx
cmp dword [rdi + 0x58], ebx
cmovl ecx, dword [rdi + 0x58]
mov dword [rdi + 0x58], ecx
cmp dword [rdi + 0x5c], ebx
cmovl ebx, dword [rdi + 0x5c]
mov dword [rdi + 0x5c], ebx
jmp 0x18004d976
mov qword [rdi + 0x50], 0
mov dword [rdi + 0xe72], 0x630000
mov dword [rdi + 0xe78], r9d
mov dword [rdi + 0xe7c], 0x3e7
mov qword [rdi + 0x58], 0
mov word [rdi + 0x69], 1
mov dword [rdi + 0x70], r9d
mov byte [rdi + 0x68], 0
mov byte [rdi + 0x6b], 1
mov byte [rdi + 0x60], 0
mov dword [rdi + 0x64], r9d
test r13b, r13b
movzx r13d, byte [rsp + 0x51]
je 0x18004db07
mov edx, dword [rdi + 0xc]
mov eax, dword [rdi + 0xe94]
mov ecx, edx
cmp eax, edx
cmovl ecx, eax
mov dword [rdi + 0x54], ecx
mov eax, dword [rdi + 0xe90]
cmp eax, edx
cmovl edx, eax
mov dword [rdi + 0x58], edx
mov dword [rdi + 0x5c], ecx
movzx ebx, byte [rsp + 0x53]
mov r14d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x60]
mov r12d, dword [rbp - 0x80]
movzx ecx, byte [rdx + 0x59]
mov byte [rsp + 0x68], cl
mov r15d, dword [rsp + 0x7c]
movzx esi, byte [rsp + 0x52]
cmp dword [rdx + 0x4064], r15d
je 0x18004da16
test sil, sil
je 0x18004da09
mov rdx, qword [rbp - 0x50]
mov ecx, r15d
call fcn.18001e4b0
mov rdx, qword [rbp - 0x50]
mov ecx, r15d
call fcn.18002bcf0
xor edx, edx
mov rcx, qword [rbp - 0x50]
call fcn.180026e50
movzx ecx, byte [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
cmp dword [rdx + 0x4064], r15d
jne 0x18004db6c
test bl, bl
je 0x18004da38
mov rax, qword [0x180073348]
mov dword [rax + 0x4794], r15d
mov dword [rax + 0x4790], r15d
mov word [rax + 0x4798], 0
or dword [rdx + 0x4970], 3
mov rax, qword [0x180073348]
mov dword [rax + 0x417c], r15d
mov dword [rax + 0x4178], r15d
mov word [rax + 0x4180], 0
mov dword [rax + 0x4644], r15d
mov dword [rax + 0x4640], r15d
mov word [rax + 0x4648], 0
mov dword [rax + 0x4134], r15d
mov dword [rax + 0x4130], r15d
mov word [rax + 0x4138], 0
mov dword [rax + 0x4140], r15d
mov dword [rax + 0x413c], r15d
mov word [rax + 0x4144], 0
test cl, cl
je 0x18004dabd
mov dword [rax + 0x4800], r15d
mov dword [rax + 0x47fc], r15d
mov word [rax + 0x4804], 0
cmp dword [rdx + 0x4064], r15d
jne 0x18004db6c
test rdi, rdi
jne 0x18004dad9
call fcn.18001e610
mov rdx, qword [rsp + 0x60]
cmp dword [rdx + 0x4064], r15d
jne 0x18004db6c
cmp byte [rdx + 0x3860], 0
je 0x18004db03
movzx r12d, r12b
test sil, sil
mov eax, 1
cmove r12d, eax
mov dword [rbp - 0x80], r12d
mov cl, 1
jmp 0x18004db6e
mov r14b, 1
mov dword [rsp + 0x78], r14d
test r13b, r13b
je 0x18004db31
test r12b, r12b
je 0x18004db29
mov r12, qword [rsp + 0x60]
test byte [r12 + 0x4b44], 4
jne 0x18004db31
mov r14b, 1
mov dword [rsp + 0x78], r14d
movzx ebx, byte [rsp + 0x53]
test bl, bl
je 0x18004d9b3
movzx r14d, r14b
mov rdx, qword [rsp + 0x60]
cmp byte [rdx + 0xe5c], 0
mov eax, 1
cmovne r14d, eax
mov dword [rsp + 0x78], r14d
jmp 0x18004d9b8
movzx r13d, byte [rsp + 0x51]
jmp 0x18004d9bc
xor cl, cl
mov byte [rsp + 0x50], cl
test rdi, rdi
je 0x18004db8d
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18004db84
test r14b, r14b
je 0x18004db8d
test cl, cl
je 0x18004db8d
mov r8b, 1
jmp 0x18004db90
xor r8b, r8b
mov dword [rsp + 0x54], r8d
movzx r12d, r8b
mov byte [rsp + 0x53], 0
mov esi, dword [rsp + 0x70]
test sil, sil
je 0x18004dc96
test rdi, rdi
je 0x18004dc96
test cl, cl
jne 0x18004dbc1
test r8b, r8b
je 0x18004dc9f
mov ecx, dword [rdi + 0x1c]
cmp ecx, 0x21
jge 0x18004dbf0
test ecx, ecx
je 0x18004dbd8
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18004dbdd
mov eax, 8
mov edx, 0x21
cmp eax, edx
cmovg edx, eax
lea rcx, [rdi + 0x18]
call fcn.1800326d0
mov dword [rdi + 0x18], 0x21
mov rax, qword [rbp - 0x78]
mov rsi, rax
mov r15, qword [rdi + 0x20]
mov rbx, r15
lea r14, [r15 + 0x40]
cmp r15, r14
jae 0x18004dc40
nop
cmp byte [rsi], 0
je 0x18004dc3c
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x54]
call fcn.18001b980
movsxd rcx, eax
add rsi, rcx
movzx eax, word [rsp + 0x54]
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x18004dc10
mov rax, qword [rbp - 0x78]
xor edx, edx
mov word [rbx], dx
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 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 r8d, edx
cmp ecx, ebx
cmovne r8d, r12d
mov dword [rsp + 0x54], r8d
mov r15d, dword [rsp + 0x7c]
mov rdx, qword [rsp + 0x60]
movzx ecx, byte [rsp + 0x50]
mov esi, dword [rsp + 0x70]
test cl, cl
jne 0x18004dca8
test r8b, r8b
jne 0x18004dca8
cmp dword [rdx + 0x4064], r15d
jne 0x18004dcbd
test sil, sil
jne 0x18004dcbd
test rdi, rdi
je 0x18004dcbd
cmp byte [rdi + 0x48], sil
mov byte [rsp + 0x6a], 1
jne 0x18004dcc2
mov byte [rsp + 0x6a], 0
mov ebx, 0x20000c
movss xmm0, dword [0x180066d6c]
cmp dword [rdx + 0x4064], r15d
jne 0x18004e0bb
mov byte [rdi + 0xe86], 0
mov dword [rdi + 0x4c], 0x20
mov eax, dword [rbp - 0x70]
mov dword [rdi + 0xe88], eax
cmp byte [rdx + 0xe48], 0
sete al
mov byte [rdx + 0x4071], al
movss xmm1, dword [rdx + 0xe40]
subss xmm1, xmm11
subss xmm1, dword [rdx + 0x3924]
addss xmm1, dword [rdi + 0x50]
movss xmm2, dword [rdx + 0x3d38]
mulss xmm2, xmm0
cmp byte [rsp + 0x78], 0
je 0x18004dd50
xor r14d, r14d
mov dword [rdi + 0x58], r14d
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], r14b
mov byte [rdi + 0xe85], 1
jmp 0x18004dfb4
movzx eax, byte [rsp + 0x58]
test al, al
je 0x18004debf
cmp word [rdx + 0x386a], 2
jb 0x18004debf
cmp byte [rdx + 0xe5d], 0
jne 0x18004debf
cmp byte [rdi + 0x6b], 0
je 0x18004dd82
movaps xmm2, xmm10
mov rcx, rdi
call fcn.18004b670
mov dword [rdi + 0x54], eax
mov dword [rdi + 0x58], eax
mov dword [rdi + 0x5c], eax
mov byte [rdi + 0x6a], 0
mov r12, qword [rsp + 0x60]
movzx ecx, word [r12 + 0x386a]
sub ecx, 2
test cl, 1
jne 0x18004de58
test eax, eax
je 0x18004ddc8
movsxd rcx, eax
mov rax, qword [rdi + 0x20]
cmp word [rax + rcx*2 - 2], 0xa
je 0x18004ddc8
xor cl, cl
jmp 0x18004ddca
mov cl, 1
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18004ddd6
test cl, cl
jne 0x18004ddf6
lea rdx, [rdi + 0x54]
mov r8d, ebx
mov rcx, rdi
call fcn.18004bb30
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18004de11
cmp dword [rdi + 0x58], eax
jne 0x18004de0e
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x58], eax
jmp 0x18004de11
mov dword [rdi + 0x54], eax
mov edx, dword [rdi + 0x54]
mov rcx, rdi
call fcn.18004b2b0
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 0x18004de48
cmp ecx, eax
jle 0x18004de38
mov dword [rdi + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x18004de41
mov dword [rdi + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x18004de48
mov dword [rdi + 0x54], ecx
cmp dword [rdi + 0x54], eax
jle 0x18004deb7
mov dword [rdi + 0x54], eax
mov rdx, r12
jmp 0x18004dfa7
mov r8d, 0x200004
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.18004bb30
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov r8d, 0x600005
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.18004bb30
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov r8d, 0x600001
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.18004bb30
mov byte [rdi + 0xe84], 0
mov rdx, r12
jmp 0x18004dfa7
cmp byte [rdx + 0x3860], 0
je 0x18004df43
cmp byte [rdi + 0xe85], 0
jne 0x18004df43
test al, al
je 0x18004dfb1
cmp byte [rdx + 0xe5d], 0
je 0x18004df17
cmp byte [rdi + 0x6b], 0
je 0x18004deec
movaps xmm2, xmm10
lea rbx, [rdi + 0x5c]
mov eax, dword [rbx]
cmp dword [rdi + 0x58], eax
jne 0x18004defd
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x58], eax
mov rcx, rdi
call fcn.18004b670
mov ecx, 0x54
mov rdx, rdi
mov dword [rbx], eax
mov dword [rdx + rcx], eax
jmp 0x18004dfa2
cmp byte [rdi + 0x6b], 0
je 0x18004df21
movaps xmm2, xmm10
mov rcx, rdi
call fcn.18004b670
mov dword [rdi + 0x58], eax
mov byte [rdi + 0x6a], 0
lea rbx, [rdi + 0x5c]
mov ecx, 0x54
mov rdx, rdi
mov dword [rbx], eax
mov dword [rdx + rcx], eax
jmp 0x18004dfa2
cmp byte [rdx + 0xe48], 0
je 0x18004dfb1
cmp byte [rdi + 0xe85], 0
jne 0x18004dfb1
movss xmm0, dword [rdx + 0xe8]
ucomiss xmm0, xmm10
jp 0x18004df75
jne 0x18004df75
movss xmm0, dword [rdx + 0xec]
ucomiss xmm0, xmm10
jp 0x18004df75
je 0x18004dfb1
cmp byte [rdi + 0x6b], 0
je 0x18004df7f
movaps xmm2, xmm10
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18004df8d
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x58], eax
mov rcx, rdi
call fcn.18004b670
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0xe84], 1
mov rdx, qword [rsp + 0x60]
mov dword [rdi + 0xe80], 0xbe99999a
xor r14d, r14d
cmp byte [rdi + 0xe85], 0
je 0x18004dfcd
cmp byte [rdx + 0xe48], 0
jne 0x18004dfcd
mov byte [rdi + 0xe85], 0
cmp byte [rdx + 0xe5c], 0
je 0x18004dfdf
cmp byte [rdx + 0xe5e], 0
je 0x18004dfef
cmp byte [rsp + 0x68], 0
je 0x18004dff3
cmp byte [rdx + 0xe5f], 0
je 0x18004dff3
mov al, 1
jmp 0x18004dff5
xor al, al
cmp dword [rdx + 0x38d8], 0
jle 0x18004e0bb
test al, al
jne 0x18004e085
test sil, sil
jne 0x18004e085
test r13b, r13b
mov r13, qword [rsp + 0x60]
jne 0x18004e08a
mov esi, r14d
mov rbx, r14
mov r15d, dword [rbp - 0x70]
nop
mov rax, qword [r13 + 0x38e0]
movzx ecx, word [rbx + rax]
mov dword [rsp + 0x78], ecx
cmp ecx, 9
je 0x18004e06f
mov byte [rsp + 0x28], 0
mov r8d, r15d
lea rdx, [rsp + 0x78]
mov rcx, r13
call fcn.18004d100
test al, al
je 0x18004e06f
lea rdx, [rdi + 0x54]
mov r8d, dword [rsp + 0x78]
mov rcx, rdi
call fcn.18004bb30
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
inc esi
add rbx, 2
cmp esi, dword [r13 + 0x38d8]
jl 0x18004e020
mov r15d, dword [rsp + 0x7c]
jmp 0x18004e08a
mov r13, qword [rsp + 0x60]
mov ecx, dword [r13 + 0x38dc]
test ecx, ecx
jns 0x18004e0b2
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov edx, r14d
test eax, eax
cmovg edx, eax
lea rcx, [r13 + 0x38d8]
call fcn.1800326d0
mov dword [r13 + 0x38d8], r14d
jmp 0x18004e0c0
mov r13, qword [rsp + 0x60]
xor cl, cl
mov byte [rsp + 0x58], cl
cmp dword [r13 + 0x4064], r15d
jne 0x18004eeac
cmp byte [r13 + 0x4070], cl
jne 0x18004eeac
cmp byte [rbp - 0x80], cl
jne 0x18004eeac
movaps xmm0, xmm7
subss xmm0, dword [r13 + 0x3928]
divss xmm0, dword [r13 + 0x3d38]
cvttss2si eax, xmm0
mov ecx, 1
cmp eax, ecx
cmovge ecx, eax
mov dword [rdi + 0x64], ecx
movzx eax, byte [r13 + 0xe5d]
neg al
sbb r14d, r14d
and r14d, 0x400000
movzx esi, byte [rsp + 0x68]
test sil, sil
je 0x18004e158
movzx eax, byte [r13 + 0xe5e]
mov byte [rsp + 0x52], al
cmp byte [r13 + 0xe5f], 0
je 0x18004e164
cmp byte [r13 + 0xe5c], 0
jne 0x18004e164
test al, al
jne 0x18004e164
mov byte [rsp + 0x69], 1
jmp 0x18004e169
movzx eax, byte [r13 + 0xe5c]
mov byte [rsp + 0x52], al
mov byte [rsp + 0x69], 0
mov ebx, r15d
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x18004e18f
mov rcx, qword [0x180073348]
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x18004e18f
mov ebx, dword [rcx + 0x4980]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0xa39
call fcn.180027ff0
test al, al
je 0x18004e1bb
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0xa39
call fcn.18002a370
test al, al
jne 0x18004e20d
mov ebx, r15d
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x18004e1e1
mov rcx, qword [0x180073348]
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x18004e1e1
mov ebx, dword [rcx + 0x4980]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0x220a
call fcn.180027ff0
test al, al
je 0x18004e21e
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0x220a
call fcn.18002a370
test al, al
je 0x18004e21e
mov r12d, dword [rsp + 0x70]
test r12b, r12b
jne 0x18004e223
mov byte [rsp + 0x51], 1
jmp 0x18004e228
mov r12d, dword [rsp + 0x70]
mov byte [rsp + 0x51], 0
mov ebx, r15d
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x18004e24e
mov rcx, qword [0x180073348]
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x18004e24e
mov ebx, dword [rcx + 0x4980]
mov r8d, 0x1000
mov edx, ebx
mov ecx, 0xa24
call fcn.180027ff0
test al, al
je 0x18004e27a
mov r8d, 0x1000
mov edx, ebx
mov ecx, 0xa24
call fcn.18002a370
test al, al
jne 0x18004e2cc
mov ebx, r15d
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x18004e2a0
mov rcx, qword [0x180073348]
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x18004e2a0
mov ebx, dword [rcx + 0x4980]
mov r8d, 0x1000
mov edx, ebx
mov ecx, 0x1209
call fcn.180027ff0
test al, al
je 0x18004e2d3
mov r8d, 0x1000
mov edx, ebx
mov ecx, 0x1209
call fcn.18002a370
test al, al
je 0x18004e2d3
mov byte [rsp + 0x6d], 1
jmp 0x18004e2d8
mov byte [rsp + 0x6d], 0
mov ebx, r15d
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x18004e2fe
mov rcx, qword [0x180073348]
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x18004e2fe
mov ebx, dword [rcx + 0x4980]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0xa37
call fcn.180027ff0
test al, al
je 0x18004e32a
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0xa37
call fcn.18002a370
test al, al
jne 0x18004e37c
mov ebx, r15d
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x18004e350
mov rcx, qword [0x180073348]
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x18004e350
mov ebx, dword [rcx + 0x4980]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0x2209
call fcn.180027ff0
test al, al
je 0x18004e386
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0x2209
call fcn.18002a370
test al, al
je 0x18004e386
test r12b, r12b
mov byte [rsp + 0x6e], 1
je 0x18004e38b
mov byte [rsp + 0x6e], 0
mov ebx, r15d
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x18004e3b1
mov rcx, qword [0x180073348]
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x18004e3b1
mov ebx, dword [rcx + 0x4980]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0xa3b
call fcn.180027ff0
test al, al
je 0x18004e3e7
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0xa3b
call fcn.18002a370
test al, al
je 0x18004e3e7
test r12b, r12b
mov byte [rsp + 0x6b], 1
je 0x18004e3ec
mov byte [rsp + 0x6b], 0
mov ebx, r15d
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x18004e412
mov rcx, qword [0x180073348]
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x18004e412
mov ebx, dword [rcx + 0x4980]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0xa3a
call fcn.180027ff0
test al, al
je 0x18004e43e
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0xa3a
call fcn.18002a370
test al, al
jne 0x18004e495
test sil, sil
je 0x18004e49f
mov ebx, r15d
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x18004e469
mov rcx, qword [0x180073348]
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x18004e469
mov ebx, dword [rcx + 0x4980]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0x2a3b
call fcn.180027ff0
test al, al
je 0x18004e49f
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0x2a3b
call fcn.18002a370
test al, al
je 0x18004e49f
test r12b, r12b
mov byte [rsp + 0x6c], 1
je 0x18004e4a4
mov byte [rsp + 0x6c], 0
mov ebx, r15d
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x18004e4ca
mov rcx, qword [0x180073348]
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x18004e4ca
mov ebx, dword [rcx + 0x4980]
mov r8d, 0x1000
mov edx, ebx
mov ecx, 0xa22
call fcn.180027ff0
test al, al
jne 0x18004e4e5
xor r13b, r13b
jmp 0x18004e4fd
mov r8d, 0x1000
mov edx, ebx
mov ecx, 0xa22
call fcn.18002a370
test al, al
setne r13b
mov r12, qword [rsp + 0x60]
test byte [r12 + 8], 2
je 0x18004e517
test byte [r12 + 0xc], 1
je 0x18004e517
mov sil, 1
jmp 0x18004e51a
xor sil, sil
mov ebx, 1
mov r8d, ebx
xor edx, edx
mov ecx, 0x20d
call fcn.180028290
test al, al
jne 0x18004e54a
mov r8d, ebx
xor edx, edx
mov ecx, 0x273
call fcn.180028290
test al, al
jne 0x18004e54a
xor r12b, r12b
jmp 0x18004e54e
movzx r12d, bl
test sil, sil
je 0x18004e57f
xor r8d, r8d
xor edx, edx
mov ecx, 0x27c
call fcn.180028290
test al, al
jne 0x18004e579
xor r8d, r8d
xor edx, edx
mov ecx, 0x27b
call fcn.180028290
test al, al
je 0x18004e57f
movzx r15d, bl
jmp 0x18004e582
xor r15b, r15b
mov edx, dword [rsp + 0x7c]
mov ebx, edx
lea eax, [rdx + 1]
test eax, 0xfffffffe
jne 0x18004e5a9
mov rcx, qword [0x180073348]
lea eax, [rdx + 1]
test eax, 0xfffffffe
jne 0x18004e5a9
mov ebx, dword [rcx + 0x4980]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0x20e
call fcn.180027ff0
test al, al
je 0x18004e5d5
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0x20e
call fcn.18002a370
test al, al
jne 0x18004e62d
test sil, sil
je 0x18004e631
mov edx, dword [rsp + 0x7c]
mov ebx, edx
lea eax, [rdx + 1]
test eax, 0xfffffffe
jne 0x18004e601
mov rcx, qword [0x180073348]
lea eax, [rdx + 1]
test eax, 0xfffffffe
jne 0x18004e601
mov ebx, dword [rcx + 0x4980]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0x27a
call fcn.180027ff0
test al, al
je 0x18004e631
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0x27a
call fcn.18002a370
test al, al
je 0x18004e631
mov bl, 1
jmp 0x18004e633
xor bl, bl
mov esi, 1
mov r8d, esi
xor edx, edx
mov ecx, 0x201
call fcn.180028290
test al, al
je 0x18004e6bb
cmp byte [rsp + 0x69], 0
je 0x18004e659
mov eax, 0x200004
jmp 0x18004e66b
mov eax, 0x200000
cmp byte [rsp + 0x52], 0
mov ecx, 0x20000c
cmovne eax, ecx
or r14d, eax
lea rdx, [rdi + 0x54]
mov r8d, r14d
mov rcx, rdi
call fcn.18004bb30
mov byte [rdi + 0xe84], sil
mov dword [rdi + 0xe80], 0xbe99999a
mov r13, qword [rsp + 0x60]
movzx r8d, byte [rsp + 0x50]
mov edx, dword [rsp + 0x54]
xor cl, cl
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x18004ee9f
test r8b, r8b
je 0x18004ee9f
mov al, 1
jmp 0x18004eea1
mov r8d, esi
xor edx, edx
mov ecx, 0x202
call fcn.180028290
test al, al
je 0x18004e6f9
cmp byte [rsp + 0x69], 0
je 0x18004e6df
mov ecx, 0x200005
or r14d, ecx
jmp 0x18004e66e
mov ecx, 0x200001
mov eax, 0x20000d
cmp byte [rsp + 0x52], 0
cmovne ecx, eax
or r14d, ecx
jmp 0x18004e66e
mov r8d, esi
xor edx, edx
mov ecx, 0x203
call fcn.180028290
mov r8d, esi
xor edx, edx
mov ecx, 0x204
call fcn.180028290
mov r8d, esi
xor edx, edx
mov ecx, 0x205
call fcn.180028290
mov r8d, esi
xor edx, edx
mov ecx, 0x206
call fcn.180028290
mov r8d, esi
xor edx, edx
mov ecx, 0x207
call fcn.180028290
test al, al
je 0x18004e78d
mov eax, r14d
or eax, 0x200006
or r14d, 0x200004
mov r13, qword [rsp + 0x60]
cmp byte [r13 + 0xe5c], 0
cmovne r14d, eax
mov r8d, r14d
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.18004bb30
mov byte [rdi + 0xe84], sil
mov dword [rdi + 0xe80], 0xbe99999a
jmp 0x18004e693
mov r8d, esi
xor edx, edx
mov ecx, 0x208
call fcn.180028290
test al, al
je 0x18004e7c4
mov eax, r14d
or eax, 0x200007
mov r8d, 0x200005
or r8d, r14d
mov r13, qword [rsp + 0x60]
cmp byte [r13 + 0xe5c], 0
cmovne r8d, eax
jmp 0x18004e76b
mov r8d, esi
xor edx, edx
mov ecx, 0x20a
call fcn.180028290
movzx esi, byte [rsp + 0x51]
test al, al
je 0x18004e83c
cmp byte [rsp + 0x70], 0
jne 0x18004e83c
test sil, sil
jne 0x18004e83c
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18004e81a
cmp byte [rsp + 0x52], sil
je 0x18004e81a
lea rdx, [rdi + 0x54]
mov r8d, 0x60000d
mov rcx, rdi
call fcn.18004bb30
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
or r14d, 0x200008
lea rdx, [rdi + 0x54]
mov r8d, r14d
mov rcx, rdi
call fcn.18004bb30
mov byte [rdi + 0xe84], 1
jmp 0x18004e684
xor edx, edx
mov ecx, 0x20b
lea r8d, [rdx + 1]
call fcn.180028290
test al, al
je 0x18004e911
cmp byte [rsp + 0x70], 0
jne 0x18004e911
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18004e891
cmp byte [rsp + 0x52], 0
je 0x18004e8c2
lea rdx, [rdi + 0x54]
mov r8d, 0x60000c
mov rcx, rdi
call fcn.18004bb30
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov r13, qword [rsp + 0x60]
or r14d, 0x200009
lea rdx, [rdi + 0x54]
mov r8d, r14d
mov rcx, rdi
call fcn.18004bb30
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
jmp 0x18004e693
cmp byte [rsp + 0x68], 0
je 0x18004e891
mov r13, qword [rsp + 0x60]
cmp byte [r13 + 0xe5f], 0
je 0x18004e896
cmp byte [r13 + 0xe5e], 0
jne 0x18004e896
cmp byte [r13 + 0xe5c], 0
jne 0x18004e896
lea rdx, [rdi + 0x54]
mov r8d, 0x600004
mov rcx, rdi
call fcn.18004bb30
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
jmp 0x18004e896
test r12b, r12b
jne 0x18004ee69
test r15b, r15b
jne 0x18004ee69
test bl, bl
je 0x18004e944
mov cl, 1
mov byte [rsp + 0x58], cl
mov byte [rbp - 0x80], cl
xor dl, dl
xor r8b, r8b
mov byte [rsp + 0x50], r8b
mov r13, qword [rsp + 0x60]
jmp 0x18004e69f
movzx eax, byte [rsp + 0x6b]
test al, al
jne 0x18004ee30
cmp byte [rsp + 0x6c], al
jne 0x18004ee30
test r13b, r13b
je 0x18004e980
xor r9d, r9d
mov dword [rdi + 0x58], r9d
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], r9b
mov byte [rdi + 0xe84], 1
jmp 0x18004e68e
test sil, sil
jne 0x18004ebe5
cmp byte [rsp + 0x6d], sil
jne 0x18004ebe5
cmp byte [rsp + 0x6e], sil
je 0x18004e68e
mov rcx, qword [0x180073348]
mov rax, qword [rcx + 0xa8]
test rax, rax
je 0x18004e9c9
mov rcx, qword [rcx + 0xb8]
call rax
mov rbx, rax
test rax, rax
je 0x18004e68e
jmp 0x18004e9d0
lea rbx, [0x18005e729]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x18004e9d7
movsxd rcx, eax
lea rcx, [rcx*2 + 2]
call fcn.18001eaa0
mov r15, rax
mov qword [rbp - 0x60], rax
xor r12d, r12d
mov r14d, r12d
mov r13, qword [rsp + 0x60]
cmp byte [rbx], r12b
je 0x18004ea54
mov rsi, rax
mov r15d, dword [rbp - 0x70]
nop
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.18001b980
movsxd rcx, eax
add rbx, rcx
mov byte [rsp + 0x28], 1
mov r8d, r15d
lea rdx, [rbp - 0x70]
mov rcx, r13
call fcn.18004d100
test al, al
je 0x18004ea4b
movzx eax, word [rbp - 0x70]
mov word [rsi], ax
inc r14d
add rsi, 2
cmp byte [rbx], r12b
jne 0x18004ea10
mov r15, qword [rbp - 0x60]
movsxd rax, r14d
mov word [r15 + rax*2], r12w
test r14d, r14d
jle 0x18004eb66
mov ecx, dword [rdi + 0xc]
mov r8d, dword [rdi + 0x5c]
mov eax, dword [rdi + 0x58]
cmp eax, r8d
je 0x18004ea9a
mov edx, eax
cmp eax, ecx
jle 0x18004ea7f
mov dword [rdi + 0x58], ecx
mov edx, ecx
mov r9d, r8d
cmp r8d, ecx
jle 0x18004ea8d
mov dword [rdi + 0x5c], ecx
mov r9d, ecx
mov r8d, r9d
mov eax, edx
cmp edx, r9d
jne 0x18004ea9a
mov dword [rdi + 0x54], edx
mov r9d, dword [rdi + 0x54]
cmp r9d, ecx
jle 0x18004eaa9
mov dword [rdi + 0x54], ecx
mov r9d, ecx
mov ecx, dword [rdi + 0xc]
cmp eax, r8d
je 0x18004eada
mov edx, eax
cmp eax, ecx
jle 0x18004eabc
mov dword [rdi + 0x58], ecx
mov edx, ecx
mov r10d, r8d
cmp r8d, ecx
jle 0x18004eaca
mov dword [rdi + 0x5c], ecx
mov r10d, ecx
mov r8d, r10d
mov eax, edx
cmp edx, r10d
jne 0x18004eada
mov dword [rdi + 0x54], edx
mov r9d, edx
cmp r9d, ecx
jle 0x18004eae2
mov dword [rdi + 0x54], ecx
cmp eax, r8d
je 0x18004eb1e
lea rdx, [rdi + 0x54]
mov rcx, rdi
jge 0x18004eb06
sub r8d, eax
mov r9d, r8d
mov r8d, eax
call fcn.18004b9b0
mov eax, dword [rdi + 0x58]
mov dword [rdi + 0x5c], eax
jmp 0x18004eb17
sub eax, r8d
mov r9d, eax
call fcn.18004b9b0
mov eax, dword [rdi + 0x5c]
mov dword [rdi + 0x58], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], r12b
mov r9d, r14d
mov r8, r15
mov edx, dword [rdi + 0x54]
mov rcx, rdi
call fcn.18004b4e0
test al, al
je 0x18004eb5f
mov esi, dword [rdi + 0x54]
lea rcx, [rdi + 0x74]
xor edx, edx
call fcn.18004cbf0
test rax, rax
je 0x18004eb57
mov dword [rax], esi
mov dword [rax + 4], r12d
mov dword [rax + 8], r14d
mov dword [rax + 0xc], 0xffffffff
add dword [rdi + 0x54], r14d
mov byte [rdi + 0x6a], r12b
mov byte [rdi + 0xe84], 1
test r15, r15
je 0x18004ebd7
mov r8, qword [0x180073348]
test r8, r8
je 0x18004ebd7
mov r9d, dword [r8 + 0x3f58]
movsx rdx, word [r8 + 0x60f0]
lea rcx, [r8 + 0x60f4]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x18004ebcc
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60f0], cx
movsx rax, cx
lea rcx, [r8 + 0x60f4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r12d
inc word [rcx + 6]
inc dword [r8 + 0x60ec]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18004e693
mov r13, qword [rsp + 0x60]
cmp qword [r13 + 0xb0], 0
je 0x18004ed84
mov esi, dword [rdi + 0x5c]
mov eax, dword [rdi + 0x58]
cmp eax, esi
je 0x18004ec11
mov r14d, esi
cmovl r14d, eax
cmovge esi, eax
xor r9d, r9d
jmp 0x18004ec1a
xor r9d, r9d
mov r14d, r9d
mov esi, dword [rdi + 0xc]
mov rcx, qword [rdi + 0x20]
movsxd rax, esi
lea r8, [rcx + rax*2]
movsxd rax, r14d
lea rdx, [rcx + rax*2]
mov ecx, r9d
mov r9d, 0x800
mov r12d, 0x80
nop dword [rax + rax]
test r8, r8
je 0x18004ec4a
cmp rdx, r8
jae 0x18004ec6d
movzx eax, word [rdx]
test ax, ax
je 0x18004ec6d
add rdx, 2
cmp ax, r12w
jae 0x18004ec60
inc ecx
jmp 0x18004ec40
cmp ax, r9w
sbb eax, eax
add eax, 3
add ecx, eax
jmp 0x18004ec40
lea eax, [rcx + 1]
movsxd rbx, eax
mov rcx, rbx
call fcn.18001eaa0
mov r15, rax
mov rdx, qword [rdi + 0x20]
movsxd rcx, esi
lea r11, [rdx + rcx*2]
movsxd rcx, r14d
lea r10, [rdx + rcx*2]
mov r9, rax
lea rsi, [rax + rbx]
lea rbx, [rsi - 1]
cmp rax, rbx
jae 0x18004ece1
test r11, r11
je 0x18004ecaa
cmp r10, r11
jae 0x18004ece1
movzx eax, word [r10]
test ax, ax
je 0x18004ece1
mov r8d, eax
add r10, 2
cmp eax, r12d
jae 0x18004ecc7
mov byte [r9], r8b
inc r9
jmp 0x18004ecdc
mov edx, esi
sub edx, r9d
dec edx
mov rcx, r9
call fcn.18001bb30
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x18004eca0
mov byte [r9], 0
mov r8, qword [0x180073348]
mov rax, qword [r8 + 0xb0]
test rax, rax
je 0x18004ed0b
mov rdx, r15
mov rcx, qword [r8 + 0xb8]
call rax
mov r8, qword [0x180073348]
test r15, r15
je 0x18004ed76
test r8, r8
je 0x18004ed76
mov r9d, dword [r8 + 0x3f58]
movsx rdx, word [r8 + 0x60f0]
lea rcx, [rdx*8 + 0x60f4]
add rcx, r8
cmp dword [rcx], r9d
je 0x18004ed6b
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60f0], cx
movsx rax, cx
lea rcx, [rax*8 + 0x60f4]
add rcx, r8
mov dword [rcx], r9d
xor eax, eax
mov dword [rcx + 4], eax
inc word [rcx + 6]
inc dword [r8 + 0x60ec]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
movzx esi, byte [rsp + 0x51]
test sil, sil
je 0x18004e693
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18004eda7
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], 0
mov byte [rdi + 0xe84], 1
mov r8d, dword [rdi + 0x5c]
mov eax, dword [rdi + 0x58]
cmp eax, r8d
je 0x18004e693
mov ecx, dword [rdi + 0xc]
cmp eax, ecx
jle 0x18004edca
mov dword [rdi + 0x58], ecx
mov eax, ecx
cmp r8d, ecx
jle 0x18004edd5
mov dword [rdi + 0x5c], ecx
mov r8d, ecx
cmp eax, r8d
jne 0x18004eddd
mov dword [rdi + 0x54], eax
cmp dword [rdi + 0x54], ecx
jle 0x18004ede5
mov dword [rdi + 0x54], ecx
cmp eax, r8d
je 0x18004ee27
lea rdx, [rdi + 0x54]
mov rcx, rdi
jge 0x18004ee13
sub r8d, eax
mov r9d, r8d
mov r8d, eax
call fcn.18004b9b0
mov eax, dword [rdi + 0x58]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], 0
jmp 0x18004e693
sub eax, r8d
mov r9d, eax
call fcn.18004b9b0
mov eax, dword [rdi + 0x5c]
mov dword [rdi + 0x58], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], 0
jmp 0x18004e693
mov r8d, eax
xor r8d, 1
add r8d, 0x20000a
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.18004bb30
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x58], eax
jmp 0x18004e68e
mov r13, qword [rsp + 0x60]
mov edx, dword [rsp + 0x54]
movzx r8d, byte [rsp + 0x50]
cmp byte [r13 + 0x5c], 0
je 0x18004ee96
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], 0
jmp 0x18004e69d
mov byte [rbp - 0x80], 1
jmp 0x18004e69d
xor al, al
or dl, al
mov dword [rsp + 0x54], edx
mov r15d, dword [rsp + 0x7c]
xor ebx, ebx
mov r14d, ebx
mov r12d, ebx
cmp dword [r13 + 0x4064], r15d
jne 0x18004f185
mov eax, dword [rsp + 0x70]
test al, al
jne 0x18004f144
test cl, cl
je 0x18004f0a6
mov r9, qword [rdi + 0x40]
mov rax, qword [rbp - 0x78]
mov r8, r9
sub r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18004eef6
inc rax
test ecx, ecx
jne 0x18004eee3
test edx, edx
je 0x18004f0a6
mov r14, r9
mov qword [rbp - 0x60], r9
mov r12d, dword [rdi + 0x38]
dec r12d
mov dword [rsp + 0x78], r12d
mov byte [rsp + 0x53], 1
mov qword [rbp - 0x30], rbx
mov r15d, ebx
mov r13, rbx
mov qword [rbp - 0x28], rbx
test r12d, r12d
jle 0x18004f002
movsxd rsi, r12d
add rsi, r9
mov rbx, r9
xor eax, eax
mov r14d, eax
nop dword [rax + rax]
test rsi, rsi
je 0x18004ef4a
cmp rbx, rsi
jae 0x18004ef69
cmp byte [rbx], 0
je 0x18004ef69
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.18001b980
movsxd rcx, eax
add rbx, rcx
inc r14d
jmp 0x18004ef40
lea r15d, [r14 + 1]
test r15d, r15d
jle 0x18004ef9a
mov ebx, r15d
cmp r15d, 8
mov eax, 8
cmovl ebx, eax
test ebx, ebx
jle 0x18004ef9a
movsxd rcx, ebx
add rcx, rcx
call fcn.18001eaa0
mov r13, rax
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x2c], ebx
mov dword [rbp - 0x30], r15d
movsxd r14, r12d
mov rbx, qword [rbp - 0x60]
add r14, rbx
mov rsi, r13
movsxd r12, r15d
lea r12, [r12*2 - 2]
add r12, r13
cmp r13, r12
jae 0x18004eff4
nop
test r14, r14
je 0x18004efca
cmp rbx, r14
jae 0x18004eff4
cmp byte [rbx], 0
je 0x18004eff4
mov r8, r14
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.18001b980
movsxd rcx, eax
add rbx, rcx
movzx eax, word [rbp - 0x70]
mov word [rsi], ax
add rsi, 2
cmp rsi, r12
jb 0x18004efc0
xor ebx, ebx
mov word [rsi], bx
mov r12d, dword [rsp + 0x78]
mov r14, qword [rbp - 0x60]
lea r9d, [r15 - 1]
test r12d, r12d
cmovle r9d, ebx
lea rdx, [rdi + 0x54]
mov r8, r13
mov rcx, rdi
call fcn.18004d040
nop
test r13, r13
je 0x18004f09c
mov r8, qword [0x180073348]
test r8, r8
je 0x18004f092
mov r9d, dword [r8 + 0x3f58]
movsx r10, word [r8 + 0x60f0]
lea rdx, [r8 + 0x60f4]
lea rdx, [rdx + r10*8]
cmp dword [rdx], r9d
je 0x18004f087
lea ecx, [r10 + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60f0], cx
movsx rax, cx
lea rdx, [r8 + 0x60f4]
lea rdx, [rdx + rax*8]
mov dword [rdx], r9d
mov dword [rdx + 4], 0
inc word [rdx + 6]
inc dword [r8 + 0x60ec]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov r15d, dword [rsp + 0x7c]
mov r13, qword [rsp + 0x60]
mov byte [rdi + 0x48], 1
mov eax, dword [rdi + 0x18]
lea ebx, [rax*4 + 1]
mov ecx, dword [rdi + 0x2c]
cmp ebx, ecx
jle 0x18004f0df
test ecx, ecx
je 0x18004f0ca
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18004f0cf
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rdi + 0x28]
call fcn.1800325f0
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 0x18004f13a
nop dword [rax]
movzx eax, word [r10]
test ax, ax
je 0x18004f13a
mov r8d, eax
add r10, 2
cmp eax, 0x80
jae 0x18004f11f
mov byte [r9], r8b
inc r9
jmp 0x18004f135
mov edx, r11d
sub edx, r9d
dec edx
mov rcx, r9
call fcn.18001bb30
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x18004f100
mov byte [r9], 0
mov eax, dword [rsp + 0x70]
xor ebx, ebx
mov r10, qword [rbp - 0x78]
cmp byte [rsp + 0x58], 0
jne 0x18004f189
test al, al
jne 0x18004f189
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 0x18004f173
inc rax
test ecx, ecx
jne 0x18004f160
test edx, edx
je 0x18004f189
mov r14, r9
mov r12d, dword [rdi + 0x10]
mov byte [rsp + 0x53], 1
jmp 0x18004f189
mov r10, qword [rbp - 0x78]
cmp dword [r13 + 0x5d90], r15d
jne 0x18004f240
cmp dword [r13 + 0x4064], r15d
je 0x18004f239
mov rax, qword [0x180073348]
mov ecx, dword [rax + 0x49b8]
test cl, 0x20
je 0x18004f1bd
shr ecx, 6
test cl, 1
jmp 0x18004f1d7
mov edx, dword [rax + 0x49b0]
mov ecx, dword [rax + 0x4094]
cmp ecx, edx
jne 0x18004f239
test ecx, ecx
je 0x18004f239
cmp dword [rax + 0x4064], edx
je 0x18004f239
cmp byte [rax + 0x4099], 0
jne 0x18004f1f4
cmp dword [rax + 0x4064], 0
jne 0x18004f239
cmp byte [rax + 0x4074], 0
je 0x18004f239
cmp byte [rsp + 0x70], 0
jne 0x18004f239
mov r9, qword [r13 + 0x5da0]
mov rax, r9
mov r8, r10
sub r8, r9
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18004f223
inc rax
test ecx, ecx
jne 0x18004f210
test edx, edx
je 0x18004f239
mov r14, r9
mov r12d, dword [r13 + 0x5d98]
dec r12d
mov byte [rsp + 0x53], 1
mov dword [r13 + 0x5d90], ebx
test r14, r14
je 0x18004f27c
lea eax, [r12 + 1]
cmp eax, 0x20
mov ecx, 0x20
cmovl ecx, eax
movsxd rbx, ecx
cmp rbx, 1
jb 0x18004f27c
mov r12, qword [rbp - 0x78]
jbe 0x18004f274
lea r8, [rbx - 1]
mov rdx, r14
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [r12 + rbx - 1], 0
jmp 0x18004f280
mov r12, qword [rbp - 0x78]
cmp dword [r13 + 0x4064], r15d
jne 0x18004f2a1
cmp byte [rbp - 0x80], 0
je 0x18004f296
call fcn.18001e610
jmp 0x18004f2a1
mov dword [r13 + 0x6228], 1
xor r8d, r8d
mov edx, r15d
lea rcx, [rbp - 0x10]
call fcn.18001d110
movss xmm15, dword [0x180066da0]
movaps xmm1, xmm15
mov ecx, 7
call fcn.18001c050
mov r8d, eax
movss xmm0, dword [r13 + 0x392c]
movss dword [rsp + 0x20], xmm0
mov r9b, 1
movaps xmm1, xmm13
unpcklps xmm1, xmm8
movq rdx, xmm1
movaps xmm2, xmm11
unpcklps xmm2, xmm12
movq rcx, xmm2
call fcn.18001cfa0
movaps xmm14, xmm11
addss xmm14, xmm9
movaps xmm13, xmm12
addss xmm13, xmm7
movaps xmm0, xmm11
addss xmm0, dword [r13 + 0x3924]
movaps xmm1, xmm12
addss xmm1, dword [r13 + 0x3928]
unpcklps xmm0, xmm1
movsd qword [rbp - 0x18], xmm0
cmp byte [rsp + 0x6a], 0
je 0x18004f33a
mov r12, qword [rdi + 0x30]
movzx eax, byte [rsp + 0x50]
mov ecx, dword [rsp + 0x54]
test al, al
jne 0x18004f47f
test cl, cl
jne 0x18004f47f
cmp dword [r13 + 0x4064], r15d
jne 0x18004f362
movsxd rsi, dword [rdi + 0x10]
jmp 0x18004f37a
mov rsi, 0xffffffffffffffff
nop dword [rax]
inc rsi
cmp byte [r12 + rsi], 0
jne 0x18004f370
add rsi, r12
mov rax, rsi
sub rax, r12
cmp rax, 0x200000
jge 0x18004fb98
movaps xmm1, xmm15
xor ecx, ecx
call fcn.18001c050
mov r9d, eax
mov rax, qword [rbp - 0x50]
mov rdx, qword [rax + 0x2a8]
mov rcx, rsi
movss xmm2, dword [r13 + 0x3d38]
mov r8, qword [r13 + 0x3d30]
test r9d, 0xff000000
je 0x18004fb98
test rsi, rsi
jne 0x18004f3e1
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [r12 + rcx], 0
jne 0x18004f3d4
add rcx, r12
cmp r12, rcx
je 0x18004fb98
test r8, r8
jne 0x18004f3f7
mov rax, qword [rdx + 0x38]
mov r8, qword [rax + 8]
ucomiss xmm2, xmm10
jp 0x18004f408
jne 0x18004f408
mov rax, qword [rdx + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm0, xmmword [rdx + 0x88]
movups xmmword [rbp - 0x60], xmm0
comiss xmm0, xmm11
jae 0x18004f41f
movss dword [rbp - 0x60], xmm11
movss xmm0, dword [rbp - 0x5c]
comiss xmm0, xmm12
jae 0x18004f430
movss dword [rbp - 0x5c], xmm12
comiss xmm14, dword [rbp - 0x58]
ja 0x18004f43d
movss dword [rbp - 0x58], xmm14
comiss xmm13, dword [rbp - 0x54]
ja 0x18004f44a
movss dword [rbp - 0x54], xmm13
mov byte [rsp + 0x48], 1
movss dword [rsp + 0x40], xmm10
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r12
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
lea r9, [rbp - 0x18]
mov rcx, r8
call fcn.180041ce0
jmp 0x18004fb98
movsxd rsi, dword [rdi + 0x10]
add rsi, r12
mov r14, qword [rdi + 0x20]
xorps xmm5, xmm5
xorps xmm6, xmm6
xorps xmm7, xmm7
xor r8d, r8d
mov r10d, r8d
mov ebx, r8d
mov r9d, 0xfffffc18
mov r15d, r9d
mov edx, r8d
test al, al
je 0x18004f4bc
movsxd rax, dword [rdi + 0x54]
lea r10, [r14 + rax*2]
lea edx, [r8 + 1]
lea r9d, [r8 - 1]
test cl, cl
je 0x18004f4d9
mov ecx, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], ecx
cmovl ecx, dword [rdi + 0x58]
movsxd rax, ecx
lea rbx, [r14 + rax*2]
mov r15d, 0xffffffff
inc edx
mov ecx, r8d
mov rax, r14
movzx r8d, word [r14]
test r8w, r8w
je 0x18004f52f
nop dword [rax]
cmp r8w, 0xa
jne 0x18004f521
inc ecx
cmp r9d, 0xffffffff
jne 0x18004f50d
cmp rax, r10
jb 0x18004f50d
mov r9d, ecx
dec edx
test edx, edx
jle 0x18004f52f
cmp r15d, 0xffffffff
jne 0x18004f521
cmp rax, rbx
jb 0x18004f521
mov r15d, ecx
dec edx
test edx, edx
jle 0x18004f52f
add rax, 2
movzx r8d, word [rax]
test r8w, r8w
jne 0x18004f4f0
inc ecx
mov r11d, ecx
cmp r9d, 0xffffffff
cmovne r11d, r9d
cmp r15d, 0xffffffff
cmove r15d, ecx
mov rdx, r10
cmp r10, r14
jbe 0x18004f562
nop dword [rax]
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x18004f562
mov rdx, rax
cmp rax, r14
ja 0x18004f550
mov r8, qword [r13 + 0x3d30]
movss xmm2, dword [r13 + 0x3d38]
divss xmm2, dword [r8 + 0x14]
movaps xmm1, xmm5
movaps xmm11, xmm5
cmp rdx, r10
jae 0x18004f5c4
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x18004f59b
maxss xmm1, xmm11
movaps xmm11, xmm5
jmp 0x18004f5bf
cmp ecx, 0xd
je 0x18004f5bf
cmp ecx, dword [r8]
jge 0x18004f5b0
mov rax, qword [r8 + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x18004f5b6
movss xmm0, dword [r8 + 0x10]
mulss xmm0, xmm2
addss xmm11, xmm0
cmp rdx, r10
jb 0x18004f584
maxss xmm11, xmm1
movd xmm12, r11d
cvtdq2ps xmm12, xmm12
mulss xmm12, dword [r13 + 0x3d38]
test r15d, r15d
js 0x18004f675
mov rdx, rbx
cmp rbx, r14
jbe 0x18004f602
nop dword [rax]
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x18004f602
mov rdx, rax
cmp rax, r14
ja 0x18004f5f0
movss xmm3, dword [r13 + 0x3d38]
divss xmm3, dword [r8 + 0x14]
movaps xmm2, xmm5
movaps xmm6, xmm5
cmp rdx, rbx
jae 0x18004f660
nop dword [rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x18004f635
maxss xmm2, xmm6
movaps xmm6, xmm5
jmp 0x18004f65b
cmp ecx, 0xd
je 0x18004f65b
cmp ecx, dword [r8]
jge 0x18004f64a
mov rax, qword [r8 + 8]
movss xmm1, dword [rax + rcx*4]
jmp 0x18004f650
movss xmm1, dword [r8 + 0x10]
movaps xmm0, xmm3
mulss xmm0, xmm1
addss xmm6, xmm0
cmp rdx, rbx
jb 0x18004f620
movd xmm7, r15d
cvtdq2ps xmm7, xmm7
mulss xmm7, dword [r13 + 0x3d38]
maxss xmm6, xmm2
movzx r15d, byte [rsp + 0x50]
test r15b, r15b
je 0x18004f6df
cmp byte [rdi + 0xe84], 0
je 0x18004f6df
movaps xmm0, xmm9
mulss xmm0, dword [0x180066d4c]
subss xmm9, dword [r13 + 0x3924]
movss xmm2, dword [rdi + 0x50]
movaps xmm1, xmm11
comiss xmm2, xmm11
jbe 0x18004f6ba
subss xmm1, xmm0
movaps xmm0, xmm5
maxss xmm0, xmm1
jmp 0x18004f6c8
subss xmm1, xmm9
comiss xmm1, xmm2
jb 0x18004f6d8
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x50], xmm0
mov byte [rdi + 0xe84], 0
movss xmm10, dword [rdi + 0x50]
cmp byte [rsp + 0x54], 0
je 0x18004fa26
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 r14, [r14 + rax*2]
test r15b, r15b
je 0x18004f718
movaps xmm1, xmm15
jmp 0x18004f720
movss xmm1, dword [0x180066d70]
mov ecx, 0x2f
call fcn.18001c050
mov r15d, eax
movss xmm9, dword [rbp - 0x18]
addss xmm6, xmm9
subss xmm6, xmm10
movss xmm8, dword [rbp - 0x14]
addss xmm8, xmm7
xorps xmm5, xmm5
subss xmm8, xmm5
cmp rbx, r14
jae 0x18004f7a6
movss xmm7, dword [0x180066dc0]
movss xmm1, dword [rsp + 0x74]
movss xmm3, dword [r13 + 0x3d38]
movaps xmm0, xmm3
addss xmm0, xmm13
comiss xmm8, xmm0
ja 0x18004f7a6
comiss xmm1, xmm8
jbe 0x18004f8d3
cmp rbx, r14
jae 0x18004fa06
nop dword [rax]
movzx eax, word [rbx]
add rbx, 2
cmp ax, 0xa
je 0x18004fa06
cmp rbx, r14
jb 0x18004f790
movzx r15d, byte [rsp + 0x50]
mov rax, rsi
sub rax, r12
cmp rax, 0x200000
jge 0x18004fa31
movaps xmm1, xmm15
xor ecx, ecx
call fcn.18001c050
mov r9d, eax
mov rbx, qword [rbp - 0x50]
mov rdx, qword [rbx + 0x2a8]
mov rcx, rsi
subss xmm9, xmm10
movss dword [rbp - 0x60], xmm9
movss xmm0, dword [rbp - 0x14]
xorps xmm6, xmm6
subss xmm0, xmm6
movss dword [rbp - 0x5c], xmm0
movss xmm2, dword [r13 + 0x3d38]
mov r8, qword [r13 + 0x3d30]
test eax, 0xff000000
je 0x18004fa38
test rsi, rsi
jne 0x18004f82d
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [r12 + rcx], 0
jne 0x18004f820
add rcx, r12
cmp r12, rcx
je 0x18004fa38
test r8, r8
jne 0x18004f843
mov rax, qword [rdx + 0x38]
mov r8, qword [rax + 8]
ucomiss xmm2, xmm6
jp 0x18004f853
jne 0x18004f853
mov rax, qword [rdx + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm0, xmmword [rdx + 0x88]
movups xmmword [rbp - 0x50], xmm0
movss xmm8, dword [rbp - 0x68]
comiss xmm0, xmm8
jae 0x18004f870
movss dword [rbp - 0x50], xmm8
movss xmm0, dword [rbp - 0x4c]
movss xmm1, dword [rsp + 0x74]
comiss xmm0, xmm1
jae 0x18004f885
movss dword [rbp - 0x4c], xmm1
comiss xmm14, dword [rbp - 0x48]
ja 0x18004f892
movss dword [rbp - 0x48], xmm14
comiss xmm13, dword [rbp - 0x44]
ja 0x18004f89f
movss dword [rbp - 0x44], xmm13
mov byte [rsp + 0x48], 1
movss dword [rsp + 0x40], xmm6
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r12
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
lea r9, [rbp - 0x60]
mov rcx, r8
call fcn.180041ce0
jmp 0x18004fa3e
mov rdx, qword [r13 + 0x3d30]
divss xmm3, dword [rdx + 0x14]
movaps xmm4, xmm5
movaps xmm2, xmm5
cmp rbx, r14
jae 0x18004f931
nop word [rax + rax]
movzx ecx, word [rbx]
add rbx, 2
cmp ecx, 0xa
je 0x18004f927
cmp ecx, 0xd
je 0x18004f920
cmp ecx, dword [rdx]
jge 0x18004f910
mov rax, qword [rdx + 8]
movss xmm1, dword [rax + rcx*4]
jmp 0x18004f915
movss xmm1, dword [rdx + 0x10]
movaps xmm0, xmm3
mulss xmm0, xmm1
addss xmm2, xmm0
cmp rbx, r14
jb 0x18004f8f0
jmp 0x18004f931
movaps xmm4, xmm5
maxss xmm4, xmm2
movaps xmm2, xmm5
maxss xmm2, xmm4
comiss xmm5, xmm2
jb 0x18004f965
cmp dword [rdx], 0x20
jle 0x18004f94d
mov rax, qword [rdx + 8]
movss xmm0, dword [rax + 0x80]
jmp 0x18004f952
movss xmm0, dword [rdx + 0x10]
mulss xmm0, dword [0x180066d6c]
cvttss2si eax, xmm0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
addss xmm2, xmm6
movaps xmm0, xmm8
addss xmm0, xmm7
addss xmm6, xmm5
movss xmm1, dword [0x180066e64]
subss xmm1, dword [r13 + 0x3d38]
addss xmm1, xmm8
movss xmm3, dword [rbp - 0x68]
maxss xmm6, xmm3
maxss xmm1, dword [rsp + 0x74]
movss dword [rbp - 0x10], xmm6
movss dword [rbp - 0xc], xmm1
minss xmm2, xmm14
minss xmm0, xmm13
movss dword [rbp - 8], xmm2
movss dword [rbp - 4], xmm0
comiss xmm0, dword [rsp + 0x74]
jbe 0x18004fa00
comiss xmm13, xmm1
jbe 0x18004fa00
comiss xmm2, xmm3
jbe 0x18004fa00
comiss xmm14, xmm6
jbe 0x18004fa00
xor eax, eax
mov dword [rsp + 0x28], eax
movss dword [rsp + 0x20], xmm5
mov r9d, r15d
lea r8, [rbp - 8]
lea rdx, [rbp - 0x10]
mov rax, qword [rbp - 0x50]
mov rcx, qword [rax + 0x2a8]
call fcn.18003dbd0
movss xmm9, dword [rbp - 0x18]
xorps xmm5, xmm5
movss xmm1, dword [rsp + 0x74]
movaps xmm6, xmm9
subss xmm6, xmm10
addss xmm8, dword [r13 + 0x3d38]
cmp rbx, r14
jb 0x18004f763
jmp 0x18004f7a6
movss xmm9, dword [rbp - 0x18]
jmp 0x18004f7ac
xorps xmm6, xmm6
mov rbx, qword [rbp - 0x50]
movss xmm8, dword [rbp - 0x68]
test r15b, r15b
je 0x18004fb8d
movss xmm0, dword [r13 + 0x18]
addss xmm0, dword [rdi + 0xe80]
movss dword [rdi + 0xe80], xmm0
cmp byte [r13 + 0x5b], 0
je 0x18004fa87
comiss xmm6, xmm0
jae 0x18004fa87
movss xmm1, dword [0x180066da8]
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
movss xmm1, dword [0x180066d8c]
comiss xmm1, xmm0
jae 0x18004fa87
xor cl, cl
jmp 0x18004fa89
mov cl, 1
addss xmm11, dword [rbp - 0x18]
subss xmm11, xmm10
cvttss2si eax, xmm11
movd xmm6, eax
cvtdq2ps xmm6, xmm6
movss xmm0, dword [rbp - 0x14]
addss xmm0, xmm12
xorps xmm10, xmm10
subss xmm0, xmm10
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss dword [rbp - 0x10], xmm6
movaps xmm0, xmm7
subss xmm0, dword [r13 + 0x3d38]
addss xmm0, dword [0x180066d6c]
movss dword [rbp - 0xc], xmm0
movaps xmm2, xmm6
addss xmm2, xmm15
movss dword [rbp - 8], xmm2
movaps xmm1, xmm7
subss xmm1, dword [0x180066db0]
movss dword [rbp - 4], xmm1
movss xmm12, dword [rsp + 0x74]
test cl, cl
je 0x18004fb4f
comiss xmm1, xmm12
jbe 0x18004fb4f
comiss xmm13, xmm0
jbe 0x18004fb4f
comiss xmm2, xmm8
jbe 0x18004fb4f
comiss xmm14, xmm6
jbe 0x18004fb4f
movss dword [rbp - 0x60], xmm6
movss dword [rbp - 0x5c], xmm1
movaps xmm1, xmm15
xor ecx, ecx
call fcn.18001c050
mov r9d, eax
movss dword [rsp + 0x20], xmm15
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x10]
mov rcx, qword [rbx + 0x2a8]
call fcn.18003d960
cmp byte [rsp + 0x70], 0
jne 0x18004fb98
mov byte [r13 + 0x5f48], 1
subss xmm6, xmm15
movss xmm0, dword [r13 + 0x3d38]
subss xmm7, xmm0
movss dword [r13 + 0x5f4c], xmm6
movss dword [r13 + 0x5f50], xmm7
movss dword [r13 + 0x5f54], xmm0
jmp 0x18004fb98
xorps xmm10, xmm10
movss xmm12, dword [rsp + 0x74]
cmp byte [r13 + 0x6008], 0
je 0x18004fd12
mov rdi, qword [0x180073348]
mov r14, qword [rdi + 0x4000]
xor eax, eax
mov qword [rdi + 0x6030], rax
mov qword [rdi + 0x6028], rax
test rsi, rsi
jne 0x18004fbef
mov rsi, r12
cmp r12, 0xffffffffffffffff
jae 0x18004fbef
movzx ecx, byte [rsi]
test cl, cl
je 0x18004fbef
lea rax, [rsi + 1]
cmp cl, 0x23
jne 0x18004fbe6
cmp byte [rax], cl
je 0x18004fbef
mov rsi, rax
cmp rax, 0xffffffffffffffff
jb 0x18004fbd2
movss xmm0, dword [rdi + 0x3928]
addss xmm0, dword [rdi + 0x6038]
addss xmm0, xmm15
movss xmm1, dword [rbp - 0x14]
movss dword [rdi + 0x6038], xmm1
comiss xmm1, xmm0
jbe 0x18004fc29
lea rcx, [0x180061914]
call fcn.180030020
mov byte [rdi + 0x603c], 1
lea r8, [0x180066bd5]
lea rdx, [0x180066bd4]
lea rcx, [rbp - 0x18]
call fcn.180030060
mov eax, dword [r14 + 0x198]
mov ecx, dword [rdi + 0x6040]
cmp ecx, eax
jle 0x18004fc59
mov dword [rdi + 0x6040], eax
mov ecx, eax
mov r14d, dword [r14 + 0x198]
sub r14d, ecx
mov r13d, 1
nop dword [rax]
mov r8, rsi
sub r8, r12
mov edx, 0xa
mov rcx, r12
call sub.VCRUNTIME140.dll_memchr
mov rbx, rsi
test rax, rax
cmovne rbx, rax
cmp r12, rbx
jne 0x18004fc97
cmp rbx, rsi
je 0x18004fcf6
mov r9d, ebx
sub r9d, r12d
cmp byte [rdi + 0x603c], 0
lea edx, [r14*4]
jne 0x18004fcb1
mov edx, r13d
mov qword [rsp + 0x20], r12
lea r8, [0x18005e729]
lea rcx, str._s_.s
call fcn.180030020
mov byte [rdi + 0x603c], 0
cmp byte [rbx], 0xa
jne 0x18004fce8
lea rcx, [0x180061914]
call fcn.180030020
mov byte [rdi + 0x603c], r13b
cmp rbx, rsi
je 0x18004fcf6
lea r12, [rbx + 1]
jmp 0x18004fc70
lea r8, [0x180066bd1]
lea rdx, [0x180066bd0]
lea rcx, [rbp - 0x18]
call fcn.180030060
mov r13, qword [rsp + 0x60]
movss xmm0, dword [rbp - 0x38]
comiss xmm0, xmm10
jbe 0x18004fd4c
movss xmm0, dword [rbp - 0x40]
addss xmm0, dword [r13 + 0x393c]
addss xmm12, dword [r13 + 0x3928]
mov r9b, 1
xor r8d, r8d
mov rdx, qword [rbp - 0x20]
unpcklps xmm0, xmm12
movq rcx, xmm0
call fcn.18001c3b0
movzx eax, byte [rsp + 0x53]
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1800591a0
lea r11, [rsp + 0x1b0]
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