joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005875d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x1005876c
pop dword [ebp - 0x30]
mov eax, 0x1005876c
sub dword [ebp - 0x30], eax
push 0x40
push 0x1000
push 0x43c86
push 0
mov eax, 0x404a0b55
add eax, 0xcfbd75c7
add eax, dword [ebp - 0x30]
call dword [eax]
mov ecx, 0xa16a9bc2
sub ecx, 0xa16a50d8
mov esi, eax
mov edi, 0xb4780668
sub edi, 0xa45f9468
add edi, dword [ebp - 0x30]
mov edx, 0x3bb5cd09
add edx, 0x230af5e1
sub dword [ebp - 0x14], edi
mov ebx, dword [edi]
mov dword [ebp - 0x10], 0xdc3755c6
xor ebx, edx
mov dword [ebp - 0x18], 0x4efb24e4
mov dword [esi], ebx
xor dword [ebp - 0xc], ebx
add esi, 4
add edi, 0x42448c91
sub edi, 0x42448c8d
loop 0x100587c6
add eax, 0xc00e67cb
add eax, 0x3ff2b6b0
xor ebx, ebx
add ebx, eax
add eax, 0xf368c097
sub eax, 0xf368c092
mov ecx, 0x441a7050
add ecx, 0xcbe58fb0
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x10071ed0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x2d], 0
jne 0x10071f6b
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push esi
push 0
push eax
push ebx
push dword [ebp + 0xc]
push dword [edi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov esi, dword [ebp - 4]
cmp esi, ebx
je 0x10071f22
mov byte [edi + 0x2d], 0xff
test esi, esi
je 0x10071f22
cmp esi, ebx
jge 0x10071f22
mov eax, ebx
sub eax, esi
push eax
mov eax, dword [ebp + 0xc]
add eax, esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [edi + 0x18], 0
je 0x10071f65
add dword [edi + 0x1c], ebx
cmp dword [edi + 0x1c], 0xffff
jle 0x10071f65
xor eax, eax
mov word [edi + 0x1e], ax
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x100783dc]
call esi
mov ecx, dword [edi + 0x18]
push 1
push dword [edi + 0x20]
mov esi, dword [ecx]
push eax
push ecx
mov ecx, dword [esi + 0xc]
call dword [0x100783dc]
call dword [esi + 0xc]
mov esi, dword [ebp - 4]
mov eax, esi
pop esi
pop ebx
jmp 0x10071f7d
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
pop edi
leave
ret 0xc

Function at 0x100721a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100bb864]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10176174], 0
mov eax, dword [ebp + 8]
je 0x100721c8
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x100721e2
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.1005875d
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.100762d0
leave
ret 4

Function at 0x100723b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x100bb864]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10176174], 0
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
je 0x100723e6
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x10072445
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call fcn.1005875d
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.1005875d
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
mov esi, eax
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.1005875d
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100762d0
leave
ret 0x10
Function at 0x10072460
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100bb864]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10176174], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x1007248c
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x100724bd
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x100724bb
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.1005875d
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x100724bd
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100762d0
leave
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4035a0
Capabilities:
Set current directory

Disassembly:
test al, al
je 0x4035b4
inc dword [0x4c8618]
add dword [0x4c49ac], 0x110
mov edx, dword [0x4c49ac]
push esi
push edi
mov ecx, 0x44
mov esi, 0x4c70d8
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 0x4035e3
push 0
mov eax, 0x4ca618
call fcn.00415fa0
cmp dword [0x4c8644], 0
mov dword [0x4cb0e8], 0
mov dword [0x4cb0ec], 0
je 0x40360b
push 0x4c8cb0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp byte [esp + 0x10], 0
jne 0x40368f
or ecx, 0xffffffff
cmp byte [esi + 0xee], 0
jne 0x40363a
xor eax, eax
cmp byte [esp + 0x14], 0x65
sete al
mov byte [esi + 0xee], al
test al, al
je 0x40363a
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 0x24], ecx
cmp dword [0x4cb0f4], 0
je 0x40364c
cmp dword [0x4cb0f0], 0
jne 0x403655
cmp byte [esi + 0xee], 0
je 0x40368f
cmp byte [esi + 0xee], 0
mov byte [esi + 0xec], 0
jne 0x40368f
cmp dword [0x4cb0f4], 0
jge 0x403677
pop edi
mov dword [esi + 0xe0], ecx
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xdc], eax
mov edx, dword [0x4cb0f4]
mov dword [esi + 0xe0], edx
pop edi
pop esi
ret
Function at 0x404340
Capabilities:
Write clipboard data

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x18], ebx
jne 0x404364
push esi
call fcn.00404610
test eax, eax
jne 0x404364
push str.Cant_open_clipboard_for_writing.
call fcn.00404440
pop esi
pop ebx
pop ecx
ret
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x40439d
cmp dword [esi + 0x18], ebx
je 0x40438f
cmp dword [esi + 8], ebx
je 0x404384
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 0x4a1be4
call fcn.00404440
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 0x4043d6
mov ecx, dword [esi + 0xc]
cmp ecx, ebx
je 0x4043fd
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 0x4043fd
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 0x4043f3
cmp dword [esi + 8], ebx
je 0x4043e8
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 0x404412
mov dword [esi + 4], ebx
jmp 0x4043d6
cmp dword [esi + 0x18], ebx
je 0x40442f
cmp dword [esi + 8], ebx
je 0x404424
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 0x4a1c04
call fcn.00404440
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x404510
Capabilities:
Read clipboard data

