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

Disassembly:
push r13
push r14
push r15
mov eax, 0x1030
call fcn.140068970
sub rsp, rax
mov qword [rsp + 0x118], 0xfffffffffffffffe
mov qword [rsp + 0x1050], rbx
mov qword [rsp + 0x1060], rdi
mov qword [rsp + 0x1068], r12
mov rax, qword [0x140121108]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov r12, rdx
mov qword [rsp + 0x90], rdx
mov qword [rsp + 0x98], rdx
xor ebx, ebx
mov dword [rsp + 0x40], ebx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rbx
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x198]
call fcn.140046720
nop
lea rdx, [rsp + 0x198]
lea rcx, [rsp + 0x148]
call fcn.14004687c
mov rcx, rax
lea rax, [rsp + 0x48]
cmp rax, rcx
je 0x140045502
mov r15, qword [rcx]
mov qword [rsp + 0x48], r15
mov rax, qword [rcx + 8]
mov qword [rsp + 0x50], rax
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x58], rax
mov qword [rcx], rbx
mov qword [rcx + 8], rbx
mov qword [rcx + 0x10], rbx
jmp 0x140045507
mov r15, qword [rsp + 0x48]
lea rcx, [rsp + 0x148]
call fcn.140026c78
mov r13d, 0x1000
mov ecx, r13d
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x14004559a
mov qword [r12], r15
mov rax, qword [rsp + 0x50]
mov qword [r12 + 8], rax
mov rax, qword [rsp + 0x58]
mov qword [r12 + 0x10], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rbx
mov qword [r12 + 0x18], rbx
mov qword [r12 + 0x20], rbx
mov qword [r12 + 0x28], rbx
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x40], 1
lea rcx, [rsp + 0x198]
call fcn.140001a14
nop
lea rcx, [rsp + 0x60]
call fcn.140026c78
nop
lea rcx, [rsp + 0x48]
call fcn.140026c78
mov rax, r12
jmp 0x1400460ef
mov qword [rsp + 0x80], rbx
mov ecx, 1
call fcn.140068280
mov qword [rsp + 0x120], rax
mov rcx, rax
call fcn.140047680
mov rdi, rax
mov qword [rsp + 0x128], rbx
mov qword [rsp + 0x80], rax
lea rdx, [rsp + 0x198]
cmp qword [rsp + 0x1b0], 8
cmovae rdx, qword [rsp + 0x198]
lea rcx, [rsp + 0x160]
call fcn.1400647e4
nop
mov dword [rsp + 0x34], ebx
lea rcx, [rsp + 0x160]
cmp qword [rsp + 0x178], 0x10
cmovae rcx, qword [rsp + 0x160]
lea rdx, [rsp + 0x34]
call fcn.1400b6660
test eax, eax
je 0x1400456ff
mov qword [r12], r15
mov rax, qword [rsp + 0x50]
mov qword [r12 + 8], rax
mov rax, qword [rsp + 0x58]
mov qword [r12 + 0x10], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rbx
mov qword [r12 + 0x18], rbx
mov qword [r12 + 0x20], rbx
mov qword [r12 + 0x28], rbx
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x40], 1
mov rdx, qword [rsp + 0x178]
cmp rdx, 0x10
jb 0x1400456ae
inc rdx
mov rcx, qword [rsp + 0x160]
mov rax, rcx
cmp rdx, r13
jb 0x1400456a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004612f
call fcn.1400682c0
mov qword [rsp + 0x170], rbx
mov qword [rsp + 0x178], SafeArrayPutElement
mov byte [rsp + 0x160], bl
test rdi, rdi
je 0x1400456e1
call fcn.140047770
mov edx, 1
mov rcx, rdi
call fcn.1400682c0
nop
lea rcx, [rsp + 0x198]
call fcn.140001a14
nop
lea rcx, [rsp + 0x60]
call fcn.140026c78
nop
jmp 0x140045588
xor edx, edx
mov r8d, 0x168
lea rcx, [rsp + 0x1c0]
call fcn.140086ad0
mov dword [rsp + 0x1c0], 0x10168
mov dword [rsp + 0x324], 1
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x1c8], eax
mov dil, bl
mov r14d, ebx
mov byte [rsp + 0x30], bl
mov dword [rsp + 0x330], 0x10528
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x330]
mov edx, 1
mov ecx, r14d
call fcn.1400b9ae0
test eax, eax
jne 0x1400457ad
cmp byte [rsp + 0x30], bl
je 0x1400457a8
mov rdx, rbx
mov r8d, dword [rsp + 0x33c]
test r8, r8
je 0x14004579f
lea rcx, [rsp + 0x344]
mov eax, dword [rsp + 0x34]
cmp dword [rcx], eax
je 0x14004579c
inc rdx
add rcx, 0x14
cmp rdx, r8
jb 0x140045786
jmp 0x14004579f
mov dil, 1
test dil, dil
jne 0x140045e1a
inc r14d
jmp 0x14004573b
test dil, dil
jne 0x140045e1a
mov dword [rsp + 0x88], ebx
lea rdx, [rsp + 0xfe0]
lea rcx, [rsp + 0x88]
call fcn.1400b9d90
test eax, eax
jne 0x1400457e3
cmp dword [rsp + 0x88], 0x86ab
jae 0x1400457f7
mov edx, dword [rsp + 0x34]
lea rcx, [rsp + 0x160]
call fcn.140046c20
mov dil, al
test dil, dil
jne 0x140045fb4
mov dword [rsp + 0x38], ebx
mov byte [rsp + 0x20], 1
lea r9, [rsp + 0x38]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x1c0]
call fcn.1400b68c0
test eax, eax
jne 0x140045a86
cmp dword [rsp + 0x38], ebx
je 0x140045a86
mov edx, dword [rsp + 0x38]
lea rcx, [rsp + 0xd0]
call fcn.140046f1c
nop
mov rax, qword [rsp + 0xd0]
mov dword [rax], 0x10020
mov byte [rsp + 0x20], 1
lea r9, [rsp + 0x38]
mov r8, qword [rsp + 0xd0]
xor edx, edx
lea rcx, [rsp + 0x1c0]
call fcn.1400b68c0
test eax, eax
jne 0x140045a13
mov r13b, bl
mov r14d, ebx
cmp dword [rsp + 0x38], ebx
jbe 0x140045a13
test r13b, r13b
jne 0x140045a0b
mov ecx, r14d
shl rcx, 5
mov qword [rsp + 0x88], rcx
mov rax, qword [rsp + 0xd0]
movups xmm0, xmmword [rcx + rax]
movaps xmmword [rsp + 0x1d0], xmm0
movups xmm1, xmmword [rcx + rax + 0x10]
movaps xmmword [rsp + 0x1e0], xmm1
xor edx, edx
mov r8d, 0x780
lea rcx, [rsp + 0x860]
call fcn.140086ad0
mov dword [rsp + 0x860], 0x3003c
mov dword [rsp + 0x78], ebx
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x860]
xor edx, edx
lea rcx, [rsp + 0x1c0]
call fcn.1400b69b0
test eax, eax
jne 0x1400459fd
mov r9d, dword [rsp + 0x78]
test r9d, r9d
je 0x1400459fd
mov r11d, ebx
mov eax, r11d
imul r10, rax, 0x3c
test byte [rsp + r10 + 0x888], 2
je 0x1400459f1
mov r13b, 1
mov r8d, dword [rsp + r10 + 0x878]
test r8d, r8d
je 0x14004595c
mov ecx, r8d
shr ecx, 1
mov eax, dword [rsp + r10 + 0x874]
add eax, ecx
xor edx, edx
div r8d
mov r12d, eax
jmp 0x14004595f
mov r12d, ebx
mov rdi, rbx
mov rcx, qword [rsp + 0x50]
sub rcx, r15
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1400459f1
mov eax, dword [rsp + r10 + 0x864]
lea r8, [r15 + 8]
cmp eax, dword [r8 - 8]
jne 0x1400459d4
mov eax, dword [r8 - 4]
cmp dword [rsp + r10 + 0x868], eax
jne 0x1400459cc
mov ecx, dword [r8]
mov rax, qword [rsp + 0xd0]
mov r9, qword [rsp + 0x88]
cmp dword [r9 + rax + 0xc], ecx
mov r9d, dword [rsp + 0x78]
jne 0x1400459cc
cmp r12d, dword [r8 + 4]
je 0x1400459e2
mov eax, dword [rsp + r10 + 0x864]
inc rdi
add r8, 0x18
cmp rdi, rdx
jae 0x1400459f1
jmp 0x140045993
lea rax, [rdi + rdi*2]
or byte [r15 + rax*8 + 0x14], 2
mov r9d, dword [rsp + 0x78]
inc r11d
cmp r11d, r9d
jb 0x14004591d
inc r14d
cmp r14d, dword [rsp + 0x38]
jb 0x14004588b
mov r12, qword [rsp + 0x90]
movabs r13, 0x2aaaaaaaaaaaaaab
mov rcx, qword [rsp + 0xd0]
test rcx, rcx
je 0x140045a90
mov rdx, qword [rsp + 0xe0]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
cmp rdx, 0x1000
jb 0x140045a6b
lfence
add rdx, 0x27
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004611d
mov r15, qword [rsp + 0x48]
call fcn.1400682c0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xd0], xmm0
mov qword [rsp + 0xe0], rbx
jmp 0x140045a90
movabs r13, 0x2aaaaaaaaaaaaaab
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xb8], xmm0
mov qword [rsp + 0xc8], rbx
movdqu xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], rbx
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xa0]
lea r8, [rsp + 0xb8]
xor edx, edx
mov ecx, dword [rsp + 0x34]
call fcn.140046ae4
mov r10, qword [rsp + 0xa0]
mov r11, qword [rsp + 0xa8]
cmp r10, r11
je 0x140045bba
mov r9, rbx
mov qword [rsp + 0x108], rbx
mov rcx, qword [rsp + 0x50]
sub rcx, r15
mov rax, r13
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r9, rdx
jae 0x140045bba
mov r8, rbx
mov qword [rsp + 0x100], rbx
mov rcx, r11
sub rcx, r10
mov rax, r13
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r8, rdx
jae 0x140045b9a
lea rcx, [r8 + r8*2]
lea rdx, [r9 + r9*2]
mov eax, dword [r10 + rcx*4]
cmp dword [r15 + rdx*8], eax
jne 0x140045baa
mov eax, dword [r10 + rcx*4 + 4]
cmp dword [r15 + rdx*8 + 4], eax
jne 0x140045baa
mov eax, dword [r10 + rcx*4 + 8]
cmp dword [r15 + rdx*8 + 8], eax
jne 0x140045baa
mov rax, qword [rsp + 0xb8]
mov ecx, dword [rax + r8*4]
mov dword [r15 + rdx*8 + 0x10], ecx
mov r11, qword [rsp + 0xa8]
mov r10, qword [rsp + 0xa0]
inc r9
mov qword [rsp + 0x108], r9
jmp 0x140045b01
inc r8
mov qword [rsp + 0x100], r8
jmp 0x140045b31
jmp 0x140045bd5
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xa0]
lea r8, [rsp + 0xb8]
mov edx, 1
mov ecx, dword [rsp + 0x34]
call fcn.140046ae4
mov r14, rbx
mov qword [rsp + 0x110], rbx
mov rdi, qword [rsp + 0x68]
mov rax, qword [rsp + 0xc0]
sub rax, qword [rsp + 0xb8]
sar rax, 2
cmp r14, rax
jae 0x140045cf9
xor edx, edx
lea r8d, [rdx + 0x18]
lea rcx, [rsp + 0x180]
call fcn.140086ad0
lea rcx, [r14 + r14*2]
mov rdx, qword [rsp + 0xa0]
mov eax, dword [rdx + rcx*4]
mov dword [rsp + 0x180], eax
mov eax, dword [rdx + rcx*4 + 4]
mov dword [rsp + 0x184], eax
mov eax, dword [rdx + rcx*4 + 8]
mov dword [rsp + 0x188], eax
mov rax, qword [rsp + 0xb8]
mov ecx, dword [rax + r14*4]
mov dword [rsp + 0x190], ecx
cmp qword [rsp + 0x70], rdi
je 0x140045cca
lea rax, [rsp + 0x180]
mov qword [rsp + 0x130], rax
mov qword [rsp + 0x138], rdi
mov qword [rsp + 0x140], rdi
movups xmm0, xmmword [rsp + 0x180]
movups xmmword [rdi], xmm0
movsd xmm1, qword [rsp + 0x190]
movsd qword [rdi + 0x10], xmm1
add rdi, 0x18
mov qword [rsp + 0x68], rdi
jmp 0x140045ce9
lea r8, [rsp + 0x180]
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.14003cbb4
mov rdi, qword [rsp + 0x68]
mov r15, qword [rsp + 0x48]
inc r14
mov qword [rsp + 0x110], r14
jmp 0x140045c10
jmp 0x140045d19
mov r8, qword [rsp + 0xa0]
test r8, r8
je 0x140045da3
mov rcx, qword [rsp + 0xb0]
sub rcx, r8
mov rax, r13
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 2
mov r13d, 0x1000
cmp rdx, r13
jb 0x140045d85
lfence
add rdx, 0x27
mov rax, qword [rsp + 0xa0]
mov r8, qword [rax - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140046123
mov rdi, qword [rsp + 0x68]
mov r15, qword [rsp + 0x48]
mov rcx, r8
call fcn.1400682c0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], rbx
jmp 0x140045da9
mov r13d, 0x1000
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x140045fb9
mov rdx, qword [rsp + 0xc8]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
cmp rdx, r13
jb 0x140045dfc
lfence
add rdx, 0x27
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rax - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140046129
mov rdi, qword [rsp + 0x68]
mov r15, qword [rsp + 0x48]
call fcn.1400682c0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xb8], xmm0
mov qword [rsp + 0xc8], rbx
jmp 0x140045fb9
mov dword [rsp + 0x3c], ebx
xor r9d, r9d
lea r8, [rsp + 0x3c]
xor edx, edx
mov ecx, dword [rsp + 0x34]
call fcn.1400b9bd0
test eax, eax
jne 0x140045fb4
cmp dword [rsp + 0x3c], ebx
je 0x140045fb4
mov edx, dword [rsp + 0x3c]
lea rcx, [rsp + 0xe8]
call fcn.14004700c
nop
mov rax, qword [rsp + 0xe8]
mov dword [rax], 0x10014
xor r9d, r9d
lea r8, [rsp + 0x3c]
mov rdx, qword [rsp + 0xe8]
mov ecx, dword [rsp + 0x34]
call fcn.1400b9bd0
test eax, eax
jne 0x140045f2f
mov r8d, ebx
mov edi, dword [rsp + 0x3c]
test edi, edi
je 0x140045f2f
movabs rdx, 0x2aaaaaaaaaaaaaab
mov eax, r8d
lea r10, [rax + rax*4]
mov r11, qword [rsp + 0xe8]
test byte [r11 + r10*4 + 0x10], 2
je 0x140045f23
mov r9, rbx
mov rcx, qword [rsp + 0x50]
sub rcx, r15
mov rax, rdx
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x140045f19
mov r14d, dword [r11 + r10*4 + 4]
lea rcx, [r15 + 8]
cmp r14d, dword [rcx - 8]
jne 0x140045efd
mov eax, dword [rcx - 4]
cmp dword [r11 + r10*4 + 8], eax
jne 0x140045efd
cmp dword [rcx], 0x20
jne 0x140045efd
mov eax, dword [rcx + 4]
cmp dword [r11 + r10*4 + 0xc], eax
je 0x140045f0b
inc r9
add rcx, 0x18
cmp r9, rdx
jae 0x140045f19
jmp 0x140045ede
lea rax, [r9 + r9*2]
or byte [r15 + rax*8 + 0x14], 4
mov edi, dword [rsp + 0x3c]
movabs rdx, 0x2aaaaaaaaaaaaaab
inc r8d
cmp r8d, edi
jb 0x140045e9d
mov r8, qword [rsp + 0xe8]
test r8, r8
je 0x140045fb4
mov rcx, qword [rsp + 0xf8]
sub rcx, r8
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*4]
shl rdx, 2
cmp rdx, r13
jb 0x140045f98
lfence
add rdx, 0x27
mov rax, qword [rsp + 0xe8]
mov r8, qword [rax - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140046135
mov r15, qword [rsp + 0x48]
mov rcx, r8
call fcn.1400682c0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xe8], xmm0
mov qword [rsp + 0xf8], rbx
mov rdi, qword [rsp + 0x68]
mov qword [r12], r15
mov rax, qword [rsp + 0x50]
mov qword [r12 + 8], rax
mov rax, qword [rsp + 0x58]
mov qword [r12 + 0x10], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rbx
mov rax, qword [rsp + 0x60]
mov qword [r12 + 0x18], rax
mov qword [r12 + 0x20], rdi
mov rax, qword [rsp + 0x70]
mov qword [r12 + 0x28], rax
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rbx
or dword [rsp + 0x40], 1
mov rdx, qword [rsp + 0x178]
cmp rdx, 0x10
jb 0x140046047
inc rdx
mov rcx, qword [rsp + 0x160]
mov rax, rcx
cmp rdx, r13
jb 0x140046042
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004612f
call fcn.1400682c0
mov qword [rsp + 0x170], rbx
mov qword [rsp + 0x178], SafeArrayPutElement
mov byte [rsp + 0x160], bl
cmp qword [rsp + 0x80], rbx
je 0x140046084
call fcn.140047770
mov edx, 1
mov rcx, qword [rsp + 0x80]
call fcn.1400682c0
nop
lea rcx, [rsp + 0x198]
call fcn.140001a14
nop
lea rcx, [rsp + 0x60]
call fcn.140026c78
nop
jmp 0x140045588
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1400683e0
lea r11, [rsp + 0x1030]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret
call fcn.14008a39c
nop
call fcn.14008a39c
nop
call fcn.14008a39c
nop
call fcn.14008a39c
nop
call fcn.14008a39c
int3