joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10042240
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x10042273
push esi
call fcn.100505e0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x1004226c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x100422f9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x100422e2
mov eax, dword [esi + 8]
test eax, eax
je 0x10042297
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x100422de
cmp eax, 2
je 0x100422e2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1004228a
cmp eax, 3
je 0x100422bd
cmp eax, 1
jne 0x1004228a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x1004228a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x1004228a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.10042320
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x10042308
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.10042320
add esp, 4
pop esi
ret

Function at 0x10042b90
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x10042bb1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x10042bb1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x10042bb1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x10043000
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x1004300b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x1004310e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x100831d8]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100831d8]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100831d8]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100831d8]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100831d8]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100831d8]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100831d8]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x100831d8]
xor eax, edx
inc ecx
dec edi
jne 0x10043026
pop edi
test esi, esi
je 0x10043130
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x100831d8]
xor eax, edx
inc ecx
dec esi
jne 0x10043112
pop esi
pop ebx
not eax
ret
Function at 0x10070d04
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x10070d3c
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.1006edd5
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.1006edad
jmp 0x10070d48
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x100723f2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x10072434
call fcn.10077d91
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x10072434
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x1007242b
xor eax, eax
jmp 0x1007243c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.10072442
pop edi
pop esi
pop ebx
ret 4
Function at 0x402fc0
Capabilities:
Set current directory

Disassembly:
test al, al
je 0x402fd4
inc dword [0x4c2014]
add dword [0x4be3fc], 0x108
mov edx, dword [0x4be3fc]
push esi
push edi
mov ecx, 0x42
mov esi, 0x4c0af0
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 0x403003
push 0
mov eax, 0x4c4000
call fcn.004154a0
cmp dword [0x4c2040], 0
mov dword [0x4c4aa8], 0
mov dword [0x4c4aac], 0
je 0x40302b
push 0x4c26b0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp byte [esp + 0x10], 0
jne 0x4030af
or ecx, 0xffffffff
cmp byte [esi + 0xe6], 0
jne 0x40305a
xor eax, eax
cmp byte [esp + 0x14], 0x64
sete al
mov byte [esi + 0xe6], al
test al, al
je 0x40305a
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 0x24], ecx
cmp dword [0x4c4ab4], 0
je 0x40306c
cmp dword [0x4c4ab0], 0
jne 0x403075
cmp byte [esi + 0xe6], 0
je 0x4030af
cmp byte [esi + 0xe6], 0
mov byte [esi + 0xe4], 0
jne 0x4030af
cmp dword [0x4c4ab4], 0
jge 0x403097
pop edi
mov dword [esi + 0xd8], ecx
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xd4], eax
mov edx, dword [0x4c4ab4]
mov dword [esi + 0xd8], edx
pop edi
pop esi
ret
Function at 0x403cd0
Capabilities:
Write clipboard data

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x18], ebx
jne 0x403cf4
push esi
call fcn.00403fe0
test eax, eax
jne 0x403cf4
push str.Cant_open_clipboard_for_writing.
call fcn.00403dd0
pop esi
pop ebx
pop ecx
ret
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x403d2d
cmp dword [esi + 0x18], ebx
je 0x403d1f
cmp dword [esi + 8], ebx
je 0x403d14
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [esi + 8], ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esi + 0x18], ebx
mov dword [esi], ebx
push 0x49bb9c
call fcn.00403dd0
pop esi
pop ebx
pop ecx
ret
mov eax, dword [esi + 4]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp eax, ebx
je 0x403d66
mov ecx, dword [esi + 0xc]
cmp ecx, ebx
je 0x403d8d
cmp word [ecx], bx
push eax
sete byte [esp + 0x13]
call edi
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
cmp byte [esp + 0xf], bl
je 0x403d8d
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi + 4], eax
cmp dword [esi + 0x18], ebx
je 0x403d83
cmp dword [esi + 8], ebx
je 0x403d78
mov ecx, dword [esi]
push ecx
call edi
mov dword [esi + 8], ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esi + 0x18], ebx
mov dword [esi], ebx
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret
mov edx, dword [esi + 4]
push edx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x403da2
mov dword [esi + 4], ebx
jmp 0x403d66
cmp dword [esi + 0x18], ebx
je 0x403dbf
cmp dword [esi + 8], ebx
je 0x403db4
mov eax, dword [esi]
push eax
call edi
mov dword [esi + 8], ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esi + 0x18], ebx
mov dword [esi], ebx
push 0x49bbbc
call fcn.00403dd0
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x403ea0
Capabilities:
Check for time delay via gettickcount
Read clipboard data