Disassembly:
sub esp, 0x20c
test esi, esi
je 0x404520
mov dword [esi], 0
lea eax, [edi - 0xc000]
cmp eax, 0x3fff
ja 0x4045ef
push 0x104
lea ecx, [esp + 4]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetClipboardFormatNameW]
push 0xb
lea edx, [esp + 4]
push str.Link_Source
push edx
call fcn.0048e307
add esp, 0xc
test eax, eax
je 0x4045e6
lea eax, [esp]
push str.ObjectLink
push eax
call fcn.0048dab9
add esp, 8
test eax, eax
je 0x4045e6
lea ecx, [esp]
push str.OwnerLink
push ecx
call fcn.0048dab9
add esp, 8
test eax, eax
je 0x4045e6
lea edx, [esp]
push str.Native
push edx
call fcn.0048dab9
add esp, 8
test eax, eax
je 0x4045e6
lea eax, [esp]
push str.Embed_Source
push eax
call fcn.0048dab9
add esp, 8
test eax, eax
je 0x4045e6
lea ecx, [esp]
push str.MSDEVColumnSelect
push ecx
call fcn.0048dab9
add esp, 8
test eax, eax
je 0x4045dc
lea edx, [esp]
push str.MSDEVLineSelect
push edx
call fcn.0048dab9
add esp, 8
test eax, eax
jne 0x4045f5
test esi, esi
je 0x4045e6
mov dword [esi], 1
xor eax, eax
add esp, 0x20c
ret
xor eax, eax
mov word [esp], ax
push edi
call dword [sym.imp.USER32.dll_GetClipboardData]
add esp, 0x20c
ret
Function at 0x404610
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x18], 0
je 0x404622
mov eax, 1
ret 4
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov ecx, dword [0x4c84a8]
mov ebx, dword [sym.imp.USER32.dll_OpenClipboard]
push ecx
mov edi, eax
call ebx
test eax, eax
jne 0x404690
mov eax, dword [0x4c48b0]
cmp eax, 0xffffffff
je 0x404661
test eax, eax
je 0x4046a6
call esi
mov edx, dword [0x4c48b0]
add edx, edi
sub edx, eax
cmp edx, 5
jle 0x4046a6
push 1
push 0x8000012f
mov dword [0x4c48b4], 0
call fcn.00401360
mov eax, dword [0x4c84a8]
add esp, 8
push eax
mov dword [0x4c48b4], 1
call ebx
test eax, eax
je 0x404642
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 0x407ab0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
cmp byte [0x4c73b0], 0
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
je 0x407b6b
mov al, byte [0x4c73b2]
cmp al, 0xa0
je 0x407ad6
cmp al, 0x10
jne 0x407b6b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4c73ac]
cmp eax, 0x16
jae 0x407b6b
test ebp, 0x100
jne case.0x407b07.13
movzx eax, byte [esp + 0x14]
add eax, 0xfffffff4
cmp eax, 0x22
ja case.0x407b07.13
movzx eax, byte [eax + 0x407d14]
jmp dword [eax*4 + 0x407d0c]
mov cl, 1
jmp 0x407b14
xor cl, cl
cmp byte [0x4c73b1], 0
jne 0x407b31
xor ecx, ecx
nop
cmp byte [ecx + 0x4c7394], 0
jne 0x407b3c
inc ecx
cmp ecx, 0x16
jl 0x407b20
jmp 0x407b6b
cmp byte [esp + 0x1c], 0
je 0x407b45
test cl, cl
je 0x407b6b
mov byte [0x4c73b3], 1
jmp 0x407b49
test cl, cl
je 0x407b6b
mov cl, byte [0x4c73ab]
mov dl, byte [0x4c73aa]
mov al, byte [0x4c72b7]
mov byte [0x4c84a7], cl
mov byte [0x4c84d8], dl
mov byte [0x4c8568], al
mov cl, byte [0x4c84a7]
movzx esi, byte [esp + 0x14]
mov dl, byte [0x4c84d8]
mov al, byte [0x4c8568]
mov byte [0x4c73ab], cl
lea ecx, [esi + esi*8]
mov byte [0x4c73aa], dl
mov edx, dword [0x4c8ee0]
shl ecx, 5
mov bl, byte [ecx + edx + 4]
mov byte [0x4c72b7], al
test bl, bl
je case.default.0x407ce2
cmp dword [edi + 0x10], 0xffc3d44f
setne dl
test byte [edi + 8], 0x10
mov byte [esp + 0xf], dl
je 0x407bc2
xor al, al
jmp 0x407bd7
mov eax, dword [esp + 0x1c]
push eax
mov al, byte [esp + 0x18]
call fcn.00407d70
mov dl, byte [esp + 0x13]
add esp, 4
cmp byte [esp + 0x1c], 0
mov byte [esp + 0x18], al
je 0x407cae
cmp byte [esp + 0x20], 0
jne 0x407c01
mov cl, bl
not cl
and byte [0x4c84a5], cl
test dl, dl
je 0x407c01
and byte [0x4c84a6], cl
cmp byte [esp + 0x18], 0
je case.default.0x407ce2
not bl
and byte [0x4c84a7], bl
lea ecx, [esi - 0xa0]
mov byte [esi + 0x4c84c8], 0
cmp ecx, 5
ja case.default.0x407ce2
jmp dword [ecx*4 + 0x407d38]
mov cl, byte [0x4c8569]
mov byte [0x4c84d8], cl
jmp case.default.0x407ce2
mov dl, byte [0x4c8568]
mov byte [0x4c84d8], dl
jmp case.default.0x407ce2
mov al, byte [0x4c856b]
mov byte [0x4c84d9], al
jmp case.default.0x407ce2
mov cl, byte [0x4c856a]
mov byte [0x4c84d9], cl
jmp case.default.0x407ce2
mov dl, byte [0x4c856d]
mov byte [0x4c84da], dl
jmp case.default.0x407ce2
mov al, byte [0x4c856c]
mov byte [0x4c84da], al
test byte [edi + 8], 0x10
mov al, byte [esp + 0x14]
mov ecx, dword [esp + 0x1c]
pop esi
mov word [0x4c73b4], bp
pop ebp
mov byte [0x4c73b2], al
mov byte [0x4c73b1], cl
pop ebx
je 0x407cf0
xor al, al
mov byte [0x4c73b0], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4c73ac], eax
pop ecx
ret
cmp byte [esp + 0x20], 0
jne 0x407cc5
or byte [0x4c84a5], bl
test dl, dl
je 0x407cc5
or byte [0x4c84a6], bl
test al, al
je case.default.0x407ce2
or byte [0x4c84a7], bl
lea ecx, [esi - 0xa0]
mov al, 0x80
mov byte [esi + 0x4c84c8], al
cmp ecx, 5
ja case.default.0x407ce2
jmp dword [ecx*4 + 0x407d50]
mov byte [0x4c84d8], al
jmp case.default.0x407ce2
push ecx
call fcn.00407d70
add esp, 4
mov byte [0x4c73b0], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4c73ac], eax
pop ecx
ret
Function at 0x407d70
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp al, 0xa0
je 0x407d7f
cmp al, 0x10
jne case.0x407dd6.13
cmp byte [esp + 8], 0
jne case.0x407dd6.13
cmp byte [0x4c73b3], 0
je 0x407dab
xor eax, eax
cmp byte [eax + 0x4c7394], 0
jne 0x407dab
inc eax
cmp eax, 0x16
jl 0x407d91
mov byte [0x4c73b3], 0
xor al, al
pop esi
ret
cmp byte [0x4c73b1], 0
je case.0x407dd6.13
test dword [0x4c73b4], 0x100
jne case.0x407dd6.13
movzx eax, byte [0x4c73b2]
add eax, 0xfffffff4
cmp eax, 0x22
ja case.0x407dd6.13
movzx eax, byte [eax + 0x407e00]
jmp dword [eax*4 + 0x407df8]
call esi
sub eax, dword [0x4c73ac]
cmp eax, 0x16
jb 0x407da7
call esi
mov dword [0x4cb2cc], eax
mov al, 1
pop esi
ret
Function at 0x408cf0
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 [0x4c85d8], 0
push esi
push edi
mov byte [esp + 0x1e], al
je 0x408d14
mov byte [esp + 0x1e], 1
mov al, byte [esp + 0x1e]
cmp dword [0x4c85dc], 0
je 0x408d23
or al, 2
mov byte [esp + 0x1e], al
cmp byte [ebp + 8], al
je 0x408f30
test al, al
jne 0x408d66
cmp byte [ebp + 0xc], al
jne 0x408d66
push 0x4c7390
push 0
push 0
push 0x409000
push 0x2000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4cb2f4], eax
test eax, eax
je 0x408df7
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 [0x4c7390]
push edi
push ebx
push 0x417
push ecx
call dword [sym.imp.USER32.dll_PostThreadMessageW]
test eax, eax
jne 0x408d9c
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x32
jl 0x408d76
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 0x408e03
push 1
push 0x417
push 0x417
push 0
lea edx, [esp + 0x34]
push edx
call esi
test eax, eax
je 0x408e6a
cmp dword [esp + 0x2c], 0
je 0x408e12
mov byte [esp + 0x1f], 1
call fcn.00409390
test al, al
jne 0x408e12
cmp byte [ebp + 0xc], al
jne 0x408efe
mov byte [ebp + 8], al
jmp 0x408db1
call fcn.004093b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0xc], 0
je 0x408e4e
call fcn.00409390
test al, al
jne 0x408e6a
cmp byte [ebp + 0xc], 0
jne 0x408ef7
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x4c85d8], 0
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexW]
je 0x408ea2
test byte [esp + 0x1e], 1
jne 0x408ebb
push str.AHK_Keybd
push 0
push 0
call esi
mov dword [0x4c8ecc], eax
jmp 0x408ebb
mov ecx, dword [0x4cb2f4]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0x20], 0x103
jne 0x408e82
call edi
sub eax, ebx
cmp eax, 0x1f4
ja 0x408e12
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x408db1
mov edx, dword [0x4cb2f4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov dword [0x4cb2f4], 0
call fcn.004093b0
jmp 0x408e22
test byte [esp + 0x1e], 1
je 0x408ebb
mov eax, dword [0x4c8ecc]
push eax
call edi
mov dword [0x4c8ecc], 0
cmp dword [0x4c85dc], 0
je 0x408edd
test byte [esp + 0x1e], 2
jne 0x408ef7
push str.AHK_Mouse
push 0
push 0
call esi
mov dword [0x4c8ed0], eax
jmp 0x408ef7
test byte [esp + 0x1e], 2
je 0x408ef7
mov ecx, dword [0x4c8ed0]
push ecx
call edi
mov dword [0x4c8ed0], 0
cmp byte [esp + 0x1f], 0
je 0x408f30
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 [0x4c48b4], 0
call fcn.00478f70
add esp, 0x18
mov dword [0x4c48b4], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a970
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x100c
call fcn.004992b0
cmp byte [0x4cb2f8], 0
push ebx
push ebp
mov ebp, dword [esp + 0x101c]
push esi
push edi
jne 0x40aae5
cmp dword [0x4c8ee8], 0
jne 0x40a9a6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4c8ee8], eax
mov ebx, 1
add dword [0x4cb2fc], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x4cb2fc]
mov esi, dword [0x4c48c8]
mov ecx, eax
sub ecx, dword [0x4c8ee8]
mov dword [0x4c8eec], eax
cmp edx, dword [0x4c48c4]
jbe 0x40a9dc
cmp ecx, esi
jb 0x40aa40
xor edx, edx
cmp ecx, esi
jbe 0x40a9f9
mov dword [0x4cb2fc], 0
mov dword [0x4c8ee8], eax
test edx, edx
jne 0x40aae5
mov esi, dword [esp + 0x1020]
mov cl, byte [esi + 0x11]
push 0
mov byte [0x4cb0ca], cl
mov ecx, dword [ebp]
add byte [ebp + 0x16], bl
push 0
push 0x4a18b8
push ecx
xor eax, eax
xor edx, edx
call fcn.0046caa0
dec byte [ebp + 0x16]
add esp, 0x10
test eax, eax
jne 0x40aab4
mov byte [ebp + 0x1b], al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100c
ret 8
push ecx
push edx
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 + 0x24]
call fcn.004745b0
add esp, 0xc
call fcn.004098f0
fldz
push 0
sub esp, 8
fstp qword [esp]
push 0
mov eax, edi
push 4
push eax
mov byte [0x4cb2f8], bl
mov dword [0x4c48b4], 0
call fcn.00478f70
add esp, 0x18
cmp eax, 7
jne 0x40aa9b
push 0
push 0x4ca618
xor eax, eax
mov edx, ebx
call fcn.00416310
mov eax, dword [0x4c8eec]
mov dword [0x4c48b4], ebx
mov byte [0x4cb2f8], 0
mov edx, ebx
jmp 0x40a9e2
cmp byte [ebp + 0x1b], 0
je 0x40aae5
mov byte [ebp + 0x1b], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 0xc]
cmp eax, 0x3e8
ja 0x40aae5
movzx edx, word [esi]
mov eax, dword [0x4c84a8]
push 0
push edx
push 0x312
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100c
ret 8
Function at 0x40ee40
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x40
cmp dword [0x4c9f08], 2
push ebx
sete bl
push esi
mov esi, ecx
test bl, bl
je 0x40ee7f
movzx eax, ax
lea ecx, [esp + 0x28]
test eax, 0xffffff80
je 0x40ee71
mov ecx, 0x30
mov word [esp + 0x28], cx
lea ecx, [esp + 0x2a]
push 0xa
push ecx
push eax
call fcn.0048d835
add esp, 0xc
jmp 0x40ee86
movzx edx, ax
mov dword [esp + 8], edx
test esi, esi
jle 0x40ef42
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
cmp dword [0x4c9f08], 0
jne 0x40eef3
call ebp
sub eax, dword [0x4cb0fc]
mov ecx, dword [0x4c49ac]
cmp eax, dword [ecx + 0xd8]
jbe 0x40eef3
push 0
push 0
push 0
push 0
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x40eeec
push 1
push 0xffffffffffffffff
mov dword [0x4c48b4], 0
call fcn.00401360
add esp, 8
mov dword [0x4c48b4], 1
call ebp
mov dword [0x4cb0fc], eax
test bl, bl
je 0x40ef02
lea edi, [esp + 0x30]
call fcn.0040ef50
jmp 0x40ef13
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x10]
push eax
call fcn.0040d5d0
add esp, 4
cmp dword [0x4c9f08], 2
jne 0x40ef27
mov ecx, dword [0x4c49ac]
mov eax, dword [ecx + 0x60]
jmp 0x40ef30
mov edx, dword [0x4c49ac]
mov eax, dword [edx + 0x5c]
push eax
call fcn.00410dd0
add esp, 4
dec esi
jne 0x40ee96
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x40
ret

