Function at 0x14000b0e0
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x180
mov rax, qword [0x140114720]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rbx, rcx
mov dword [rsp + 0x50], 0x114
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x54], 4
jb 0x14000b3f9
cmp dword [rsp + 0x60], 2
jne 0x14000b3f9
xor ecx, ecx
mov qword [rsp + 0x198], rdi
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
call fcn.14000a120
call fcn.140025730
mov r9d, 0x64
mov qword [0x140120740], rbx
lea r8, [0x140120760]
mov rcx, rbx
lea edx, [r9 + 2]
call qword [sym.imp.USER32.dll_LoadStringW]
xor edx, edx
lea rcx, str.UniKey_MainWnd
call qword [sym.imp.USER32.dll_FindWindowW]
mov rdi, rax
test rax, rax
je 0x14000b1e1
mov r9d, 0x30
lea r8, str.Warning
lea rdx, str.A_previous_instance_of_UniKey_is_already_running._This_instance_will_now_stop.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, rdi
call qword [sym.imp.USER32.dll_BringWindowToTop]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
xor r9d, r9d
mov edx, 0x111
mov r8d, 0x9c42
mov rcx, rdi
call qword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
mov rdi, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400264d0
add rsp, 0x180
pop rbx
ret
mov rcx, rbx
call fcn.140009f60
test eax, eax
je 0x14000b1be
lea rcx, [0x140120840]
call fcn.1400113b0
mov rdx, rbx
lea rbx, [0x140120ac0]
mov rcx, rbx
call fcn.14000a810
test eax, eax
je 0x14000b1be
mov eax, dword [rsp + 0x54]
cmp eax, 6
ja 0x14000b221
jne 0x14000b22d
cmp dword [rsp + 0x58], 2
jb 0x14000b22d
mov rcx, qword [0x140120ac8]
call fcn.14000a000
mov rcx, qword [0x140120ac8]
call fcn.14000ade0
test eax, eax
je 0x14000b1be
call fcn.14001c990
cmp dword [0x140120840], 0
je 0x14000b268
mov rcx, qword [0x140120ac8]
xor r9d, r9d
mov edx, 0x111
mov r8d, 0x9c42
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14000b271
or ecx, 0xffffffff
call qword [sym.imp.USER32.dll_MessageBeep]
xor r9d, r9d
lea rcx, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x14000b3c5
nop dword [rax]
mov rax, qword [0x140121a78]
movsxd rcx, dword [rax + 4]
mov rcx, qword [rcx + rbx + 0xfc0]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14000b2d3
mov rax, qword [0x140121a78]
lea rdx, [rsp + 0x20]
movsxd rcx, dword [rax + 4]
mov rcx, qword [rcx + rbx + 0xfc0]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x14000b3aa
mov rax, qword [0x140121150]
movsxd rcx, dword [rax + 4]
mov rcx, qword [rcx + rbx + 0x698]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14000b316
mov rax, qword [0x140121150]
lea rdx, [rsp + 0x20]
movsxd rcx, dword [rax + 4]
mov rcx, qword [rcx + rbx + 0x698]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x14000b3aa
mov rax, qword [0x140122068]
movsxd rcx, dword [rax + 4]
mov rcx, qword [rcx + rbx + 0x15b0]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14000b355
mov rax, qword [0x140122068]
lea rdx, [rsp + 0x20]
movsxd rcx, dword [rax + 4]
mov rcx, qword [rcx + rbx + 0x15b0]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x14000b3aa
mov rax, qword [0x140122768]
movsxd rcx, dword [rax + 4]
mov rcx, qword [rcx + rbx + 0x1cb0]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14000b394
mov rax, qword [0x140122768]
lea rdx, [rsp + 0x20]
movsxd rcx, dword [rax + 4]
mov rcx, qword [rcx + rbx + 0x1cb0]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x14000b3aa
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x14000b290
mov ecx, dword [0x140120750]
test ecx, ecx
je 0x14000b3ef
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x12]
call qword [sym.imp.USER32.dll_PostThreadMessageW]
mov rcx, qword [0x140120748]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
jmp 0x14000b1c0
mov r9d, 0x10
lea r8, str.Platform_not_supported
lea rdx, str.This_version_runs_only_in_Windows_NT.40_2000_XP_only_nYou_can_download_UniKey_running_on_all_Windows_platforms_at_http:__unikey.org
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
or eax, 0xffffffff
jmp 0x14000b1c8