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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x1801ca040]
xor rax, rsp
mov qword [rsp + 0x90], rax
call fcn.180066aa0
test rax, rax
jne 0x1800a832d
xor eax, eax
jmp 0x1800a8a52
call fcn.180068d30
mov qword [rsp + 0x50], rax
call fcn.1800a6810
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0x200
ja 0x1800a8398
cmp dword [rsp + 0x34], 0x200
je 0x1800a83d2
mov eax, dword [rsp + 0x34]
sub eax, 7
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0xfe
ja case.0x1800a83d0.527
mov eax, dword [rsp + 0x34]
lea rcx, [0x180000000]
movzx eax, byte [rcx + rax + 0xa8a90]
mov eax, dword [rcx + rax*4 + 0xa8a6c]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0x34]
sub eax, 0x201
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0xa2
ja case.0x1800a83d0.527
mov eax, dword [rsp + 0x34]
lea rcx, [0x180000000]
movzx eax, byte [rcx + rax + 0xa8bd4]
mov eax, dword [rcx + rax*4 + 0xa8b90]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x10]
test eax, eax
jne 0x1800a842c
mov dword [rsp + 0x70], 0x18
mov dword [rsp + 0x74], 2
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x80], 0
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_TrackMouseEvent]
mov rax, qword [rsp + 0x48]
mov byte [rax + 0x10], 1
mov rax, qword [rsp + 0xc8]
shr rax, 0x10
and rax, 0xffff
cwde
cvtsi2ss xmm0, eax
mov rax, qword [rsp + 0xc8]
and rax, 0xffff
cwde
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
mov rcx, qword [rsp + 0x50]
call fcn.180062a20
nop
jmp case.0x1800a83d0.527
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xb0]
cmp qword [rax + 8], rcx
jne 0x1800a8489
mov rax, qword [rsp + 0x48]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x48]
mov byte [rax + 0x10], 0
movss xmm2, dword [0x1801b82cc]
movss xmm1, dword [0x1801b82cc]
mov rcx, qword [rsp + 0x50]
call fcn.180062a20
nop
jmp case.0x1800a83d0.527
mov dword [rsp + 0x3c], 0
cmp dword [rsp + 0xb8], 0x201
je 0x1800a84d4
cmp dword [rsp + 0xb8], 0x203
jne 0x1800a84dc
mov dword [rsp + 0x3c], 0
cmp dword [rsp + 0xb8], 0x204
je 0x1800a84f6
cmp dword [rsp + 0xb8], 0x206
jne 0x1800a84fe
mov dword [rsp + 0x3c], 1
cmp dword [rsp + 0xb8], 0x207
je 0x1800a8518
cmp dword [rsp + 0xb8], 0x209
jne 0x1800a8520
mov dword [rsp + 0x3c], 2
cmp dword [rsp + 0xb8], 0x20b
je 0x1800a853a
cmp dword [rsp + 0xb8], 0x20d
jne 0x1800a856e
mov rax, qword [rsp + 0xc0]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
cmp eax, 1
jne 0x1800a855e
mov dword [rsp + 0x58], 3
jmp 0x1800a8566
mov dword [rsp + 0x58], 4
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0x14], 0
jne 0x1800a8593
call qword [sym.imp.USER32.dll_GetCapture]
test rax, rax
jne 0x1800a8593
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.USER32.dll_SetCapture]
nop
mov eax, dword [rsp + 0x3c]
mov ecx, 1
mov dword [rsp + 0x64], ecx
movzx ecx, al
mov eax, dword [rsp + 0x64]
shl eax, cl
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 0x14]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x48]
mov dword [rcx + 0x14], eax
mov r8b, 1
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x50]
call fcn.180062c50
xor eax, eax
jmp 0x1800a8a52
mov dword [rsp + 0x40], 0
cmp dword [rsp + 0xb8], 0x202
jne 0x1800a85f2
mov dword [rsp + 0x40], 0
cmp dword [rsp + 0xb8], 0x205
jne 0x1800a8607
mov dword [rsp + 0x40], 1
cmp dword [rsp + 0xb8], 0x208
jne 0x1800a861c
mov dword [rsp + 0x40], 2
cmp dword [rsp + 0xb8], 0x20c
jne 0x1800a865d
mov rax, qword [rsp + 0xc0]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
cmp eax, 1
jne 0x1800a864d
mov dword [rsp + 0x5c], 3
jmp 0x1800a8655
mov dword [rsp + 0x5c], 4
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov ecx, 1
mov dword [rsp + 0x68], ecx
movzx ecx, al
mov eax, dword [rsp + 0x68]
shl eax, cl
not eax
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 0x14]
and ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x48]
mov dword [rcx + 0x14], eax
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0x14], 0
jne 0x1800a86ab
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, qword [rsp + 0xb0]
jne 0x1800a86ab
call qword [sym.imp.USER32.dll_ReleaseCapture]
nop
xor r8d, r8d
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
call fcn.180062c50
xor eax, eax
jmp 0x1800a8a52
mov rax, qword [rsp + 0xc0]
shr rax, 0x10
and rax, 0xffff
cwde
cvtsi2ss xmm0, eax
divss xmm0, dword [0x1801b8214]
movaps xmm2, xmm0
xorps xmm1, xmm1
mov rcx, qword [rsp + 0x50]
call fcn.180062ed0
xor eax, eax
jmp 0x1800a8a52
mov rax, qword [rsp + 0xc0]
shr rax, 0x10
and rax, 0xffff
cwde
cvtsi2ss xmm0, eax
divss xmm0, dword [0x1801b8214]
xorps xmm2, xmm2
movaps xmm1, xmm0
mov rcx, qword [rsp + 0x50]
call fcn.180062ed0
xor eax, eax
jmp 0x1800a8a52
cmp dword [rsp + 0xb8], 0x100
je 0x1800a8750
cmp dword [rsp + 0xb8], 0x104
je 0x1800a8750
mov byte [rsp + 0x31], 0
jmp 0x1800a8755
mov byte [rsp + 0x31], 1
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
cmp qword [rsp + 0xc0], 0x100
jae 0x1800a8946
call fcn.1800a6de0
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x44], eax
cmp qword [rsp + 0xc0], 0xd
jne 0x1800a87b1
mov rax, qword [rsp + 0xc8]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
and eax, 0x100
test eax, eax
je 0x1800a87b1
mov dword [rsp + 0x44], 0x10d
movsxd rax, dword [rsp + 0x44]
mov rcx, rax
call fcn.1800a7c10
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0xc8]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
and rax, 0xff
movzx eax, al
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x60], 0
je 0x1800a8804
mov r9d, dword [rsp + 0x38]
mov r8d, dword [rsp + 0x44]
movzx edx, byte [rsp + 0x30]
mov ecx, dword [rsp + 0x60]
call fcn.1800a6c80
nop
cmp dword [rsp + 0x44], 0x10
jne 0x1800a8872
mov ecx, 0xa0
call fcn.1800a6c40
movzx eax, al
movzx ecx, byte [rsp + 0x30]
cmp eax, ecx
jne 0x1800a883c
mov r9d, dword [rsp + 0x38]
mov r8d, 0xa0
movzx edx, byte [rsp + 0x30]
mov ecx, 0x210
call fcn.1800a6c80
nop
mov ecx, 0xa1
call fcn.1800a6c40
movzx eax, al
movzx ecx, byte [rsp + 0x30]
cmp eax, ecx
jne 0x1800a886d
mov r9d, dword [rsp + 0x38]
mov r8d, 0xa1
movzx edx, byte [rsp + 0x30]
mov ecx, 0x214
call fcn.1800a6c80
nop
jmp 0x1800a8946
cmp dword [rsp + 0x44], 0x11
jne 0x1800a88dd
mov ecx, 0xa2
call fcn.1800a6c40
movzx eax, al
movzx ecx, byte [rsp + 0x30]
cmp eax, ecx
jne 0x1800a88aa
mov r9d, dword [rsp + 0x38]
mov r8d, 0xa2
movzx edx, byte [rsp + 0x30]
mov ecx, 0x20f
call fcn.1800a6c80
nop
mov ecx, 0xa3
call fcn.1800a6c40
movzx eax, al
movzx ecx, byte [rsp + 0x30]
cmp eax, ecx
jne 0x1800a88db
mov r9d, dword [rsp + 0x38]
mov r8d, 0xa3
movzx edx, byte [rsp + 0x30]
mov ecx, 0x213
call fcn.1800a6c80
nop
jmp 0x1800a8946
cmp dword [rsp + 0x44], 0x12
jne 0x1800a8946
mov ecx, 0xa4
call fcn.1800a6c40
movzx eax, al
movzx ecx, byte [rsp + 0x30]
cmp eax, ecx
jne 0x1800a8915
mov r9d, dword [rsp + 0x38]
mov r8d, 0xa4
movzx edx, byte [rsp + 0x30]
mov ecx, 0x211
call fcn.1800a6c80
nop
mov ecx, 0xa5
call fcn.1800a6c40
movzx eax, al
movzx ecx, byte [rsp + 0x30]
cmp eax, ecx
jne 0x1800a8946
mov r9d, dword [rsp + 0x38]
mov r8d, 0xa5
movzx edx, byte [rsp + 0x30]
mov ecx, 0x215
call fcn.1800a6c80
nop
xor eax, eax
jmp 0x1800a8a52
cmp dword [rsp + 0xb8], 7
jne 0x1800a895e
mov byte [rsp + 0x32], 1
jmp 0x1800a8963
mov byte [rsp + 0x32], 0
movzx edx, byte [rsp + 0x32]
mov rcx, qword [rsp + 0x50]
call fcn.180062ff0
xor eax, eax
jmp 0x1800a8a52
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x1800a89b9
cmp qword [rsp + 0xc0], 0
jbe 0x1800a89b7
cmp qword [rsp + 0xc0], 0x10000
jae 0x1800a89b7
movzx edx, word [rsp + 0xc0]
mov rcx, qword [rsp + 0x50]
call fcn.1800622d0
nop
jmp 0x1800a8a08
xor eax, eax
mov word [rsp + 0x88], ax
mov dword [rsp + 0x28], 1
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea r8, [rsp + 0xc0]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movzx eax, word [rsp + 0x88]
mov edx, eax
mov rcx, qword [rsp + 0x50]
call fcn.180062200
nop
xor eax, eax
jmp 0x1800a8a52
mov rax, qword [rsp + 0xc8]
and rax, 0xffff
movzx eax, ax
cmp eax, 1
jne 0x1800a8a35
call fcn.1800a6b10
movzx eax, al
test eax, eax
je 0x1800a8a35
mov eax, 1
jmp 0x1800a8a52
xor eax, eax
jmp 0x1800a8a52
cmp dword [rsp + 0xc0], 7
jne 0x1800a8a4c
mov rax, qword [rsp + 0x48]
mov byte [rax + 0x2d], 1
xor eax, eax
jmp 0x1800a8a52
xor eax, eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.18016d7d0
add rsp, 0xa8
ret