Function at 0x18002bc00
Capabilities:
Get geographical location
Get keyboard layout
Log keystrokes via polling

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xa8
movaps xmmword [rsp + 0x90], xmm6
mov rax, qword [0x1800fd750]
xor rax, rsp
mov qword [rbp - 1], rax
mov rbx, qword [0x1802b33f0]
mov rsi, r9
mov qword [rbp - 0x11], r8
mov r15d, edx
mov r13, rcx
test rbx, rbx
je case.0x18002c4a7.527
mov r14, qword [rbx + 0x98]
test r14, r14
je case.0x18002c4a7.527
add rbx, 8
cmp edx, 0x200
ja 0x18002c47d
je case.0x18002bc99.160
lea eax, [rdx - 7]
cmp eax, 0xfe
ja case.0x18002c4a7.527
lea rdx, [0x180000000]
movzx eax, byte [rdx + rax + 0x2c7b8]
mov ecx, dword [rdx + rax*4 + 0x2c79c]
add rcx, rdx
jmp rcx
lea eax, [r15 - 0x100]
mov r14d, 0x100
test eax, 0xfffffffb
sete dil
cmp r8, r14
jae case.0x18002c4a7.527
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
movss xmm6, dword [0x1800e6d14]
shr eax, 0xf
and al, 1
cmp byte [rbx + 0x2b99], 0
je 0x18002bcf8
test al, al
je 0x18002bce4
movaps xmm3, xmm6
jmp 0x18002bce7
xorps xmm3, xmm3
movzx r8d, al
mov edx, 0x1000
mov rcx, rbx
call fcn.180002eb0
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [rbx + 0x2b99], 0
je 0x18002bd2e
test al, al
je 0x18002bd1a
movaps xmm3, xmm6
jmp 0x18002bd1d
xorps xmm3, xmm3
movzx r8d, al
mov edx, 0x2000
mov rcx, rbx
call fcn.180002eb0
mov ecx, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [rbx + 0x2b99], 0
je 0x18002bd64
test al, al
je 0x18002bd50
movaps xmm3, xmm6
jmp 0x18002bd53
xorps xmm3, xmm3
movzx r8d, al
mov edx, 0x4000
mov rcx, rbx
call fcn.180002eb0
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18002bd8d
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18002bd8d
xor r8b, r8b
jmp 0x18002bd90
mov r8b, 1
cmp byte [rbx + 0x2b99], 0
je 0x18002bdb3
test r8b, r8b
je 0x18002bda3
movaps xmm3, xmm6
jmp 0x18002bda6
xorps xmm3, xmm3
mov edx, 0x8000
mov rcx, rbx
call fcn.180002eb0
mov rbx, qword [rbp - 0x11]
cmp rbx, 0xd
jne 0x18002bdcd
shr rsi, 0x10
mov eax, 0x10d
test r14w, si
cmovne ebx, eax
movsxd r15, ebx
mov rcx, r15
call fcn.18002b620
movsxd rsi, eax
cmp esi, 0x262
jne 0x18002be26
test dil, dil
jne 0x18002be2a
mov r14, qword [0x1802b33f0]
cmp byte [r14 + 0x2ba1], dil
je 0x18002be09
movaps xmm3, xmm6
lea rcx, [r14 + 8]
mov r8b, 1
mov edx, esi
call fcn.180002eb0
cmp ebx, 0x1ff
ja 0x18002be2a
mov dword [r14 + r15*4 + 0x2bb8], 0x262
mov dword [r14 + 0x3540], ebx
jmp 0x18002be2a
test eax, eax
je 0x18002be6f
mov r14, qword [0x1802b33f0]
cmp byte [r14 + 0x2ba1], 0
je 0x18002be57
test dil, dil
je 0x18002be45
movaps xmm3, xmm6
jmp 0x18002be48
xorps xmm3, xmm3
movzx r8d, dil
lea rcx, [r14 + 8]
mov edx, esi
call fcn.180002eb0
cmp ebx, 0x1ff
ja 0x18002be6f
mov dword [r14 + r15*4 + 0x2bb8], esi
mov dword [r14 + rsi*4 + 0x2bb8], ebx
cmp ebx, 0x10
jne 0x18002bf2f
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x18002bed0
mov rbx, qword [0x1802b33f0]
cmp byte [rbx + 0x2ba1], 0
je 0x18002bebc
test dil, dil
je 0x18002bea7
movaps xmm3, xmm6
jmp 0x18002beaa
xorps xmm3, xmm3
movzx r8d, dil
lea rcx, [rbx + 8]
mov edx, 0x210
call fcn.180002eb0
mov dword [rbx + 0x2e38], 0x210
mov dword [rbx + 0x33f8], 0xa0
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne case.0x18002c4a7.527
mov rbx, qword [0x1802b33f0]
cmp byte [rbx + 0x2ba1], 0
je 0x18002bf16
test dil, dil
jne 0x18002bf01
xorps xmm6, xmm6
movaps xmm3, xmm6
lea rcx, [rbx + 8]
movzx r8d, dil
mov edx, 0x214
call fcn.180002eb0
mov dword [rbx + 0x2e3c], 0x214
mov dword [rbx + 0x3408], 0xa1
jmp case.0x18002c4a7.527
cmp ebx, 0x11
jne 0x18002bfef
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x18002bf90
mov rbx, qword [0x1802b33f0]
cmp byte [rbx + 0x2ba1], 0
je 0x18002bf7c
test dil, dil
je 0x18002bf67
movaps xmm3, xmm6
jmp 0x18002bf6a
xorps xmm3, xmm3
movzx r8d, dil
lea rcx, [rbx + 8]
mov edx, 0x20f
call fcn.180002eb0
mov dword [rbx + 0x2e40], 0x20f
mov dword [rbx + 0x33f4], 0xa2
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne case.0x18002c4a7.527
mov rbx, qword [0x1802b33f0]
cmp byte [rbx + 0x2ba1], 0
je 0x18002bfd6
test dil, dil
jne 0x18002bfc1
xorps xmm6, xmm6
movaps xmm3, xmm6
lea rcx, [rbx + 8]
movzx r8d, dil
mov edx, 0x213
call fcn.180002eb0
mov dword [rbx + 0x2e44], 0x213
mov dword [rbx + 0x3404], 0xa3
jmp case.0x18002c4a7.527
cmp ebx, 0x12
jne case.0x18002c4a7.527
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x18002c050
mov rbx, qword [0x1802b33f0]
cmp byte [rbx + 0x2ba1], 0
je 0x18002c03c
test dil, dil
je 0x18002c027
movaps xmm3, xmm6
jmp 0x18002c02a
xorps xmm3, xmm3
movzx r8d, dil
lea rcx, [rbx + 8]
mov edx, 0x211
call fcn.180002eb0
mov dword [rbx + 0x2e48], 0x211
mov dword [rbx + 0x33fc], 0xa4
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne case.0x18002c4a7.527
mov rbx, qword [0x1802b33f0]
cmp byte [rbx + 0x2ba1], 0
je 0x18002c096
test dil, dil
jne 0x18002c081
xorps xmm6, xmm6
movaps xmm3, xmm6
lea rcx, [rbx + 8]
movzx r8d, dil
mov edx, 0x215
call fcn.180002eb0
mov dword [rbx + 0x2e4c], 0x215
mov dword [rbx + 0x340c], 0xa5
jmp case.0x18002c4a7.527
mov rdx, qword [rbx + 0x100]
cmp r15d, 7
sete r8b
lea r9, [rdx + 0x3ff0]
movsxd rax, dword [r9]
test eax, eax
jle 0x18002c0ef
lea rcx, [rax - 1]
imul rax, rcx, 0x1c
add rax, qword [rdx + 0x3ff8]
nop dword [rax + rax]
cmp dword [rax], 6
je 0x18002c14f
sub rax, 0x1c
sub rcx, 1
jns 0x18002c0e0
cmp byte [rdx + 0x2ba0], 0
sete cl
cmp cl, r8b
je case.0x18002c4a7.527
cmp byte [rbx + 0x77], 0
je 0x18002c112
cmp r15d, 7
jne case.0x18002c4a7.527
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
mov qword [rbp - 0x41], rax
mov rcx, r9
mov dword [rbp - 0x39], eax
mov eax, dword [rdx + 0x4014]
mov dword [rbp - 0x49], eax
inc eax
mov dword [rdx + 0x4014], eax
lea rdx, [rbp - 0x51]
mov dword [rbp - 0x51], 6
mov byte [rbp - 0x45], r8b
call fcn.18001a8e0
jmp case.0x18002c4a7.527
movzx ecx, byte [rax + 0xc]
jmp 0x18002c0f9
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [r14 + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne case.0x18002c4a7.527
xor edi, edi
mov dword [r14 + 0x2c], edi
jmp case.0x18002c4a7.527
mov rcx, r13
call qword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x18002c2cd
mov rsi, qword [rbp - 0x11]
lea rax, [rsi - 1]
cmp rax, 0xfffe
ja case.0x18002c4a7.527
test si, si
jne 0x18002c1c3
cmp word [rbx + 0x2b9c], si
je case.0x18002c4a7.527
cmp byte [rbx + 0x2b99], 0
je case.0x18002c4a7.527
mov ecx, 0xfc00
movzx eax, si
and ax, cx
mov edx, 0xd800
movzx ecx, word [rbx + 0x2b9c]
cmp ax, dx
jne 0x18002c247
test cx, cx
je 0x18002c23b
mov rcx, qword [rbx + 0x100]
lea rdx, [rbp - 0x51]
xor edi, edi
mov dword [rbp - 0x51], 5
mov r12d, 2
mov qword [rbp - 0x41], rdi
mov dword [rbp - 0x39], edi
mov eax, dword [rcx + 0x4014]
mov dword [rbp - 0x49], eax
inc eax
mov dword [rcx + 0x4014], eax
mov eax, 0xfffd
add rcx, 0x3ff0
mov dword [rbp - 0x45], eax
mov dword [rbp - 0x4d], r12d
call fcn.18001a8e0
mov word [rbx + 0x2b9c], si
jmp case.0x18002c4a7.527
xor edi, edi
lea r12d, [rdi + 2]
test cx, cx
je 0x18002c2ac
mov ecx, 0xdc00
cmp ax, cx
je 0x18002c2a0
mov rcx, qword [rbx + 0x100]
lea rdx, [rbp - 0x51]
mov qword [rbp - 0x41], rdi
mov dword [rbp - 0x39], edi
mov dword [rbp - 0x51], 5
mov eax, dword [rcx + 0x4014]
mov dword [rbp - 0x49], eax
inc eax
mov dword [rcx + 0x4014], eax
mov eax, 0xfffd
add rcx, 0x3ff0
mov dword [rbp - 0x45], eax
mov dword [rbp - 0x4d], r12d
call fcn.18001a8e0
jmp 0x18002c2a5
mov esi, 0xfffd
mov word [rbx + 0x2b9c], di
mov rcx, qword [rbx + 0x100]
movzx edx, si
test edx, edx
je case.0x18002c4a7.527
cmp byte [rbx + 0x2b99], dil
je case.0x18002c4a7.527
jmp 0x18002c31c
mov ecx, dword [r14 + 0x2c]
lea rax, [rbp - 0x19]
mov edx, 1
lea r8, [rbp - 0x11]
mov dword [rsp + 0x28], edx
xor edi, edi
mov r9d, edx
mov qword [rsp + 0x20], rax
mov word [rbp - 0x19], di
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movzx edx, word [rbp - 0x19]
mov rcx, qword [rbx + 0x100]
test edx, edx
je case.0x18002c4a7.527
cmp byte [rbx + 0x2b99], dil
je case.0x18002c4a7.527
mov r12d, 2
mov eax, dword [rcx + 0x4014]
mov dword [rbp - 0x49], eax
inc eax
mov dword [rcx + 0x4014], eax
add rcx, 0x3ff0
mov dword [rbp - 0x45], edx
lea rdx, [rbp - 0x51]
mov dword [rbp - 0x51], 5
mov dword [rbp - 0x39], edi
mov qword [rbp - 0x41], rdi
mov dword [rbp - 0x4d], r12d
call fcn.18001a8e0
jmp case.0x18002c4a7.527
cmp si, 1
jne case.0x18002c4a7.527
call fcn.18002ac70
test al, al
je case.0x18002c4a7.527
mov eax, 1
jmp 0x18002c774
call qword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov edx, 0xffffff80
xor edi, edi
mov r8, rax
and r8, rdx
mov edx, 0xff515700
lea r12d, [rdi + 2]
cmp r8, rdx
jne 0x18002c39f
mov dword [rbp - 0x19], r12d
jmp 0x18002c3af
mov ecx, edi
mov eax, 0xff515780
cmp r8, rax
sete cl
mov dword [rbp - 0x19], ecx
mov ecx, dword [r14 + 0x10]
cmp r15d, 0x200
mov eax, edi
mov qword [r14 + 8], r13
setne al
inc eax
mov dword [rbp - 0x59], eax
cmp ecx, eax
je 0x18002c422
cmp r15d, 0x200
mov dword [rbp - 0x31], 0x18
mov eax, reloc.WS2_32.dll_select
mov dword [rbp - 0x2d], 0x80000000
cmovne r12d, eax
mov qword [rbp - 0x29], r13
mov dword [rbp - 0x4d], r12d
mov dword [rbp - 0x21], edi
mov dword [rbp - 0x51], 0x18
mov qword [rbp - 0x49], r13
mov dword [rbp - 0x41], edi
test ecx, ecx
je 0x18002c411
lea rcx, [rbp - 0x31]
call qword [sym.imp.USER32.dll_TrackMouseEvent]
lea rcx, [rbp - 0x51]
call qword [sym.imp.USER32.dll_TrackMouseEvent]
mov eax, dword [rbp - 0x59]
mov dword [r14 + 0x10], eax
movsx eax, si
shr rsi, 0x10
mov dword [rbp - 9], eax
movsx eax, si
mov dword [rbp - 5], eax
cmp r15d, 0xa0
jne 0x18002c450
lea rdx, [rbp - 9]
mov rcx, r13
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je case.0x18002c4a7.527
mov rax, qword [rbx + 0x100]
mov ecx, dword [rbp - 0x19]
mov dword [rax + 0x4010], ecx
mov rcx, rbx
movd xmm2, dword [rbp - 5]
movd xmm1, dword [rbp - 9]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.1800030c0
jmp case.0x18002c4a7.527
lea eax, [rdx - 0x201]
cmp eax, 0xa2
ja case.0x18002c4a7.527
lea rdx, [0x180000000]
movzx eax, byte [rdx + rax + 0x2c8d4]
mov ecx, dword [rdx + rax*4 + 0x2c8b8]
add rcx, rdx
jmp rcx
xor edi, edi
cmp r15d, 0x2a3
mov eax, edi
setne al
inc eax
cmp dword [r14 + 0x10], eax
jne case.0x18002c4a7.527
cmp qword [r14 + 8], r13
jne 0x18002c4cd
mov qword [r14 + 8], rdi
movss xmm1, dword [0x1800e6dfc]
mov rcx, rbx
movaps xmm2, xmm1
mov dword [r14 + 0x10], edi
call fcn.1800030c0
jmp case.0x18002c4a7.527
call qword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov edx, 0xffffff80
xor edi, edi
mov rcx, rax
and rcx, rdx
mov edx, 0xff515700
lea r12d, [rdi + 2]
cmp rcx, rdx
jne 0x18002c510
mov dword [rbp - 0x19], r12d
jmp 0x18002c523
mov r8d, edi
mov eax, 0xff515780
cmp rcx, rax
sete r8b
mov dword [rbp - 0x19], r8d
lea eax, [r15 - 0x204]
mov esi, edi
test eax, 0xfffffffd
mov edx, 1
lea eax, [r15 - 0x207]
cmove esi, edx
test eax, 0xfffffffd
lea eax, [r15 - 0x20b]
cmove esi, r12d
test eax, 0xfffffffd
jne 0x18002c56b
mov rax, qword [rbp - 0x11]
mov esi, edi
shr rax, 0x10
cmp ax, dx
setne sil
add esi, 3
cmp dword [r14 + 0x14], edi
jne 0x18002c585
call qword [sym.imp.USER32.dll_GetCapture]
test rax, rax
jne 0x18002c585
mov rcx, r13
call qword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [r14 + 0x14]
mov r8b, 1
mov ecx, dword [rbp - 0x19]
bts eax, esi
mov dword [r14 + 0x14], eax
mov edx, esi
mov rax, qword [rbx + 0x100]
mov dword [rax + 0x4010], ecx
mov rcx, rbx
call fcn.180003200
jmp case.0x18002c4a7.527
call qword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov edx, 0xffffff80
xor edi, edi
mov rcx, rax
and rcx, rdx
mov edx, 0xff515700
lea r12d, [rdi + 2]
cmp rcx, rdx
jne 0x18002c5d9
mov dword [rbp - 0x19], r12d
jmp 0x18002c5e9
mov edx, edi
mov eax, 0xff515780
cmp rcx, rax
sete dl
mov dword [rbp - 0x19], edx
cmp r15d, 0x205
mov esi, edi
sete sil
cmp r15d, 0x208
jne 0x18002c604
mov esi, r12d
jmp 0x18002c622
cmp r15d, 0x20c
jne 0x18002c622
mov rax, qword [rbp - 0x11]
mov esi, edi
shr rax, 0x10
cmp ax, 1
setne sil
add esi, 3
mov eax, dword [r14 + 0x14]
btr eax, esi
mov dword [r14 + 0x14], eax
test eax, eax
jne 0x18002c642
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, r13
jne 0x18002c642
call qword [sym.imp.USER32.dll_ReleaseCapture]
mov rax, qword [rbx + 0x100]
mov ecx, dword [rbp - 0x19]
mov dword [rax + 0x4010], ecx
mov r8, qword [rbx + 0x100]
cmp byte [rbx + 0x2b99], dil
je case.0x18002c4a7.527
mov edx, 1
cmp byte [rbx + 0x51], dil
je 0x18002c687
test esi, esi
jne 0x18002c687
cmp byte [rbx + 0x2b56], dil
je 0x18002c687
mov esi, edx
mov byte [rbx + 0x2b56], dil
movsxd rax, dword [r8 + 0x3ff0]
test eax, eax
jle 0x18002c6b4
lea rcx, [rax - 1]
imul rax, rcx, 0x1c
add rax, qword [r8 + 0x3ff8]
cmp dword [rax], 3
jne 0x18002c6ab
cmp dword [rax + 0xc], esi
je 0x18002c712
sub rax, 0x1c
sub rcx, rdx
jns 0x18002c6a1
mov eax, esi
movzx ecx, byte [rax + r8 + 0x118]
test cl, cl
je case.0x18002c4a7.527
mov eax, dword [r8 + 0x4014]
lea rcx, [r8 + 0x3ff0]
mov dword [rbp - 0x49], eax
inc eax
mov dword [r8 + 0x4014], eax
mov eax, dword [r8 + 0x4010]
mov dword [rbp - 0x4d], edx
lea rdx, [rbp - 0x51]
mov dword [rbp - 0x3d], eax
mov word [rbp - 0x40], di
mov byte [rbp - 0x3e], dil
mov dword [rbp - 0x39], edi
mov dword [rbp - 0x51], 3
mov dword [rbp - 0x45], esi
mov byte [rbp - 0x41], dil
call fcn.18001a8e0
jmp case.0x18002c4a7.527
movzx ecx, byte [rax + 0x10]
jmp 0x18002c6bf
shr r8, 0x10
xorps xmm1, xmm1
movsx eax, r8w
mov rcx, rbx
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x1800e6da0]
call fcn.1800033b0
jmp case.0x18002c4a7.527
shr r8, 0x10
xorps xmm2, xmm2
movsx eax, r8w
mov rcx, rbx
movd xmm1, eax
cvtdq2ps xmm1, xmm1
xorps xmm1, xmmword [0x1800e7430]
divss xmm1, dword [0x1800e6da0]
call fcn.1800033b0
jmp case.0x18002c4a7.527
cmp r8d, 7
jne case.0x18002c4a7.527
mov byte [r14 + 0x31], 1
xor eax, eax
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.1800c52c0
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret