Function at 0x18004b700
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xf0
movaps xmmword [rax - 0x38], xmm6
lea esi, [r9 + 0x297]
movaps xmmword [rax - 0x48], xmm7
mov ebx, r9d
movaps xmmword [rax - 0x58], xmm8
mov r15, r8
movaps xmmword [rax - 0x68], xmm9
mov r14, rdx
movaps xmmword [rax - 0x78], xmm10
mov rbp, rcx
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rsp + 0x70], xmm13
mov dword [rsp + 0x50], esi
cmp r9d, esi
jae 0x18004bd45
mov r8d, dword [rsp + 0x138]
lea r10, [0x180000000]
mov r9, qword [rsp + 0x60]
xorps xmm11, xmm11
movsd xmm12, qword [0x180071df0]
movsd xmm13, qword [0x180071da0]
movsd xmm7, qword [rsp + 0x60]
movsd xmm8, qword [rsp + 0x60]
movsd xmm9, qword [rsp + 0x60]
movsd xmm6, qword [rsp + 0x60]
movsd xmm10, qword [rsp + 0x60]
mov dword [rsp + 0x138], r8d
mov ecx, dword [rsp + 0x138]
mov r12d, dword [rsp + 0x138]
mov eax, dword [rsp + 0x138]
mov r13d, dword [rsp + 0x138]
mov edi, dword [rsp + 0x138]
mov dword [rsp + 0x40], ecx
mov qword [rsp + 0x58], r9
nop dword [rax]
cmp ebx, 0xbb
ja 0x18004ba60
je 0x18004b9cb
lea ecx, [rbx - 0x22]
cmp ecx, 0x79
ja case.0x18004ba86.244
movzx ecx, byte [r10 + rcx + 0x4bdb4]
mov edx, dword [r10 + rcx*4 + 0x4bd98]
add rdx, r10
jmp rdx
movaps xmm6, xmm11
jmp case.0x18004ba86.244
mov qword [rsp + 0x38], 0
xor r9d, r9d
mov qword [rsp + 0x30], r14
xor r8d, r8d
mov qword [rsp + 0x28], 0
mov edx, 0xad
xor ecx, ecx
mov qword [rsp + 0x20], 0
call fcn.180065760
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgetc]
mov esi, eax
cmp eax, 0x2d
jne 0x18004b884
mov rcx, rbp
mov dword [rsp + 0x40], 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgetc]
mov esi, eax
jmp 0x18004b890
mov dword [rsp + 0x40], 0
nop dword [rax]
mov ebx, 0xd7
nop word [rax + rax]
cmp ebx, 0xd7
je 0x18004b96e
cmp ebx, 0x45b5
je 0x18004b91f
cmp ebx, 0x8a93
je 0x18004b8d8
cmp ebx, 0xcf71
jne 0x18004b99e
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgetc]
mov esi, eax
jmp 0x18004b99e
mov eax, dword [r15]
lea r9, [rsp + 0x60]
mov r8d, reloc.SHELL32.dll_SHTestTokenMembership
mov dword [rsp + 0x60], eax
mov rdx, r14
mov rcx, r14
call fcn.180022ee0
test eax, eax
jne case.0x18004ba86.243
lea r9, [rsp + 0x48]
mov dword [rsp + 0x48], edi
lea r8d, [rax + 0x3d]
mov rdx, r14
mov rcx, r14
call fcn.180047d40
test eax, eax
jne case.0x18004ba86.243
jmp 0x18004b99e
cmp edi, dword [r15]
jne 0x18004b99e
mov esi, dword [rsp + 0x50]
lea r9, [rsp + 0x48]
mov dword [rsp + 0x48], 0
mov r8, r14
mov edx, 0xfa
xor ecx, ecx
mov ebx, 0x68
call fcn.180051b90
test eax, eax
je 0x18004b955
mov eax, dword [rsp + 0x40]
mov dword [r14 + 8], eax
mov r8d, dword [rsp + 0x138]
lea r10, [0x180000000]
mov r9, qword [rsp + 0x58]
jmp 0x18004bce7
movsxd r8, dword [r15]
xor edi, edi
xor edx, edx
test r8, r8
jle 0x18004b999
nop word [rax + rax]
mov rax, qword [str._s:_Unable_to_use_Video_Processor_QuadBlit__src_id_u__dst_id_u]
movsx ecx, byte [rdx + rax]
cmp ecx, esi
je 0x18004b999
inc edi
inc rdx
cmp rdx, r8
jl 0x18004b980
mov ebx, 0xd7
add ebx, 0x44de
cmp ebx, 0x11378
jbe 0x18004b8a0
jmp 0x18004b890
movaps xmm10, xmm11
movaps xmm9, xmm11
jmp case.0x18004ba86.244
movaps xmm7, xmm11
jmp case.0x18004ba86.244
cmp dword [r14 + 0x20], 0
jne 0x18004bcf6
mov rdx, qword [r14 + 0x28]
test rdx, rdx
je 0x18004ba0c
mov rcx, qword [rdx + 0x28]
mov r8, qword [rcx + 0x28]
test r8, r8
je 0x18004ba0c
movsd xmm6, qword [rdx + 8]
mov r13d, 1
movsd xmm0, qword [rdx]
subsd xmm6, qword [r8 + 8]
subsd xmm0, qword [r8]
divsd xmm6, xmm0
jmp 0x18004ba0f
xor r13d, r13d
mov rdx, qword [r14 + 0x30]
test rdx, rdx
je 0x18004ba50
mov rcx, qword [rdx + 0x30]
mov r8, qword [rcx + 0x30]
test r8, r8
je 0x18004ba50
movsd xmm7, qword [rdx + 8]
mov r12d, 1
subsd xmm7, qword [r8 + 8]
movsd xmm0, qword [rdx]
subsd xmm0, qword [r8]
mov r8d, dword [rsp + 0x138]
divsd xmm7, xmm0
jmp case.0x18004ba86.244
mov r8d, dword [rsp + 0x138]
xor r12d, r12d
jmp case.0x18004ba86.244
lea ecx, [rbx - 0xee]
cmp ecx, 0x99
ja case.0x18004ba86.244
movzx ecx, byte [r10 + rcx + 0x4be4c]
mov edx, dword [r10 + rcx*4 + 0x4be30]
add rdx, r10
jmp rdx
test r8d, r8d
je 0x18004bac0
test r12d, r12d
je 0x18004bac0
comisd xmm7, xmm8
jbe 0x18004bac0
cmp dword [rbp], 0
je 0x18004bd09
mov rcx, qword [r15 + 0x20]
movaps xmm0, xmm8
subsd xmm0, xmm7
movsd xmm1, qword [rcx]
addsd xmm1, xmm12
mulsd xmm1, xmm0
addsd xmm7, xmm1
test r13d, r13d
je case.0x18004ba86.244
test r8d, r8d
je case.0x18004ba86.244
mov rcx, qword [r14 + 0x30]
movaps xmm0, xmm6
mov rdx, qword [r14 + 0x28]
subsd xmm0, xmm8
movaps xmm9, xmm13
movsd xmm1, qword [rcx]
subsd xmm1, qword [rdx]
mulsd xmm1, xmm0
maxsd xmm9, xmm1
jmp case.0x18004ba86.244
mov rdx, qword [r14 + 0x28]
test rdx, rdx
je 0x18004bb75
mov rcx, qword [r14 + 0x30]
test rcx, rcx
je 0x18004bb75
movsd xmm8, qword [rcx + 8]
mov r8d, 1
movsd xmm0, qword [rcx]
mov dword [rsp + 0x138], r8d
subsd xmm8, qword [rdx + 8]
subsd xmm0, qword [rdx]
divsd xmm8, xmm0
test r13d, r13d
je case.0x18004ba86.244
comisd xmm8, xmm6
jbe case.0x18004ba86.244
cmp dword [rbp], 0
je 0x18004bd09
mov rcx, qword [r15 + 0x20]
movaps xmm0, xmm8
subsd xmm0, xmm6
movsd xmm1, qword [rcx]
addsd xmm1, xmm12
mulsd xmm1, xmm0
addsd xmm6, xmm1
jmp case.0x18004ba86.244
xor r8d, r8d
mov dword [rsp + 0x138], r8d
jmp case.0x18004ba86.244
test r14, r14
je 0x18004bd09
mov rdx, qword [r14 + 0x18]
imul rdx, qword [r15]
cmp rdx, qword [r14 + 0x10]
jae 0x18004bd02
mov rcx, qword [r14]
lea r9, [rcx + rdx*4]
mov qword [rsp + 0x58], r9
jmp case.0x18004ba86.244
test r12d, r12d
je 0x18004bbe0
test r8d, r8d
je 0x18004bbe0
mov rax, qword [r14 + 0x30]
movaps xmm0, xmm8
mov rcx, qword [r14 + 0x28]
subsd xmm0, xmm7
movaps xmm10, xmm13
movsd xmm1, qword [rax]
subsd xmm1, qword [rcx]
mulsd xmm1, xmm0
maxsd xmm10, xmm1
test r13d, r13d
je 0x18004bc5a
test r8d, r8d
je 0x18004bc5a
mov rax, qword [r14 + 0x30]
test r12d, r12d
je 0x18004bc46
mov rcx, qword [r14 + 0x28]
movaps xmm0, xmm9
movaps xmm4, xmm10
movaps xmm2, xmm10
mulsd xmm4, qword [rax]
addsd xmm2, xmm9
mulsd xmm0, qword [rcx]
movaps xmm3, xmm10
movaps xmm1, xmm10
mulsd xmm1, xmm9
addsd xmm4, xmm0
movaps xmm0, xmm9
divsd xmm4, xmm2
movsd qword [r14], xmm4
mulsd xmm3, qword [rax + 8]
mulsd xmm0, qword [rcx + 8]
addsd xmm3, xmm0
addsd xmm3, xmm1
divsd xmm3, xmm2
jmp 0x18004bcbf
movsd xmm4, qword [rax]
movaps xmm3, xmm9
movsd qword [r14], xmm4
addsd xmm3, qword [rax + 8]
jmp 0x18004bcbf
test r12d, r12d
je 0x18004bc7c
test r8d, r8d
je 0x18004bc7c
mov rax, qword [r14 + 0x28]
movaps xmm3, xmm10
movsd xmm4, qword [rax]
movsd qword [r14], xmm4
addsd xmm3, qword [rax + 8]
jmp 0x18004bcbf
test r13d, r13d
je 0x18004bc9c
mov rax, qword [r14 + 0x28]
movsd xmm4, qword [r14]
movaps xmm3, xmm4
subsd xmm3, qword [rax]
mulsd xmm3, xmm6
addsd xmm3, qword [rax + 8]
jmp 0x18004bcbf
test r12d, r12d
je 0x18004bd1c
mov rax, qword [r14 + 0x30]
movsd xmm4, qword [r14]
movsd xmm0, qword [rax]
movsd xmm3, qword [rax + 8]
subsd xmm0, xmm4
mulsd xmm0, xmm7
subsd xmm3, xmm0
movsd qword [r14 + 8], xmm3
mov rax, qword [r14 + 0x28]
test rax, rax
je 0x18004bcd8
movsd xmm0, qword [rax]
comisd xmm0, xmm4
ja 0x18004bd10
mov rax, qword [r14 + 0x30]
test rax, rax
je 0x18004bce7
comisd xmm4, xmmword [rax]
ja 0x18004bd10
xor eax, eax
add ebx, 0x33
cmp ebx, esi
jb 0x18004b7f0
jmp case.0x18004ba86.243
mov ecx, 0x1e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov eax, 7
jmp case.0x18004ba86.243
mov eax, 1
jmp case.0x18004ba86.243
mov ecx, 0x20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov ecx, 0x1f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
test r9, r9
je 0x18004bd41
test rbp, rbp
je 0x18004bd41
mov r8, qword [r14 + 0x18]
mov rdx, rbp
mov rcx, r9
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
jmp case.0x18004ba86.243
mov eax, dword [rsp + 0x138]
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
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]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret