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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ebx
mov ebx, ecx
push ebp
push esi
push edi
cmp dword [ebx + 0x18], 0
jne 0x405a15
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
push dword [0x4eb73c]
mov edi, dword [sym.imp.USER32.dll_OpenClipboard]
mov ebp, eax
call edi
test eax, eax
jne 0x405a0e
nop
mov eax, dword [0x4e88d8]
cmp eax, 0xffffffff
je 0x4059df
test eax, eax
je 0x405a22
call esi
mov ecx, dword [0x4e88d8]
add ecx, ebp
sub ecx, eax
cmp ecx, 5
jle 0x405a22
mov edx, 1
mov dword [0x4e88c4], 0
mov ecx, 0x8000012f
call fcn.00401730
push dword [0x4eb73c]
mov dword [0x4e88c4], 1
call edi
test eax, eax
je 0x4059c0
mov dword [ebx + 0x18], 1
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405ee0
Capabilities:
Resume thread
Suspend thread

Disassembly:
sub esp, 8
cmp byte [0x4ede60], 0
push ebx
push esi
push edi
je 0x405f82
mov edi, dword fs:[0x24]
cmp dword [0x4ed7f8], edi
je 0x405f0e
push dword [0x4ed7fc]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov ebx, dword [esp + 0x18]
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x405f17
sub esi, ecx
cmp byte [ebx], al
je 0x405f8b
lea eax, [esp + 0xf]
mov ecx, 0x4ed830
push eax
push 3
lea eax, [esp + 0x18]
push eax
push esi
push ebx
call fcn.00430710
test eax, eax
jne 0x405f5d
cmp byte [esp + 0xf], al
mov ecx, 0x4ed830
setne al
inc eax
push eax
push dword [esp + 0x14]
push esi
push ebx
call fcn.00430c50
test eax, eax
je 0x405f8b
push 1
push 0
push 0xffffffffffffffff
push dword [esp + 0x28]
mov ecx, eax
call fcn.004a2730
cmp dword [0x4ed7f8], edi
je 0x405f82
push dword [0x4ed7fc]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
cmp dword [0x4ed7f8], edi
je 0x405f9f
push dword [0x4ed7fc]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 8
ret
Function at 0x40afa0
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
push ebx
xor al, al
mov bl, cl
cmp dword [0x4eb75c], 0
mov ecx, 1
push ebp
movzx eax, al
mov bh, dl
cmovne eax, ecx
mov byte [esp + 0xb], bh
cmp dword [0x4eb758], 0
push esi
push edi
mov dword [esp + 0x14], eax
je 0x40afdd
or eax, 2
mov dword [esp + 0x14], eax
cmp bl, al
je 0x40b1da
test al, al
jne 0x40b01e
test bh, bh
jne 0x40b01e
push 0x4ec1c8
push 0
push 0
push 0x40b250
push 0x2000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4ee054], eax
test eax, eax
je 0x40b0d6
push 0xf
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
movzx edi, bh
xor esi, esi
xor edi, 1
movzx ebp, bl
nop dword [eax]
push edi
push ebp
push 0x417
push dword [0x4ec1c8]
call dword [sym.imp.USER32.dll_PostThreadMessageA]
test eax, eax
jne 0x40b055
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x32
jl 0x40b030
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor bh, bh
call esi
mov ebp, dword [sym.imp.USER32.dll_PeekMessageA]
mov edi, eax
mov dh, bl
mov dl, bh
test bl, bl
je 0x40b0e3
push 1
push 0x417
push 0x417
push 0
lea eax, [esp + 0x2c]
push eax
call ebp
test eax, eax
je 0x40b0c1
cmp dword [esp + 0x24], 0
je 0x40b0fd
mov bh, 1
call fcn.0040b5c0
test al, al
jne 0x40b0fd
cmp byte [esp + 0x13], al
jne 0x40b1ad
xor bl, bl
lea eax, [esp + 0x18]
push eax
push dword [0x4ee054]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0x18], 0x103
jne 0x40b10a
call esi
sub eax, edi
cmp eax, 0x1f4
ja 0x40b0fd
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40b067
call fcn.0040b5e0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0x13], 0
mov bh, dl
mov bl, dh
je 0x40b0a6
call fcn.0040b5c0
test al, al
je 0x40b1a9
jmp 0x40b0c1
cmp byte [esp + 0x13], 0
jne 0x40b1a9
jmp 0x40b125
push dword [0x4ee054]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4ee054], 0
call fcn.0040b5e0
mov al, byte [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexA]
and al, 1
cmp dword [0x4eb75c], 0
je 0x40b150
test al, al
jne 0x40b16a
push str.AHK_Keybd
push 0
push 0
call esi
mov dword [0x4ee04c], eax
jmp 0x40b16a
test al, al
je 0x40b16a
push dword [0x4ee04c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4ee04c], 0
mov eax, dword [esp + 0x14]
and al, 2
cmp dword [0x4eb758], 0
je 0x40b18f
test al, al
jne 0x40b1a9
push str.AHK_Mouse
push 0
push 0
call esi
mov dword [0x4ee050], eax
jmp 0x40b1a9
test al, al
je 0x40b1a9
push dword [0x4ee050]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4ee050], 0
test bh, bh
je 0x40b1da
push 0
push 0
xorps xmm3, xmm3
mov dword [0x4e88c4], 0
mov edx, 0x10000
mov ecx, str.Warning:_The_keyboard_and_or_mouse_hook_could_not_be_activated__some_parts_of_the_script_will_not_function.
call fcn.004a4620
add esp, 8
mov dword [0x4e88c4], 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c8f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x804
cmp byte [0x4ef2a4], 0
push ebx
push esi
push edi
mov ebx, ecx
jne 0x40ca90
cmp dword [0x4ec208], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x40c924
call edi
mov dword [0x4ec208], eax
inc dword [0x4ef2a0]
call edi
mov esi, dword [0x4ef2a0]
mov ecx, eax
sub ecx, dword [0x4ec208]
mov edx, dword [0x4e9ab8]
mov dword [0x4ec204], eax
cmp esi, dword [0x4e9abc]
jbe 0x40ca15
cmp ecx, edx
jae 0x40ca17
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.0049e100
mov dx, word [0x4ec200]
xor eax, eax
add esp, 0x14
xor ecx, ecx
cmp ax, dx
jae 0x40c9ab
mov eax, dword [0x4ec1f0]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x40c9a3
mov byte [eax + 0x1b], 0
mov eax, dword [eax + 8]
test eax, eax
jne 0x40c991
mov dx, word [0x4ec200]
inc ecx
movzx eax, dx
cmp ecx, eax
jl 0x40c982
push 0
push 0
xorps xmm3, xmm3
mov byte [0x4ef2a4], 1
mov edx, 4
mov dword [0x4e88c4], 0
lea ecx, [esp + 0x18]
call fcn.004a4620
add esp, 8
cmp eax, 7
jne 0x40c9e7
push 0
push 4
mov ecx, 0x4ed830
call fcn.00423bc0
mov eax, dword [0x4ec204]
mov dword [0x4e88c4], 1
mov byte [0x4ef2a4], 0
mov dword [0x4ef2a0], 0
mov dword [0x4ec208], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ecx, edx
jbe 0x40ca28
mov dword [0x4ef2a0], 0
mov dword [0x4ec208], eax
mov esi, dword [ebp + 8]
mov al, byte [ebx + 0xf]
push 0
push 0
mov byte [0x4ede45], al
inc byte [esi + 0x16]
mov ecx, dword [esi]
mov edx, ecx
push 0
push 0
push str.call
call fcn.0048cb70
dec byte [esi + 0x16]
add esp, 0x14
test eax, eax
jne 0x40ca62
mov byte [esi + 0x1b], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [esi + 0x1b], 0
je 0x40ca90
mov byte [esi + 0x1b], 0
call edi
sub eax, dword [esi + 0xc]
cmp eax, 0x3e8
ja 0x40ca90
movzx eax, word [ebx + 4]
push 0
push eax
push 0x312
push dword [0x4eb73c]
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x412320
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 0x412345
cmp bh, 3
jne 0x41234d
mov al, bh
add al, 0x66
cmp al, 5
ja 0x412354
mov byte [esp + 0xf], 1
jmp 0x412359
mov byte [esp + 0xf], 0
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x1c]
test esi, esi
jle 0x41248c
mov bl, byte [esp + 0xf]
nop dword [eax + eax]
cmp dword [0x4ee0e8], 0
jne 0x4123d6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x4e88cc]
sub eax, dword [0x4ede7c]
cmp eax, dword [ecx + 0xb8]
jbe 0x4123dc
push 0
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x4123cb
mov edx, 1
mov dword [0x4e88c4], 0
or ecx, 0xffffffff
call fcn.00401730
mov dword [0x4e88c4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4ede7c], eax
mov ecx, dword [0x4e88cc]
cmp byte [ebp + 0x18], 0
jne 0x412430
mov al, byte [ecx + 0xd6]
test al, al
je 0x4123f8
movzx eax, al
mov esi, 0xffc3d44d
sub esi, eax
jmp 0x4123fd
mov esi, 0xffc3d44f
cmp dword [0x4ee0e8], 0
je 0x41240d
mov al, byte [0x4ee0dc]
jmp 0x412414
xor cl, cl
call fcn.00415420
mov cl, byte [ebp + 8]
mov dl, al
push esi
push 1
push 0
push edi
call fcn.00414cf0
mov ecx, dword [0x4e88cc]
add esp, 0x10
mov esi, dword [ebp + 0x10]
test bl, bl
je 0x41245a
test edi, edi
jne 0x41245a
push dword [ebp + 0x28]
movzx eax, byte [ecx + 0xcf]
mov cl, bh
push dword [ebp + 0x14]
mov edx, dword [ebp + 0x20]
push eax
push 1
push dword [ebp + 0x24]
call fcn.00413af0
add esp, 0x14
jmp 0x41247d
movzx eax, byte [ecx + 0xd6]
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.00412960
add esp, 0x10
sub esi, 1
mov dword [ebp + 0x10], esi
jne 0x412370
mov bl, byte [ebp + 0xc]
cmp byte [ebp + 0x18], 0
jne 0x4124c8
cmp dword [0x4ee0e8], 0
je 0x4124a2
mov al, byte [0x4ee0dc]
jmp 0x4124a9
xor cl, cl
call fcn.00415420
not bl
and bl, al
and bl, 0xcc
je 0x4124c8
push 0xffc3d44d
push 0
push 1
push edi
mov dl, bl
xor cl, cl
call fcn.00414cf0
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4124d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x34
cmp dword [0x4ee0e8], 2
push ebx
mov bl, cl
sete bh
push esi
mov esi, edx
mov byte [esp + 8], bl
jne 0x41251b
movzx eax, byte [esp + 0x10]
and cl, 0x80
mov edx, 0x30
cmovne eax, edx
lea edx, [esp + 0x11]
mov byte [esp + 0x10], al
test cl, cl
lea eax, [esp + 0x10]
cmovne eax, edx
push 0xa
push eax
movzx eax, bl
push eax
call fcn.004b6198
add esp, 0xc
jmp 0x41253b
push 1
lea eax, [esp + 0x10]
push eax
push 1
lea eax, [esp + 0x14]
push eax
push 8
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x4125ef
test esi, esi
jle 0x4125ef
mov bl, byte [esp + 0x40]
push ebp
mov ebp, dword [sym.imp.USER32.dll_PeekMessageA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x4ee0e8], 0
jne 0x4125af
call edi
mov ecx, dword [0x4e88cc]
sub eax, dword [0x4ede7c]
cmp eax, dword [ecx + 0xb8]
jbe 0x4125af
push 0
push 0
push 0
push 0
lea eax, [esp + 0x38]
push eax
call ebp
test eax, eax
je 0x4125a8
mov edx, 1
mov dword [0x4e88c4], 0
or ecx, 0xffffffff
call fcn.00401730
mov dword [0x4e88c4], 1
call edi
mov dword [0x4ede7c], eax
test bh, bh
je 0x4125be
lea ecx, [esp + 0x18]
call fcn.00412600
jmp 0x4125c9
mov ecx, dword [esp + 0x14]
mov dl, bl
call fcn.00410d30
cmp dword [0x4ee0e8], 2
mov eax, dword [0x4e88cc]
jne 0x4125dc
mov ecx, dword [eax + 0x60]
jmp 0x4125df
mov ecx, dword [eax + 0x5c]
call fcn.004148f0
sub esi, 1
jne 0x412555
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x34
ret
Function at 0x414af0
Capabilities:
Get graphical window text