Function at 0x40ef50
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
cmp dword [0x4c9f08], 0
push esi
je 0x40ef65
mov al, byte [0x4c73c5]
jmp 0x40f05a
cmp dword [0x4c85d8], 0
je 0x40ef78
mov al, byte [0x4c84a5]
jmp 0x40f05a
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push ebx
push 0xa0
xor bl, bl
call esi
mov ecx, 0x8000
test cx, ax
je 0x40ef94
mov bl, 0x10
push 0xa1
call esi
mov edx, 0x8000
test dx, ax
je 0x40efa8
or bl, 0x20
push 0xa2
call esi
mov ecx, 0x8000
test cx, ax
je 0x40efbc
or bl, 1
push 0xa3
call esi
mov edx, 0x8000
test dx, ax
je 0x40efd0
or bl, 2
push 0xa4
call esi
mov ecx, 0x8000
test cx, ax
je 0x40efe4
or bl, 4
push 0xa5
call esi
mov edx, 0x8000
test dx, ax
je 0x40eff8
or bl, 8
push 0x5b
call esi
mov ecx, 0x8000
test cx, ax
je 0x40f009
or bl, 0x40
push 0x5c
call esi
mov edx, 0x8000
test dx, ax
je 0x40f01a
or bl, 0x80
cmp dword [0x4c85d8], 0
je 0x40f057
mov al, bl
not al
and al, byte [0x4c84a5]
je 0x40f057
mov cl, byte [0x4c84a7]
not al
and byte [0x4c84a5], al
and byte [0x4c84a6], al
and cl, al
mov al, cl
mov byte [0x4c84a7], cl
mov ecx, 0x4c84c8
call fcn.004119d0
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
push 0
movzx edx, al
push ecx
push edx
mov esi, 0xffc3d44f
call fcn.004111d0
movzx eax, word [edi]
add esp, 0x14
mov esi, edi
cmp eax, 0x30
jb 0x40f0b7
cmp ax, 0x39
ja 0x40f0b7
mov al, byte [esi]
push 0xffc3d44d
push 0
add al, 0x30
push 0
movzx ecx, al
push 0
push ecx
push 2
call fcn.0040f350
movzx eax, word [esi + 2]
add esi, 2
add esp, 0x18
cmp eax, 0x30
jae 0x40f088
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 1
call fcn.0040f350
add esp, 0x18
pop esi
pop ecx
ret