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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
push rdi
push r14
push r15
sub rsp, 0x50
mov r14, r9
mov edi, edx
mov r15, rcx
call fcn.18000cca0
test rax, rax
je case.0x180031fbf.527
call fcn.18000cfd0
mov rbp, rax
call fcn.18000cca0
xor ebx, ebx
test rax, rax
je 0x180031c65
call fcn.18000cfd0
mov rsi, qword [rax + 0x90]
jmp 0x180031c68
mov rsi, rbx
cmp edi, 0x200
ja 0x180031f91
je 0x180031f39
lea eax, [rdi - 7]
cmp eax, 0xfe
ja case.0x180031fbf.527
lea rdx, [0x180000000]
movzx eax, byte [rdx + rax + 0x32134]
mov ecx, dword [rdx + rax*4 + 0x32120]
add rcx, rdx
jmp rcx
lea eax, [rdi - 0x100]
mov esi, 0x100
test eax, 0xfffffffb
sete dil
cmp qword [rsp + 0x80], rsi
jae case.0x180031fbf.527
call fcn.18000cfd0
mov ecx, 0x11
mov rbx, rax
call fcn.180032330
movzx r8d, al
mov edx, 0x1000
mov rcx, rbx
call fcn.180005590
mov ecx, 0x10
call fcn.180032330
movzx r8d, al
mov edx, 0x2000
mov rcx, rbx
call fcn.180005590
mov ecx, 0x12
call fcn.180032330
movzx r8d, al
mov edx, 0x4000
mov rcx, rbx
call fcn.180005590
mov ecx, 0x5d
call fcn.180032330
movzx r8d, al
mov edx, 0x8000
mov rcx, rbx
call fcn.180005590
mov rbx, qword [rsp + 0x80]
cmp rbx, 0xd
jne 0x180031d59
mov rax, r14
shr rax, 0x10
test si, ax
mov eax, 0x10d
cmovne ebx, eax
movsxd rcx, ebx
call fcn.1800316c0
shr r14, 0x10
movzx esi, r14b
test eax, eax
je 0x180031d7e
mov r9d, esi
mov r8d, ebx
movzx edx, dil
mov ecx, eax
call fcn.180030960
cmp ebx, 0x10
jne 0x180031dd8
mov ecx, 0xa0
call fcn.180032330
cmp al, dil
jne 0x180031da9
mov r9d, esi
mov r8d, 0xa0
movzx edx, dil
mov ecx, 0x210
call fcn.180030960
mov ecx, 0xa1
call fcn.180032330
cmp al, dil
jne case.0x180031fbf.527
mov r9d, esi
mov r8d, 0xa1
movzx edx, dil
mov ecx, 0x214
call fcn.180030960
jmp case.0x180031fbf.527
cmp ebx, 0x11
jne 0x180031e32
mov ecx, 0xa2
call fcn.180032330
cmp al, dil
jne 0x180031e03
mov r9d, esi
mov r8d, 0xa2
movzx edx, dil
mov ecx, 0x20f
call fcn.180030960
mov ecx, 0xa3
call fcn.180032330
cmp al, dil
jne case.0x180031fbf.527
mov r9d, esi
mov r8d, 0xa3
movzx edx, dil
mov ecx, 0x213
call fcn.180030960
jmp case.0x180031fbf.527
cmp ebx, 0x12
jne case.0x180031fbf.527
mov ecx, 0xa4
call fcn.180032330
cmp al, dil
jne 0x180031e61
mov r9d, esi
mov r8d, 0xa4
movzx edx, dil
mov ecx, 0x211
call fcn.180030960
mov ecx, 0xa5
call fcn.180032330
cmp al, dil
jne case.0x180031fbf.527
mov r9d, esi
mov r8d, 0xa5
movzx edx, dil
mov ecx, 0x215
call fcn.180030960
jmp case.0x180031fbf.527
cmp edi, 7
mov rcx, rbp
sete dl
call fcn.180005350
jmp case.0x180031fbf.527
mov rcx, r15
call qword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x180031ed5
mov rdx, qword [rsp + 0x80]
lea rax, [rdx - 1]
cmp rax, 0xfffe
ja case.0x180031fbf.527
mov rcx, rbp
call fcn.1800054d0
jmp case.0x180031fbf.527
mov r9d, 1
mov dword [rsp + 0x28], 1
lea rax, [rsp + 0x30]
mov word [rsp + 0x30], bx
mov edx, r9d
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x80]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movzx edx, word [rsp + 0x30]
mov rcx, rbp
call fcn.180005420
jmp case.0x180031fbf.527
cmp r14w, 1
jne case.0x180031fbf.527
call fcn.180030dd0
test al, al
je case.0x180031fbf.527
mov eax, 1
jmp 0x180032104
mov qword [rsi + 8], r15
cmp byte [rsi + 0x10], bl
jne 0x180031f6a
lea rcx, [rsp + 0x38]
mov dword [rsp + 0x38], 0x18
mov dword [rsp + 0x3c], 2
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], ebx
call qword [sym.imp.USER32.dll_TrackMouseEvent]
mov byte [rsi + 0x10], 1
mov rax, r14
mov rcx, rbp
shr rax, 0x10
cwde
movd xmm2, eax
movsx eax, r14w
cvtdq2ps xmm2, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.180005840
jmp case.0x180031fbf.527
lea r8d, [rdi - 0x201]
cmp r8d, 0xa2
ja case.0x180031fbf.527
lea rdx, [0x180000000]
movzx eax, byte [rdx + r8 + 0x32250]
mov ecx, dword [rdx + rax*4 + 0x32234]
add rcx, rdx
jmp rcx
cmp qword [rsi + 8], r15
jne 0x180031fcb
mov qword [rsi + 8], rbx
movss xmm1, dword [0x18008b4c4]
mov rcx, rbp
movaps xmm2, xmm1
mov byte [rsi + 0x10], bl
call fcn.180005840
jmp case.0x180031fbf.527
cmp r8d, 0xc
ja case.0x180031ff7.0
mov ecx, dword [rdx + r8*4 + 0x322f4]
add rcx, rdx
jmp rcx
mov ebx, 1
jmp case.0x180031ff7.0
mov ebx, 2
jmp case.0x180031ff7.0
mov rax, qword [rsp + 0x80]
shr rax, 0x10
cmp ax, 1
setne bl
add ebx, 3
cmp dword [rsi + 0x14], 0
jne 0x180032037
call qword [sym.imp.USER32.dll_GetCapture]
test rax, rax
jne 0x180032037
mov rcx, r15
call qword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [rsi + 0x14]
mov r8b, 1
bts eax, ebx
mov edx, ebx
mov rcx, rbp
mov dword [rsi + 0x14], eax
call fcn.180005730
jmp case.0x180031fbf.527
sub edi, 0x202
je 0x18003208d
sub edi, 3
je 0x180032088
sub edi, 3
je 0x180032081
cmp edi, 4
jne 0x18003208d
mov rax, qword [rsp + 0x80]
shr rax, 0x10
cmp ax, 1
setne bl
add ebx, 3
jmp 0x18003208d
mov ebx, 2
jmp 0x18003208d
mov ebx, 1
mov eax, dword [rsi + 0x14]
btr eax, ebx
mov dword [rsi + 0x14], eax
test eax, eax
jne 0x1800320ab
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, r15
jne 0x1800320ab
call qword [sym.imp.USER32.dll_ReleaseCapture]
xor r8d, r8d
mov edx, ebx
mov rcx, rbp
call fcn.180005730
jmp case.0x180031fbf.527
mov rax, qword [rsp + 0x80]
xorps xmm1, xmm1
shr rax, 0x10
cwde
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x18008f310]
jmp 0x1800320fa
mov rax, qword [rsp + 0x80]
xorps xmm2, xmm2
shr rax, 0x10
cwde
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x18008f310]
mov rcx, rbp
call fcn.1800059c0
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x88]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret