joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403130
Capabilities:
Set current directory

Disassembly:
test al, al
je 0x403144
inc dword [0x4bb8dc]
add dword [0x4b7468], 0xe8
mov edx, dword [0x4b7468]
push esi
push edi
mov ecx, 0x3a
mov esi, 0x4ba400
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xc]
mov esi, edx
mov dword [esi + 0x2c], ecx
test al, al
je 0x403173
push 0
mov eax, 0x4bd7e0
call fcn.00419910
cmp dword [0x4bb90c], 0
mov dword [0x4bdde0], 0
mov dword [0x4bdde4], 0
je 0x40319b
push 0x4bbf78
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
cmp byte [esp + 0x10], 0
jne 0x40321f
or ecx, 0xffffffff
cmp byte [esi + 0xca], 0
jne 0x4031ca
xor eax, eax
cmp byte [esp + 0x14], 0x64
sete al
mov byte [esi + 0xca], al
test al, al
je 0x4031ca
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 0x24], ecx
cmp dword [0x4bddec], 0
je 0x4031dc
cmp dword [0x4bdde8], 0
jne 0x4031e5
cmp byte [esi + 0xca], 0
je 0x40321f
cmp byte [esi + 0xca], 0
mov byte [esi + 0xc8], 0
jne 0x40321f
cmp dword [0x4bddec], 0
jge 0x403207
pop edi
mov dword [esi + 0xbc], ecx
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xb8], eax
mov edx, dword [0x4bddec]
mov dword [esi + 0xbc], edx
pop edi
pop esi
ret
Function at 0x403ee0
Capabilities:
Write clipboard data

Disassembly:
cmp dword [0x4bd7d0], 0
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov ebx, eax
je 0x403ef8
pop ebp
xor eax, eax
pop ebx
ret 4
push esi
test ebp, ebp
je 0x403f45
cmp ebx, 0xffffffff
jne 0x403f12
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403f07
sub eax, edx
mov ebx, eax
test ebx, ebx
je 0x403f45
push edi
lea edi, [ebx + 1]
mov esi, 0x4bd7c4
call fcn.00403f60
pop edi
test eax, eax
jne 0x403f2f
pop esi
pop ebp
pop ebx
ret 4
mov eax, dword [0x4bd7d0]
push ebx
push ebp
push eax
mov esi, eax
call fcn.004954d0
add esp, 0xc
mov byte [esi + ebx], 0
pop esi
pop ebp
pop ebx
mov dword [esp + 4], 1
mov ecx, 0x4bd7c4
jmp fcn.00403fd0

Function at 0x403fd0
Capabilities:
Write clipboard data

Disassembly:
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x18], edi
jne 0x403ff4
push esi
call fcn.004042b0
test eax, eax
jne 0x403ff4
push str.Cant_open_clipboard_for_writing.
call fcn.004040e0
pop edi
pop esi
ret 4
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x40402e
cmp dword [esi + 0x18], edi
je 0x40401f
cmp dword [esi + 8], edi
je 0x404014
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [esi + 8], edi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esi + 0x18], edi
mov dword [esi], edi
push 0x4a6a88
call fcn.004040e0
pop edi
pop esi
ret 4
mov ecx, dword [esi + 4]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp ecx, edi
je 0x404071
mov eax, dword [esi + 0xc]
cmp eax, edi
je 0x404099
cmp dword [esp + 0x10], 0xd
push ebx
jne 0x404050
cmp word [eax], di
jmp 0x404053
cmp byte [eax], 0
push ecx
sete bl
call ebp
test bl, bl
mov dword [esi + 0xc], edi
mov dword [esi + 0x14], edi
pop ebx
je 0x404099
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi + 4], eax
cmp dword [esi + 0x18], edi
je 0x40408e
cmp dword [esi + 8], edi
je 0x404083
mov edx, dword [esi]
push edx
call ebp
mov dword [esi + 8], edi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esi + 0x18], edi
mov dword [esi], edi
pop ebp
pop edi
mov eax, 1
pop esi
ret 4
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
push edx
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x4040b1
mov dword [esi + 4], edi
jmp 0x404071
cmp dword [esi + 0x18], edi
je 0x4040ce
cmp dword [esi + 8], edi
je 0x4040c3
mov ecx, dword [esi]
push ecx
call ebp
mov dword [esi + 8], edi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esi + 0x18], edi
mov dword [esi], edi
push 0x4a6a98
call fcn.004040e0
pop ebp
pop edi
pop esi
ret 4
Function at 0x4041b0
Capabilities:
Read clipboard data

