Function at 0x1400a59c0
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
push rdi
sub rsp, 0xa0
lea rdi, [rsp + 0x20]
mov ecx, 0x20
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xb0]
mov rax, qword [0x14014d8c0]
xor rax, rsp
mov qword [rsp + 0x90], rax
lea rcx, [0x1401605ed]
call fcn.1400f7320
nop
call fcn.14002f820
test rax, rax
jne 0x1400a5a24
xor eax, eax
jmp 0x1400a6107
call fcn.1400306d0
mov qword [rsp + 0x20], rax
call fcn.1400a3a40
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0x200
ja 0x1400a5a8f
cmp dword [rsp + 0x78], 0x200
je 0x1400a5ac9
mov eax, dword [rsp + 0x78]
sub eax, 7
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0xfe
ja case.0x1400a5ac7.527
mov eax, dword [rsp + 0x78]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0xa615c]
mov eax, dword [rcx + rax*4 + 0xa6138]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0x78]
sub eax, 0x201
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0xa2
ja case.0x1400a5ac7.527
mov eax, dword [rsp + 0x78]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0xa62a0]
mov eax, dword [rcx + rax*4 + 0xa625c]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 0x10]
test eax, eax
jne 0x1400a5b20
mov dword [rsp + 0x38], 0x18
mov dword [rsp + 0x3c], 2
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_TrackMouseEvent]
mov rax, qword [rsp + 0x28]
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 + 0x20]
call fcn.14001e490
nop
jmp case.0x1400a5ac7.527
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0xb0]
cmp qword [rax + 8], rcx
jne 0x1400a5b7d
mov rax, qword [rsp + 0x28]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x28]
mov byte [rax + 0x10], 0
movss xmm2, dword [0x14010cd88]
movss xmm1, dword [0x14010cd88]
mov rcx, qword [rsp + 0x20]
call fcn.14001e490
nop
jmp case.0x1400a5ac7.527
mov dword [rsp + 0x54], 0
cmp dword [rsp + 0xb8], 0x201
je 0x1400a5bc8
cmp dword [rsp + 0xb8], 0x203
jne 0x1400a5bd0
mov dword [rsp + 0x54], 0
cmp dword [rsp + 0xb8], 0x204
je 0x1400a5bea
cmp dword [rsp + 0xb8], 0x206
jne 0x1400a5bf2
mov dword [rsp + 0x54], 1
cmp dword [rsp + 0xb8], 0x207
je 0x1400a5c0c
cmp dword [rsp + 0xb8], 0x209
jne 0x1400a5c14
mov dword [rsp + 0x54], 2
cmp dword [rsp + 0xb8], 0x20b
je 0x1400a5c2e
cmp dword [rsp + 0xb8], 0x20d
jne 0x1400a5c62
mov rax, qword [rsp + 0xc0]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
cmp eax, 1
jne 0x1400a5c52
mov dword [rsp + 0x7c], 3
jmp 0x1400a5c5a
mov dword [rsp + 0x7c], 4
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x14], 0
jne 0x1400a5c87
call qword [sym.imp.USER32.dll_GetCapture]
test rax, rax
jne 0x1400a5c87
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.USER32.dll_SetCapture]
nop
mov eax, dword [rsp + 0x54]
mov ecx, 1
mov dword [rsp + 0x80], ecx
movzx ecx, al
mov eax, dword [rsp + 0x80]
shl eax, cl
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 0x14]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 0x14], eax
mov r8b, 1
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x20]
call fcn.14001e3c0
xor eax, eax
jmp 0x1400a6107
mov dword [rsp + 0x58], 0
cmp dword [rsp + 0xb8], 0x202
jne 0x1400a5cec
mov dword [rsp + 0x58], 0
cmp dword [rsp + 0xb8], 0x205
jne 0x1400a5d01
mov dword [rsp + 0x58], 1
cmp dword [rsp + 0xb8], 0x208
jne 0x1400a5d16
mov dword [rsp + 0x58], 2
cmp dword [rsp + 0xb8], 0x20c
jne 0x1400a5d60
mov rax, qword [rsp + 0xc0]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
cmp eax, 1
jne 0x1400a5d4a
mov dword [rsp + 0x84], 3
jmp 0x1400a5d55
mov dword [rsp + 0x84], 4
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
mov ecx, 1
mov dword [rsp + 0x88], ecx
movzx ecx, al
mov eax, dword [rsp + 0x88]
shl eax, cl
not eax
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 0x14]
and ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 0x14], eax
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x14], 0
jne 0x1400a5db4
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, qword [rsp + 0xb0]
jne 0x1400a5db4
call qword [sym.imp.USER32.dll_ReleaseCapture]
nop
xor r8d, r8d
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x20]
call fcn.14001e3c0
xor eax, eax
jmp 0x1400a6107
mov rax, qword [rsp + 0xc0]
shr rax, 0x10
and rax, 0xffff
cwde
cvtsi2ss xmm0, eax
divss xmm0, dword [0x140123be4]
movaps xmm2, xmm0
xorps xmm1, xmm1
mov rcx, qword [rsp + 0x20]
call fcn.14001e560
xor eax, eax
jmp 0x1400a6107
mov rax, qword [rsp + 0xc0]
shr rax, 0x10
and rax, 0xffff
cwde
cvtsi2ss xmm0, eax
divss xmm0, dword [0x140123be4]
xorps xmm2, xmm2
movaps xmm1, xmm0
mov rcx, qword [rsp + 0x20]
call fcn.14001e560
xor eax, eax
jmp 0x1400a6107
cmp dword [rsp + 0xb8], 0x100
je 0x1400a5e5c
cmp dword [rsp + 0xb8], 0x104
je 0x1400a5e5c
mov byte [rsp + 0x8c], 0
jmp 0x1400a5e64
mov byte [rsp + 0x8c], 1
movzx eax, byte [rsp + 0x8c]
mov byte [rsp + 0x5c], al
cmp qword [rsp + 0xc0], 0x100
jae 0x1400a6058
call fcn.1400a4f90
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x60], eax
cmp qword [rsp + 0xc0], 0xd
jne 0x1400a5ec3
mov rax, qword [rsp + 0xc8]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
and eax, 0x100
test eax, eax
je 0x1400a5ec3
mov dword [rsp + 0x60], 0x10d
movsxd rax, dword [rsp + 0x60]
mov rcx, rax
call fcn.1400a52d0
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0xc8]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
and rax, 0xff
movzx eax, al
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x64], 0
je 0x1400a5f16
mov r9d, dword [rsp + 0x68]
mov r8d, dword [rsp + 0x60]
movzx edx, byte [rsp + 0x5c]
mov ecx, dword [rsp + 0x64]
call fcn.1400a36d0
nop
cmp dword [rsp + 0x60], 0x10
jne 0x1400a5f84
mov ecx, 0xa0
call fcn.1400a6350
movzx eax, al
movzx ecx, byte [rsp + 0x5c]
cmp eax, ecx
jne 0x1400a5f4e
mov r9d, dword [rsp + 0x68]
mov r8d, 0xa0
movzx edx, byte [rsp + 0x5c]
mov ecx, 0x210
call fcn.1400a36d0
nop
mov ecx, 0xa1
call fcn.1400a6350
movzx eax, al
movzx ecx, byte [rsp + 0x5c]
cmp eax, ecx
jne 0x1400a5f7f
mov r9d, dword [rsp + 0x68]
mov r8d, 0xa1
movzx edx, byte [rsp + 0x5c]
mov ecx, 0x214
call fcn.1400a36d0
nop
jmp 0x1400a6058
cmp dword [rsp + 0x60], 0x11
jne 0x1400a5fef
mov ecx, 0xa2
call fcn.1400a6350
movzx eax, al
movzx ecx, byte [rsp + 0x5c]
cmp eax, ecx
jne 0x1400a5fbc
mov r9d, dword [rsp + 0x68]
mov r8d, 0xa2
movzx edx, byte [rsp + 0x5c]
mov ecx, 0x20f
call fcn.1400a36d0
nop
mov ecx, 0xa3
call fcn.1400a6350
movzx eax, al
movzx ecx, byte [rsp + 0x5c]
cmp eax, ecx
jne 0x1400a5fed
mov r9d, dword [rsp + 0x68]
mov r8d, 0xa3
movzx edx, byte [rsp + 0x5c]
mov ecx, 0x213
call fcn.1400a36d0
nop
jmp 0x1400a6058
cmp dword [rsp + 0x60], 0x12
jne 0x1400a6058
mov ecx, 0xa4
call fcn.1400a6350
movzx eax, al
movzx ecx, byte [rsp + 0x5c]
cmp eax, ecx
jne 0x1400a6027
mov r9d, dword [rsp + 0x68]
mov r8d, 0xa4
movzx edx, byte [rsp + 0x5c]
mov ecx, 0x211
call fcn.1400a36d0
nop
mov ecx, 0xa5
call fcn.1400a6350
movzx eax, al
movzx ecx, byte [rsp + 0x5c]
cmp eax, ecx
jne 0x1400a6058
mov r9d, dword [rsp + 0x68]
mov r8d, 0xa5
movzx edx, byte [rsp + 0x5c]
mov ecx, 0x215
call fcn.1400a36d0
nop
xor eax, eax
jmp 0x1400a6107
cmp dword [rsp + 0xb8], 7
jne 0x1400a6073
mov byte [rsp + 0x8d], 1
jmp 0x1400a607b
mov byte [rsp + 0x8d], 0
movzx edx, byte [rsp + 0x8d]
mov rcx, qword [rsp + 0x20]
call fcn.14001ddb0
xor eax, eax
jmp 0x1400a6107
cmp qword [rsp + 0xc0], 0
jbe 0x1400a60bd
cmp qword [rsp + 0xc0], 0x10000
jae 0x1400a60bd
movzx edx, word [rsp + 0xc0]
mov rcx, qword [rsp + 0x20]
call fcn.14001df30
nop
xor eax, eax
jmp 0x1400a6107
mov rax, qword [rsp + 0xc8]
and rax, 0xffff
movzx eax, ax
cmp eax, 1
jne 0x1400a60ea
call fcn.1400a5030
movzx eax, al
test eax, eax
je 0x1400a60ea
mov eax, 1
jmp 0x1400a6107
xor eax, eax
jmp 0x1400a6107
cmp dword [rsp + 0xc0], 7
jne 0x1400a6101
mov rax, qword [rsp + 0x28]
mov byte [rax + 0x2d], 1
xor eax, eax
jmp 0x1400a6107
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x14012e690]
call fcn.1400f70f0
mov rax, rdi
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400f7560
add rsp, 0xa0
pop rdi
ret