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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xd8]
sub rsp, 0x1b0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
movaps xmmword [rax - 0xb8], xmm14
movaps xmmword [rax - 0xc8], xmm15
mov rax, qword [0x180058040]
xor rax, rsp
mov qword [rbp], rax
mov qword [rbp - 0x78], r8
mov rbx, qword [0x180058860]
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 0x180042def
xor al, al
jmp 0x1800455f4
movsxd r8, dword [rdi + 0x100]
mov rax, qword [rdi + 0x108]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
lea r14, str.sampleamount
mov rcx, r14
call fcn.180011c70
mov esi, eax
mov dword [rsp + 0x7c], eax
mov rcx, qword [rdi]
cmp dword [rcx + 0x404c], eax
jne 0x180042e3a
mov r8, r14
mov edx, 0xb
mov ecx, eax
call fcn.180027ac0
mov rbx, qword [0x180058860]
mov rcx, r14
cmp r14, 0xffffffffffffffff
jae 0x180042e60
movzx edx, byte [rcx]
test dl, dl
je 0x180042e60
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x180042e57
cmp byte [rax], dl
je 0x180042e60
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x180042e43
movss xmm0, dword [rbx + 0x3d38]
movss xmm1, dword [0x180050d90]
xorps xmm10, xmm10
cmp r14, rcx
jne 0x180042e7e
xorps xmm7, xmm7
jmp 0x180042ec6
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r14
movss dword [rsp + 0x20], xmm1
movss xmm3, dword [0x180050d80]
movaps xmm2, xmm0
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 0x3d30]
call fcn.180037820
movss xmm0, dword [rbp - 0x40]
addss xmm0, dword [0x180050cec]
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.180020dc0
movaps xmm2, xmm0
mov rdx, qword [rbp + 0x100]
mov rdx, qword [rdx]
lea rcx, [rbp - 0x40]
call fcn.180020e40
comiss xmm7, xmm10
jbe 0x180042f10
movaps xmm1, xmm7
addss xmm1, dword [r12 + 0x393c]
jmp 0x180042f13
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.180020ba0
mov r8d, dword [r12 + 0x49b4]
mov edx, esi
lea rcx, [rbp - 0x10]
call fcn.180014e30
mov byte [rsp + 0x58], al
mov rdx, r12
test al, al
je 0x180042fc9
mov dword [r12 + 0x4ee8], 1
mov rdi, qword [0x180058860]
xor r9d, r9d
test esi, esi
je 0x180042fe8
cmp dword [rdi + 0x4f00], esi
jne 0x180042fe8
add rdi, 0x4ef8
jmp 0x180042feb
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 0x180043033
cmp dword [rdx + 0x4b38], esi
jne 0x180043033
test byte [rdx + 0x4b44], 1
jne 0x18004302f
cmp dword [rdx + 0x4b64], 2
jne 0x180043033
mov cl, 1
jmp 0x180043035
xor cl, cl
mov byte [rsp + 0x51], cl
test al, al
je 0x18004304a
cmp byte [rdx + 0x3860], r9b
je 0x18004304a
mov bl, 1
jmp 0x18004304c
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 0x180043072
cmp byte [rdi + 0xe8c], r9b
je 0x180043072
mov r13b, 1
jmp 0x18004307a
xor r13b, r13b
test rdi, rdi
je 0x180043085
cmp byte [rdi + 0x6b], 1
je 0x180043085
mov r15b, 1
jmp 0x180043088
xor r15b, r15b
test bl, bl
jne 0x180043097
test cl, cl
jne 0x180043097
mov byte [rsp + 0x52], r9b
jmp 0x1800430a4
mov byte [rsp + 0x52], 1
cmp dword [rdx + 0x4064], esi
jne 0x1800430b2
test r15b, r15b
jne 0x1800430b2
test r13b, r13b
je 0x180043485
lea rdi, [rdx + 0x4ef8]
mov dword [rdi + 0xe80], 0xbe99999a
mov byte [rdi + 0xe8c], r9b
mov ecx, dword [rdi + 8]
call fcn.180042c60
mov rbx, 0xffffffffffffffff
mov r14, qword [rbp - 0x78]
nop dword [rax]
inc rbx
cmp byte [r14 + rbx], 0
jne 0x1800430e0
test r13b, r13b
jne 0x180043137
lea esi, [rbx + 1]
mov ecx, dword [rdi + 0x3c]
cmp esi, ecx
jle 0x18004311d
test ecx, ecx
je 0x180043108
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18004310d
mov eax, 8
mov edx, esi
cmp eax, esi
cmovg edx, eax
lea rcx, [rdi + 0x38]
call fcn.180028a00
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 0x180043168
test r15b, r15b
jne 0x180043168
test r13b, r13b
jne 0x180043168
mov r12b, 1
cmp dword [rdi + 0x10], ebx
jne 0x180043168
cmp byte [rdi + 0x48], r13b
je 0x18004316b
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 0x18004316b
xor r12b, r12b
mov dword [rdi + 8], esi
mov ecx, dword [rdi + 0x1c]
cmp ecx, 0x21
jge 0x18004319d
test ecx, ecx
je 0x180043185
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18004318a
mov eax, 8
mov edx, 0x21
cmp eax, edx
cmovg edx, eax
lea rcx, [rdi + 0x18]
call fcn.180028ae0
mov dword [rdi + 0x18], 0x21
mov ecx, dword [rdi + 0x2c]
test ecx, ecx
jns 0x1800431c8
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.180028a00
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 0x180043215
cmp byte [rsi], 0
je 0x180043212
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x54]
call fcn.180012070
movsxd rcx, eax
add rsi, rcx
movzx eax, word [rsp + 0x54]
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x1800431e6
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 0x180043251
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 0x180043296
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 0x18004342b
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 0x180043336
test sil, sil
je 0x180043329
mov rdx, qword [rbp - 0x50]
mov ecx, r15d
call fcn.180014bb0
mov rdx, qword [rbp - 0x50]
mov ecx, r15d
call fcn.180022140
xor edx, edx
mov rcx, qword [rbp - 0x50]
call fcn.18001d340
mov rdx, qword [rsp + 0x60]
movzx ecx, byte [rsp + 0x68]
cmp dword [rdx + 0x4064], r15d
jne 0x180043490
test bl, bl
je 0x180043358
mov rax, qword [0x180058860]
mov dword [rax + 0x4794], r15d
mov dword [rax + 0x4790], r15d
mov word [rax + 0x4798], 0
or dword [rdx + 0x4970], 3
mov rax, qword [0x180058860]
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 0x1800433dd
mov dword [rax + 0x4800], r15d
mov dword [rax + 0x47fc], r15d
mov word [rax + 0x4804], 0
cmp dword [rdx + 0x4064], r15d
jne 0x180043490
test rdi, rdi
jne 0x1800433fd
xor edx, edx
xor ecx, ecx
call fcn.180014bb0
mov rdx, qword [rsp + 0x60]
cmp dword [rdx + 0x4064], r15d
jne 0x180043490
cmp byte [rdx + 0x3860], 0
je 0x180043427
movzx r12d, r12b
test sil, sil
mov eax, 1
cmove r12d, eax
mov dword [rbp - 0x80], r12d
mov cl, 1
jmp 0x180043492
mov r14b, 1
mov dword [rsp + 0x78], r14d
test r13b, r13b
je 0x180043455
test r12b, r12b
je 0x18004344d
mov r12, qword [rsp + 0x60]
test byte [r12 + 0x4b44], 4
jne 0x180043455
mov r14b, 1
mov dword [rsp + 0x78], r14d
movzx ebx, byte [rsp + 0x53]
test bl, bl
je 0x1800432d3
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 0x1800432d8
movzx r13d, byte [rsp + 0x51]
jmp 0x1800432dc
xor cl, cl
mov byte [rsp + 0x50], cl
test rdi, rdi
je 0x1800434b1
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x1800434a8
test r14b, r14b
je 0x1800434b1
test cl, cl
je 0x1800434b1
mov r8b, 1
jmp 0x1800434b4
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 0x1800435b8
test rdi, rdi
je 0x1800435b8
test cl, cl
jne 0x1800434e5
test r8b, r8b
je 0x1800435c1
mov ecx, dword [rdi + 0x1c]
cmp ecx, 0x21
jge 0x180043514
test ecx, ecx
je 0x1800434fc
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180043501
mov eax, 8
mov edx, 0x21
cmp eax, edx
cmovg edx, eax
lea rcx, [rdi + 0x18]
call fcn.180028ae0
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 0x180043562
cmp byte [rsi], 0
je 0x18004355e
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x54]
call fcn.180012070
movsxd rcx, eax
add rsi, rcx
movzx eax, word [rsp + 0x54]
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x180043532
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 0x1800435ca
test r8b, r8b
jne 0x1800435ca
cmp dword [rdx + 0x4064], r15d
jne 0x1800435df
test sil, sil
jne 0x1800435df
test rdi, rdi
je 0x1800435df
cmp byte [rdi + 0x48], sil
mov byte [rsp + 0x6a], 1
jne 0x1800435e4
mov byte [rsp + 0x6a], 0
mov r14d, 0x20000c
movss xmm0, dword [0x180050cbc]
cmp dword [rdx + 0x4064], r15d
jne 0x180043a3b
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 xmm6, dword [rdx + 0xe40]
subss xmm6, xmm11
subss xmm6, dword [rdx + 0x3924]
addss xmm6, dword [rdi + 0x50]
movss xmm2, dword [rdx + 0x3d38]
mulss xmm2, xmm0
cmp byte [rsp + 0x78], 0
je 0x180043673
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 0x18004392b
movzx eax, byte [rsp + 0x58]
test al, al
je 0x1800437f5
cmp word [rdx + 0x386a], 2
jb 0x1800437f5
cmp byte [rdx + 0xe5d], 0
jne 0x1800437f5
cmp byte [rdi + 0x6b], 0
je 0x1800436b5
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.180040a40
movss xmm2, dword [rbp - 0x24]
movaps xmm1, xmm6
mov rcx, rdi
call fcn.180040fe0
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 0x18004378e
test eax, eax
je 0x1800436fe
movsxd rcx, eax
mov rax, qword [rdi + 0x20]
cmp word [rax + rcx*2 - 2], 0xa
je 0x1800436fe
xor cl, cl
jmp 0x180043700
mov cl, 1
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18004370c
test cl, cl
jne 0x18004372c
lea rdx, [rdi + 0x54]
mov r8d, r14d
mov rcx, rdi
call fcn.180041450
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x180043747
cmp dword [rdi + 0x58], eax
jne 0x180043744
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x58], eax
jmp 0x180043747
mov dword [rdi + 0x54], eax
mov edx, dword [rdi + 0x54]
mov rcx, rdi
call fcn.180040c20
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 0x18004377e
cmp ecx, eax
jle 0x18004376e
mov dword [rdi + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x180043777
mov dword [rdi + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x18004377e
mov dword [rdi + 0x54], ecx
cmp dword [rdi + 0x54], eax
jle 0x1800437ed
mov dword [rdi + 0x54], eax
mov rdx, r12
jmp 0x18004391e
mov r8d, 0x200004
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180041450
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov r8d, 0x600005
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180041450
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov r8d, 0x600001
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180041450
mov byte [rdi + 0xe84], 0
mov rdx, r12
jmp 0x18004391e
cmp byte [rdx + 0x3860], 0
je 0x1800438a7
cmp byte [rdi + 0xe85], 0
jne 0x1800438a7
test al, al
je 0x180043928
cmp byte [rdx + 0xe5d], 0
je 0x180043868
cmp byte [rdi + 0x6b], 0
je 0x18004383a
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.180040a40
movss xmm2, dword [rbp - 0x24]
lea rbx, [rdi + 0x5c]
mov eax, dword [rbx]
cmp dword [rdi + 0x58], eax
jne 0x18004384b
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x58], eax
movaps xmm1, xmm6
mov rcx, rdi
call fcn.180040fe0
mov ecx, 0x54
mov rdx, rdi
mov dword [rbx], eax
mov dword [rcx + rdx], eax
jmp 0x180043919
cmp byte [rdi + 0x6b], 0
je 0x180043882
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.180040a40
movss xmm2, dword [rbp - 0x24]
movaps xmm1, xmm6
mov rcx, rdi
call fcn.180040fe0
mov dword [rdi + 0x58], eax
mov byte [rdi + 0x6a], 0
lea rbx, [rdi + 0x5c]
mov ecx, 0x54
mov rdx, rdi
mov dword [rbx], eax
mov dword [rcx + rdx], eax
jmp 0x180043919
cmp byte [rdx + 0xe48], 0
je 0x180043928
cmp byte [rdi + 0xe85], 0
jne 0x180043928
movss xmm0, dword [rdx + 0xe8]
ucomiss xmm0, xmm10
jp 0x1800438d9
jne 0x1800438d9
movss xmm0, dword [rdx + 0xec]
ucomiss xmm0, xmm10
jp 0x1800438d9
je 0x180043928
cmp byte [rdi + 0x6b], 0
je 0x1800438f3
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.180040a40
movss xmm2, dword [rbp - 0x24]
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x180043901
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x58], eax
movaps xmm1, xmm6
mov rcx, rdi
call fcn.180040fe0
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 0x180043944
cmp byte [rdx + 0xe48], 0
jne 0x180043944
mov byte [rdi + 0xe85], 0
cmp byte [rdx + 0xe5c], 0
je 0x180043956
cmp byte [rdx + 0xe5e], 0
je 0x180043966
cmp byte [rsp + 0x68], 0
je 0x18004396a
cmp byte [rdx + 0xe5f], 0
je 0x18004396a
mov al, 1
jmp 0x18004396c
xor al, al
cmp dword [rdx + 0x38d8], 0
jle 0x180043a3b
test al, al
jne 0x180043a05
test sil, sil
jne 0x180043a05
test r13b, r13b
mov r13, qword [rsp + 0x60]
jne 0x180043a0a
mov esi, r14d
mov rbx, r14
mov r15d, dword [rbp - 0x70]
nop
mov rax, qword [r13 + 0x38e0]
movzx ecx, word [rax + rbx]
mov dword [rsp + 0x78], ecx
cmp ecx, 9
je 0x1800439ef
mov byte [rsp + 0x28], 0
mov r8d, r15d
lea rdx, [rsp + 0x78]
mov rcx, r13
call fcn.180042a20
test al, al
je 0x1800439ef
lea rdx, [rdi + 0x54]
mov r8d, dword [rsp + 0x78]
mov rcx, rdi
call fcn.180041450
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
inc esi
add rbx, 2
cmp esi, dword [r13 + 0x38d8]
jl 0x1800439a0
mov r15d, dword [rsp + 0x7c]
jmp 0x180043a0a
mov r13, qword [rsp + 0x60]
mov ecx, dword [r13 + 0x38dc]
test ecx, ecx
jns 0x180043a32
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.180028ae0
mov dword [r13 + 0x38d8], r14d
jmp 0x180043a40
mov r13, qword [rsp + 0x60]
xor cl, cl
mov byte [rsp + 0x58], cl
cmp dword [r13 + 0x4064], r15d
jne 0x18004474b
cmp byte [r13 + 0x4070], cl
jne 0x18004474b
cmp byte [rbp - 0x80], cl
jne 0x18004474b
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 0x180043ad8
movzx eax, byte [r13 + 0xe5e]
mov byte [rsp + 0x52], al
cmp byte [r13 + 0xe5f], 0
je 0x180043ae4
cmp byte [r13 + 0xe5c], 0
jne 0x180043ae4
test al, al
jne 0x180043ae4
mov byte [rsp + 0x69], 1
jmp 0x180043ae9
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 0x180043b0f
mov rcx, qword [0x180058860]
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x180043b0f
mov ebx, dword [rcx + 0x4980]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0xa39
call fcn.18001e4e0
test al, al
je 0x180043b3b
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0xa39
call fcn.180020860
test al, al
jne 0x180043b8d
mov ebx, r15d
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x180043b61
mov rcx, qword [0x180058860]
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x180043b61
mov ebx, dword [rcx + 0x4980]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0x220a
call fcn.18001e4e0
test al, al
je 0x180043b9e
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0x220a
call fcn.180020860
test al, al
je 0x180043b9e
mov r12d, dword [rsp + 0x70]
test r12b, r12b
jne 0x180043ba3
mov byte [rsp + 0x51], 1
jmp 0x180043ba8
mov r12d, dword [rsp + 0x70]
mov byte [rsp + 0x51], 0
mov ebx, r15d
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x180043bce
mov rcx, qword [0x180058860]
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x180043bce
mov ebx, dword [rcx + 0x4980]
mov r8d, 0x1000
mov edx, ebx
mov ecx, 0xa24
call fcn.18001e4e0
test al, al
je 0x180043bfa
mov r8d, 0x1000
mov edx, ebx
mov ecx, 0xa24
call fcn.180020860
test al, al
jne 0x180043c4c
mov ebx, r15d
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x180043c20
mov rcx, qword [0x180058860]
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x180043c20
mov ebx, dword [rcx + 0x4980]
mov r8d, 0x1000
mov edx, ebx
mov ecx, 0x1209
call fcn.18001e4e0
test al, al
je 0x180043c53
mov r8d, 0x1000
mov edx, ebx
mov ecx, 0x1209
call fcn.180020860
test al, al
je 0x180043c53
mov byte [rsp + 0x6d], 1
jmp 0x180043c58
mov byte [rsp + 0x6d], 0
mov ebx, r15d
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x180043c7e
mov rcx, qword [0x180058860]
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x180043c7e
mov ebx, dword [rcx + 0x4980]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0xa37
call fcn.18001e4e0
test al, al
je 0x180043caa
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0xa37
call fcn.180020860
test al, al
jne 0x180043cfc
mov ebx, r15d
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x180043cd0
mov rcx, qword [0x180058860]
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x180043cd0
mov ebx, dword [rcx + 0x4980]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0x2209
call fcn.18001e4e0
test al, al
je 0x180043d06
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0x2209
call fcn.180020860
test al, al
je 0x180043d06
test r12b, r12b
mov byte [rsp + 0x6e], 1
je 0x180043d0b
mov byte [rsp + 0x6e], 0
mov ebx, r15d
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x180043d31
mov rcx, qword [0x180058860]
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x180043d31
mov ebx, dword [rcx + 0x4980]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0xa3b
call fcn.18001e4e0
test al, al
je 0x180043d67
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0xa3b
call fcn.180020860
test al, al
je 0x180043d67
test r12b, r12b
mov byte [rsp + 0x6b], 1
je 0x180043d6c
mov byte [rsp + 0x6b], 0
mov ebx, r15d
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x180043d92
mov rcx, qword [0x180058860]
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x180043d92
mov ebx, dword [rcx + 0x4980]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0xa3a
call fcn.18001e4e0
test al, al
je 0x180043dbe
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0xa3a
call fcn.180020860
test al, al
jne 0x180043e15
test sil, sil
je 0x180043e1f
mov ebx, r15d
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x180043de9
mov rcx, qword [0x180058860]
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x180043de9
mov ebx, dword [rcx + 0x4980]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0x2a3b
call fcn.18001e4e0
test al, al
je 0x180043e1f
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0x2a3b
call fcn.180020860
test al, al
je 0x180043e1f
test r12b, r12b
mov byte [rsp + 0x6c], 1
je 0x180043e24
mov byte [rsp + 0x6c], 0
mov ebx, r15d
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x180043e4a
mov rcx, qword [0x180058860]
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x180043e4a
mov ebx, dword [rcx + 0x4980]
mov r8d, 0x1000
mov edx, ebx
mov ecx, 0xa22
call fcn.18001e4e0
test al, al
jne 0x180043e65
xor r13b, r13b
jmp 0x180043e7d
mov r8d, 0x1000
mov edx, ebx
mov ecx, 0xa22
call fcn.180020860
test al, al
setne r13b
mov r12, qword [rsp + 0x60]
test byte [r12 + 8], 2
je 0x180043e97
test byte [r12 + 0xc], 1
je 0x180043e97
mov sil, 1
jmp 0x180043e9a
xor sil, sil
mov ebx, 1
mov r8d, ebx
xor edx, edx
mov ecx, 0x20d
call fcn.18001e780
test al, al
jne 0x180043eca
mov r8d, ebx
xor edx, edx
mov ecx, 0x273
call fcn.18001e780
test al, al
jne 0x180043eca
xor r12b, r12b
jmp 0x180043ece
movzx r12d, bl
test sil, sil
je 0x180043eff
xor r8d, r8d
xor edx, edx
mov ecx, 0x27c
call fcn.18001e780
test al, al
jne 0x180043ef9
xor r8d, r8d
xor edx, edx
mov ecx, 0x27b
call fcn.18001e780
test al, al
je 0x180043eff
movzx r15d, bl
jmp 0x180043f02
xor r15b, r15b
mov edx, dword [rsp + 0x7c]
mov ebx, edx
lea eax, [rdx + 1]
test eax, 0xfffffffe
jne 0x180043f29
mov rcx, qword [0x180058860]
lea eax, [rdx + 1]
test eax, 0xfffffffe
jne 0x180043f29
mov ebx, dword [rcx + 0x4980]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0x20e
call fcn.18001e4e0
test al, al
je 0x180043f55
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0x20e
call fcn.180020860
test al, al
jne 0x180043fad
test sil, sil
je 0x180043fb1
mov edx, dword [rsp + 0x7c]
mov ebx, edx
lea eax, [rdx + 1]
test eax, 0xfffffffe
jne 0x180043f81
mov rcx, qword [0x180058860]
lea eax, [rdx + 1]
test eax, 0xfffffffe
jne 0x180043f81
mov ebx, dword [rcx + 0x4980]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0x27a
call fcn.18001e4e0
test al, al
je 0x180043fb1
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0x27a
call fcn.180020860
test al, al
je 0x180043fb1
mov bl, 1
jmp 0x180043fb3
xor bl, bl
mov esi, 1
mov r8d, esi
xor edx, edx
mov ecx, 0x201
call fcn.18001e780
test al, al
je 0x18004403b
cmp byte [rsp + 0x69], 0
je 0x180043fd9
mov eax, 0x200004
jmp 0x180043feb
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.180041450
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 0x18004473e
test r8b, r8b
je 0x18004473e
mov al, 1
jmp 0x180044740
mov r8d, esi
xor edx, edx
mov ecx, 0x202
call fcn.18001e780
test al, al
je 0x180044079
cmp byte [rsp + 0x69], 0
je 0x18004405f
mov ecx, 0x200005
or r14d, ecx
jmp 0x180043fee
mov ecx, 0x200001
mov eax, 0x20000d
cmp byte [rsp + 0x52], 0
cmovne ecx, eax
or r14d, ecx
jmp 0x180043fee
mov r8d, esi
xor edx, edx
mov ecx, 0x203
call fcn.18001e780
mov r8d, esi
xor edx, edx
mov ecx, 0x204
call fcn.18001e780
mov r8d, esi
xor edx, edx
mov ecx, 0x205
call fcn.18001e780
mov r8d, esi
xor edx, edx
mov ecx, 0x206
call fcn.18001e780
mov r8d, esi
xor edx, edx
mov ecx, 0x207
call fcn.18001e780
test al, al
je 0x18004410d
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.180041450
mov byte [rdi + 0xe84], sil
mov dword [rdi + 0xe80], 0xbe99999a
jmp 0x180044013
mov r8d, esi
xor edx, edx
mov ecx, 0x208
call fcn.18001e780
test al, al
je 0x180044144
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 0x1800440eb
mov r8d, esi
xor edx, edx
mov ecx, 0x20a
call fcn.18001e780
movzx esi, byte [rsp + 0x51]
test al, al
je 0x1800441bc
cmp byte [rsp + 0x70], 0
jne 0x1800441bc
test sil, sil
jne 0x1800441bc
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18004419a
cmp byte [rsp + 0x52], sil
je 0x18004419a
lea rdx, [rdi + 0x54]
mov r8d, 0x60000d
mov rcx, rdi
call fcn.180041450
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.180041450
mov byte [rdi + 0xe84], 1
jmp 0x180044004
xor edx, edx
mov ecx, 0x20b
lea r8d, [rdx + 1]
call fcn.18001e780
test al, al
je 0x180044291
cmp byte [rsp + 0x70], 0
jne 0x180044291
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x180044211
cmp byte [rsp + 0x52], 0
je 0x180044242
lea rdx, [rdi + 0x54]
mov r8d, 0x60000c
mov rcx, rdi
call fcn.180041450
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.180041450
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
jmp 0x180044013
cmp byte [rsp + 0x68], 0
je 0x180044211
mov r13, qword [rsp + 0x60]
cmp byte [r13 + 0xe5f], 0
je 0x180044216
cmp byte [r13 + 0xe5e], 0
jne 0x180044216
cmp byte [r13 + 0xe5c], 0
jne 0x180044216
lea rdx, [rdi + 0x54]
mov r8d, 0x600004
mov rcx, rdi
call fcn.180041450
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
jmp 0x180044216
test r12b, r12b
jne 0x180044708
test r15b, r15b
jne 0x180044708
test bl, bl
je 0x1800442c4
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 0x18004401f
movzx eax, byte [rsp + 0x6b]
test al, al
jne 0x1800446cf
cmp byte [rsp + 0x6c], al
jne 0x1800446cf
test r13b, r13b
je 0x180044300
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 0x18004400e
test sil, sil
jne 0x1800444e6
cmp byte [rsp + 0x6d], sil
jne 0x1800444e6
cmp byte [rsp + 0x6e], sil
je 0x18004400e
mov rcx, qword [0x180058860]
mov rax, qword [rcx + 0xa8]
test rax, rax
je 0x180044349
mov rcx, qword [rcx + 0xb8]
call rax
mov rbx, rax
test rax, rax
je 0x18004400e
jmp 0x180044350
lea rbx, [0x18004f367]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x180044357
movsxd rcx, eax
lea rcx, [rcx*2 + 2]
call fcn.180015020
mov r15, rax
mov qword [rbp - 0x60], rax
xor r12d, r12d
mov r14d, r12d
mov r13, qword [rsp + 0x60]
cmp byte [rbx], r12b
je 0x1800443d4
mov rsi, rax
mov r15d, dword [rbp - 0x70]
nop
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.180012070
movsxd rcx, eax
add rbx, rcx
mov byte [rsp + 0x28], 1
mov r8d, r15d
lea rdx, [rbp - 0x70]
mov rcx, r13
call fcn.180042a20
test al, al
je 0x1800443cb
movzx eax, word [rbp - 0x70]
mov word [rsi], ax
inc r14d
add rsi, 2
cmp byte [rbx], r12b
jne 0x180044390
mov r15, qword [rbp - 0x60]
movsxd rax, r14d
mov word [r15 + rax*2], r12w
test r14d, r14d
jle 0x180044467
mov eax, dword [rdi + 0xc]
mov edx, dword [rdi + 0x5c]
mov ecx, dword [rdi + 0x58]
cmp ecx, edx
je 0x18004440b
cmp ecx, eax
jle 0x1800443fb
mov dword [rdi + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x180044404
mov dword [rdi + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x18004440b
mov dword [rdi + 0x54], ecx
cmp dword [rdi + 0x54], eax
jle 0x180044413
mov dword [rdi + 0x54], eax
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.1800413b0
mov r9d, r14d
mov r8, r15
mov edx, dword [rdi + 0x54]
mov rcx, rdi
call fcn.180040e50
test al, al
je 0x180044460
mov esi, dword [rdi + 0x54]
lea rcx, [rdi + 0x74]
xor edx, edx
call fcn.180042510
test rax, rax
je 0x180044458
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 0x1800444d8
mov r8, qword [0x180058860]
test r8, r8
je 0x1800444d8
mov r9d, dword [r8 + 0x3f58]
movsx rdx, word [r8 + 0x60f0]
lea rcx, [r8 + 0x60f4]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x1800444cd
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 0x180044013
mov r13, qword [rsp + 0x60]
cmp qword [r13 + 0xb0], 0
je 0x180044684
mov esi, dword [rdi + 0x5c]
mov eax, dword [rdi + 0x58]
cmp eax, esi
je 0x180044512
mov r14d, esi
cmovl r14d, eax
cmovge esi, eax
xor r9d, r9d
jmp 0x18004451b
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]
test r8, r8
je 0x18004454a
cmp rdx, r8
jae 0x18004456d
movzx eax, word [rdx]
test ax, ax
je 0x18004456d
add rdx, 2
cmp ax, r12w
jae 0x180044560
inc ecx
jmp 0x180044540
cmp ax, r9w
sbb eax, eax
add eax, 3
add ecx, eax
jmp 0x180044540
lea eax, [rcx + 1]
movsxd rbx, eax
mov rcx, rbx
call fcn.180015020
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 0x1800445e1
test r11, r11
je 0x1800445aa
cmp r10, r11
jae 0x1800445e1
movzx eax, word [r10]
test ax, ax
je 0x1800445e1
mov r8d, eax
add r10, 2
cmp eax, r12d
jae 0x1800445c7
mov byte [r9], r8b
inc r9
jmp 0x1800445dc
mov edx, esi
sub edx, r9d
dec edx
mov rcx, r9
call fcn.180012220
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x1800445a0
mov byte [r9], 0
mov r8, qword [0x180058860]
mov rax, qword [r8 + 0xb0]
test rax, rax
je 0x18004460b
mov rdx, r15
mov rcx, qword [r8 + 0xb8]
call rax
mov r8, qword [0x180058860]
test r15, r15
je 0x180044676
test r8, r8
je 0x180044676
mov r9d, dword [r8 + 0x3f58]
movsx rdx, word [r8 + 0x60f0]
lea rcx, [rdx*8 + 0x60f4]
add rcx, r8
cmp dword [rcx], r9d
je 0x18004466b
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 0x180044013
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x1800446a7
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 eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x180044013
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.1800413b0
mov byte [rdi + 0x6a], 0
jmp 0x180044013
mov r8d, eax
xor r8d, 1
add r8d, 0x20000a
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180041450
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 0x18004400e
mov r13, qword [rsp + 0x60]
mov edx, dword [rsp + 0x54]
movzx r8d, byte [rsp + 0x50]
cmp byte [r13 + 0x5c], 0
je 0x180044735
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 0x18004401d
mov byte [rbp - 0x80], 1
jmp 0x18004401d
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 0x180044a25
mov eax, dword [rsp + 0x70]
test al, al
jne 0x1800449e4
test cl, cl
je 0x180044946
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 0x180044795
inc rax
test ecx, ecx
jne 0x180044782
test edx, edx
je 0x180044946
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 0x1800448a2
movsxd rsi, r12d
add rsi, r9
mov rbx, r9
xor eax, eax
mov r14d, eax
nop word [rax + rax]
test rsi, rsi
je 0x1800447ea
cmp rbx, rsi
jae 0x180044809
cmp byte [rbx], 0
je 0x180044809
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.180012070
movsxd rcx, eax
add rbx, rcx
inc r14d
jmp 0x1800447e0
lea r15d, [r14 + 1]
test r15d, r15d
jle 0x18004483a
mov ebx, r15d
cmp r15d, 8
mov eax, 8
cmovl ebx, eax
test ebx, ebx
jle 0x18004483a
movsxd rcx, ebx
add rcx, rcx
call fcn.180015020
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 0x180044894
nop
test r14, r14
je 0x18004486a
cmp rbx, r14
jae 0x180044894
cmp byte [rbx], 0
je 0x180044894
mov r8, r14
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.180012070
movsxd rcx, eax
add rbx, rcx
movzx eax, word [rbp - 0x70]
mov word [rsi], ax
add rsi, 2
cmp rsi, r12
jb 0x180044860
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.180042960
nop
test r13, r13
je 0x18004493c
mov r8, qword [0x180058860]
test r8, r8
je 0x180044932
mov r9d, dword [r8 + 0x3f58]
movsx r10, word [r8 + 0x60f0]
lea rdx, [r8 + 0x60f4]
lea rdx, [rdx + r10*8]
cmp dword [rdx], r9d
je 0x180044927
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 0x18004497f
test ecx, ecx
je 0x18004496a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18004496f
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rdi + 0x28]
call fcn.180028a00
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 0x1800449da
nop dword [rax]
movzx eax, word [r10]
test ax, ax
je 0x1800449da
mov r8d, eax
add r10, 2
cmp eax, 0x80
jae 0x1800449bf
mov byte [r9], r8b
inc r9
jmp 0x1800449d5
mov edx, r11d
sub edx, r9d
dec edx
mov rcx, r9
call fcn.180012220
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x1800449a0
mov byte [r9], 0
mov eax, dword [rsp + 0x70]
xor ebx, ebx
mov r10, qword [rbp - 0x78]
cmp byte [rsp + 0x58], 0
jne 0x180044a29
test al, al
jne 0x180044a29
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 0x180044a13
inc rax
test ecx, ecx
jne 0x180044a00
test edx, edx
je 0x180044a29
mov r14, r9
mov r12d, dword [rdi + 0x10]
mov byte [rsp + 0x53], 1
jmp 0x180044a29
mov r10, qword [rbp - 0x78]
cmp dword [r13 + 0x5d90], r15d
jne 0x180044ae0
cmp dword [r13 + 0x4064], r15d
je 0x180044ad9
mov rax, qword [0x180058860]
mov ecx, dword [rax + 0x49b8]
test cl, 0x20
je 0x180044a5d
shr ecx, 6
test cl, 1
jmp 0x180044a77
mov edx, dword [rax + 0x49b0]
mov ecx, dword [rax + 0x4094]
cmp ecx, edx
jne 0x180044ad9
test ecx, ecx
je 0x180044ad9
cmp dword [rax + 0x4064], edx
je 0x180044ad9
cmp byte [rax + 0x4099], 0
jne 0x180044a94
cmp dword [rax + 0x4064], 0
jne 0x180044ad9
cmp byte [rax + 0x4074], 0
je 0x180044ad9
cmp byte [rsp + 0x70], 0
jne 0x180044ad9
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 0x180044ac3
inc rax
test ecx, ecx
jne 0x180044ab0
test edx, edx
je 0x180044ad9
mov r14, r9
mov r12d, dword [r13 + 0x5d98]
dec r12d
mov byte [rsp + 0x53], 1
mov dword [r13 + 0x5d90], ebx
test r14, r14
je 0x180044b1c
lea eax, [r12 + 1]
cmp eax, 0x20
mov ecx, 0x20
cmovl ecx, eax
movsxd rbx, ecx
cmp rbx, 1
jb 0x180044b1c
mov r12, qword [rbp - 0x78]
jbe 0x180044b14
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 0x180044b20
mov r12, qword [rbp - 0x78]
cmp dword [r13 + 0x4064], r15d
jne 0x180044b45
cmp byte [rbp - 0x80], 0
je 0x180044b3a
xor edx, edx
xor ecx, ecx
call fcn.180014bb0
jmp 0x180044b45
mov dword [r13 + 0x6228], 1
xor r8d, r8d
mov edx, r15d
lea rcx, [rbp - 0x10]
call fcn.180013880
movss xmm15, dword [0x180050cf4]
movaps xmm1, xmm15
mov ecx, 7
call fcn.180012740
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.180013710
movaps xmm14, xmm9
addss xmm14, xmm11
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 0x180044bde
mov r12, qword [rdi + 0x30]
movzx eax, byte [rsp + 0x50]
mov ecx, dword [rsp + 0x54]
test al, al
jne 0x180044d1f
test cl, cl
jne 0x180044d1f
cmp dword [r13 + 0x4064], r15d
jne 0x180044c06
movsxd rsi, dword [rdi + 0x10]
jmp 0x180044c1a
mov rsi, 0xffffffffffffffff
nop dword [rax]
inc rsi
cmp byte [r12 + rsi], 0
jne 0x180044c10
add rsi, r12
mov rax, rsi
sub rax, r12
cmp rax, 0x200000
jge 0x180045438
movaps xmm1, xmm15
xor ecx, ecx
call fcn.180012740
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 0x180045438
test rsi, rsi
jne 0x180044c81
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [r12 + rcx], 0
jne 0x180044c74
add rcx, r12
cmp r12, rcx
je 0x180045438
test r8, r8
jne 0x180044c97
mov rax, qword [rdx + 0x38]
mov r8, qword [rax + 8]
ucomiss xmm2, xmm10
jp 0x180044ca8
jne 0x180044ca8
mov rax, qword [rdx + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm0, xmmword [rdx + 0x88]
movups xmmword [rbp - 0x60], xmm0
comiss xmm0, xmm11
jae 0x180044cbf
movss dword [rbp - 0x60], xmm11
movss xmm0, dword [rbp - 0x5c]
comiss xmm0, xmm12
jae 0x180044cd0
movss dword [rbp - 0x5c], xmm12
comiss xmm14, dword [rbp - 0x58]
ja 0x180044cdd
movss dword [rbp - 0x58], xmm14
comiss xmm13, dword [rbp - 0x54]
ja 0x180044cea
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.180037a40
jmp 0x180045438
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 0x180044d5c
movsxd rax, dword [rdi + 0x54]
lea r10, [r14 + rax*2]
lea edx, [r8 + 1]
lea r9d, [r8 - 1]
test cl, cl
je 0x180044d79
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 0x180044dcf
nop dword [rax]
cmp r8w, 0xa
jne 0x180044dc1
inc ecx
cmp r9d, 0xffffffff
jne 0x180044dad
cmp rax, r10
jb 0x180044dad
mov r9d, ecx
dec edx
test edx, edx
jle 0x180044dcf
cmp r15d, 0xffffffff
jne 0x180044dc1
cmp rax, rbx
jb 0x180044dc1
mov r15d, ecx
dec edx
test edx, edx
jle 0x180044dcf
add rax, 2
movzx r8d, word [rax]
test r8w, r8w
jne 0x180044d90
inc ecx
mov r11d, ecx
cmp r9d, 0xffffffff
cmovne r11d, r9d
cmp r15d, 0xffffffff
cmove r15d, ecx
mov rdx, r10
cmp r10, r14
jbe 0x180044e02
nop dword [rax]
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x180044e02
mov rdx, rax
cmp rax, r14
ja 0x180044df0
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 0x180044e64
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x180044e3b
maxss xmm1, xmm11
movaps xmm11, xmm5
jmp 0x180044e5f
cmp ecx, 0xd
je 0x180044e5f
cmp ecx, dword [r8]
jge 0x180044e50
mov rax, qword [r8 + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x180044e56
movss xmm0, dword [r8 + 0x10]
mulss xmm0, xmm2
addss xmm11, xmm0
cmp rdx, r10
jb 0x180044e24
maxss xmm11, xmm1
movd xmm12, r11d
cvtdq2ps xmm12, xmm12
mulss xmm12, dword [r13 + 0x3d38]
test r15d, r15d
js 0x180044f15
mov rdx, rbx
cmp rbx, r14
jbe 0x180044ea2
nop dword [rax]
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x180044ea2
mov rdx, rax
cmp rax, r14
ja 0x180044e90
movss xmm3, dword [r13 + 0x3d38]
divss xmm3, dword [r8 + 0x14]
movaps xmm2, xmm5
movaps xmm6, xmm5
cmp rdx, rbx
jae 0x180044f00
nop dword [rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x180044ed5
maxss xmm2, xmm6
movaps xmm6, xmm5
jmp 0x180044efb
cmp ecx, 0xd
je 0x180044efb
cmp ecx, dword [r8]
jge 0x180044eea
mov rax, qword [r8 + 8]
movss xmm1, dword [rax + rcx*4]
jmp 0x180044ef0
movss xmm1, dword [r8 + 0x10]
movaps xmm0, xmm3
mulss xmm0, xmm1
addss xmm6, xmm0
cmp rdx, rbx
jb 0x180044ec0
movd xmm7, r15d
cvtdq2ps xmm7, xmm7
mulss xmm7, dword [r13 + 0x3d38]
maxss xmm6, xmm2
movzx r15d, byte [rsp + 0x50]
test r15b, r15b
je 0x180044f7f
cmp byte [rdi + 0xe84], 0
je 0x180044f7f
movaps xmm0, xmm9
mulss xmm0, dword [0x180050ca0]
subss xmm9, dword [r13 + 0x3924]
movss xmm2, dword [rdi + 0x50]
movaps xmm1, xmm11
comiss xmm2, xmm11
jbe 0x180044f5a
subss xmm1, xmm0
movaps xmm0, xmm5
maxss xmm0, xmm1
jmp 0x180044f68
subss xmm1, xmm9
comiss xmm1, xmm2
jb 0x180044f78
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 0x1800452c6
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 0x180044fb8
movaps xmm1, xmm15
jmp 0x180044fc0
movss xmm1, dword [0x180050cc0]
mov ecx, 0x2f
call fcn.180012740
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 0x180045046
movss xmm7, dword [0x180050d08]
movss xmm1, dword [rsp + 0x74]
movss xmm3, dword [r13 + 0x3d38]
movaps xmm0, xmm13
addss xmm0, xmm3
comiss xmm8, xmm0
ja 0x180045046
comiss xmm1, xmm8
jbe 0x180045173
cmp rbx, r14
jae 0x1800452a6
nop dword [rax]
movzx eax, word [rbx]
add rbx, 2
cmp ax, 0xa
je 0x1800452a6
cmp rbx, r14
jb 0x180045030
movzx r15d, byte [rsp + 0x50]
mov rax, rsi
sub rax, r12
cmp rax, 0x200000
jge 0x1800452d1
movaps xmm1, xmm15
xor ecx, ecx
call fcn.180012740
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 0x1800452d8
test rsi, rsi
jne 0x1800450cd
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [r12 + rcx], 0
jne 0x1800450c0
add rcx, r12
cmp r12, rcx
je 0x1800452d8
test r8, r8
jne 0x1800450e3
mov rax, qword [rdx + 0x38]
mov r8, qword [rax + 8]
ucomiss xmm2, xmm6
jp 0x1800450f3
jne 0x1800450f3
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 0x180045110
movss dword [rbp - 0x50], xmm8
movss xmm0, dword [rbp - 0x4c]
movss xmm1, dword [rsp + 0x74]
comiss xmm0, xmm1
jae 0x180045125
movss dword [rbp - 0x4c], xmm1
comiss xmm14, dword [rbp - 0x48]
ja 0x180045132
movss dword [rbp - 0x48], xmm14
comiss xmm13, dword [rbp - 0x44]
ja 0x18004513f
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.180037a40
jmp 0x1800452de
mov rdx, qword [r13 + 0x3d30]
divss xmm3, dword [rdx + 0x14]
movaps xmm4, xmm5
movaps xmm2, xmm5
cmp rbx, r14
jae 0x1800451d1
nop word [rax + rax]
movzx ecx, word [rbx]
add rbx, 2
cmp ecx, 0xa
je 0x1800451c7
cmp ecx, 0xd
je 0x1800451c0
cmp ecx, dword [rdx]
jge 0x1800451b0
mov rax, qword [rdx + 8]
movss xmm1, dword [rax + rcx*4]
jmp 0x1800451b5
movss xmm1, dword [rdx + 0x10]
movaps xmm0, xmm3
mulss xmm0, xmm1
addss xmm2, xmm0
cmp rbx, r14
jb 0x180045190
jmp 0x1800451d1
movaps xmm4, xmm5
maxss xmm4, xmm2
movaps xmm2, xmm5
maxss xmm2, xmm4
comiss xmm5, xmm2
jb 0x180045205
cmp dword [rdx], 0x20
jle 0x1800451ed
mov rax, qword [rdx + 8]
movss xmm0, dword [rax + 0x80]
jmp 0x1800451f2
movss xmm0, dword [rdx + 0x10]
mulss xmm0, dword [0x180050cbc]
cvttss2si eax, xmm0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
addss xmm2, xmm6
movaps xmm0, xmm8
addss xmm0, xmm7
addss xmm6, xmm5
movss xmm1, dword [0x180050d90]
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 0x1800452a0
comiss xmm13, xmm1
jbe 0x1800452a0
comiss xmm2, xmm3
jbe 0x1800452a0
comiss xmm14, xmm6
jbe 0x1800452a0
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.180033a20
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 0x180045003
jmp 0x180045046
movss xmm9, dword [rbp - 0x18]
jmp 0x18004504c
xorps xmm6, xmm6
mov rbx, qword [rbp - 0x50]
movss xmm8, dword [rbp - 0x68]
test r15b, r15b
je 0x18004542d
movss xmm0, dword [r13 + 0x18]
addss xmm0, dword [rdi + 0xe80]
movss dword [rdi + 0xe80], xmm0
cmp byte [r13 + 0x5b], 0
je 0x180045327
comiss xmm6, xmm0
jae 0x180045327
movss xmm1, dword [0x180050cfc]
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
movss xmm1, dword [0x180050ce0]
comiss xmm1, xmm0
jae 0x180045327
xor cl, cl
jmp 0x180045329
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 [0x180050cbc]
movss dword [rbp - 0xc], xmm0
movaps xmm2, xmm6
addss xmm2, xmm15
movss dword [rbp - 8], xmm2
movaps xmm1, xmm7
subss xmm1, dword [0x180050d04]
movss dword [rbp - 4], xmm1
movss xmm12, dword [rsp + 0x74]
test cl, cl
je 0x1800453ef
comiss xmm1, xmm12
jbe 0x1800453ef
comiss xmm13, xmm0
jbe 0x1800453ef
comiss xmm2, xmm8
jbe 0x1800453ef
comiss xmm14, xmm6
jbe 0x1800453ef
movss dword [rbp - 0x60], xmm6
movss dword [rbp - 0x5c], xmm1
movaps xmm1, xmm15
xor ecx, ecx
call fcn.180012740
mov r9d, eax
movss dword [rsp + 0x20], xmm15
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x10]
mov rcx, qword [rbx + 0x2a8]
call fcn.1800337b0
cmp byte [rsp + 0x70], 0
jne 0x180045438
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 0x180045438
xorps xmm10, xmm10
movss xmm12, dword [rsp + 0x74]
cmp byte [r13 + 0x6008], 0
je 0x1800455b2
mov rdi, qword [0x180058860]
mov r14, qword [rdi + 0x4000]
xor eax, eax
mov qword [rdi + 0x6030], rax
mov qword [rdi + 0x6028], rax
test rsi, rsi
jne 0x18004548f
mov rsi, r12
cmp r12, 0xffffffffffffffff
jae 0x18004548f
movzx ecx, byte [rsi]
test cl, cl
je 0x18004548f
lea rax, [rsi + 1]
cmp cl, 0x23
jne 0x180045486
cmp byte [rax], cl
je 0x18004548f
mov rsi, rax
cmp rax, 0xffffffffffffffff
jb 0x180045472
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 0x1800454c9
lea rcx, [0x180050264]
call fcn.180026490
mov byte [rdi + 0x603c], 1
lea r8, [0x180050c29]
lea rdx, [0x180050c28]
lea rcx, [rbp - 0x18]
call fcn.1800264d0
mov eax, dword [r14 + 0x198]
mov ecx, dword [rdi + 0x6040]
cmp ecx, eax
jle 0x1800454f9
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 0x180045537
cmp rbx, rsi
je 0x180045596
mov r9d, ebx
sub r9d, r12d
cmp byte [rdi + 0x603c], 0
lea edx, [r14*4]
jne 0x180045551
mov edx, r13d
mov qword [rsp + 0x20], r12
lea r8, [0x18004f367]
lea rcx, str._s_.s
call fcn.180026490
mov byte [rdi + 0x603c], 0
cmp byte [rbx], 0xa
jne 0x180045588
lea rcx, [0x180050264]
call fcn.180026490
mov byte [rdi + 0x603c], r13b
cmp rbx, rsi
je 0x180045596
lea r12, [rbx + 1]
jmp 0x180045510
lea r8, [0x180050c25]
lea rdx, [0x180050c24]
lea rcx, [rbp - 0x18]
call fcn.1800264d0
mov r13, qword [rsp + 0x60]
movss xmm0, dword [rbp - 0x38]
comiss xmm0, xmm10
jbe 0x1800455ef
movss xmm0, dword [rbp - 0x40]
addss xmm0, dword [r13 + 0x393c]
addss xmm12, dword [r13 + 0x3928]
mov r9b, 1
xor r8d, r8d
lea rdx, str.sampleamount
unpcklps xmm0, xmm12
movq rcx, xmm0
call fcn.180012b20
movzx eax, byte [rsp + 0x53]
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.180047f80
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, 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 rbp
ret