Disassembly:
sub esp, 0x108
test esi, esi
je 0x4041c0
mov dword [esi], 0
lea eax, [edi - 0xc000]
cmp eax, 0x3fff
ja 0x40428f
push 0x104
lea ecx, [esp + 4]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetClipboardFormatNameA]
push 0xb
lea edx, [esp + 4]
push str.Link_Source
push edx
call fcn.004924d0
add esp, 0xc
test eax, eax
je 0x404286
lea eax, [esp]
push str.ObjectLink
push eax
call fcn.00491a51
add esp, 8
test eax, eax
je 0x404286
lea ecx, [esp]
push str.OwnerLink
push ecx
call fcn.00491a51
add esp, 8
test eax, eax
je 0x404286
lea edx, [esp]
push str.Native
push edx
call fcn.00491a51
add esp, 8
test eax, eax
je 0x404286
lea eax, [esp]
push str.Embed_Source
push eax
call fcn.00491a51
add esp, 8
test eax, eax
je 0x404286
lea ecx, [esp]
push str.MSDEVColumnSelect
push ecx
call fcn.00491a51
add esp, 8
test eax, eax
je 0x40427c
lea edx, [esp]
push str.MSDEVLineSelect
push edx
call fcn.00491a51
add esp, 8
test eax, eax
jne 0x404293
test esi, esi
je 0x404286
mov dword [esi], 1
xor eax, eax
add esp, 0x108
ret
mov byte [esp], 0
push edi
call dword [sym.imp.USER32.dll_GetClipboardData]
add esp, 0x108
ret

