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

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x98]
sub rsp, 0x190
mov rax, qword [0x1801c1080]
xor rax, rsp
mov qword [rbp - 0x18], rax
mov rax, qword [rbp + 0xc0]
mov qword [r11 + 0x10], rbx
mov rbx, r9
mov qword [r11 + 0x18], rsi
xor esi, esi
mov qword [r11 + 0x20], rdi
mov rdi, rcx
mov qword [r11 - 0x10], r12
mov qword [r11 - 0x18], r13
mov qword [r11 - 0x20], r14
mov qword [rcx + 0x1201c], rsi
mov qword [rcx + 0x12024], rsi
mov r14d, dword [rcx + 0xad0]
mov qword [r11 - 0x28], r15
mov qword [rsp + 0x68], rax
mov rax, qword [rcx + 0x348]
movaps xmmword [r11 - 0xa8], xmm13
mov qword [rbp - 0x28], rbx
mov dword [rsp + 0x64], r14d
lea r8, [rax + 0xe8]
mov r11, qword [r8 + 0x18]
mov rdx, r8
cmp r11, 0x10
jb 0x180072ca4
mov rdx, qword [r8]
mov r10, qword [r8 + 0x10]
movzx ecx, word [0x18017cdb4]
cmp r10, 1
jne 0x180072cc6
cmp byte [rdx], cl
mov r9d, 0x2e
cmove r14d, r9d
mov dword [rsp + 0x64], r14d
mov rdx, qword [rax + 0x88]
mov r12d, 0x10
sub rdx, qword [rax + 0x80]
mov r9d, r12d
movabs rax, 0x4924924924924925
imul rdx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp edx, r12d
cmovl r9d, edx
cmp r11, r12
jb 0x180072d07
mov r8, qword [r8]
cmp r10, 1
jne 0x180072d18
cmp byte [r8], cl
jne 0x180072d18
movzx eax, r10b
jmp 0x180072d1a
xor al, al
movss xmm1, dword [rbx + 4]
test al, al
addss xmm1, dword [rdi + 0x12068]
movss xmm0, dword [rbx]
mov r15d, 5
movss dword [rdi + 0x1201c], xmm0
movss dword [rdi + 0x12024], xmm0
movzx ecx, al
movss dword [rdi + 0x12020], xmm1
movd xmm13, r14d
movaps xmmword [rsp + 0x160], xmm6
cvtdq2ps xmm13, xmm13
mov byte [rsp + 0x30], al
mov dword [rbp - 0x80], ecx
mov ecx, 0x14
cmove r15d, ecx
mov dword [rsp + 0x50], r15d
movaps xmmword [rsp + 0x150], xmm7
movaps xmmword [rsp + 0x140], xmm8
movaps xmm0, xmm13
movaps xmmword [rsp + 0x130], xmm9
addss xmm0, xmm1
xorps xmm1, xmm1
movups xmmword [rsp + 0x40], xmm1
movss dword [rdi + 0x12028], xmm0
cvttss2si eax, dword [rdi + 0x12068]
cvttss2si r13d, dword [rbx]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [rbx + 4]
cvttss2si r14d, xmm0
test r9d, r9d
je 0x180073232
movaps xmmword [rsp + 0x120], xmm10
lea r12d, [rcx - 0x13]
movaps xmmword [rsp + 0x110], xmm11
lea rbx, [rdi + 0x2dd0]
movss xmm11, dword [0x1801832ac]
mov r15, rsi
mov eax, r9d
xorps xmm10, xmm10
movaps xmmword [rsp + 0x100], xmm12
movss xmm12, dword [0x1801834c0]
mov qword [rsp + 0x38], rax
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rdi + 0x348]
mov rcx, qword [rax + 0xc8]
mov eax, dword [rcx + r15]
sub eax, 5
cmp eax, 1
ja 0x180072ea3
movss xmm3, dword [rbx + 0x1c]
movss xmm2, dword [rbx + 0x18]
movss dword [rbx - 0xc], xmm3
movaps xmm1, xmm2
movss dword [rbx - 0x10], xmm2
mov qword [rbx - 0x18], rsi
movss xmm0, dword [rbx + 0x24]
addss xmm1, dword [rbx + 0x20]
movss dword [rbx - 8], xmm2
addss xmm0, xmm10
mov dword [rbx - 4], esi
movss dword [rbx], xmm1
maxss xmm3, xmm0
movss dword [rbx + 4], xmm3
mov rax, qword [rdi + 0x348]
mov rcx, qword [rax + 0xc8]
cmp dword [r15 + rcx], 5
jne 0x180072ea3
mov rcx, qword [rdi + 8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x13c
call qword [sym.imp.USER32.dll_SetTimer]
movss xmm1, dword [rbx + 0x18]
movss xmm3, dword [rbx + 0x1c]
movaps xmm2, xmm1
movss dword [rbx - 0xc], xmm3
movss dword [rbx - 0x10], xmm1
mov qword [rbx - 0x18], rsi
movss xmm0, dword [rbx + 0x24]
addss xmm2, dword [rbx + 0x20]
addss xmm0, xmm10
movss dword [rbx - 8], xmm1
mov dword [rbx - 4], esi
movss dword [rbx], xmm2
maxss xmm3, xmm0
movss dword [rbx + 4], xmm3
movss xmm1, dword [rbx + 0x28]
comiss xmm1, xmm10
movaps xmm0, xmm1
ja 0x180072ef4
xorps xmm0, xmm12
comiss xmm11, xmm0
jbe 0x180072f15
movss xmm0, dword [rbx + 0x2c]
comiss xmm0, xmm10
ja 0x180072f09
xorps xmm0, xmm12
comiss xmm11, xmm0
jbe 0x180072f15
lea r9, [rbx + 8]
jmp 0x180072f3d
movss xmm0, dword [rbx + 0x24]
lea r9, [rbx + 8]
addss xmm0, xmm10
movss dword [r9], xmm2
addss xmm2, xmm1
mov dword [rbx + 0xc], esi
maxss xmm3, xmm0
movss dword [rbx + 0x10], xmm2
movss dword [rbx + 0x14], xmm3
mov r8d, r14d
lea rcx, [rbx - 0x18]
mov edx, r13d
call fcn.180069b30
movups xmm4, xmmword [rbx - 0x18]
lea rdx, [rbx - 8]
lea rcx, [rbp - 0x38]
movups xmmword [rbp - 0x38], xmm4
call fcn.1800697d0
mov rdx, r9
lea rcx, [rbp - 0x38]
call fcn.1800697d0
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [rbx + 0x30], xmm0
movss xmm0, dword [rdi + 0x12024]
subss xmm0, dword [rdi + 0x1201c]
comiss xmm11, xmm0
jae 0x180072fd4
movss xmm0, dword [rdi + 0x12028]
subss xmm0, dword [rdi + 0x12020]
comiss xmm11, xmm0
jae 0x180072fd4
movups xmm0, xmmword [rbx - 0x18]
lea rdx, [rbx - 8]
lea rcx, [rbp - 0x7c]
movups xmmword [rbp - 0x7c], xmm0
call fcn.1800697d0
mov rdx, r9
lea rcx, [rbp - 0x7c]
call fcn.1800697d0
lea rdx, [rbp - 0x7c]
lea rcx, [rdi + 0x1201c]
call fcn.1800697d0
jmp 0x180073004
movups xmm0, xmmword [rbx - 0x18]
lea rdx, [rbx - 8]
lea rcx, [rsp + 0x70]
movups xmmword [rsp + 0x70], xmm0
call fcn.1800697d0
mov rdx, r9
lea rcx, [rsp + 0x70]
call fcn.1800697d0
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rdi + 0x1201c], xmm0
mov rax, qword [rdi + 0x358]
mov ecx, dword [rax + 4]
cmp ecx, 1
jne 0x1800730ed
xor edx, edx
mov eax, r12d
div dword [rsp + 0x50]
test edx, edx
je 0x1800730c9
movss xmm9, dword [rbx - 0x18]
lea rdx, [rbx - 8]
movss xmm8, dword [rbx - 0x14]
lea rcx, [rbp - 0x5c]
movss xmm7, dword [rbx - 0x10]
movss xmm6, dword [rbx - 0xc]
movss dword [rbp - 0x5c], xmm9
movss dword [rbp - 0x58], xmm8
movss dword [rbp - 0x54], xmm7
movss dword [rbp - 0x50], xmm6
call fcn.1800697d0
mov rdx, r9
lea rcx, [rbp - 0x5c]
call fcn.1800697d0
lea rdx, [rbx - 8]
movss dword [rbp - 0x6c], xmm9
lea rcx, [rbp - 0x6c]
movss dword [rbp - 0x68], xmm8
movss dword [rbp - 0x64], xmm7
movss dword [rbp - 0x60], xmm6
call fcn.1800697d0
mov rdx, r9
lea rcx, [rbp - 0x6c]
call fcn.1800697d0
lea rdx, [rbp - 0x6c]
lea rcx, [rsp + 0x40]
call fcn.1800697d0
cvttss2si ecx, dword [rbp - 0x54]
mov rax, qword [rsp + 0x68]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
addss xmm0, dword [rax]
cvttss2si r13d, xmm0
jmp 0x1800731ee
mov eax, dword [rsp + 0x64]
xorps xmm0, xmm0
add eax, dword [rbp - 0x80]
add r14d, eax
mov rax, qword [rbp - 0x28]
movups xmmword [rsp + 0x40], xmm0
movss xmm0, dword [rax]
cvttss2si r13d, xmm0
jmp 0x1800731ee
test ecx, ecx
jne 0x1800731ee
xor edx, edx
mov eax, r12d
div dword [rsp + 0x50]
test edx, edx
je 0x1800731ac
movss xmm9, dword [rbx - 0x18]
lea rdx, [rbx - 8]
movss xmm8, dword [rbx - 0x14]
lea rcx, [rbp - 0x4c]
movss xmm7, dword [rbx - 0x10]
movss xmm6, dword [rbx - 0xc]
movss dword [rbp - 0x4c], xmm9
movss dword [rbp - 0x48], xmm8
movss dword [rbp - 0x44], xmm7
movss dword [rbp - 0x40], xmm6
call fcn.1800697d0
mov rdx, r9
lea rcx, [rbp - 0x4c]
call fcn.1800697d0
cvttss2si ecx, dword [rbp - 0x40]
mov rax, qword [rsp + 0x68]
lea rdx, [rbx - 8]
movss dword [rsp + 0x54], xmm9
movss dword [rsp + 0x58], xmm8
movss dword [rsp + 0x5c], xmm7
movss dword [rsp + 0x60], xmm6
movd xmm0, ecx
lea rcx, [rsp + 0x54]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [rax + 4]
cvttss2si r14d, xmm0
call fcn.1800697d0
mov rdx, r9
lea rcx, [rsp + 0x54]
call fcn.1800697d0
lea rdx, [rsp + 0x54]
lea rcx, [rsp + 0x40]
call fcn.1800697d0
jmp 0x1800731ee
movss xmm1, dword [rsp + 0x48]
subss xmm1, dword [rsp + 0x40]
cvttss2si eax, dword [rdi + 0x12068]
movd xmm0, r13d
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
movd xmm0, eax
mov rax, qword [rbp - 0x28]
cvtdq2ps xmm0, xmm0
cvttss2si r13d, xmm1
addss xmm0, dword [rax + 4]
xorps xmm1, xmm1
movups xmmword [rsp + 0x40], xmm1
cvttss2si r14d, xmm0
add rbx, 0x8a8
inc r12d
add r15, 4
sub qword [rsp + 0x38], 1
jne 0x180072e20
mov rbx, qword [rbp - 0x28]
mov r12d, 0x10
mov r15d, dword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x100]
movaps xmm11, xmmword [rsp + 0x110]
movaps xmm10, xmmword [rsp + 0x120]
mov rcx, qword [rdi + 0x348]
mov r13, qword [rsp + 0x180]
mov rax, qword [rcx + 0x88]
cmp qword [rcx + 0x80], rax
jne 0x18007326d
cmp dword [rdi + 0x4b0], esi
je 0x18007326d
movaps xmm0, xmm13
addss xmm0, dword [rdi + 0x12020]
movss dword [rdi + 0x12028], xmm0
movss xmm0, dword [rdi + 0x12028]
addss xmm13, dword [rdi + 0x12020]
cvttss2si ecx, dword [rbx]
mov rax, qword [rbp + 0xd0]
movss xmm1, dword [rax + 4]
maxss xmm0, xmm13
movaps xmm13, xmmword [rsp + 0xf0]
cvtps2pd xmm1, xmm1
cvtps2pd xmm2, xmm0
mulsd xmm1, qword [0x180183318]
addsd xmm2, xmm1
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
cvttsd2si eax, xmm2
movss dword [rdi + 0x1202c], xmm1
movss dword [rdi + 0x12034], xmm1
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x38], xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x12030], xmm0
movss dword [rdi + 0x12038], xmm0
xorps xmm0, xmm0
mov rcx, qword [rdi + 0x8a8]
movdqu xmmword [rbp - 0x28], xmm0
test rcx, rcx
je 0x180073326
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
call qword [rax + 0x110]
mov eax, dword [rsp + 0x3c]
lea rcx, [rbp - 0x28]
mov r9d, dword [rsp + 0x38]
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_SetRect]
mov rcx, qword [rdi + 0x8b0]
test rcx, rcx
je 0x18007335c
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
call qword [rax + 0x110]
mov eax, dword [rsp + 0x3c]
lea rcx, [rbp - 0x38]
mov r9d, dword [rsp + 0x38]
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_SetRect]
mov rcx, qword [rdi + 0x348]
mov r8, qword [rcx + 0x80]
mov rdx, qword [rcx + 0x88]
cmp r8, rdx
je 0x18007368b
mov rcx, qword [rdi + 0x358]
mov r9d, dword [rcx + 4]
cmp r9d, 1
jne 0x180073554
sub rdx, r8
movabs rax, 0x4924924924924925
imul rdx
mov ecx, r12d
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea eax, [rdx - 1]
cmp eax, 0x10
cmovl ecx, eax
mov eax, r15d
add ecx, 4
cmp rdx, rax
jbe 0x1800733d4
lea eax, [r15 - 1]
cmp eax, 0x10
cmovb r12d, eax
lea ecx, [r12 + 4]
mov r10, qword [rbp - 0x20]
mov r11d, dword [rbp - 0x28]
movsxd rax, ecx
imul r8, rax, 0x8a8
mov eax, dword [rdi + 0x8e0]
test eax, eax
jns 0x180073405
mov eax, dword [rbp - 0x30]
sub eax, dword [rbp - 0x38]
sub eax, r11d
add eax, r10d
cdq
sub eax, edx
sar eax, 1
test eax, eax
js 0x180073411
mov ecx, 0x1e
cmp eax, ecx
cmovg eax, ecx
mov esi, eax
movss xmm8, dword [r8 + rdi + 0xb18]
lea r9, [rdi + 0xb28]
movss xmm7, dword [r8 + rdi + 0xb1c]
lea rbx, [rdi + 0xb38]
movss xmm9, dword [r8 + rdi + 0xb20]
lea rcx, [rsp + 0x40]
movss xmm6, dword [r8 + rdi + 0xb24]
add r9, r8
mov rdx, r9
movss dword [rsp + 0x40], xmm8
movss dword [rsp + 0x44], xmm7
add rbx, r8
movss dword [rsp + 0x48], xmm9
movss dword [rsp + 0x4c], xmm6
call fcn.1800697d0
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.1800697d0
cmp byte [rsp + 0x30], 0
jne 0x1800734ba
mov eax, dword [rbp - 0x1c]
addss xmm6, xmm7
mov rcx, qword [rbp - 0x24]
sub eax, ecx
cdq
sub eax, edx
mulss xmm6, dword [0x1801832b8]
sar eax, 1
movd xmm0, eax
cvttss2si eax, dword [rsp + 0x48]
cvtdq2ps xmm0, xmm0
subss xmm6, xmm0
cvttss2si r8d, xmm6
jmp 0x18007352a
mov rdx, r9
movss dword [rsp + 0x54], xmm8
lea rcx, [rsp + 0x54]
movss dword [rsp + 0x58], xmm7
movss dword [rsp + 0x5c], xmm9
movss dword [rsp + 0x60], xmm6
call fcn.1800697d0
mov rdx, rbx
lea rcx, [rsp + 0x54]
call fcn.1800697d0
movss xmm1, dword [r8 + rdi + 0xb4c]
mulss xmm1, dword [0x1801832b8]
mov eax, dword [rbp - 0x1c]
mov rcx, qword [rbp - 0x24]
sub eax, ecx
addss xmm1, dword [rsp + 0x44]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvttss2si eax, dword [rsp + 0x5c]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
cvttss2si r8d, xmm1
movd xmm0, eax
mov rax, qword [rsp + 0x68]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [rax]
mov eax, r8d
sub eax, ecx
add eax, dword [rbp - 0x1c]
cvttss2si edx, xmm0
mov r9d, edx
sub r9d, r11d
add r9d, r10d
jmp 0x180073633
test r9d, r9d
jne 0x18007368b
mov r11, qword [rbp - 0x20]
sub rdx, r8
mov ebx, dword [rbp - 0x28]
movabs rax, 0x4924924924924925
imul rdx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rax, rdx
dec eax
cmp eax, 0x10
cmovl r12d, eax
mov eax, dword [rdi + 0x8e4]
lea ecx, [r12 + 4]
imul r14, rcx, 0x8a8
test eax, eax
jns 0x1800735b5
mov eax, dword [rbp - 0x30]
sub eax, dword [rbp - 0x38]
sub eax, ebx
add eax, r11d
cdq
sub eax, edx
sar eax, 1
test eax, eax
js 0x1800735c1
mov ecx, 0x1e
cmp eax, ecx
cmovg eax, ecx
mov esi, eax
mov r9, qword [rbp - 0x24]
mov rax, qword [rsp + 0x68]
mov ecx, dword [rbp - 0x2c]
sub ecx, dword [rbp - 0x34]
mov r8d, dword [rbp - 0x1c]
movss xmm1, dword [rax + 4]
sub r8d, r9d
addss xmm1, dword [r14 + rdi + 0xb24]
cmp r8d, ecx
mov eax, r8d
cmovle eax, ecx
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
mov eax, r8d
cdq
sub eax, edx
cvttss2si edx, dword [r14 + rdi + 0xb18]
sar eax, 1
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
cvttss2si r8d, xmm1
mov eax, r8d
sub eax, r9d
mov r9d, edx
add eax, dword [rbp - 0x1c]
sub r9d, ebx
add r9d, r11d
lea rcx, [rbp - 0x28]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_SetRect]
mov r10, qword [rbp - 0x34]
lea rcx, [rbp - 0x38]
mov eax, dword [rbp - 0x2c]
sub eax, r10d
cdq
sub eax, edx
sar eax, 1
mov r9d, eax
mov eax, dword [rbp - 0x1c]
add eax, dword [rbp - 0x24]
cdq
sub eax, edx
mov edx, dword [rbp - 0x20]
sar eax, 1
add edx, esi
mov r8d, eax
sub r8d, r9d
mov r9d, edx
sub r9d, dword [rbp - 0x38]
mov eax, r8d
add r9d, dword [rbp - 0x30]
sub eax, r10d
add eax, dword [rbp - 0x2c]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_SetRect]
mov r10d, dword [rbp - 0x28]
lea rcx, [rdi + 0x1204c]
mov r11, qword [rbp - 0x24]
lea rdx, [rsp + 0x40]
mov r8d, dword [rbp - 0x38]
mov r9, qword [rbp - 0x34]
movd xmm0, r10d
cvtdq2ps xmm0, xmm0
movd xmm1, r11d
movss dword [rcx], xmm0
movd xmm0, dword [rbp - 0x20]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
movss dword [rcx + 4], xmm1
movd xmm1, dword [rbp - 0x1c]
cvtdq2ps xmm1, xmm1
movss dword [rcx + 8], xmm0
movss dword [rcx + 0xc], xmm1
movd xmm1, r9d
cvtdq2ps xmm1, xmm1
movd xmm0, r8d
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x44], xmm1
movd xmm1, dword [rbp - 0x2c]
movss dword [rsp + 0x40], xmm0
movd xmm0, dword [rbp - 0x30]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x4c], xmm1
movss dword [rsp + 0x48], xmm0
call fcn.1800697d0
mov rcx, qword [rdi + 0x8a8]
movaps xmm9, xmmword [rsp + 0x130]
movaps xmm8, xmmword [rsp + 0x140]
movaps xmm7, xmmword [rsp + 0x150]
movaps xmm6, xmmword [rsp + 0x160]
mov r15, qword [rsp + 0x170]
mov r14, qword [rsp + 0x178]
mov r12, qword [rsp + 0x188]
mov rsi, qword [rsp + 0x1b0]
mov rbx, qword [rsp + 0x1a8]
test rcx, rcx
je 0x18007378d
mov dword [rsp + 0x38], r10d
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x3c], r11d
mov rax, qword [rcx]
call qword [rax + 0xf8]
mov r9, qword [rbp - 0x34]
mov r8d, dword [rbp - 0x38]
mov rcx, qword [rdi + 0x8b0]
mov rdi, qword [rsp + 0x1b8]
test rcx, rcx
je 0x1800737b9
mov dword [rsp + 0x38], r8d
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x3c], r9d
mov rax, qword [rcx]
call qword [rax + 0xf8]
xor eax, eax
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.1801027e0
add rsp, 0x190
pop rbp
ret