Disassembly:
push edi
mov edi, dword [0x4eb754]
test edi, edi
je 0x414bdc
mov ax, word [esp + 8]
push esi
imul esi, dword [0x4eb7c0], 0x70
mov byte [esi + edi + 5], cl
mov byte [esi + edi], dl
mov word [esi + edi + 2], ax
mov byte [esi + edi + 4], 0x69
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
mov eax, dword [0x4eb754]
mov ecx, edx
mov dword [0x4eb7bc], edx
sub ecx, dword [0x4ee008]
mov dword [0x4ee008], edx
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x4e1d60]
imul ecx, dword [0x4eb7c0], 0x70
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x4e1ca4]
movss dword [ecx + eax + 8], xmm0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
mov eax, dword [0x4eb754]
test esi, esi
je 0x414bb2
cmp esi, dword [0x4eb7b8]
je 0x414ba2
imul edx, dword [0x4eb7c0], 0x70
push 0x64
add edx, 0xc
add eax, edx
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edx, dword [0x4eb7c0]
jmp 0x414bc3
mov edx, dword [0x4eb7c0]
imul ecx, edx, 0x70
mov byte [ecx + eax + 0xc], 0
jmp 0x414bc3
mov edx, dword [0x4eb7c0]
imul ecx, edx, 0x70
mov dword [ecx + eax + 0xc], 0x412f4e
inc edx
mov dword [0x4eb7b8], esi
xor eax, eax
cmp edx, dword [0x4e88d0]
pop esi
cmovge edx, eax
mov dword [0x4eb7c0], edx
pop edi
ret