Function at 0x4042b0
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x18], 0
je 0x4042c2
mov eax, 1
ret 4
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
call esi
mov ecx, dword [0x4bb770]
mov ebp, dword [sym.imp.USER32.dll_OpenClipboard]
push ecx
mov edi, eax
call ebp
test eax, eax
jne 0x404353
jmp 0x4042f0
mov eax, dword [0x4b73c0]
cmp eax, 0xffffffff
je 0x40430f
test eax, eax
je 0x404366
call esi
mov edx, dword [0x4b73c0]
add edx, edi
sub edx, eax
cmp edx, 5
jle 0x404366
mov dword [0x4b73c8], 0
cmp dword [0x4bd780], ebx
jne 0x404332
push 1
push 0x8000012f
call fcn.00401280
add esp, 8
jmp 0x40433d
push 0x8000012f
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x4bb770]
push eax
mov dword [0x4b73c8], 1
call ebp
test eax, eax
je 0x4042f0
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov eax, 1
pop ebp
mov dword [ecx + 0x18], eax
pop ebx
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
Function at 0x408760
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
cmp byte [0x4ba661], 0
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
je 0x40881b
mov al, byte [0x4ba663]
cmp al, 0xa0
je 0x408786
cmp al, 0x10
jne 0x40881b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4ba664]
cmp eax, 0x16
jae 0x40881b
test ebp, 0x100
jne case.0x4087b7.13
movzx eax, byte [esp + 0x14]
add eax, 0xfffffff4
cmp eax, 0x22
ja case.0x4087b7.13
movzx eax, byte [eax + 0x4089c4]
jmp dword [eax*4 + 0x4089bc]
mov cl, 1
jmp 0x4087c4
xor cl, cl
cmp byte [0x4ba662], 0
jne 0x4087e1
xor ecx, ecx
nop
cmp byte [ecx + 0x4ba648], 0
jne 0x4087ec
inc ecx
cmp ecx, 0x16
jl 0x4087d0
jmp 0x40881b
cmp byte [esp + 0x1c], 0
je 0x4087f5
test cl, cl
je 0x40881b
mov byte [0x4ba66a], 1
jmp 0x4087f9
test cl, cl
je 0x40881b
mov cl, byte [0x4ba660]
mov dl, byte [0x4ba65f]
mov al, byte [0x4ba65e]
mov byte [0x4bb76f], cl
mov byte [0x4bb7a0], dl
mov byte [0x4bb830], al
mov cl, byte [0x4bb76f]
movzx esi, byte [esp + 0x14]
mov dl, byte [0x4bb7a0]
mov al, byte [0x4bb830]
mov byte [0x4ba660], cl
lea ecx, [esi + esi*8]
mov byte [0x4ba65f], dl
mov edx, dword [0x4bc0a8]
shl ecx, 5
mov bl, byte [ecx + edx + 4]
mov byte [0x4ba65e], al
test bl, bl
je case.default.0x408992
cmp dword [edi + 0x10], 0xffc3d44f
setne dl
test byte [edi + 8], 0x10
mov byte [esp + 0xf], dl
je 0x408872
xor al, al
jmp 0x408887
mov eax, dword [esp + 0x1c]
push eax
mov al, byte [esp + 0x18]
call fcn.00408a20
mov dl, byte [esp + 0x13]
add esp, 4
cmp byte [esp + 0x1c], 0
mov byte [esp + 0x18], al
je 0x40895e
cmp byte [esp + 0x20], 0
jne 0x4088b1
mov cl, bl
not cl
and byte [0x4bb76b], cl
test dl, dl
je 0x4088b1
and byte [0x4bb76e], cl
cmp byte [esp + 0x18], 0
je case.default.0x408992
not bl
and byte [0x4bb76f], bl
lea ecx, [esi - 0xa0]
mov byte [esi + 0x4bb790], 0
cmp ecx, 5
ja case.default.0x408992
jmp dword [ecx*4 + 0x4089e8]
mov cl, byte [0x4bb831]
mov byte [0x4bb7a0], cl
jmp case.default.0x408992
mov dl, byte [0x4bb830]
mov byte [0x4bb7a0], dl
jmp case.default.0x408992
mov al, byte [0x4bb833]
mov byte [0x4bb7a1], al
jmp case.default.0x408992
mov cl, byte [0x4bb832]
mov byte [0x4bb7a1], cl
jmp case.default.0x408992
mov dl, byte [0x4bb835]
mov byte [0x4bb7a2], dl
jmp case.default.0x408992
mov al, byte [0x4bb834]
mov byte [0x4bb7a2], al
test byte [edi + 8], 0x10
mov al, byte [esp + 0x14]
mov ecx, dword [esp + 0x1c]
pop esi
mov word [0x4ba668], bp
pop ebp
mov byte [0x4ba663], al
mov byte [0x4ba662], cl
pop ebx
je 0x4089a0
xor al, al
mov byte [0x4ba661], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4ba664], eax
pop ecx
ret
cmp byte [esp + 0x20], 0
jne 0x408975
or byte [0x4bb76b], bl
test dl, dl
je 0x408975
or byte [0x4bb76e], bl
test al, al
je case.default.0x408992
or byte [0x4bb76f], bl
lea ecx, [esi - 0xa0]
mov al, 0x80
mov byte [esi + 0x4bb790], al
cmp ecx, 5
ja case.default.0x408992
jmp dword [ecx*4 + 0x408a00]
mov byte [0x4bb7a0], al
jmp case.default.0x408992
push ecx
call fcn.00408a20
add esp, 4
mov byte [0x4ba661], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4ba664], eax
pop ecx
ret
Function at 0x408a20
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp al, 0xa0
je 0x408a2f
cmp al, 0x10
jne case.0x408a86.13
cmp byte [esp + 8], 0
jne case.0x408a86.13
cmp byte [0x4ba66a], 0
je 0x408a5b
xor eax, eax
cmp byte [eax + 0x4ba648], 0
jne 0x408a5b
inc eax
cmp eax, 0x16
jl 0x408a41
mov byte [0x4ba66a], 0
xor al, al
pop esi
ret
cmp byte [0x4ba662], 0
je case.0x408a86.13
test dword [0x4ba668], 0x100
jne case.0x408a86.13
movzx eax, byte [0x4ba663]
add eax, 0xfffffff4
cmp eax, 0x22
ja case.0x408a86.13
movzx eax, byte [eax + 0x408ab0]
jmp dword [eax*4 + 0x408aa8]
call esi
sub eax, dword [0x4ba664]
cmp eax, 0x16
jb 0x408a57
call esi
mov dword [0x4bdef0], eax
mov al, 1
pop esi
ret
Function at 0x4098c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
xor al, al
cmp dword [0x4bb8a0], 0
push esi
push edi
mov byte [esp + 0x1e], al
je 0x4098e4
mov byte [esp + 0x1e], 1
mov al, byte [esp + 0x1e]
cmp dword [0x4bb8a4], 0
je 0x4098f3
or al, 2
mov byte [esp + 0x1e], al
cmp byte [ebp + 8], al
je 0x409b00
test al, al
jne 0x409936
cmp byte [ebp + 0xc], al
jne 0x409936
push 0x4ba554
push 0
push 0
push 0x409bd0
push 0x2000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4bdf34], eax
test eax, eax
je 0x4099c7
push 0xf
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
movzx ebx, byte [ebp + 8]
xor eax, eax
xor esi, esi
cmp byte [ebp + 0xc], al
sete al
mov edi, eax
mov ecx, dword [0x4ba554]
push edi
push ebx
push 0x417
push ecx
call dword [sym.imp.USER32.dll_PostThreadMessageA]
test eax, eax
jne 0x40996c
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x32
jl 0x409946
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [esp + 0x1f], 0
call edi
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, eax
cmp byte [ebp + 8], 0
je 0x4099d3
push 1
push 0x417
push 0x417
push 0
lea edx, [esp + 0x34]
push edx
call esi
test eax, eax
je 0x409a3a
cmp dword [esp + 0x2c], 0
je 0x4099e2
mov byte [esp + 0x1f], 1
call fcn.00409f70
test al, al
jne 0x4099e2
cmp byte [ebp + 0xc], al
jne 0x409ace
mov byte [ebp + 8], al
jmp 0x409981
call fcn.00409f90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0xc], 0
je 0x409a1e
call fcn.00409f70
test al, al
jne 0x409a3a
cmp byte [ebp + 0xc], 0
jne 0x409ac7
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x4bb8a0], 0
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexA]
je 0x409a72
test byte [esp + 0x1e], 1
jne 0x409a8b
push str.AHK_Keybd
push 0
push 0
call esi
mov dword [0x4bc094], eax
jmp 0x409a8b
mov ecx, dword [0x4bdf34]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0x20], 0x103
jne 0x409a52
call edi
sub eax, ebx
cmp eax, 0x1f4
ja 0x4099e2
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x409981
mov edx, dword [0x4bdf34]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov dword [0x4bdf34], 0
call fcn.00409f90
jmp 0x4099f2
test byte [esp + 0x1e], 1
je 0x409a8b
mov eax, dword [0x4bc094]
push eax
call edi
mov dword [0x4bc094], 0
cmp dword [0x4bb8a4], 0
je 0x409aad
test byte [esp + 0x1e], 2
jne 0x409ac7
push str.AHK_Mouse
push 0
push 0
call esi
mov dword [0x4bc098], eax
jmp 0x409ac7
test byte [esp + 0x1e], 2
je 0x409ac7
mov ecx, dword [0x4bc098]
push ecx
call edi
mov dword [0x4bc098], 0
cmp byte [esp + 0x1f], 0
je 0x409b00
fldz
push 0
sub esp, 8
fstp qword [esp]
push 0
push 0x10000
push str.Warning:_The_keyboard_and_or_mouse_hook_could_not_be_activated__some_parts_of_the_script_will_not_function.
mov dword [0x4b73c8], 0
call fcn.00483450
add esp, 0x18
mov dword [0x4b73c8], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b250
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x838
cmp byte [0x4bdf38], 0
push esi
push edi
jne 0x40b3d4
cmp dword [0x4bc0b0], 0
jne 0x40b27f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4bc0b0], eax
mov edi, 1
add dword [0x4bdf3c], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x4bdf3c]
mov esi, dword [0x4b73dc]
mov ecx, eax
sub ecx, dword [0x4bc0b0]
mov dword [0x4bc0b4], eax
cmp edx, dword [0x4b73d8]
jbe 0x40b336
cmp ecx, esi
jae 0x40b336
push ecx
push edx
mov dword [esp + 0x44], edi
push str._u_hotkeys_have_been_received_in_the_last__ums._n_nDo_you_want_to_continue__n_see_MaxHotkeysPerInterval_in_the_help_file_
mov esi, 0x800
lea edi, [esp + 0x4c]
call fcn.0047dd10
add esp, 0xc
call fcn.00404460
fldz
push 0
sub esp, 8
fstp qword [esp]
push 0
mov eax, edi
push 4
push eax
mov byte [0x4bdf38], 1
mov dword [0x4b73c8], 0
call fcn.00483450
add esp, 0x18
cmp eax, 7
jne 0x40b31a
push 0
xor eax, eax
push 0x4bd7e0
lea ecx, [eax + 1]
call fcn.00419c80
mov eax, dword [0x4bc0b4]
mov edx, dword [esp + 0x3c]
mov dword [0x4b73c8], 1
mov byte [0x4bdf38], 0
jmp 0x40b33c
xor edx, edx
cmp ecx, esi
jbe 0x40b353
mov dword [0x4bdf3c], 0
mov dword [0x4bc0b0], eax
test edx, edx
jne 0x40b3d4
mov edi, dword [ebp + 8]
mov cl, byte [edi + 0x11]
mov byte [0x4bddbd], cl
mov ecx, dword [0x4b7468]
inc byte [ebx + 0x1f]
mov eax, dword [ebx]
mov esi, dword [ecx + 0x9c]
push 0
push 0
mov dword [ecx + 0x9c], eax
mov ecx, dword [eax + 4]
push 1
call fcn.00429ae0
mov edx, dword [0x4b7468]
mov dword [edx + 0x9c], esi
dec byte [ebx + 0x1f]
test eax, eax
jne 0x40b3a2
mov byte [ebx + 0x24], al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
cmp byte [ebx + 0x24], 0
je 0x40b3d4
mov byte [ebx + 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebx + 4]
cmp eax, 0x3e8
ja 0x40b3d4
movzx eax, word [edi]
mov ecx, dword [0x4bb770]
push 0
push eax
push 0x312
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40f8c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x2c
push ebp
push esi
mov esi, eax
lea eax, [esp + 8]
test cl, cl
jns 0x40f8d8
mov byte [esp + 8], 0x30
lea eax, [esp + 9]
push 0xa
push eax
movzx eax, cl
push eax
call fcn.004916e2
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebp, eax
test esi, esi
jle 0x40f9a3
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, esi
cmp dword [0x4bd0d0], 0
jne 0x40f970
call edi
sub eax, dword [0x4bddf4]
mov ecx, dword [0x4b7468]
cmp eax, dword [ecx + 0xb4]
jbe 0x40f970
push 0
push 0
push 0
push 0
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x40f969
mov dword [0x4b73c8], 0
cmp dword [0x4bd780], ebp
jne 0x40f957
push 1
push 0xffffffffffffffff
call fcn.00401280
add esp, 8
jmp 0x40f95f
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [0x4b73c8], 1
call edi
mov dword [0x4bddf4], eax
lea eax, [esp + 0x10]
call fcn.0040f9b0
cmp dword [0x4bd0d0], 2
jne 0x40f98c
mov eax, dword [0x4b7468]
mov esi, dword [eax + 0x60]
jmp 0x40f995
mov ecx, dword [0x4b7468]
mov esi, dword [ecx + 0x5c]
call fcn.004119b0
dec ebx
jne 0x40f901
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x2c
ret

Function at 0x40f9b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
cmp dword [0x4bd0d0], 0
push esi
mov esi, eax
je 0x40f9c7
mov al, byte [0x4ba684]
jmp 0x40fabe
cmp dword [0x4bb8a0], 0
je 0x40f9da
mov al, byte [0x4bb76b]
jmp 0x40fabe
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0xa0
xor bl, bl
call edi
mov ecx, 0x8000
test cx, ax
je 0x40f9f7
mov bl, 0x10
push 0xa1
call edi
mov edx, 0x8000
test dx, ax
je 0x40fa0b
or bl, 0x20
push 0xa2
call edi
mov ecx, 0x8000
test cx, ax
je 0x40fa1f
or bl, 1
push 0xa3
call edi
mov edx, 0x8000
test dx, ax
je 0x40fa33
or bl, 2
push 0xa4
call edi
mov ecx, 0x8000
test cx, ax
je 0x40fa47
or bl, 4
push 0xa5
call edi
mov edx, 0x8000
test dx, ax
je 0x40fa5b
or bl, 8
push 0x5b
call edi
mov ecx, 0x8000
test cx, ax
je 0x40fa6c
or bl, 0x40
push 0x5c
call edi
mov edx, 0x8000
test dx, ax
je 0x40fa7d
or bl, 0x80
cmp dword [0x4bb8a0], 0
je 0x40faba
mov al, bl
not al
and al, byte [0x4bb76b]
je 0x40faba
mov cl, byte [0x4bb76f]
not al
and byte [0x4bb76b], al
and byte [0x4bb76e], al
and cl, al
mov al, cl
mov byte [0x4bb76f], cl
mov ecx, 0x4bb790
call fcn.00412630
pop edi
mov al, bl
pop ebx
mov byte [esp + 4], al
mov ecx, dword [esp + 4]
push 1
and al, 0xc4
push 0
or al, 4
movzx edx, al
push 0
push ecx
push edx
mov eax, 0xffc3d44f
call fcn.00411de0
mov al, byte [esi]
add esp, 0x14
cmp al, 0x30
jl 0x40fb0f
cmp al, 0x39
jg 0x40fb0f
push 0xffc3d44d
push 0
add al, 0x30
push 0
movzx eax, al
push 0
push eax
push 2
call fcn.0040fda0
mov al, byte [esi + 1]
inc esi
add esp, 0x18
cmp al, 0x30
jge 0x40fae8
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 1
call fcn.0040fda0
add esp, 0x18
pop esi
pop ecx
ret
Function at 0x411170
Capabilities:
Check for unmoving mouse cursor

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, eax
mov eax, dword [esi]
push edi
cmp eax, 0x80000000
je 0x411351
mov edi, dword [ebp]
cmp edi, 0x80000000
je 0x411351
mov edx, dword [0x4bd0d0]
cmp edx, 2
jne 0x4111e5
movzx ebx, byte [esp + 0x24]
neg ebx
sbb ebx, ebx
and ebx, 0x80000000
push 0
or ebx, 1
call fcn.00411530
add esp, 4
call fcn.00411aa0
cmp byte [esp + 0x24], 0
je 0x411351
mov dword [esi], SysReAllocString
mov dword [ebp], CreateStatusWindowA
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
or dword [ecx], 0x8001
cmp byte [esp + 0x24], 0
je 0x41123a
cmp edx, 1
jne 0x411220
cmp dword [0x4ba67c], 0x80000000
jne 0x41120e
push 0x4ba67c
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [0x4ba67c]
add dword [esi], eax
mov ecx, dword [0x4ba680]
add dword [ebp], ecx
jmp 0x41125f
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add dword [esi], eax
add dword [ebp], ecx
jmp 0x41125f
mov edx, dword [0x4b7468]
movzx eax, word [edx + 0xcc]
shr eax, 2
and eax, 3
cmp eax, 2
je 0x41125f
push eax
mov edi, ebp
mov ebx, esi
call fcn.0047efd0
add esp, 4
cmp dword [0x4bd0d0], 1
jne 0x411278
mov eax, dword [esi]
mov dword [0x4ba67c], eax
mov ecx, dword [ebp]
mov dword [0x4ba680], ecx
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call ebx
push 1
mov edi, eax
call ebx
mov ecx, dword [esi]
mov ebx, eax
mov eax, ecx
shl eax, 0x10
cdq
idiv edi
xor edx, edx
test ecx, ecx
setns dl
lea eax, [eax + edx*2 - 1]
mov dword [esi], eax
mov ecx, dword [ebp]
mov eax, ecx
shl eax, 0x10
cdq
idiv ebx
xor edx, edx
test ecx, ecx
setns dl
lea edx, [edx + edx - 1]
add edx, eax
mov eax, dword [esp + 0x20]
mov dword [ebp], edx
test eax, eax
js 0x41133b
cmp eax, 0x64
jle 0x4112d3
mov dword [esp + 0x20], 0x64
jmp 0x4112d7
test eax, eax
je 0x41133b
cmp dword [0x4bd0d0], 1
je 0x41133b
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp]
mov eax, dword [esi]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
mov eax, ecx
shl eax, 0x10
cdq
idiv ebx
mov esi, dword [esp + 0x1c]
xor edx, edx
test ecx, ecx
setns dl
mov ebx, eax
lea ebx, [ebx + edx*2 - 1]
mov eax, esi
shl eax, 0x10
cdq
idiv edi
mov ecx, eax
xor eax, eax
test esi, esi
setns al
lea ecx, [ecx + eax*2 - 1]
mov eax, ebx
call fcn.0045ac00
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esi]
push 0x8001
xor ecx, ecx
call fcn.00411360
add esp, 4
call fcn.00411aa0
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x411790
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebp, 1
mov edi, eax
xor ebx, ebx
mov dword [esp + 0x18], edi
cmp dword [0x4bd0d0], ebp
jne 0x41191e
xor al, al
mov byte [esp + 0x14], al
cmp dword [0x4bb8a0], ebx
je 0x4117cd
mov byte [esp + 0x14], 1
mov al, byte [esp + 0x14]
cmp dword [0x4bb8a4], ebx
je 0x4117db
or al, 2
mov byte [esp + 0x14], al
cmp al, bl
je 0x4117f6
mov cl, byte [0x4ba67b]
not cl
and cl, al
movzx edx, cl
push ebp
push edx
call fcn.004098c0
add esp, 8
mov ebp, dword [0x4ba690]
mov eax, dword [0x4ba694]
xor ecx, ecx
xor edi, edi
cmp ebp, ebx
jbe 0x41189a
xor esi, esi
xor edx, edx
cmp dword [esi + eax], 1
jne 0x41188a
cmp word [esi + eax + 4], bx
jne 0x41188a
cmp word [esi + eax + 6], bx
jne 0x41188a
add edx, eax
push 0x1c
mov eax, edi
push edx
sub eax, ecx
push eax
call dword [0x4bdef4]
mov ecx, dword [esp + 0x18]
mov dword [0x4b73c8], ebx
cmp dword [0x4bd780], ecx
jne 0x41185e
mov edx, dword [0x4ba694]
mov eax, dword [esi + edx + 0x10]
push 1
push eax
call fcn.00401280
add esp, 8
jmp 0x41186f
mov ecx, dword [0x4ba694]
mov edx, dword [esi + ecx + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ebp, dword [0x4ba690]
mov eax, dword [0x4ba694]
mov dword [0x4b73c8], 1
lea ecx, [edi + 1]
lea edx, [esi + 0x1c]
inc edi
add esi, 0x1c
cmp edi, ebp
jb 0x411811
cmp ecx, ebx
jne 0x4118a0
push 0x1c
push eax
push ebp
jmp 0x4118b0
lea edx, [ecx*8]
sub edx, ecx
push 0x1c
lea eax, [eax + edx*4]
push eax
push ecx
call dword [0x4bdef4]
mov al, byte [esp + 0x14]
cmp al, bl
je 0x4119a4
mov cl, byte [0x4ba67b]
and cl, al
test cl, 1
je 0x411902
push 1
call fcn.00412530
mov dl, byte [esp + 0x28]
mov cl, al
xor cl, dl
mov bl, cl
and bl, dl
not bl
and bl, byte [0x4bb76f]
and cl, al
or bl, cl
add esp, 4
mov byte [0x4bb76f], bl
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [0x4ba4e8], eax
mov edx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
mov dword [esp + 8], 1
mov dword [esp + 4], edx
jmp fcn.004098c0
push ebx
push ebx
mov dword [0x4ba688], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
push 0x40fb30
push ebp
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x4bb8a8], eax
cmp eax, ebx
je 0x4119a4
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [0x4bb890], 1
nop
mov dword [0x4b73c8], ebx
cmp dword [0x4bd780], edi
jne 0x41196e
push ebp
push 0x8000012f
call fcn.00401280
add esp, 8
jmp 0x411975
push 0x8000012f
call esi
mov dword [0x4b73c8], ebp
cmp dword [0x4bb8a8], ebx
jne 0x411950
mov eax, dword [0x4ba694]
mov ecx, dword [0x4ba690]
mov byte [0x4bb890], bl
cmp dword [eax + ecx*8 - 8], ebx
jne 0x4119a4
mov eax, dword [eax + ecx*8 - 4]
mov ecx, dword [esp + 0x20]
mov dword [ecx], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret