joyce8/EMBER2024-capa huggingface dataset:
Function at 0x76fcbaa0
Capabilities:
Get keyboard layout

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x76fda01c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
push esi
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov edi, dword [ebp + 8]
mov ecx, eax
mov eax, edi
sub eax, 1
je 0x76fcbb5d
sub eax, 1
je 0x76fcbb2b
mov eax, edi
mov edx, 0xe000
shr eax, 0x10
and eax, 0xf000
cmp ax, dx
jne 0x76fcbc17
cmp edi, ecx
je 0x76fcbc17
mov esi, 0x76fda5c0
push esi
call dword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
mov ecx, dword [0x76fdac30]
jmp 0x76fcbb14
cmp dword [ecx + 8], edi
jne 0x76fcbb12
test byte [ecx + 0x50], 4
je 0x76fcbb1a
mov ecx, dword [ecx]
test ecx, ecx
jne 0x76fcbb07
jmp 0x76fcbb1f
call fcn.76fcbc98
push esi
call dword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
jmp 0x76fcbc17
cmp byte [0x76fda5a0], 0
je 0x76fcbc17
mov esi, 0x76fda5c0
push esi
call dword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
mov edi, dword [0x76fdac30]
test edi, edi
je 0x76fcbb1f
mov ecx, edi
call fcn.76fcbc98
test eax, eax
jne 0x76fcbb44
mov edi, dword [edi]
jmp 0x76fcbb4a
mov eax, 0xf000
shr ecx, 0x10
and ecx, eax
mov dword [ebp - 0x1c], eax
mov eax, 0xe000
mov dword [ebp - 0x20], eax
cmp cx, ax
jne 0x76fcbc17
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
push esi
push esi
movzx ebx, ax
call dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
mov edi, eax
test edi, edi
je 0x76fcbbe3
mov edx, edi
xor ecx, ecx
shl edx, 2
call fcn.76fc2470
mov esi, eax
test esi, esi
je 0x76fcbc1a
push esi
push edi
call dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
mov edx, eax
xor ecx, ecx
test edx, edx
je 0x76fcbbd4
lea edi, [esi + 2]
mov ax, word [edi]
and ax, word [ebp - 0x1c]
cmp ax, word [ebp - 0x20]
jne 0x76fcbbcc
inc ecx
add edi, 4
cmp ecx, edx
jb 0x76fcbbb7
cmp ecx, edx
jae 0x76fcbbd4
movzx ebx, word [esi + ecx*4]
push esi
push 0
push dword [0x76fda9dc]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push ebx
push 0x76fc1784
lea eax, [ebp - 0x18]
push 9
push eax
call fcn.76fcbf3c
add esp, 0x10
lea eax, [ebp - 0x18]
push 1
push eax
call dword [sym.imp.USER32.dll_LoadKeyboardLayoutW]
test eax, eax
jne 0x76fcbc17
push 0x201
push 0x76fc1790
call dword [sym.imp.USER32.dll_LoadKeyboardLayoutW]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.76fc5210
leave
ret 4
Function at 0x76fcbd21
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x76fda01c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, ecx
mov edi, edx
push ecx
push ecx
lea ecx, [ebp - 0x20c]
lea edx, [esi + 0xb8]
call fcn.76fcc1f9
test byte [esi + 0x158], 2
jne 0x76fcbd6f
lea ecx, [ebp - 0x20c]
call fcn.76fcaf42
test eax, eax
je 0x76fcbeed
push 8
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [edi], eax
test eax, eax
je 0x76fcbeed
push 0x76fc1674
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx], eax
test eax, eax
je 0x76fcbeed
push 0x76fc1680
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 4], eax
test eax, eax
je 0x76fcbeed
push 0x76fc1694
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 8], eax
test eax, eax
je 0x76fcbeed
push 0x76fc16a4
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 0xc], eax
test eax, eax
je 0x76fcbeed
push 0x76fc16b8
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 0x10], eax
test eax, eax
je 0x76fcbeed
push 0x76fc16d0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 0x14], eax
test eax, eax
je 0x76fcbeed
push 0x76fc16e4
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 0x18], eax
test eax, eax
je 0x76fcbeed
push 0x76fc16f4
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 0x1c], eax
test eax, eax
je 0x76fcbeed
push 0x76fc1700
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 0x20], eax
test eax, eax
je 0x76fcbeed
push 0x76fc170c
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 0x24], eax
test eax, eax
je 0x76fcbeed
push 0x76fc171c
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 0x28], eax
test eax, eax
je 0x76fcbeed
push 0x76fc1728
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 0x2c], eax
test eax, eax
je 0x76fcbeed
push 0x76fc173c
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 0x30], eax
test eax, eax
je 0x76fcbeed
push 0x76fc174c
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 0x34], eax
test eax, eax
je 0x76fcbeed
push 0x76fc1758
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 0x38], eax
test eax, eax
je 0x76fcbeed
push 0x76fc1770
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 0x3c], eax
xor eax, eax
inc eax
jmp 0x76fcbeef
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.76fc5210
leave
ret 4
Function at 0x76fcc060
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x76fda01c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
push 0x15c
push ebx
push esi
call sub.ntdll.dll_memset
mov eax, edi
mov ecx, 0xe000
shr eax, 0x10
add esp, 0xc
and eax, 0xf000
cmp ax, cx
je 0x76fcc0f1
mov ecx, dword [0x76fdac28]
mov eax, ecx
or eax, dword [0x76fdac2c]
je 0x76fcc0f1
test byte [ecx], 4
je 0x76fcc0f1
push 0x76fc18f4
push 0x4f
lea ecx, [esi + 0xb8]
pop edx
call fcn.76fcc5bc
xor eax, eax
mov dword [esi], edi
mov dword [esi + 0x48], ebx
mov word [esi + 0x54], ax
or dword [esi + 0x158], 2
inc eax
mov dword [esi + 0x4c], 0xa0000
mov dword [esi + 0x50], 0x40000
jmp 0x76fcc17b
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x21c], eax
mov eax, 0x208
mov word [ebp - 0x21e], ax
lea eax, [ebp - 0x220]
push eax
push 0x10
push edi
mov dword [ebp - 0x214], ebx
call dword [sym.imp.ntdll.dll_RtlIntegerToUnicodeString]
test eax, eax
js 0x76fcc179
lea eax, [ebp - 0x210]
push eax
push 0x2000000
push ebx
push 0x76fc15e8
push 0x80000002
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x76fcc179
lea eax, [ebp - 0x214]
push eax
push 0x2000000
push ebx
push dword [ebp - 0x21c]
push dword [ebp - 0x210]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
je 0x76fcc18c
push dword [ebp - 0x210]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.76fc5210
leave
ret 8
lea eax, [ebp - 0x218]
mov dword [ebp - 0x218], 0x50
push eax
lea eax, [esi + 0xb8]
push eax
push ebx
push ebx
push 0x76fc1574
push dword [ebp - 0x214]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
push dword [ebp - 0x214]
test eax, eax
je 0x76fcc1c9
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x76fcc16d
xor eax, eax
mov word [esi + 0x156], ax
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
push dword [ebp - 0x210]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
and dword [esi + 0x158], 0xfffffffd
mov ecx, esi
mov dword [esi], edi
mov dword [esi + 0x48], ebx
call fcn.76fcc422
jmp 0x76fcc17b
Function at 0x76fcc1f9
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
mov ebx, edx
test esi, esi
je 0x76fcc275
push edi
test ebx, ebx
je 0x76fcc26f
xor eax, eax
mov dword [ebp - 4], eax
cmp word [ebx], ax
je 0x76fcc26f
mov edi, 0x104
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ecx, eax
cmp ecx, edi
jae 0x76fcc26f
test ecx, ecx
je 0x76fcc274
push 0x5c
pop eax
cmp word [esi + ecx*2 - 2], ax
je 0x76fcc23f
mov word [esi + ecx*2], ax
inc ecx
cmp ecx, edi
jae 0x76fcc26f
mov edx, ebx
lea eax, [edx + 2]
mov dword [ebp - 8], eax
mov ax, word [edx]
add edx, 2
cmp ax, word [ebp - 4]
jne 0x76fcc24b
sub edx, dword [ebp - 8]
sub edi, ecx
sar edx, 1
cmp edi, edx
jbe 0x76fcc26f
push ebx
lea ecx, [esi + ecx*2]
mov edx, edi
call fcn.76fcc5bc
jmp 0x76fcc274
xor eax, eax
mov word [esi], ax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x76fcc90a
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xf4
mov eax, dword [0x76fda01c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xe0], edx
push eax
push 0x2000000
xor eax, eax
mov dword [ebp - 0xd4], 0x14
push eax
push 0x76fc15e8
mov edi, ecx
mov dword [ebp - 0xe8], eax
push 0x80000002
mov dword [ebp - 0xdc], edi
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
je 0x76fcc968
xor eax, eax
jmp 0x76fccae0
push ebx
push esi
xor ecx, ecx
lea eax, [ebp - 0xd4]
push ecx
push ecx
push ecx
push ecx
push eax
lea eax, [ebp - 0x2c]
mov ebx, ecx
push eax
push ecx
push dword [ebp - 0xd0]
mov esi, ecx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
test eax, eax
jne 0x76fccad0
add edi, 0x2c
cmp word [ebp - 0x2c], 0x45
mov dword [ebp - 0xd4], 0x14
je 0x76fcc9b3
cmp word [ebp - 0x2c], 0x65
jne 0x76fccaa9
cmp dword [ebp - 0xdc], 0
je 0x76fccaa2
cmp esi, dword [ebp - 0xe0]
jge 0x76fccad0
lea eax, [ebp - 0xd8]
push eax
push 0x2000000
xor eax, eax
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0xd0]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
lea eax, [ebp - 0xe4]
mov dword [ebp - 0xe4], 0x50
push eax
lea eax, [ebp - 0xcc]
push eax
xor eax, eax
push eax
push eax
push 0x76fc1574
push dword [ebp - 0xd8]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
push dword [ebp - 0xd8]
xor eax, eax
mov word [ebp - 0x2e], ax
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
lea ecx, [ebp - 0x2c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0xe8]
jne 0x76fcca3d
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
mov word [ebp - 0xf4], ax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0xf0], eax
lea eax, [ebp - 0xec]
push eax
push 0x10
lea eax, [ebp - 0xf4]
push eax
call dword [sym.imp.ntdll.dll_RtlUnicodeStringToInteger]
mov eax, dword [ebp - 0xec]
lea ecx, [edi - 0x28]
mov dword [edi - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push 0x14
pop edx
call fcn.76fcc5bc
lea eax, [ebp - 0xcc]
mov ecx, edi
push eax
push 0x50
pop edx
call fcn.76fcc5bc
inc esi
add edi, 0xcc
xor eax, eax
inc ebx
push eax
push eax
push eax
push eax
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0x2c]
push eax
push ebx
push dword [ebp - 0xd0]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
test eax, eax
je 0x76fcc997
push dword [ebp - 0xd0]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.76fc5210
leave
ret
Function at 0x76fcd820
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x76fda01c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
movzx esi, ax
cmp esi, dword [0x76fdac3c]
jne 0x76fcd848
mov eax, dword [0x76fdac38]
jmp 0x76fcd87a
push 7
lea eax, [ebp - 0x14]
push eax
push 0x1004
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x76fcd87a
push 0xa
lea eax, [ebp - 0x14]
mov dword [0x76fdac3c], esi
push 0
push eax
call dword [sym.imp.ntdll.dll_wcstol]
add esp, 0xc
mov dword [0x76fdac38], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.76fc5210
leave
ret 4

Function at 0x76fcf601
Capabilities:
Capture screenshot

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0xd1
push dword [0x76fda5a4]
mov esi, ecx
mov dword [ebp - 4], esi
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov ebx, eax
push esi
mov dword [ebp - 0xc], ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
push ebx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 8], eax
xor ebx, ebx
mov edi, 0x76fda3e0
mov eax, dword [edi + 4]
push 0xcc0020
push 0
push ebx
push esi
push 8
push 8
add eax, 2
push eax
mov eax, dword [edi]
add eax, 2
push eax
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_BitBlt]
add edi, 8
add ebx, 8
cmp edi, 0x76fda558
jl 0x76fcf642
push dword [ebp - 8]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_DeleteObject]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x76fcf71e
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov ebx, ecx
push 0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x76fcf84a
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
test edi, edi
je 0x76fcf84a
test byte [edi + 0xbc], 2
je 0x76fcf785
lea esi, [edi + 0xd4]
mov ecx, ebx
add edi, 0xcc
push esi
mov edx, edi
call fcn.76fcf48a
push edi
call dword [sym.imp.USER32.dll_GetCursorPos]
push esi
mov edx, edi
mov ecx, ebx
call fcn.76fcf48a
jmp 0x76fcf83c
cmp dword [edi + 0xc8], 0xffffffff
je 0x76fcf83c
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x18]
push eax
push ebx
call dword [sym.imp.USER32.dll_ScreenToClient]
lea ecx, [ebp - 0x18]
call fcn.76fcf853
push ebx
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [edi + 0xc0]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [edi + 0xbc]
mov edx, dword [edi + 0xc8]
mov dword [ebp - 0xc], eax
test cl, 4
je 0x76fcf7ed
cmp dword [ebp - 4], edx
jne 0x76fcf7f2
jmp 0x76fcf823
cmp dword [ebp - 4], edx
jne 0x76fcf823
cmp edx, 0x33
jne 0x76fcf7fc
test cl, 1
jne 0x76fcf81a
mov ecx, dword [ebp - 8]
call fcn.76fcf692
mov edx, dword [edi + 0xc8]
mov ecx, esi
call fcn.76fcf692
mov ecx, dword [edi + 0xbc]
mov eax, dword [ebp - 0xc]
xor ecx, 4
mov dword [edi + 0xbc], ecx
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 8]
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor eax, eax
inc eax
jmp 0x76fcf84c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x76fd0ca4
Capabilities:
Capture screenshot

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0x6c
push dword [0x76fda5a4]
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov edi, eax
push ebx
mov dword [ebp - 0x10], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
push edi
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xffffffffffffffd0
mov dword [ebp - 0xc], eax
lea edi, [esi + 0x30]
pop eax
sub eax, esi
push 0x2f
mov dword [ebp - 8], eax
pop esi
push 0xcc0020
push 0
add eax, edi
push eax
push ebx
push 8
push 8
push dword [edi + 4]
push dword [edi]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 8]
add edi, 8
sub esi, 1
jne 0x76fd0ceb
push dword [ebp - 0xc]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_DeleteObject]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x76fd107b
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x76fda01c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x28], edx
push 0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x76fd1222
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
je 0x76fd1222
cmp dword [esi + 0x284], 0xffffffff
je 0x76fd10e5
cmp dword [esi + 0x288], 0xffffffff
je 0x76fd10e5
push 0x7f86
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x76fd1214
lea ebx, [esi + 0x27c]
push ebx
call dword [sym.imp.USER32.dll_GetCursorPos]
push ebx
push edi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, ebx
mov ecx, esi
call fcn.76fd0eb9
mov ebx, eax
cmp ebx, 0x3b
jae 0x76fd1111
push 0x7f89
jmp 0x76fd1116
push 0x7f86
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [ebp - 0x28]
mov ecx, 0x201
shr eax, 0x10
cmp ax, cx
jne 0x76fd1214
push edi
call dword [sym.imp.USER32.dll_SetCapture]
mov ecx, dword [esi + 0x278]
cmp ecx, 0x3b
jae 0x76fd1182
mov cl, byte [ecx + 0x76fc1a20]
movzx eax, cl
push 0
push 2
movzx eax, byte [eax*4 + 0x76fda5e0]
push eax
push ecx
call dword [sym.imp.USER32.dll_keybd_event]
push dword [esi + 0x278]
xor edx, edx
mov ecx, edi
push esi
call fcn.76fd0d34
mov dword [esi + 0x278], 0x3b
cmp ebx, 0x3b
jae 0x76fd11ce
mov edx, esi
mov ecx, ebx
call fcn.76fd0e14
test eax, eax
je 0x76fd11c4
mov dl, byte [ebx + 0x76fc1a20]
movzx eax, dl
push 0
push 0
movzx eax, byte [eax*4 + 0x76fda5e0]
push eax
push edx
call dword [sym.imp.USER32.dll_keybd_event]
push ebx
push esi
xor edx, edx
mov dword [esi + 0x278], ebx
mov ecx, edi
call fcn.76fd0d34
jmp 0x76fd1214
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x76fd1214
lea ecx, [ebp - 0x24]
call fcn.76fd1790
lea ebx, [esi + 0x27c]
push ebx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebx]
lea ecx, [esi + 0x284]
sub eax, dword [ebp - 0x14]
mov edx, ebx
mov dword [ecx], eax
mov eax, dword [esi + 0x280]
sub eax, dword [ebp - 0x10]
push ecx
mov ecx, edi
mov dword [esi + 0x288], eax
call fcn.76fd0b92
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor eax, eax
inc eax
jmp 0x76fd1224
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.76fc5210
leave
ret
Function at 0x76fd1900
Capabilities:
Get keyboard layout
Hide graphical window
Log keystrokes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x76fda01c]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x14], eax
test edi, edi
je 0x76fd1ac4
cmp edi, 3
jae 0x76fd1ac4
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
call sym.IMM32.dll_ImmLockImeDpi
test eax, eax
je 0x76fd1ac4
mov esi, dword [eax + 0x1c]
push eax
call sym.IMM32.dll_ImmUnlockImeDpi
test esi, 0x10000
je 0x76fd1ac4
cmp dword [0x76fda038], 0
je 0x76fd19fb
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x1c]
call fcn.76fd17e3
test eax, eax
je 0x76fd1ac4
xor esi, esi
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov dword [esi*4 + 0x76fda5e0], eax
inc esi
cmp esi, 0xff
jb 0x76fd198d
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
mov dword [0x76fdac64], eax
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
push 0x2d
mov dword [0x76fdac68], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 5
mov esi, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add esi, eax
push 0x2e
mov dword [0x76fda5d8], esi
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 6
mov esi, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add esi, eax
and dword [0x76fda038], 0
mov dword [0x76fda5dc], esi
mov ecx, edi
call fcn.76fd1b18
test eax, eax
je 0x76fd1ac4
lea eax, [esp + 0x18]
mov ecx, edi
push eax
lea edx, [esp + 0x14]
call fcn.76fd1858
mov esi, dword [esp + 0x10]
test ebx, ebx
jns 0x76fd1a26
xor ebx, ebx
jmp 0x76fd1a37
mov ecx, dword [0x76fdac64]
lea eax, [ebx + esi]
cmp eax, ecx
jle 0x76fd1a37
mov ebx, ecx
sub ebx, esi
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test ecx, ecx
jns 0x76fd1a47
xor ecx, ecx
jmp 0x76fd1a5a
lea eax, [ecx + edx]
cmp eax, dword [0x76fdac68]
jle 0x76fd1a5a
mov ecx, dword [0x76fdac68]
sub ecx, edx
sub edi, 1
je 0x76fd1a87
sub edi, 1
jne 0x76fd1ac4
push edi
push dword [0x76fda5a4]
push edi
push dword [esp + 0x18]
push edx
push esi
push ecx
push ebx
push 0x88800000
push edi
push dword [0x76fc1100]
push 0x101
jmp 0x76fd1aa8
push 0
push dword [0x76fda5a4]
push 0
push dword [esp + 0x18]
push edx
push esi
push ecx
push ebx
push 0x88000000
push 0
push dword [0x76fc10fc]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, esi
jmp 0x76fd1ac6
xor eax, eax
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.76fc5210
mov esp, ebp
pop ebp
ret 0x10
Function at 0x76fd1d10
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x76fda01c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push eax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x114], ebx
call sym.IMM32.dll_ImmGetContext
push ebx
mov edi, eax
call sym.IMM32.dll_ImmLockImeDpi
mov esi, eax
xor ebx, ebx
mov dword [ebp - 0x110], esi
test esi, esi
je 0x76fd1e21
xor edx, edx
mov ecx, edi
inc edx
call fcn.76fc2e80
mov dword [ebp - 0x118], eax
test eax, eax
je 0x76fd1e1b
mov ecx, dword [ebp + 0x10]
mov byte [ebp - 0x105], bl
cmp cl, 0xe7
jne 0x76fd1d9a
test byte [esi + 0x10], 0x20
jne 0x76fd1d9a
test dword [esi + 0x10], 0x80000
je 0x76fd1eae
mov byte [ebp - 0x105], 1
push 0x100
lea eax, [ebp - 0x104]
push ebx
push eax
call sub.ntdll.dll_memset
add esp, 0xc
test byte [esi + 0x50], 4
jne 0x76fd1dc6
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x76fd1e15
mov eax, dword [ebp + 0x10]
mov ecx, eax
cmp byte [ebp - 0x105], bl
je 0x76fd1dd6
movzx ecx, ax
mov esi, dword [esi + 0x78]
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 0x14]
push ecx
push edi
mov ecx, esi
call dword [0x76fdb2cc]
call esi
mov esi, dword [ebp - 0x110]
test eax, eax
je 0x76fd1e15
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp + 0x10]
push 2
mov dword [eax + 0x144], 1
mov dword [eax + 0x140], ecx
pop ebx
push edi
call sym.IMM32.dll_ImmUnlockIMC
push esi
call sym.IMM32.dll_ImmUnlockImeDpi
call sym.IMM32.dll_CtfImmIsCiceroStartedInThread
test eax, eax
je 0x76fd1ede
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
call dword [sym.imp.MSCTF.dll_CtfImeProcessCicHotkey]
test eax, eax
je 0x76fd1ebe
cmp dword [ebp + 0x10], 0x19
jne 0x76fd1e4b
cmp dword [ebp + 0x18], 0x30
je 0x76fd1e4e
or ebx, 1
mov esi, dword [ebp - 0x10c]
test bl, 2
je 0x76fd1e9b
push edi
call sym.IMM32.dll_ImmGetAppCompatFlags
test eax, 0x10000
je 0x76fd1e9b
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
and eax, 0x3ff
mov ecx, 0xe5
cmp ax, 0x12
jne 0x76fd1e86
cmp dword [ebp + 0x10], ecx
je 0x76fd1e9b
test bl, 1
jne 0x76fd1e9b
push dword [ebp + 0x14]
push ecx
push 0x100
push esi
call sym.IMM32.dll_ImmTranslateMessage
and ebx, 0xfffffffd
or ebx, 0x10
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.76fc5210
leave
ret 0x14
cmp dword [eax + 4], ebx
je 0x76fd1e15
push 0x10
jmp 0x76fd1e14
mov ecx, dword [ebp - 0x114]
mov edx, 0xe000
mov eax, ecx
shr eax, 0x10
and eax, 0xf000
cmp ax, dx
jne 0x76fd1e4e
jmp 0x76fd1ee4
mov ecx, dword [ebp - 0x114]
cmp dword [ebp + 0x18], 0xffffffff
je 0x76fd1e4e
push dword [ebp + 0x18]
mov esi, dword [ebp - 0x10c]
mov edx, edi
push ecx
mov ecx, esi
call fcn.76fcab44
test eax, eax
je 0x76fd1e54
cmp dword [ebp + 0x10], 0x19
jne 0x76fd1f19
cmp dword [ebp + 0x18], 0x30
je 0x76fd1e54
or ebx, 1
jmp 0x76fd1e54