Function at 0x414be0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
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 0x414c10
cmp edi, 2
jne 0x414ce4
cmp esi, edi
je 0x414ce4
push ebp
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x414c40
push 0xffc3d44d
push 0
push 0
push 0
mov dl, bl
mov ecx, 1
call fcn.00412960
add esp, 0x10
push 0xffc3d44d
push 0
push 0
push 0
mov dl, bl
mov ecx, 2
call fcn.00412960
add esp, 0x10
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4ed7f8]
sete bh
jne 0x414c95
mov edx, 1
mov dword [0x4e88c4], 0
or ecx, 0xffffffff
call fcn.00401730
mov dword [0x4e88c4], 1
cmp bl, 0x14
jne 0x414ce4
cmp edi, 2
jne 0x414ce4
push ebp
call dword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je 0x414ce4
push 0xffc3d44d
push 0
push 0
push 0
mov dl, 0x10
mov ecx, edi
call fcn.00412960
add esp, 0x10
test bh, bh
je 0x414ce4
lea edx, [edi - 1]
mov dword [0x4e88c4], 0
or ecx, 0xffffffff
call fcn.00401730
mov dword [0x4e88c4], 1
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415420
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
cmp dword [0x4eb75c], 0
je 0x415435
test cl, cl
jne 0x415435
mov al, byte [0x4ec0a6]
pop ecx
ret
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push edi
push 0xa0
call esi
mov bx, ax
shr bx, 0xb
push 0xa1
and bl, 0x10
call esi
mov cl, bl
mov edi, 0x8000
or cl, 0x20
and ax, di
movzx edx, cl
movzx ecx, bl
cmove edx, ecx
push 0xa2
mov dword [esp + 0x10], edx
call esi
mov edx, dword [esp + 0xc]
mov cl, dl
or cl, 1
and ax, di
movzx ebx, cl
movzx ecx, dl
push 0xa3
cmove ebx, ecx
call esi
mov cl, bl
or cl, 2
and ax, di
movzx edx, cl
movzx ecx, bl
cmove edx, ecx
push 0xa4
mov dword [esp + 0x10], edx
call esi
mov edx, dword [esp + 0xc]
mov cl, dl
or cl, 4
and ax, di
movzx ebx, cl
movzx ecx, dl
push 0xa5
cmove ebx, ecx
call esi
mov cl, bl
or cl, 8
and ax, di
movzx edx, cl
movzx ecx, bl
cmove edx, ecx
push 0x5b
mov dword [esp + 0x10], edx
call esi
mov edx, dword [esp + 0xc]
mov cl, dl
or cl, 0x40
and ax, di
movzx ebx, cl
movzx ecx, dl
push 0x5c
cmove ebx, ecx
call esi
mov cl, bl
or cl, 0x80
and ax, di
movzx edx, cl
movzx ecx, bl
cmove edx, ecx
cmp dword [0x4eb75c], 0
mov dword [esp + 0xc], edx
je 0x415572
mov cl, byte [0x4ec0a6]
mov bl, dl
not bl
and bl, cl
je 0x415572
mov dl, byte [0x4ec0a4]
mov al, bl
not al
and byte [0x4ec0a5], al
and cl, al
and dl, al
mov byte [0x4ec0a6], cl
mov ecx, 0x4ec0a8
mov byte [0x4ec0a4], dl
call fcn.00415580
mov ecx, dword [0x4ec1d0]
mov edx, dword [esp + 0xc]
test ecx, ecx
je 0x415572
test byte [ecx + 8], bl
mov eax, 0
cmovne ecx, eax
mov dword [0x4ec1d0], ecx
pop edi
pop esi
mov al, dl
pop ebx
pop ecx
ret
Function at 0x4159e0
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 + 0x4e894c], al
je 0x415b56
inc edi
cmp edi, 0x6d
jl 0x4159f3
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 0x415aef
push ebp
push 0x100
lea eax, [esp + 0x28]
push 0
push eax
call fcn.004b4390
mov ebp, dword [sym.imp.USER32.dll_ToAsciiEx]
lea eax, [esp + 0x20]
add esp, 0xc
mov byte [esp + 0x12], 0
push esi
push 0
push eax
lea eax, [esp + 0x30]
push eax
push 0
push 0x6e
call ebp
movzx ecx, byte [esp + 0x14]
cmp eax, 2
movzx edx, byte [esp + 0x12]
lea eax, [esp + 0x14]
movzx edi, byte [esp + 0x11]
cmove edx, ecx
push esi
push 0
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x28], edx
push eax
push 0
push edi
call ebp
mov dword [esp + 0x20], eax
test eax, eax
jns 0x415a99
push esi
push 0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x30]
push eax
push 0
push 0x6e
call ebp
mov eax, dword [esp + 0x1c]
test al, al
je 0x415ade
push 1
push esi
lea edx, [esp + 0x1a]
mov cl, al
call fcn.00415d80
add esp, 8
mov byte [esp + 0x13], al
test al, al
je 0x415ade
mov dl, byte [esp + 0x12]
lea ecx, [esp + 0x24]
call fcn.00415580
push esi
push 0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x30]
push eax
movzx eax, byte [esp + 0x23]
push 0
push eax
call ebp
movzx eax, byte [esp + 0x14]
xor ecx, ecx
cmp dword [esp + 0x20], ecx
pop ebp
cmovne ecx, eax
jmp 0x415afe
push esi
movzx edi, al
push 2
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyExA]
mov cl, al
mov byte [ebx], cl
test cl, cl
je 0x415b14
pop edi
pop esi
mov byte [ebx + 1], 0
mov eax, ebx
pop ebx
add esp, 0x114
ret
cmp byte [esp + 0x128], 0
je 0x415b47
cmp byte [esp + 0xd], 0
je 0x415b47
push edi
push str.vk_02X
push dword [esp + 0x12c]
push ebx
call fcn.0049e100
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0x114
ret
pop edi
pop esi
mov byte [ebx], 0
mov eax, ebx
pop ebx
add esp, 0x114
ret
mov esi, dword [esp + 0x124]
dec esi
push esi
push dword [edi*8 + 0x4e8948]
push ebx
call fcn.004ba990
add esp, 0xc
mov byte [esi + ebx], 0
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0x114
ret
Function at 0x415c70
Capabilities:
Log keystrokes

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov bl, byte [edi]
test bl, bl
je 0x415d79
cmp byte [edi + 1], 0
jne 0x415c9b
push 1
push dword [esp + 0x20]
mov cl, bl
call fcn.00415d80
add esp, 8
pop edi
pop esi
pop ebx
pop ecx
ret
movzx eax, bl
test eax, 0xffffff80
je 0x415ca9
xor eax, eax
jmp 0x415cb4
push 2
push eax
call fcn.004b8e5e
add esp, 8
mov cl, bl
and cl, 0xdf
test eax, eax
movzx edx, cl
movzx ecx, bl
cmove edx, ecx
cmp dl, 0x56
jne 0x415d22
mov bl, byte [edi + 1]
movzx eax, bl
test eax, 0xffffff80
je 0x415cda
xor eax, eax
jmp 0x415ce5
push 2
push eax
call fcn.004b8e5e
add esp, 8
mov cl, bl
and cl, 0xdf
test eax, eax
movzx edx, cl
movzx ecx, bl
cmove edx, ecx
cmp dl, 0x4b
jne 0x415d22
push 0x10
lea eax, [esp + 0x10]
push eax
lea eax, [edi + 2]
push eax
call fcn.004b9ad3
mov ecx, dword [esp + 0x18]
add esp, 0xc
xor ebx, ebx
movzx edx, al
cmp byte [ecx], bl
pop edi
cmove ebx, edx
pop esi
mov al, bl
pop ebx
pop ecx
ret
xor esi, esi
nop dword [eax]
nop dword [eax + eax]
push edi
push dword [esi*8 + 0x4e8948]
call fcn.004b626e
add esp, 8
test eax, eax
je 0x415d6d
inc esi
cmp esi, 0x6d
jl 0x415d30
cmp byte [esp + 0x14], 0
jne 0x415d79
xor edx, edx
mov ecx, edi
call fcn.00415b80
movzx ecx, ax
test cx, cx
je 0x415d79
pop edi
pop esi
pop ebx
add esp, 4
jmp fcn.00416650
mov al, byte [esi*8 + 0x4e894c]
pop edi
pop esi
pop ebx
pop ecx
ret
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret

Function at 0x415d80
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push ebx
mov ebx, ecx
push edi
mov edi, edx
cmp bl, 0xa
jne 0x415d92
pop edi
mov al, 0xd
pop ebx
pop ecx
ret
push ebp
push dword [esp + 0x14]
push ebx
call dword [sym.imp.USER32.dll_VkKeyScanExA]
movzx eax, ax
mov edx, eax
mov dword [esp + 0xc], eax
shr edx, 8
cmp dl, 0xff
jne 0x415e07
cmp al, 0xff
jne 0x415e07
cmp byte [esp + 0x18], 0
je 0x415e10
movzx ebp, bl
test ebp, 0xffffff80
jne 0x415e10
push 0x103
push ebp
call fcn.004b8e5e
add esp, 8
test eax, eax
je 0x415e10
push esi
push 2
push ebp
call fcn.004b8e5e
push 1
push ebp
mov esi, eax
call fcn.004b8e5e
add esp, 0x10
mov cl, bl
test eax, eax
movzx eax, bl
setne dl
and cl, 0xdf
test esi, esi
movzx ecx, cl
pop esi
cmove ecx, eax
mov bl, cl
jmp 0x415e0b
mov ebx, dword [esp + 0xc]
test dl, 0x38
je 0x415e17
pop ebp
pop edi
xor al, al
pop ebx
pop ecx
ret
test edi, edi
je 0x415e57
mov al, dl
and al, 6
cmp al, 6
jne 0x415e28
or byte [edi], 8
jmp 0x415e46
test dl, 2
je 0x415e37
mov al, byte [edi]
test al, 3
jne 0x415e37
or al, 1
mov byte [edi], al
test dl, 4
je 0x415e46
mov al, byte [edi]
test al, 0xc
jne 0x415e46
or al, 4
mov byte [edi], al
test dl, 1
je 0x415e57
mov cl, byte [edi]
test cl, 0x30
jne 0x415e57
or cl, 0x10
mov byte [edi], cl
pop ebp
pop edi
mov al, bl
pop ebx
pop ecx
ret
Function at 0x416230
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
movzx esi, cl
mov bl, dl
lea eax, [esi - 0x13]
cmp eax, 0x92
ja case.0x41624c.20
movzx eax, byte [eax + 0x4164ec]
jmp dword [eax*4 + 0x416480]
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_MapVirtualKeyA]
movzx ecx, ax
test cx, cx
jne 0x41643d
pop esi
xor eax, eax
pop ebx
ret
add esi, 0xfffffffd
cmp esi, 0xb4
ja case.0x416453.4
movzx eax, byte [esi + 0x41658c]
jmp dword [eax*4 + 0x416580]
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