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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x220], rbx
mov rax, qword [0x1804e0010]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov r12d, edx
mov dword [rsp + 0x40], edx
mov rdi, rcx
mov rax, qword [rcx]
call qword [rax + 0x68]
test rax, rax
je 0x180150b34
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x60]
test rax, rax
je 0x180150b34
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov r13, rax
test rax, rax
je 0x180150b34
mov rsi, qword [rax + 0x18]
mov qword [rsp + 0x50], rsi
test rsi, rsi
je 0x1801501f4
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx]
nop
test rsi, rsi
je 0x180150b26
xor r15d, r15d
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], r15
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r15w
mov r14d, 0x320
mov dword [rsp + 0x24], r14d
lea eax, [r12 - 0x578]
cmp eax, 9
ja case.0x180150249.1403
lea rdx, [0x180000000]
mov ecx, dword [rdx + rax*4 + 0x150b60]
add rcx, rdx
jmp rcx
mov rcx, qword [rdi + 0xa0]
test rcx, rcx
je 0x18015025d
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax + 0x30]
jmp case.0x180150249.1403
lea rdx, [rbp - 0x48]
mov rcx, r13
call fcn.180156ef0
nop
lea rcx, [rbp - 0x48]
call fcn.1802062e0
mov rcx, rsi
test eax, eax
mov rax, qword [rsi]
jle 0x18015033a
mov r8d, 0x9d00
lea rdx, [rbp - 0x28]
call qword [rax + 0x20]
mov rbx, rax
lea rax, [rsp + 0x68]
cmp rax, rbx
je 0x1801502d6
lea rcx, [rsp + 0x68]
call fcn.180005c50
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x180150319
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180150314
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180150314
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r15w
mov r14d, 0x9c4
mov dword [rsp + 0x24], r14d
jmp 0x1801503d3
mov r8d, 0x1282
lea rdx, [rbp - 8]
call qword [rax + 0x20]
mov rbx, rax
lea rax, [rsp + 0x68]
cmp rax, rbx
je 0x18015037f
lea rcx, [rsp + 0x68]
call fcn.180005c50
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov rdx, qword [rbp + 0x10]
cmp rdx, 8
jb 0x1801503c2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801503bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801503bd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
mov qword [rbp + 8], r15
mov qword [rbp + 0x10], 7
mov word [rbp - 8], r15w
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x180150416
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180150411
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180150411
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], r15w
xor bl, bl
jmp 0x180150728
mov r8d, r15d
cmp r12d, 0x57c
sete r8b
add r8d, 0x127f
mov rax, qword [rsi]
lea rdx, [rbp + 0x18]
mov rcx, rsi
call qword [rax + 0x20]
mov rbx, rax
lea rax, [rsp + 0x68]
cmp rax, rbx
je 0x180150488
lea rcx, [rsp + 0x68]
call fcn.180005c50
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov rdx, qword [rbp + 0x30]
cmp rdx, 8
jb 0x1801504cb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801504c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801504c6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], r15w
lea r9, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae r9, qword [rsp + 0x68]
mov rax, qword [rsi]
mov r8d, 0x1281
lea rdx, [rbp + 0x38]
mov rcx, rsi
call qword [rax + 0x28]
mov rbx, rax
lea rax, [rsp + 0x68]
cmp rax, rbx
je 0x180150537
lea rcx, [rsp + 0x68]
call fcn.180005c50
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov rdx, qword [rbp + 0x50]
cmp rdx, 8
jb 0x18015057a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180150575
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180150575
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
mov qword [rbp + 0x48], r15
mov qword [rbp + 0x50], 7
mov word [rbp + 0x38], r15w
mov r14d, 0x5dc
mov dword [rsp + 0x24], r14d
xor bl, bl
jmp 0x180150728
mov byte [rsp + 0x20], 0
mov rcx, qword [r13 + 0x20]
test rcx, rcx
je case.0x180150249.1403
mov rax, qword [rcx]
lea rdx, [rsp + 0x20]
call qword [rax + pe_nt_image_headers64]
test al, al
je case.0x180150249.1403
mov r8d, r15d
cmp r12d, 0x57f
setne r8b
add r8d, 0x9c60
mov rax, qword [rsi]
lea rdx, [rbp + 0x58]
mov rcx, rsi
call qword [rax + 0x20]
mov rbx, rax
lea rax, [rsp + 0x68]
cmp rax, rbx
je 0x18015061f
lea rcx, [rsp + 0x68]
call fcn.180005c50
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov rdx, qword [rbp + 0x70]
cmp rdx, 8
jb 0x180150662
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18015065d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18015065d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
mov qword [rbp + 0x68], r15
mov qword [rbp + 0x70], 7
mov word [rbp + 0x58], r15w
xor bl, bl
jmp 0x180150728
mov rax, qword [rsi]
mov r8d, 0x9c89
lea rdx, [rbp + 0x78]
mov rcx, rsi
call qword [rax + 0x20]
mov rbx, rax
lea rax, [rsp + 0x68]
cmp rax, rbx
je 0x1801506c5
lea rcx, [rsp + 0x68]
call fcn.180005c50
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov rdx, qword [rbp + 0x90]
cmp rdx, 8
jb 0x18015070b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180150706
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180150706
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
mov qword [rbp + 0x88], r15
mov qword [rbp + 0x90], 7
mov word [rbp + 0x78], r15w
xor bl, bl
jmp 0x180150728
mov bl, 1
lea r15, [rdi + 0x78]
lea rax, [rsp + 0x68]
cmp r15, rax
je 0x180150753
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x78]
mov rcx, r15
call fcn.180005cd0
test bl, bl
jne 0x180150774
lea rdx, [rdi + 0xa8]
mov rcx, r15
call fcn.180007530
test al, al
je 0x18015098d
mov r12, qword [rdi + 0x58]
jmp 0x180150778
mov r12, qword [rdi + 0x68]
test r12, r12
je 0x180150979
mov rcx, r12
call fcn.18005a660
mov r14d, eax
mov rcx, r12
call fcn.18005a6a0
mov dword [rsp + 0x30], eax
cmp qword [rdi + 0x88], 0
je 0x18015085f
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
mov rcx, r15
cmp qword [r15 + 0x18], 8
jb 0x1801507bb
mov rcx, qword [r15]
mov r8d, dword [0x1804e37f8]
lea rdx, [rbp - 0x68]
call fcn.180207e60
movzx ecx, byte [0x1804e2bfc]
test cl, cl
je 0x1801507dd
mov eax, 2
jmp 0x1801507fa
mov r8d, 0x60
mov edx, dword [0x1804e3778]
lea ecx, [r8 - 0x5e]
call qword [sym.imp.KERNEL32.dll_MulDiv]
movzx ecx, byte [0x1804e2bfc]
mov r14d, dword [rbp - 0x60]
add r14d, eax
mov dword [rbp - 0x60], r14d
sub r14d, dword [rbp - 0x68]
test cl, cl
je 0x180150814
mov eax, 0x6c
jmp 0x180150831
mov r8d, 0x60
mov edx, dword [0x1804e3778]
lea ecx, [r8 + 0xc]
call qword [sym.imp.KERNEL32.dll_MulDiv]
movzx ecx, byte [0x1804e2bfc]
cmp r14d, eax
jae 0x18015083b
mov r14d, eax
jmp 0x18015085f
test cl, cl
je 0x180150846
mov eax, 0x14
jmp 0x18015085c
mov r8d, 0x60
mov edx, dword [0x1804e3778]
lea ecx, [r8 - 0x4c]
call qword [sym.imp.KERNEL32.dll_MulDiv]
add r14d, eax
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0xd0]
movups xmm0, xmmword [rdi + 0x2c]
movups xmmword [rbp + 0x98], xmm0
lea rdx, [rbp + 0x98]
lea rcx, [rbp - 0x78]
call qword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [rbp - 0x6c]
add eax, dword [rbp - 0x74]
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
mov eax, dword [rbp - 0x70]
add eax, dword [rbp - 0x78]
cdq
sub eax, edx
sar eax, 1
mov ecx, r14d
shr ecx, 1
sub eax, ecx
mov dword [rbp - 0x78], eax
lea ecx, [r14 + rax]
mov dword [rbp - 0x70], ecx
mov ecx, dword [rsp + 0x30]
mov eax, ecx
shr eax, 1
sub r8d, eax
mov dword [rbp - 0x74], r8d
lea eax, [r8 + rcx]
mov dword [rbp - 0x6c], eax
lea rdx, [rbp - 0x78]
lea rcx, [rdi + 0x2c]
call qword [sym.imp.USER32.dll_CopyRect]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov ecx, dword [rdi + 0x38]
sub ecx, dword [rdi + 0x30]
mov eax, dword [rdi + 0x34]
sub eax, dword [rdi + 0x2c]
xor edx, edx
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x3c], ecx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rbp + 0xb0], xmm0
lea rdx, [rbp + 0xb0]
lea rcx, [rbp - 0x58]
call qword [sym.imp.USER32.dll_CopyRect]
movdqa xmm0, xmmword [0x1803f7360]
movdqu xmmword [rsp + 0x58], xmm0
mov eax, dword [rbp - 0x50]
sub eax, dword [rbp - 0x58]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp - 0x4c]
sub eax, dword [rbp - 0x54]
mov dword [rsp + 0x34], eax
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x58]
mov rcx, r12
call fcn.180221ef0
test rax, rax
jne 0x18015095d
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax + 0x30]
jmp 0x180150974
mov rcx, qword [rdi + 0x60]
mov qword [rdi + 0x60], rax
test rcx, rcx
je 0x180150974
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov r14d, dword [rsp + 0x24]
lea rcx, [rdi + 0xa8]
mov rdx, r15
call fcn.1800057c0
mov r12d, dword [rsp + 0x40]
cmp qword [rdi + 0xa0], 0
jne 0x180150a66
mov rax, qword [r13 + 8]
test rax, rax
je 0x180150a66
lea rbx, [rax + 0x48]
test rbx, rbx
je 0x180150a66
mov ecx, 0x40
call fcn.180393f74
mov qword [rsp + 0x40], rax
mov ecx, dword [rdi + 0x98]
lea rdx, vtable.RC::RCAnimation.0
mov qword [rax], rdx
xor r15d, r15d
mov dword [rax + 8], r15d
mov dword [rax + 0xc], 0xfa
mov qword [rax + 0x10], r15
mov byte [rax + 0x18], r15b
mov dword [rax + 0x1c], ecx
mov dword [rax + 0x20], 0xa
mov qword [rax + 0x28], r15
mov qword [rax + 0x30], r15
mov dword [rax + 0x38], r15d
mov dword [rax + 0x3c], 3
mov rcx, qword [rdi + 0xa0]
mov qword [rdi + 0xa0], rax
test rcx, rcx
je 0x180150a23
mov rax, qword [rcx]
lea edx, [r15 + 1]
call qword [rax]
mov rax, qword [rdi + 0xa0]
mov qword [rax + 0x30], rbx
lea rcx, [rdi + 0x50]
mov rax, qword [rdi + 0xa0]
mov qword [rax + 0x28], rcx
mov rax, qword [rdi + 0xa0]
mov dword [rax + 0x3c], 3
mov rcx, qword [rdi + 0xa0]
mov dword [rcx + 0xc], r14d
movzx eax, byte [rcx + 0x18]
test al, al
je 0x180150a69
mov eax, dword [rcx + 0x38]
mov dword [rcx + 8], eax
jmp 0x180150a69
xor r15d, r15d
mov rcx, qword [rdi + 0xa0]
test rcx, rcx
je 0x180150ac8
mov dword [rcx + 0xc], r14d
movzx eax, byte [rcx + 0x18]
test al, al
je 0x180150a87
mov eax, dword [rcx + 0x38]
mov dword [rcx + 8], eax
mov rbx, qword [rdi + 0xa0]
mov byte [rbx + 0x18], 1
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x180150ab0
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 8]
mov rcx, qword [rbx + 0x30]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 8], eax
mov qword [rbx + 0x10], r15
mov rax, qword [rdi]
mov dl, 1
mov rcx, rdi
call qword [rax + 0x30]
mov dword [rdi + 0xc8], r12d
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x180150b13
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180150b0e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180150b0e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r15w
test rsi, rsi
je 0x180150b34
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 8]
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.180393f50
mov rbx, qword [rsp + 0x220]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret