joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415b30
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x1000
call fcn.004cd440
cmp byte [0x4ffb04], 0
push ebx
push ebp
push esi
push edi
mov ebp, ecx
jne 0x415d2e
cmp dword [0x4fc574], 0
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x415b63
call ebx
mov dword [0x4fc574], eax
inc dword [0x4ffb00]
call ebx
mov esi, dword [0x4ffb00]
mov ecx, eax
sub ecx, dword [0x4fc574]
mov edx, dword [0x4fa358]
mov dword [0x4fc570], eax
cmp esi, dword [0x4fa35c]
jbe 0x415b97
cmp ecx, edx
jae 0x415b97
mov edi, 1
jmp 0x415b99
xor edi, edi
test edi, edi
je 0x415c4e
push ecx
push esi
push str._u_hotkeys_have_been_received_in_the_last__ums._n_nDo_you_want_to_continue__n_see_MaxHotkeysPerInterval_in_the_help_file_
lea eax, [esp + 0x1c]
push 0x800
push eax
call fcn.004b0fe0
mov dx, word [0x4fc56c]
xor eax, eax
add esp, 0x14
xor ecx, ecx
cmp ax, dx
jae 0x415bfa
nop word [eax + eax]
mov eax, dword [0x4fc55c]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x415bf2
nop
mov byte [eax + 0x1b], 0
mov eax, dword [eax + 8]
test eax, eax
jne 0x415be0
mov dx, word [0x4fc56c]
inc ecx
movzx eax, dx
cmp ecx, eax
jl 0x415bd0
push 0
push 0
xorps xmm3, xmm3
mov byte [0x4ffb04], 1
mov edx, 4
mov dword [0x4f90ec], 0
lea ecx, [esp + 0x18]
call fcn.004b75d0
add esp, 8
cmp eax, 7
jne 0x415c36
push 0
push 4
mov ecx, 0x4fdb90
call fcn.0042f030
mov eax, dword [0x4fc570]
mov dword [0x4f90ec], 1
mov byte [0x4ffb04], 0
jmp 0x415c52
cmp ecx, edx
jbe 0x415c69
mov dword [0x4ffb00], 0
mov dword [0x4fc574], eax
test edi, edi
jne 0x415d2e
mov esi, dword [esp + 0x1014]
movzx eax, byte [ebp + 0xf]
mov byte [0x4fe66e], al
inc byte [esi + 0x16]
mov ecx, dword [0x4faaf4]
mov edi, dword [0x4fe5fc]
cmp ecx, dword [0x4faaf8]
jne 0x415c9b
call fcn.00406ef0
mov ecx, dword [0x4faaf4]
cmp ecx, dword [0x4faaf0]
jb 0x415cb0
mov eax, dword [0x4fe1dc]
mov dword [ecx], eax
mov ecx, dword [0x4faaf4]
add ecx, 0xc
push 0
push 0
mov dword [0x4faaf4], ecx
push 0
mov dword [ecx], 0
mov dword [ecx + 4], edi
mov dword [ecx + 8], 0
mov ecx, dword [esi]
mov edx, ecx
push 0
push str.call
call fcn.0049ce20
sub dword [0x4faaf4], 0xc
add esp, 0x14
dec byte [esi + 0x16]
test eax, eax
jne 0x415d00
mov byte [esi + 0x1b], al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1000
ret 4
cmp byte [esi + 0x1b], 0
je 0x415d2e
mov byte [esi + 0x1b], 0
call ebx
sub eax, dword [esi + 0xc]
cmp eax, 0x3e8
ja 0x415d2e
movzx eax, word [ebp + 4]
push 0
push eax
push 0x312
push dword [0x4fba00]
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1000
ret 4
Function at 0x41bc10
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
mov bl, byte [ebp + 0xc]
mov bh, cl
or byte [ebp + 8], bl
mov al, bh
dec al
mov dword [esp + 8], edx
push esi
push edi
cmp al, 5
ja 0x41bc35
cmp bh, 3
jne 0x41bc3d
mov al, bh
add al, 0x66
cmp al, 5
ja 0x41bc44
mov byte [esp + 0xf], 1
jmp 0x41bc49
mov byte [esp + 0xf], 0
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x1c]
test esi, esi
jle 0x41bd7c
mov bl, byte [esp + 0xf]
nop dword [eax + eax]
cmp dword [0x4fe93c], 0
jne 0x41bcc6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x4f90f4]
sub eax, dword [0x4fe6ac]
cmp eax, dword [ecx + 0xd8]
jbe 0x41bccc
push 0
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x41bcbb
mov edx, 1
mov dword [0x4f90ec], 0
or ecx, 0xffffffff
call fcn.004018d0
mov dword [0x4f90ec], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4fe6ac], eax
mov ecx, dword [0x4f90f4]
cmp byte [ebp + 0x18], 0
jne 0x41bd20
mov al, byte [ecx + 0xf6]
test al, al
je 0x41bce8
movzx eax, al
mov esi, 0xffc3d44d
sub esi, eax
jmp 0x41bced
mov esi, 0xffc3d44f
cmp dword [0x4fe93c], 0
je 0x41bcfd
mov al, byte [0x4fe70c]
jmp 0x41bd04
xor cl, cl
call fcn.0041eb40
mov cl, byte [ebp + 8]
mov dl, al
push esi
push 1
push 0
push edi
call fcn.0041e410
mov ecx, dword [0x4f90f4]
add esp, 0x10
mov esi, dword [ebp + 0x10]
test bl, bl
je 0x41bd4a
test edi, edi
jne 0x41bd4a
push dword [ebp + 0x28]
movzx eax, byte [ecx + 0xef]
mov cl, bh
push dword [ebp + 0x14]
mov edx, dword [ebp + 0x20]
push eax
push 1
push dword [ebp + 0x24]
call fcn.0041d1c0
add esp, 0x14
jmp 0x41bd6d
movzx eax, byte [ecx + 0xf6]
mov dl, bh
mov ecx, 0xffc3d44d
sub ecx, eax
push ecx
mov ecx, dword [ebp + 0x14]
push 1
push edi
push dword [esp + 0x1c]
call fcn.0041c230
add esp, 0x10
sub esi, 1
mov dword [ebp + 0x10], esi
jne 0x41bc60
mov bl, byte [ebp + 0xc]
cmp byte [ebp + 0x18], 0
jne 0x41bdb8
cmp dword [0x4fe93c], 0
je 0x41bd92
mov al, byte [0x4fe70c]
jmp 0x41bd99
xor cl, cl
call fcn.0041eb40
not bl
and bl, al
and bl, 0xcc
je 0x41bdb8
push 0xffc3d44d
push 0
push 1
push edi
mov dl, bl
xor cl, cl
call fcn.0041e410
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41bdc0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x44
mov eax, dword [0x4fe93c]
cmp eax, 2
push ebx
push esi
push edi
mov esi, edx
sete byte [esp + 0xf]
jne 0x41be10
movzx edx, cx
mov ecx, edx
and ecx, 0xffffff80
je 0x41bdeb
mov eax, 0x30
mov word [esp + 0x30], ax
test ecx, ecx
lea eax, [esp + 0x30]
lea edi, [esp + 0x32]
push 0xa
cmovne eax, edi
push eax
push edx
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itow]
mov ebx, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [0x4fe93c]
jmp 0x41be13
movzx ebx, cx
test esi, esi
jle 0x41bec5
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebp
mov ebp, dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x41be7d
call edi
mov ecx, dword [0x4f90f4]
sub eax, dword [0x4fe6ac]
cmp eax, dword [ecx + 0xd8]
jbe 0x41be7d
push 0
push 0
push 0
push 0
lea eax, [esp + 0x28]
push eax
call ebp
test eax, eax
je 0x41be76
mov edx, 1
mov dword [0x4f90ec], 0
or ecx, 0xffffffff
call fcn.004018d0
mov dword [0x4f90ec], 1
call edi
mov dword [0x4fe6ac], eax
cmp byte [esp + 0x13], 0
je 0x41be8f
lea ecx, [esp + 0x34]
call fcn.0041bed0
jmp 0x41be9a
mov dl, byte [esp + 0x58]
mov ecx, ebx
call fcn.0041a620
cmp dword [0x4fe93c], 2
mov eax, dword [0x4f90f4]
jne 0x41bead
mov ecx, dword [eax + 0x60]
jmp 0x41beb0
mov ecx, dword [eax + 0x5c]
call fcn.0041dfd0
sub esi, 1
je 0x41bec4
mov eax, dword [0x4fe93c]
jmp 0x41be28
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x44
ret
Function at 0x41ddc0
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
sub esp, 0xc
mov eax, dword fs:[0x24]
cmp dword [0x4fe93c], 1
push ebp
push esi
mov byte [esp + 0xb], dl
mov esi, ecx
mov dword [esp + 0x10], eax
jne 0x41df38
xor al, al
mov ebp, 1
cmp dword [0x4fba18], 0
push ebx
movzx ebx, al
cmovne ebx, ebp
cmp dword [0x4fba14], 0
mov dword [esp + 0x10], ebx
je 0x41de0b
or ebx, 2
mov dword [esp + 0x10], ebx
test bl, bl
je 0x41de20
mov cl, byte [0x4fe70d]
mov dl, 1
not cl
and cl, bl
call fcn.00414150
mov eax, dword [0x4fe928]
xor edx, edx
mov ecx, dword [0x4fc578]
push edi
xor edi, edi
test eax, eax
je 0x41ded7
xor esi, esi
xor ebx, ebx
nop dword [eax]
cmp dword [esi + ecx], ebp
jne 0x41deb5
cmp word [esi + ecx + 4], 0
jne 0x41deb5
cmp word [esi + ecx + 6], 0
jne 0x41deb5
push 0x1c
lea eax, [ebx + ecx]
push eax
mov eax, edi
sub eax, edx
push eax
call dword [sym.imp.USER32.dll_SendInput]
mov eax, dword [esp + 0x18]
mov ecx, dword [0x4fc578]
mov dword [0x4f90ec], 0
cmp dword [0x4fdb70], eax
je 0x41de93
mov eax, dword [esi + ecx + 0x10]
test eax, eax
js 0x41de93
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41de9e
mov ecx, dword [esi + ecx + 0x10]
mov edx, ebp
call fcn.004018d0
mov eax, dword [0x4fe928]
lea edx, [edi + 1]
mov ecx, dword [0x4fc578]
lea ebx, [esi + 0x1c]
mov dword [0x4f90ec], ebp
inc edi
add esi, 0x1c
cmp edi, eax
jb 0x41de40
mov ebx, dword [esp + 0x14]
test edx, edx
je 0x41ded7
lea eax, [edx*8]
sub eax, edx
push 0x1c
lea eax, [ecx + eax*4]
push eax
push edx
jmp 0x41dedb
push 0x1c
push ecx
push eax
call dword [sym.imp.USER32.dll_SendInput]
pop edi
test bl, bl
je 0x41dfbb
mov al, byte [0x4fe70d]
and al, bl
test al, 1
je 0x41df29
mov cl, 1
call fcn.0041eb40
mov bl, al
xor bl, byte [esp + 0xf]
mov dl, bl
and bl, al
and dl, byte [esp + 0xf]
not dl
and dl, byte [0x4fbaaf]
or dl, bl
mov byte [0x4fbaaf], dl
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, dword [esp + 0x10]
mov dword [0x4fbbcc], eax
mov cl, bl
mov dl, 1
pop ebx
pop esi
pop ebp
add esp, 0xc
jmp fcn.00414150
push 0
push 0
mov dword [0x4fe930], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0x41bf60
push 1
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x4fb9e0], eax
test eax, eax
je 0x41dfbc
mov byte [0x4fbaaa], 1
mov ebp, 1
nop
mov edx, ebp
mov dword [0x4f90ec], 0
mov ecx, 0x8000012f
call fcn.004018d0
cmp dword [0x4fb9e0], 0
mov dword [0x4f90ec], ebp
jne 0x41df70
mov eax, dword [0x4fab60]
mov byte [0x4fbaaa], 0
mov ecx, dword [eax]
mov eax, dword [0x4fe928]
cmp dword [ecx + eax*8 - 8], 0
jne 0x41dfbc
mov eax, dword [ecx + eax*8 - 4]
mov dword [esi], eax
pop esi
pop ebp
add esp, 0xc
ret
pop ebx
pop esi
pop ebp
add esp, 0xc
ret
Function at 0x41e1e0
Capabilities:
Get graphical window text

Disassembly:
push edi
mov edi, dword [0x4fba10]
test edi, edi
je 0x41e2f1
mov ax, word [esp + 8]
push esi
imul esi, dword [0x4fba84], 0xd4
mov byte [esi + edi + 6], cl
mov byte [esi + edi], dl
mov word [esi + edi + 2], ax
mov eax, 0x69
mov word [esi + edi + 4], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
mov eax, dword [0x4fba10]
mov ecx, edx
mov dword [0x4fba80], edx
sub ecx, dword [0x4fe878]
mov dword [0x4fe878], edx
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x4f3090]
imul ecx, dword [0x4fba84], 0xd4
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x4f2f74]
movss dword [ecx + eax + 8], xmm0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
mov eax, dword [0x4fba10]
test esi, esi
je 0x41e2b5
cmp esi, dword [0x4fba7c]
je 0x41e2a0
imul edx, dword [0x4fba84], 0xd4
push 0x64
add edx, 0xc
add eax, edx
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [0x4fba84]
jmp 0x41e2d1
mov edx, dword [0x4fba84]
imul ecx, edx, 0xd4
xor edi, edi
mov word [ecx + eax + 0xc], di
jmp 0x41e2d1
mov edx, dword [0x4fba84]
imul ecx, edx, 0xd4
mov dword [ecx + eax + 0xc], 0x2f004e
mov dword [ecx + eax + 0x10], 0x41
inc edx
mov dword [0x4fba7c], esi
mov dword [0x4fba84], edx
pop esi
cmp edx, dword [0x4f90f8]
jl 0x41e2f1
mov dword [0x4fba84], 0
pop edi
ret

Function at 0x41e300
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push ebp
push esi
mov bl, cl
push edi
movzx ebp, bl
mov edi, edx
push ebp
call dword [sym.imp.USER32.dll_GetKeyState]
movzx esi, ax
xor esi, 0xffffffff
and esi, 1
inc esi
cmp edi, 1
je 0x41e32a
cmp edi, 2
jne 0x41e3fc
cmp esi, edi
je 0x41e3fc
push ebp
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x41e358
push 0xffc3d44d
push 0
push 0
push 0
mov dl, bl
mov ecx, 1
call fcn.0041c230
add esp, 0x10
push 0xffc3d44d
push 0
push 0
push 0
mov dl, bl
mov ecx, 2
call fcn.0041c230
add esp, 0x10
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4fdb70]
sete bh
jne 0x41e3ad
mov edx, 1
mov dword [0x4f90ec], 0
or ecx, 0xffffffff
call fcn.004018d0
mov dword [0x4f90ec], 1
cmp bl, 0x14
jne 0x41e3fc
cmp edi, 2
jne 0x41e3fc
push ebp
call dword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je 0x41e3fc
push 0xffc3d44d
push 0
push 0
push 0
mov dl, 0x10
mov ecx, edi
call fcn.0041c230
add esp, 0x10
test bh, bh
je 0x41e3fc
lea edx, [edi - 1]
mov dword [0x4f90ec], 0
or ecx, 0xffffffff
call fcn.004018d0
mov dword [0x4f90ec], 1
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
Function at 0x41eb40
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
cmp dword [0x4fba18], 0
je 0x41eb55
test cl, cl
jne 0x41eb55
mov al, byte [0x4fbbd5]
pop ecx
ret
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0xa0
call esi
test ax, ax
push 0xa1
setns bl
dec bl
and bl, 0x10
call esi
mov cl, bl
or cl, 0x20
test ax, ax
movzx edx, cl
movzx ecx, bl
cmovns edx, ecx
push 0xa2
mov dword [esp + 0xc], edx
call esi
mov edx, dword [esp + 8]
mov cl, dl
or cl, 1
test ax, ax
movzx ebx, cl
movzx ecx, dl
push 0xa3
cmovns ebx, ecx
call esi
mov cl, bl
or cl, 2
test ax, ax
movzx edx, cl
movzx ecx, bl
cmovns edx, ecx
push 0xa4
mov dword [esp + 0xc], edx
call esi
mov edx, dword [esp + 8]
mov cl, dl
or cl, 4
test ax, ax
movzx ebx, cl
movzx ecx, dl
push 0xa5
cmovns ebx, ecx
call esi
mov cl, bl
or cl, 8
test ax, ax
movzx edx, cl
movzx ecx, bl
cmovns edx, ecx
push 0x5b
mov dword [esp + 0xc], edx
call esi
mov edx, dword [esp + 8]
mov cl, dl
or cl, 0x40
test ax, ax
movzx ebx, cl
movzx ecx, dl
push 0x5c
cmovns ebx, ecx
call esi
mov cl, bl
or cl, 0x80
test ax, ax
movzx edx, cl
movzx ecx, bl
cmovns edx, ecx
cmp dword [0x4fba18], 0
mov dword [esp + 8], edx
je 0x41ec8b
mov cl, byte [0x4fbbd5]
mov bl, dl
not bl
and bl, cl
je 0x41ec8b
mov dl, byte [0x4fbaaf]
mov al, bl
not al
and byte [0x4fbbd4], al
and cl, al
and dl, al
mov byte [0x4fbbd5], cl
mov ecx, 0x4fc3f8
mov byte [0x4fbaaf], dl
call fcn.0041eca0
mov ecx, dword [0x4fc53c]
mov edx, dword [esp + 8]
test ecx, ecx
je 0x41ec8b
test byte [ecx + 8], bl
je 0x41ec8b
mov dword [0x4fc53c], 0
pop esi
mov al, dl
pop ebx
pop ecx
ret
Function at 0x41f090
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0x288
xor eax, eax
push ebp
push esi
mov esi, edx
mov ebp, ecx
nop
mov edx, dword [eax*8 + 0x4fe8d0]
test edx, edx
je 0x41f0b5
cmp edx, ebp
je 0x41f0e1
inc eax
cmp eax, 0xa
jl 0x41f0a0
cmp eax, 0xa
mov ecx, 9
cmovl ecx, eax
mov dword [esp + 0xc], ecx
test esi, esi
je 0x41f106
mov dword [ecx*8 + 0x4fe8d4], esi
mov eax, esi
pop esi
mov dword [ecx*8 + 0x4fe8d0], ebp
pop ebp
add esp, 0x288
ret
test esi, esi
je 0x41f0f6
cmp dword [eax*8 + 0x4fe8d4], 0
jne 0x41f0f6
mov dword [eax*8 + 0x4fe8d4], esi
mov eax, dword [eax*8 + 0x4fe8d4]
pop esi
pop ebp
add esp, 0x288
ret
push ebx
xor ebx, ebx
push ebx
push ebp
call dword [sym.imp.USER32.dll_ActivateKeyboardLayout]
mov dword [esp + 0xc], eax
test eax, eax
je 0x41f1d9
push edi
mov ecx, 0x19
lea edi, [esp + 0x18]
mov esi, str.SYSTEMCurrentControlSetControlKeyboard_Layouts_
lea eax, [esp + 0x7c]
rep movsd dword es:[edi], dword [esi]
push eax
movsw word es:[edi], word [esi]
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameW]
pop edi
test eax, eax
je 0x41f171
push ebx
push ecx
lea eax, [esp + 0x94]
push eax
push str.Layout_File
lea edx, [esp + 0x24]
call fcn.004b2510
add esp, 0x10
test eax, eax
je 0x41f171
lea eax, [esp + 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
jmp 0x41f173
xor esi, esi
mov eax, dword [esp + 0xc]
cmp ebp, eax
je 0x41f184
push 0
push eax
call dword [sym.imp.USER32.dll_ActivateKeyboardLayout]
test esi, esi
je 0x41f1d9
push str.KbdLayerDescriptor
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41f1d2
call eax
cmp dword [0x4fe8a4], 0
mov ebx, eax
je 0x41f1c7
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x4fe8a4]
test eax, eax
je 0x41f1c7
cmp dword [esp + 0xc], 0
je 0x41f1c7
mov ebx, dword [ebx + 0x50]
jmp 0x41f1ca
mov ebx, dword [ebx + 0x28]
not ebx
and ebx, 1
add ebx, 3
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x10]
mov eax, ebx
mov dword [ecx*8 + 0x4fe8d4], ebx
pop ebx
pop esi
mov dword [ecx*8 + 0x4fe8d0], ebp
pop ebp
add esp, 0x288
ret
Function at 0x41f200
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0x114
push ebx
push esi
mov al, cl
mov ebx, edx
push edi
mov byte [esp + 0xd], al
xor edi, edi
cmp byte [edi*8 + 0x4f9174], al
je 0x41f37f
inc edi
cmp edi, 0x6d
jl 0x41f213
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esi, eax
mov al, byte [esp + 0xd]
lea ecx, [eax - 0x41]
cmp cl, 0x19
ja 0x41f311
push ebp
push 0x100
lea eax, [esp + 0x28]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x14]
xor ebp, ebp
push esi
push ebp
push 2
push eax
lea eax, [esp + 0x34]
push eax
push ebp
push 0x6e
call dword [sym.imp.USER32.dll_ToUnicodeEx]
cmp eax, 2
jne 0x41f278
movzx ebp, word [esp + 0x14]
movzx edi, byte [esp + 0x11]
lea eax, [esp + 0x14]
push esi
push 0
push 2
push eax
lea eax, [esp + 0x34]
push eax
push 0
push edi
call dword [sym.imp.USER32.dll_ToUnicodeEx]
mov dword [esp + 0x20], eax
test eax, eax
jns 0x41f2b6
push esi
push 0
push 2
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x34]
push eax
push 0
push 0x6e
call dword [sym.imp.USER32.dll_ToUnicodeEx]
test bp, bp
je 0x41f2fe
push 1
push esi
lea edx, [esp + 0x1a]
mov ecx, ebp
call fcn.0041f5c0
add esp, 8
mov byte [esp + 0x13], al
test al, al
je 0x41f2fe
mov dl, byte [esp + 0x12]
lea ecx, [esp + 0x24]
call fcn.0041eca0
push esi
push 0
push 2
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x34]
push eax
movzx eax, byte [esp + 0x27]
push 0
push eax
call dword [sym.imp.USER32.dll_ToUnicodeEx]
cmp dword [esp + 0x20], 0
pop ebp
je 0x41f30d
movzx eax, word [esp + 0x10]
jmp 0x41f321
xor eax, eax
jmp 0x41f321
push esi
movzx edi, al
push 2
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
movzx eax, ax
mov word [ebx], ax
test ax, ax
je 0x41f33b
xor eax, eax
pop edi
mov word [ebx + 2], ax
mov eax, ebx
pop esi
pop ebx
add esp, 0x114
ret
cmp byte [esp + 0x128], 0
je 0x41f36e
cmp byte [esp + 0xd], 0
je 0x41f36e
push edi
push str.vk_02X
push dword [esp + 0x12c]
push ebx
call fcn.004b0fe0
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0x114
ret
xor eax, eax
pop edi
mov word [ebx], ax
mov eax, ebx
pop esi
pop ebx
add esp, 0x114
ret
mov esi, dword [esp + 0x124]
dec esi
push esi
push dword [edi*8 + 0x4f9170]
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
add esp, 0xc
xor eax, eax
mov word [ebx + esi*2], ax
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0x114
ret
Function at 0x41f4a0
Capabilities:
Log keystrokes

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, ecx
movzx eax, word [edi]
mov esi, eax
test ax, ax
je 0x41f5aa
cmp word [edi + 2], 0
jne 0x41f4d0
push 1
push dword [esp + 0x20]
mov ecx, eax
call fcn.0041f5c0
add esp, 8
pop edi
pop esi
pop ebx
pop ecx
ret
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, 0xffffff80
je 0x41f4e1
xor eax, eax
jmp 0x41f4e9
push 2
push eax
call ebx
add esp, 8
mov ecx, esi
and ecx, 0xffdf
test eax, eax
movzx edx, cx
mov ecx, esi
cmove edx, ecx
cmp dx, 0x56
jne 0x41f55c
movzx eax, word [edi + 2]
mov esi, eax
test eax, 0xffffff80
je 0x41f512
xor eax, eax
jmp 0x41f51a
push 2
push eax
call ebx
add esp, 8
mov ecx, esi
and ecx, 0xffdf
test eax, eax
movzx edx, cx
mov ecx, esi
cmove edx, ecx
cmp dx, 0x4b
jne 0x41f55c
push 0x10
lea eax, [esp + 0x10]
push eax
lea eax, [edi + 4]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstol]
mov ecx, dword [esp + 0x18]
add esp, 0xc
xor ebx, ebx
movzx edx, al
cmp word [ecx], bx
pop edi
cmove ebx, edx
pop esi
mov al, bl
pop ebx
pop ecx
ret
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
xor esi, esi
push edi
push dword [esi*8 + 0x4f9170]
call ebx
add esp, 8
test eax, eax
je 0x41f59e
inc esi
cmp esi, 0x6d
jl 0x41f564
cmp byte [esp + 0x14], 0
jne 0x41f5aa
xor edx, edx
mov ecx, edi
call fcn.0041f3b0
movzx ecx, ax
test cx, cx
je 0x41f5aa
pop edi
pop esi
pop ebx
add esp, 4
jmp fcn.0041fea0
mov al, byte [esi*8 + 0x4f9174]
pop edi
pop esi
pop ebx
pop ecx
ret
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret

Function at 0x41f5c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push ebx
mov ebx, ecx
push edi
mov edi, edx
cmp bx, 0xa
jne 0x41f5d3
pop edi
mov al, 0xd
pop ebx
pop ecx
ret
push ebp
push esi
push dword [esp + 0x18]
push ebx
call dword [sym.imp.USER32.dll_VkKeyScanExW]
movzx eax, ax
mov edx, eax
mov dword [esp + 0x10], eax
shr edx, 8
cmp dl, 0xff
jne 0x41f647
cmp al, 0xff
jne 0x41f647
cmp byte [esp + 0x1c], 0
je 0x41f650
movzx ebp, bx
test ebp, 0xffffff80
jne 0x41f650
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
push 0x103
push ebp
call esi
add esp, 8
test eax, eax
je 0x41f650
push 2
push ebp
call esi
push 1
push ebp
mov esi, eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
add esp, 0x10
test eax, eax
mov al, bl
setne dl
and al, 0xdf
movzx ecx, al
test esi, esi
movzx eax, bl
cmove ecx, eax
mov bl, cl
jmp 0x41f64b
mov ebx, dword [esp + 0x10]
test dl, 0x38
je 0x41f658
pop esi
pop ebp
pop edi
xor al, al
pop ebx
pop ecx
ret
test edi, edi
je 0x41f698
mov al, dl
and al, 6
cmp al, 6
jne 0x41f669
or byte [edi], 8
jmp 0x41f687
test dl, 2
je 0x41f678
mov al, byte [edi]
test al, 3
jne 0x41f678
or al, 1
mov byte [edi], al
test dl, 4
je 0x41f687
mov al, byte [edi]
test al, 0xc
jne 0x41f687
or al, 4
mov byte [edi], al
test dl, 1
je 0x41f698
mov cl, byte [edi]
test cl, 0x30
jne 0x41f698
or cl, 0x10
mov byte [edi], cl
pop esi
pop ebp
pop edi
mov al, bl
pop ebx
pop ecx
ret
Function at 0x41fa80
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
movzx esi, cl
mov bl, dl
lea eax, [esi - 0x13]
cmp eax, 0x92
ja case.0x41fa9c.20
movzx eax, byte [eax + 0x41fd3c]
jmp dword [eax*4 + 0x41fcd0]
mov ecx, 0x2a
xor eax, eax
movzx ecx, cx
test bl, bl
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x136
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x1d
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x11d
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x38
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x138
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x15b
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x15c
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x45
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x52
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x4f
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x50
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x51
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x4b
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x4c
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x4d
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x47
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x48
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x49
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x53
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x145
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x135
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x37
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x4a
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x4e
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x137
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
movzx ecx, ax
test cx, cx
jne 0x41fc8d
pop esi
xor eax, eax
pop ebx
ret
add esi, 0xfffffffd
cmp esi, 0xb4
ja case.0x41fca3.4
movzx eax, byte [esi + 0x41fddc]
jmp dword [eax*4 + 0x41fdd0]
or ecx, 0x100
xor eax, eax
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
mov eax, ecx
or ecx, 0x100
test bl, bl
pop esi
cmovne eax, ecx
pop ebx
ret