Disassembly:
lea eax, [esi - 0xc000]
sub esp, 0x20c
cmp eax, 0x3fff
ja 0x403f3d
push 0x104
lea ecx, [esp + 4]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetClipboardFormatNameW]
push 0xb
lea edx, [esp + 4]
push str.Link_Source
push edx
call fcn.00488b42
add esp, 0xc
test eax, eax
je 0x403f34
lea eax, [esp]
push str.ObjectLink
push eax
call fcn.00488309
add esp, 8
test eax, eax
je 0x403f34
lea ecx, [esp]
push str.OwnerLink
push ecx
call fcn.00488309
add esp, 8
test eax, eax
je 0x403f34
lea edx, [esp]
push str.Native
push edx
call fcn.00488309
add esp, 8
test eax, eax
je 0x403f34
lea eax, [esp]
push str.Embed_Source
push eax
call fcn.00488309
add esp, 8
test eax, eax
jne 0x403f43
xor eax, eax
add esp, 0x20c
ret
xor ecx, ecx
mov word [esp], cx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebp
push edi
call ebx
mov edi, dword [sym.imp.USER32.dll_GetClipboardData]
push esi
mov ebp, eax
call edi
test eax, eax
jne 0x403fd0
lea ecx, [ecx]
cmp esi, 0xf
je 0x403fce
lea edx, [esp + 0xc]
push str.OwnerLink
push edx
call fcn.00488309
add esp, 8
test eax, eax
je 0x403fce
mov eax, dword [0x4be3c0]
cmp eax, 0xffffffff
je 0x403f9a
test eax, eax
je 0x403fce
call ebx
mov ecx, dword [0x4be3c0]
add ecx, ebp
sub ecx, eax
cmp ecx, 5
jle 0x403fce
push 1
push 0x8000012f
mov dword [0x4be3c4], 0
call fcn.004012b0
add esp, 8
push esi
mov dword [0x4be3c4], 1
call edi
test eax, eax
je 0x403f60
pop edi
pop ebp
pop ebx
add esp, 0x20c
ret
xor eax, eax
pop edi
pop ebp
pop ebx
add esp, 0x20c
ret

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

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x18], 0
je 0x403ff2
mov eax, 1
ret 4
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov ecx, dword [0x4c1ea8]
mov ebx, dword [sym.imp.USER32.dll_OpenClipboard]
push ecx
mov edi, eax
call ebx
test eax, eax
jne 0x404060
mov eax, dword [0x4be3c0]
cmp eax, 0xffffffff
je 0x404031
test eax, eax
je 0x404076
call esi
mov edx, dword [0x4be3c0]
add edx, edi
sub edx, eax
cmp edx, 5
jle 0x404076
push 1
push 0x8000012f
mov dword [0x4be3c4], 0
call fcn.004012b0
mov eax, dword [0x4c1ea8]
add esp, 8
push eax
mov dword [0x4be3c4], 1
call ebx
test eax, eax
je 0x404012
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword [ecx + 0x18], 1
mov eax, 1
pop ebx
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
ret 4
Function at 0x407420
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
cmp byte [0x4c0db8], 0
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
je 0x4074db
mov al, byte [0x4c0dba]
cmp al, 0xa0
je 0x407446
cmp al, 0x10
jne 0x4074db
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4c0db4]
cmp eax, 0x16
jae 0x4074db
test ebp, 0x100
jne case.0x407477.13
movzx eax, byte [esp + 0x14]
add eax, 0xfffffff4
cmp eax, 0x22
ja case.0x407477.13
movzx eax, byte [eax + 0x407684]
jmp dword [eax*4 + 0x40767c]
mov cl, 1
jmp 0x407484
xor cl, cl
cmp byte [0x4c0db9], 0
jne 0x4074a1
xor ecx, ecx
nop
cmp byte [ecx + 0x4c0d9c], 0
jne 0x4074ac
inc ecx
cmp ecx, 0x16
jl 0x407490
jmp 0x4074db
cmp byte [esp + 0x1c], 0
je 0x4074b5
test cl, cl
je 0x4074db
mov byte [0x4c0dbb], 1
jmp 0x4074b9
test cl, cl
je 0x4074db
mov cl, byte [0x4c0db3]
mov dl, byte [0x4c0db2]
mov al, byte [0x4c0cbf]
mov byte [0x4c1ea7], cl
mov byte [0x4c1ed8], dl
mov byte [0x4c1f68], al
mov cl, byte [0x4c1ea7]
movzx esi, byte [esp + 0x14]
mov dl, byte [0x4c1ed8]
mov al, byte [0x4c1f68]
mov byte [0x4c0db3], cl
lea ecx, [esi + esi*8]
mov byte [0x4c0db2], dl
mov edx, dword [0x4c28e0]
shl ecx, 5
mov bl, byte [ecx + edx + 4]
mov byte [0x4c0cbf], al
test bl, bl
je case.default.0x407652
cmp dword [edi + 0x10], 0xffc3d44f
setne dl
test byte [edi + 8], 0x10
mov byte [esp + 0xf], dl
je 0x407532
xor al, al
jmp 0x407547
mov eax, dword [esp + 0x1c]
push eax
mov al, byte [esp + 0x18]
call fcn.004076e0
mov dl, byte [esp + 0x13]
add esp, 4
cmp byte [esp + 0x1c], 0
mov byte [esp + 0x18], al
je 0x40761e
cmp byte [esp + 0x20], 0
jne 0x407571
mov cl, bl
not cl
and byte [0x4c1ea5], cl
test dl, dl
je 0x407571
and byte [0x4c1ea6], cl
cmp byte [esp + 0x18], 0
je case.default.0x407652
not bl
and byte [0x4c1ea7], bl
lea ecx, [esi - 0xa0]
mov byte [esi + 0x4c1ec8], 0
cmp ecx, 5
ja case.default.0x407652
jmp dword [ecx*4 + 0x4076a8]
mov cl, byte [0x4c1f69]
mov byte [0x4c1ed8], cl
jmp case.default.0x407652
mov dl, byte [0x4c1f68]
mov byte [0x4c1ed8], dl
jmp case.default.0x407652
mov al, byte [0x4c1f6b]
mov byte [0x4c1ed9], al
jmp case.default.0x407652
mov cl, byte [0x4c1f6a]
mov byte [0x4c1ed9], cl
jmp case.default.0x407652
mov dl, byte [0x4c1f6d]
mov byte [0x4c1eda], dl
jmp case.default.0x407652
mov al, byte [0x4c1f6c]
mov byte [0x4c1eda], al
test byte [edi + 8], 0x10
mov al, byte [esp + 0x14]
mov ecx, dword [esp + 0x1c]
pop esi
mov word [0x4c0dbc], bp
pop ebp
mov byte [0x4c0dba], al
mov byte [0x4c0db9], cl
pop ebx
je 0x407660
xor al, al
mov byte [0x4c0db8], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4c0db4], eax
pop ecx
ret
cmp byte [esp + 0x20], 0
jne 0x407635
or byte [0x4c1ea5], bl
test dl, dl
je 0x407635
or byte [0x4c1ea6], bl
test al, al
je case.default.0x407652
or byte [0x4c1ea7], bl
lea ecx, [esi - 0xa0]
mov al, 0x80
mov byte [esi + 0x4c1ec8], al
cmp ecx, 5
ja case.default.0x407652
jmp dword [ecx*4 + 0x4076c0]
mov byte [0x4c1ed8], al
jmp case.default.0x407652
push ecx
call fcn.004076e0
add esp, 4
mov byte [0x4c0db8], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4c0db4], eax
pop ecx
ret
Function at 0x4076e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp al, 0xa0
je 0x4076ef
cmp al, 0x10
jne case.0x407746.13
cmp byte [esp + 8], 0
jne case.0x407746.13
cmp byte [0x4c0dbb], 0
je 0x40771b
xor eax, eax
cmp byte [eax + 0x4c0d9c], 0
jne 0x40771b
inc eax
cmp eax, 0x16
jl 0x407701
mov byte [0x4c0dbb], 0
xor al, al
pop esi
ret
cmp byte [0x4c0db9], 0
je case.0x407746.13
test dword [0x4c0dbc], 0x100
jne case.0x407746.13
movzx eax, byte [0x4c0dba]
add eax, 0xfffffff4
cmp eax, 0x22
ja case.0x407746.13
movzx eax, byte [eax + 0x407770]
jmp dword [eax*4 + 0x407768]
call esi
sub eax, dword [0x4c0db4]
cmp eax, 0x16
jb 0x407717
call esi
mov dword [0x4c4e54], eax
mov al, 1
pop esi
ret
Function at 0x408570
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 [0x4c1fd8], 0
push esi
push edi
mov byte [esp + 0x1e], al
je 0x408594
mov byte [esp + 0x1e], 1
mov al, byte [esp + 0x1e]
cmp dword [0x4c1fdc], 0
je 0x4085a3
or al, 2
mov byte [esp + 0x1e], al
cmp byte [ebp + 8], al
je 0x4087b0
test al, al
jne 0x4085e6
cmp byte [ebp + 0xc], al
jne 0x4085e6
push 0x4c0d98
push 0
push 0
push 0x408880
push 0x2000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4c4e70], eax
test eax, eax
je 0x408677
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 [0x4c0d98]
push edi
push ebx
push 0x417
push ecx
call dword [sym.imp.USER32.dll_PostThreadMessageW]
test eax, eax
jne 0x40861c
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x32
jl 0x4085f6
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [esp + 0x1f], 0
call edi
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
mov ebx, eax
cmp byte [ebp + 8], 0
je 0x408683
push 1
push 0x417
push 0x417
push 0
lea edx, [esp + 0x34]
push edx
call esi
test eax, eax
je 0x4086ea
cmp dword [esp + 0x2c], 0
je 0x408692
mov byte [esp + 0x1f], 1
call fcn.00408c20
test al, al
jne 0x408692
cmp byte [ebp + 0xc], al
jne 0x40877e
mov byte [ebp + 8], al
jmp 0x408631
call fcn.00408c40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0xc], 0
je 0x4086ce
call fcn.00408c20
test al, al
jne 0x4086ea
cmp byte [ebp + 0xc], 0
jne 0x408777
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x4c1fd8], 0
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexW]
je 0x408722
test byte [esp + 0x1e], 1
jne 0x40873b
push str.AHK_Keybd
push 0
push 0
call esi
mov dword [0x4c28cc], eax
jmp 0x40873b
mov ecx, dword [0x4c4e70]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0x20], 0x103
jne 0x408702
call edi
sub eax, ebx
cmp eax, 0x1f4
ja 0x408692
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x408631
mov edx, dword [0x4c4e70]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov dword [0x4c4e70], 0
call fcn.00408c40
jmp 0x4086a2
test byte [esp + 0x1e], 1
je 0x40873b
mov eax, dword [0x4c28cc]
push eax
call edi
mov dword [0x4c28cc], 0
cmp dword [0x4c1fdc], 0
je 0x40875d
test byte [esp + 0x1e], 2
jne 0x408777
push str.AHK_Mouse
push 0
push 0
call esi
mov dword [0x4c28d0], eax
jmp 0x408777
test byte [esp + 0x1e], 2
je 0x408777
mov ecx, dword [0x4c28d0]
push ecx
call edi
mov dword [0x4c28d0], 0
cmp byte [esp + 0x1f], 0
je 0x4087b0
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 [0x4be3c4], 0
call fcn.00473830
add esp, 0x18
mov dword [0x4be3c4], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409e80
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x1038
call fcn.00493810
cmp byte [0x4c4e74], 0
push esi
push edi
jne 0x40a03a
cmp dword [0x4c28ec], 0
jne 0x409eb3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4c28ec], eax
mov edi, 1
add dword [0x4c4e78], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x4c4e78]
mov esi, dword [0x4be3d8]
mov ecx, eax
sub ecx, dword [0x4c28ec]
mov dword [0x4c28f0], eax
cmp edx, dword [0x4be3d4]
jbe 0x409f6a
cmp ecx, esi
jae 0x409f6a
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.0046f260
add esp, 0xc
call fcn.00409090
fldz
push 0
sub esp, 8
fstp qword [esp]
push 0
mov eax, edi
push 4
push eax
mov byte [0x4c4e74], 1
mov dword [0x4be3c4], 0
call fcn.00473830
add esp, 0x18
cmp eax, 7
jne 0x409f4e
push 0
xor eax, eax
push 0x4c4000
lea ecx, [eax + 1]
call fcn.00415810
mov eax, dword [0x4c28f0]
mov edx, dword [esp + 0x3c]
mov dword [0x4be3c4], 1
mov byte [0x4c4e74], 0
jmp 0x409f70
xor edx, edx
cmp ecx, esi
jbe 0x409f87
mov dword [0x4c4e78], 0
mov dword [0x4c28ec], eax
test edx, edx
jne 0x40a03a
mov esi, dword [ebp + 8]
mov cl, byte [esi + 0x11]
mov byte [0x4c4a82], cl
cmp byte [esi + 0x1a], 0
je 0x409ffe
cmp byte [esi + 0x1b], 0
je 0x409ffe
mov byte [esp + 0x3b], 1
call fcn.0040b900
mov ecx, dword [0x4be3fc]
inc byte [ebx + 0x1f]
mov eax, dword [ebx]
mov esi, dword [ecx + 0xbc]
push 0
push 0
mov dword [ecx + 0xbc], eax
mov ecx, dword [eax + 4]
push 1
call fcn.00425c50
mov edx, dword [0x4be3fc]
mov dword [edx + 0xbc], esi
dec byte [ebx + 0x1f]
cmp byte [esp + 0x3b], 0
mov edi, eax
je 0x409fee
mov esi, dword [ebp + 8]
call fcn.0040b830
test edi, edi
jne 0x40a005
mov byte [ebx + 0x23], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov byte [esp + 0x3b], 0
jmp 0x409fa9
cmp byte [ebx + 0x23], 0
je 0x40a03a
mov byte [ebx + 0x23], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebx + 4]
cmp eax, 0x3e8
ja 0x40a03a
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
mov edx, dword [0x4c1ea8]
push 0
push ecx
push 0x312
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40e650
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x3c
push esi
mov esi, eax
movzx eax, word [esp + 0x44]
lea ecx, [esp + 0x20]
test eax, 0xffffff80
je 0x40e674
mov ecx, 0x30
mov word [esp + 0x20], cx
lea ecx, [esp + 0x22]
push 0xa
push ecx
push eax
call fcn.00488085
add esp, 0xc
test esi, esi
jle 0x40e740
push ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, esi
cmp dword [0x4c3908], 0
jne 0x40e6ef
call edi
sub eax, dword [0x4c4abc]
mov edx, dword [0x4be3fc]
cmp eax, dword [edx + 0xd0]
jbe 0x40e6ef
push 0
push 0
push 0
push 0
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x40e6e8
push 1
push 0xffffffffffffffff
mov dword [0x4be3c4], 0
call fcn.004012b0
add esp, 8
mov dword [0x4be3c4], 1
call edi
mov dword [0x4c4abc], eax
mov esi, 2
cmp dword [0x4c3908], esi
je 0x40e70e
mov ecx, dword [esp + 0x4c]
push ecx
or eax, 0xffffffff
call fcn.0040cbc0
add esp, 4
jmp 0x40e717
lea eax, [esp + 0x28]
call fcn.0040e750
cmp dword [0x4c3908], esi
jne 0x40e72a
mov edx, dword [0x4be3fc]
mov esi, dword [edx + 0x60]
jmp 0x40e732
mov eax, dword [0x4be3fc]
mov esi, dword [eax + 0x5c]
call fcn.004106e0
dec ebp
jne 0x40e692
pop edi
pop ebp
pop esi
add esp, 0x3c
ret

Function at 0x40e750
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
cmp dword [0x4c3908], 0
push esi
mov esi, eax
je 0x40e767
mov al, byte [0x4c0dcf]
jmp 0x40e85e
cmp dword [0x4c1fd8], 0
je 0x40e77a
mov al, byte [0x4c1ea5]
jmp 0x40e85e
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 0x40e797
mov bl, 0x10
push 0xa1
call edi
mov edx, 0x8000
test dx, ax
je 0x40e7ab
or bl, 0x20
push 0xa2
call edi
mov ecx, 0x8000
test cx, ax
je 0x40e7bf
or bl, 1
push 0xa3
call edi
mov edx, 0x8000
test dx, ax
je 0x40e7d3
or bl, 2
push 0xa4
call edi
mov ecx, 0x8000
test cx, ax
je 0x40e7e7
or bl, 4
push 0xa5
call edi
mov edx, 0x8000
test dx, ax
je 0x40e7fb
or bl, 8
push 0x5b
call edi
mov ecx, 0x8000
test cx, ax
je 0x40e80c
or bl, 0x40
push 0x5c
call edi
mov edx, 0x8000
test dx, ax
je 0x40e81d
or bl, 0x80
cmp dword [0x4c1fd8], 0
je 0x40e85a
mov al, bl
not al
and al, byte [0x4c1ea5]
je 0x40e85a
mov cl, byte [0x4c1ea7]
not al
and byte [0x4c1ea5], al
and byte [0x4c1ea6], al
and cl, al
mov al, cl
mov byte [0x4c1ea7], cl
mov ecx, 0x4c1ec8
call fcn.00411270
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.00410ac0
movzx eax, word [esi]
add esp, 0x14
cmp eax, 0x30
jb 0x40e8bf
lea ebx, [ebx]
cmp ax, 0x39
ja 0x40e8bf
mov al, byte [esi]
push 0xffc3d44d
push 0
add al, 0x30
push 0
movzx ecx, al
push 0
push ecx
push 2
call fcn.0040eb50
movzx eax, word [esi + 2]
add esi, 2
add esp, 0x18
cmp eax, 0x30
jae 0x40e890
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 1
call fcn.0040eb50
add esp, 0x18
pop esi
pop ecx
ret