joyce8/EMBER2024-capa huggingface dataset:
Function at 0x19c9990
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xed8000]
mov dword [edi + 0xf758e0], 0x87b7a5c8
push edi
jmp 0x19c99ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x19c99c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x19c99b0
mov eax, 1
add ebx, ebx
jne 0x19c99d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x19c99e4
jne 0x19c9a03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x19c9a03
dec eax
add ebx, ebx
jne 0x19c99f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x19c99c8
add ebx, ebx
jne 0x19c99ff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x19c9a55
xor ecx, ecx
sub eax, 3
jb 0x19c9a1b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x19c9a8a
sar eax, 1
mov ebp, eax
jmp 0x19c9a26
add ebx, ebx
jne 0x19c9a26
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x19c99f4
inc ecx
add ebx, ebx
jne 0x19c9a34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x19c99f4
add ebx, ebx
jne 0x19c9a41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x19c9a36
jne 0x19c9a52
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x19c9a36
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x19c9a74
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x19c9a66
jmp 0x19c99b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x19c9a74
add edi, ecx
jmp 0x19c99b6
pop esi
mov edi, esi
mov ecx, 0x50e4d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x19c9a92
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x19c9a97
lea edi, [esi + 0x157a000]
mov eax, dword [edi]
or eax, eax
je 0x19c9b08
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x15f2fe0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x15f324c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x19c9abd
mov ecx, edi
jns 0x19c9aec
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x15f3250]
or eax, eax
je 0x19c9b02
mov dword [ebx], eax
add ebx, 4
jmp 0x19c9ada
call dword [esi + 0x15f3260]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x19c9b39
cmp al, 0xef
ja 0x19c9b2c
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x19c9b0e
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x19c9b1b
mov ebp, dword [esi + 0x15f3254]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x287]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x19c9b6d
sub esp, 0xffffff80
jmp 0xd5df73
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
mov esi, eax
test eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..rsrc
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x429a07fb
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..pdata
mov ebx, 0x42e3d0
nop
mov ecx, 0x4545cec
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
mov ebx, 0x40c7d0
nop
mov ecx, 0x26f5560a
nop
nop
nop
test eax, eax
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
nop
mov ecx, 0x22e6740e
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x403590
Capabilities:
Set current directory

Disassembly:
test al, al
je 0x4035a4
inc dword [0x4c9678]
add dword [0x4c590c], 0x110
mov edx, dword [0x4c590c]
push esi
push edi
mov ecx, 0x44
mov esi, 0x4c8138
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 0x4035d3
push 0
mov eax, 0x4cb680
call fcn.004165f0
cmp dword [0x4c96a4], 0
mov dword [0x4cc150], 0
mov dword [0x4cc154], 0
je 0x4035fb
push 0x4c9d10
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp byte [esp + 0x10], 0
jne 0x40367f
or ecx, 0xffffffff
cmp byte [esi + 0xee], 0
jne 0x40362a
xor eax, eax
cmp byte [esp + 0x14], 0x65
sete al
mov byte [esi + 0xee], al
test al, al
je 0x40362a
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 0x24], ecx
cmp dword [0x4cc15c], 0
je 0x40363c
cmp dword [0x4cc158], 0
jne 0x403645
cmp byte [esi + 0xee], 0
je 0x40367f
cmp byte [esi + 0xee], 0
mov byte [esi + 0xec], 0
jne 0x40367f
cmp dword [0x4cc15c], 0
jge 0x403667
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 [0x4cc15c]
mov dword [esi + 0xe0], edx
pop edi
pop esi
ret
Function at 0x404330
Capabilities:
Write clipboard data

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x18], ebx
jne 0x404354
push esi
call fcn.00404600
test eax, eax
jne 0x404354
push str.Cant_open_clipboard_for_writing.
call fcn.00404430
pop esi
pop ebx
pop ecx
ret
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x40438d
cmp dword [esi + 0x18], ebx
je 0x40437f
cmp dword [esi + 8], ebx
je 0x404374
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 0x4a2c24
call fcn.00404430
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 0x4043c6
mov ecx, dword [esi + 0xc]
cmp ecx, ebx
je 0x4043ed
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 0x4043ed
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 0x4043e3
cmp dword [esi + 8], ebx
je 0x4043d8
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 0x404402
mov dword [esi + 4], ebx
jmp 0x4043c6
cmp dword [esi + 0x18], ebx
je 0x40441f
cmp dword [esi + 8], ebx
je 0x404414
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 0x4a2c44
call fcn.00404430
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x404500
Capabilities:
Read clipboard data

Disassembly:
sub esp, 0x20c
test esi, esi
je 0x404510
mov dword [esi], 0
lea eax, [edi - 0xc000]
cmp eax, 0x3fff
ja 0x4045df
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.0048eda7
add esp, 0xc
test eax, eax
je 0x4045d6
lea eax, [esp]
push str.ObjectLink
push eax
call fcn.0048e559
add esp, 8
test eax, eax
je 0x4045d6
lea ecx, [esp]
push str.OwnerLink
push ecx
call fcn.0048e559
add esp, 8
test eax, eax
je 0x4045d6
lea edx, [esp]
push str.Native
push edx
call fcn.0048e559
add esp, 8
test eax, eax
je 0x4045d6
lea eax, [esp]
push str.Embed_Source
push eax
call fcn.0048e559
add esp, 8
test eax, eax
je 0x4045d6
lea ecx, [esp]
push str.MSDEVColumnSelect
push ecx
call fcn.0048e559
add esp, 8
test eax, eax
je 0x4045cc
lea edx, [esp]
push str.MSDEVLineSelect
push edx
call fcn.0048e559
add esp, 8
test eax, eax
jne 0x4045e5
test esi, esi
je 0x4045d6
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 0x404600
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x18], 0
je 0x404612
mov eax, 1
ret 4
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov ecx, dword [0x4c9508]
mov ebx, dword [sym.imp.USER32.dll_OpenClipboard]
push ecx
mov edi, eax
call ebx
test eax, eax
jne 0x404680
mov eax, dword [0x4c58dc]
cmp eax, 0xffffffff
je 0x404651
test eax, eax
je 0x404696
call esi
mov edx, dword [0x4c58dc]
add edx, edi
sub edx, eax
cmp edx, 5
jle 0x404696
push 1
push 0x8000012f
mov dword [0x4c58e0], 0
call fcn.00401360
mov eax, dword [0x4c9508]
add esp, 8
push eax
mov dword [0x4c58e0], 1
call ebx
test eax, eax
je 0x404632
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 0x407930
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
cmp byte [0x4c840d], 0
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
je 0x4079eb
mov al, byte [0x4c840f]
cmp al, 0xa0
je 0x407956
cmp al, 0x10
jne 0x4079eb
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4c8410]
cmp eax, 0x16
jae 0x4079eb
test ebp, 0x100
jne case.0x407987.13
movzx eax, byte [esp + 0x14]
add eax, 0xfffffff4
cmp eax, 0x22
ja case.0x407987.13
movzx eax, byte [eax + 0x407b94]
jmp dword [eax*4 + 0x407b8c]
mov cl, 1
jmp 0x407994
xor cl, cl
cmp byte [0x4c840e], 0
jne 0x4079b1
xor ecx, ecx
nop
cmp byte [ecx + 0x4c83f4], 0
jne 0x4079bc
inc ecx
cmp ecx, 0x16
jl 0x4079a0
jmp 0x4079eb
cmp byte [esp + 0x1c], 0
je 0x4079c5
test cl, cl
je 0x4079eb
mov byte [0x4c8416], 1
jmp 0x4079c9
test cl, cl
je 0x4079eb
mov cl, byte [0x4c840c]
mov dl, byte [0x4c840b]
mov al, byte [0x4c840a]
mov byte [0x4c9507], cl
mov byte [0x4c9538], dl
mov byte [0x4c95c8], al
mov cl, byte [0x4c9507]
movzx esi, byte [esp + 0x14]
mov dl, byte [0x4c9538]
mov al, byte [0x4c95c8]
mov byte [0x4c840c], cl
lea ecx, [esi + esi*8]
mov byte [0x4c840b], dl
mov edx, dword [0x4c9f44]
shl ecx, 5
mov bl, byte [ecx + edx + 4]
mov byte [0x4c840a], al
test bl, bl
je case.default.0x407b62
cmp dword [edi + 0x10], 0xffc3d44f
setne dl
test byte [edi + 8], 0x10
mov byte [esp + 0xf], dl
je 0x407a42
xor al, al
jmp 0x407a57
mov eax, dword [esp + 0x1c]
push eax
mov al, byte [esp + 0x18]
call fcn.00407bf0
mov dl, byte [esp + 0x13]
add esp, 4
cmp byte [esp + 0x1c], 0
mov byte [esp + 0x18], al
je 0x407b2e
cmp byte [esp + 0x20], 0
jne 0x407a81
mov cl, bl
not cl
and byte [0x4c9505], cl
test dl, dl
je 0x407a81
and byte [0x4c9506], cl
cmp byte [esp + 0x18], 0
je case.default.0x407b62
not bl
and byte [0x4c9507], bl
lea ecx, [esi - 0xa0]
mov byte [esi + 0x4c9528], 0
cmp ecx, 5
ja case.default.0x407b62
jmp dword [ecx*4 + 0x407bb8]
mov cl, byte [0x4c95c9]
mov byte [0x4c9538], cl
jmp case.default.0x407b62
mov dl, byte [0x4c95c8]
mov byte [0x4c9538], dl
jmp case.default.0x407b62
mov al, byte [0x4c95cb]
mov byte [0x4c9539], al
jmp case.default.0x407b62
mov cl, byte [0x4c95ca]
mov byte [0x4c9539], cl
jmp case.default.0x407b62
mov dl, byte [0x4c95cd]
mov byte [0x4c953a], dl
jmp case.default.0x407b62
mov al, byte [0x4c95cc]
mov byte [0x4c953a], al
test byte [edi + 8], 0x10
mov al, byte [esp + 0x14]
mov ecx, dword [esp + 0x1c]
pop esi
mov word [0x4c8414], bp
pop ebp
mov byte [0x4c840f], al
mov byte [0x4c840e], cl
pop ebx
je 0x407b70
xor al, al
mov byte [0x4c840d], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4c8410], eax
pop ecx
ret
cmp byte [esp + 0x20], 0
jne 0x407b45
or byte [0x4c9505], bl
test dl, dl
je 0x407b45
or byte [0x4c9506], bl
test al, al
je case.default.0x407b62
or byte [0x4c9507], bl
lea ecx, [esi - 0xa0]
mov al, 0x80
mov byte [esi + 0x4c9528], al
cmp ecx, 5
ja case.default.0x407b62
jmp dword [ecx*4 + 0x407bd0]
mov byte [0x4c9538], al
jmp case.default.0x407b62
push ecx
call fcn.00407bf0
add esp, 4
mov byte [0x4c840d], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4c8410], eax
pop ecx
ret
Function at 0x407bf0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp al, 0xa0
je 0x407bff
cmp al, 0x10
jne case.0x407c56.13
cmp byte [esp + 8], 0
jne case.0x407c56.13
cmp byte [0x4c8416], 0
je 0x407c2b
xor eax, eax
cmp byte [eax + 0x4c83f4], 0
jne 0x407c2b
inc eax
cmp eax, 0x16
jl 0x407c11
mov byte [0x4c8416], 0
xor al, al
pop esi
ret
cmp byte [0x4c840e], 0
je case.0x407c56.13
test dword [0x4c8414], 0x100
jne case.0x407c56.13
movzx eax, byte [0x4c840f]
add eax, 0xfffffff4
cmp eax, 0x22
ja case.0x407c56.13
movzx eax, byte [eax + 0x407c84]
jmp dword [eax*4 + 0x407c7c]
call esi
sub eax, dword [0x4c8410]
cmp eax, 0x16
jb 0x407c27
call esi
mov dword [0x4cc338], eax
mov dword [0x4cc334], eax
mov al, 1
pop esi
ret
Function at 0x408b70
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 [0x4c9638], 0
push esi
push edi
mov byte [esp + 0x1e], al
je 0x408b94
mov byte [esp + 0x1e], 1
mov al, byte [esp + 0x1e]
cmp dword [0x4c963c], 0
je 0x408ba3
or al, 2
mov byte [esp + 0x1e], al
cmp byte [ebp + 8], al
je 0x408db0
test al, al
jne 0x408be6
cmp byte [ebp + 0xc], al
jne 0x408be6
push 0x4c83f0
push 0
push 0
push 0x408e80
push 0x2000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4c9f34], eax
test eax, eax
je 0x408c77
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 [0x4c83f0]
push edi
push ebx
push 0x417
push ecx
call dword [sym.imp.USER32.dll_PostThreadMessageW]
test eax, eax
jne 0x408c1c
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x32
jl 0x408bf6
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 0x408c83
push 1
push 0x417
push 0x417
push 0
lea edx, [esp + 0x34]
push edx
call esi
test eax, eax
je 0x408cea
cmp dword [esp + 0x2c], 0
je 0x408c92
mov byte [esp + 0x1f], 1
call fcn.00409220
test al, al
jne 0x408c92
cmp byte [ebp + 0xc], al
jne 0x408d7e
mov byte [ebp + 8], al
jmp 0x408c31
call fcn.00409240
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0xc], 0
je 0x408cce
call fcn.00409220
test al, al
jne 0x408cea
cmp byte [ebp + 0xc], 0
jne 0x408d77
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x4c9638], 0
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexW]
je 0x408d22
test byte [esp + 0x1e], 1
jne 0x408d3b
push str.AHK_Keybd
push 0
push 0
call esi
mov dword [0x4c9f2c], eax
jmp 0x408d3b
mov ecx, dword [0x4c9f34]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0x20], 0x103
jne 0x408d02
call edi
sub eax, ebx
cmp eax, 0x1f4
ja 0x408c92
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x408c31
mov edx, dword [0x4c9f34]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov dword [0x4c9f34], 0
call fcn.00409240
jmp 0x408ca2
test byte [esp + 0x1e], 1
je 0x408d3b
mov eax, dword [0x4c9f2c]
push eax
call edi
mov dword [0x4c9f2c], 0
cmp dword [0x4c963c], 0
je 0x408d5d
test byte [esp + 0x1e], 2
jne 0x408d77
push str.AHK_Mouse
push 0
push 0
call esi
mov dword [0x4c9f30], eax
jmp 0x408d77
test byte [esp + 0x1e], 2
je 0x408d77
mov ecx, dword [0x4c9f30]
push ecx
call edi
mov dword [0x4c9f30], 0
cmp byte [esp + 0x1f], 0
je 0x408db0
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 [0x4c58e0], 0
call fcn.00479a00
add esp, 0x18
mov dword [0x4c58e0], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a830
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x100c
call fcn.00499d50
cmp byte [0x4cc364], 0
push ebx
push ebp
mov ebp, dword [esp + 0x101c]
push esi
push edi
jne 0x40a9a5
cmp dword [0x4c9f4c], 0
jne 0x40a866
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4c9f4c], eax
mov ebx, 1
add dword [0x4cc368], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x4cc368]
mov esi, dword [0x4c58f4]
mov ecx, eax
sub ecx, dword [0x4c9f4c]
mov dword [0x4c9f50], eax
cmp edx, dword [0x4c58f0]
jbe 0x40a89c
cmp ecx, esi
jb 0x40a900
xor edx, edx
cmp ecx, esi
jbe 0x40a8b9
mov dword [0x4cc368], 0
mov dword [0x4c9f4c], eax
test edx, edx
jne 0x40a9a5
mov esi, dword [esp + 0x1020]
mov cl, byte [esi + 0x11]
push 0
mov byte [0x4cc132], cl
mov ecx, dword [ebp]
add byte [ebp + 0x16], bl
push 0
push 0x4a28cc
push ecx
xor eax, eax
xor edx, edx
call fcn.0046d480
dec byte [ebp + 0x16]
add esp, 0x10
test eax, eax
jne 0x40a974
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.00474fc0
add esp, 0xc
call fcn.004097b0
fldz
push 0
sub esp, 8
fstp qword [esp]
push 0
mov eax, edi
push 4
push eax
mov byte [0x4cc364], bl
mov dword [0x4c58e0], 0
call fcn.00479a00
add esp, 0x18
cmp eax, 7
jne 0x40a95b
push 0
push 0x4cb680
xor eax, eax
mov edx, ebx
call fcn.00416960
mov eax, dword [0x4c9f50]
mov dword [0x4c58e0], ebx
mov byte [0x4cc364], 0
mov edx, ebx
jmp 0x40a8a2
cmp byte [ebp + 0x1b], 0
je 0x40a9a5
mov byte [ebp + 0x1b], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 0xc]
cmp eax, 0x3e8
ja 0x40a9a5
movzx edx, word [esi]
mov eax, dword [0x4c9508]
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 0x40f540
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x40
cmp dword [0x4caf70], 2
push ebx
sete bl
push esi
mov esi, ecx
test bl, bl
je 0x40f57f
movzx eax, ax
lea ecx, [esp + 0x28]
test eax, 0xffffff80
je 0x40f571
mov ecx, 0x30
mov word [esp + 0x28], cx
lea ecx, [esp + 0x2a]
push 0xa
push ecx
push eax
call fcn.0048e2d5
add esp, 0xc
jmp 0x40f586
movzx edx, ax
mov dword [esp + 8], edx
test esi, esi
jle 0x40f642
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
cmp dword [0x4caf70], 0
jne 0x40f5f3
call ebp
sub eax, dword [0x4cc164]
mov ecx, dword [0x4c590c]
cmp eax, dword [ecx + 0xd8]
jbe 0x40f5f3
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 0x40f5ec
push 1
push 0xffffffffffffffff
mov dword [0x4c58e0], 0
call fcn.00401360
add esp, 8
mov dword [0x4c58e0], 1
call ebp
mov dword [0x4cc164], eax
test bl, bl
je 0x40f602
lea edi, [esp + 0x30]
call fcn.0040f650
jmp 0x40f613
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x10]
push eax
call fcn.0040dcd0
add esp, 4
cmp dword [0x4caf70], 2
jne 0x40f627
mov ecx, dword [0x4c590c]
mov eax, dword [ecx + 0x60]
jmp 0x40f630
mov edx, dword [0x4c590c]
mov eax, dword [edx + 0x5c]
push eax
call fcn.00411500
add esp, 4
dec esi
jne 0x40f596
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x40
ret

Function at 0x40f650
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
cmp dword [0x4caf70], 0
push esi
je 0x40f665
mov al, byte [0x4c8426]
jmp 0x40f75a
cmp dword [0x4c9638], 0
je 0x40f678
mov al, byte [0x4c9505]
jmp 0x40f75a
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push ebx
push 0xa0
xor bl, bl
call esi
mov ecx, 0x8000
test cx, ax
je 0x40f694
mov bl, 0x10
push 0xa1
call esi
mov edx, 0x8000
test dx, ax
je 0x40f6a8
or bl, 0x20
push 0xa2
call esi
mov ecx, 0x8000
test cx, ax
je 0x40f6bc
or bl, 1
push 0xa3
call esi
mov edx, 0x8000
test dx, ax
je 0x40f6d0
or bl, 2
push 0xa4
call esi
mov ecx, 0x8000
test cx, ax
je 0x40f6e4
or bl, 4
push 0xa5
call esi
mov edx, 0x8000
test dx, ax
je 0x40f6f8
or bl, 8
push 0x5b
call esi
mov ecx, 0x8000
test cx, ax
je 0x40f709
or bl, 0x40
push 0x5c
call esi
mov edx, 0x8000
test dx, ax
je 0x40f71a
or bl, 0x80
cmp dword [0x4c9638], 0
je 0x40f757
mov al, bl
not al
and al, byte [0x4c9505]
je 0x40f757
mov cl, byte [0x4c9507]
not al
and byte [0x4c9505], al
and byte [0x4c9506], al
and cl, al
mov al, cl
mov byte [0x4c9507], cl
mov ecx, 0x4c9528
call fcn.00412060
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.00411900
movzx eax, word [edi]
add esp, 0x14
mov esi, edi
cmp eax, 0x30
jb 0x40f7b7
cmp ax, 0x39
ja 0x40f7b7
mov al, byte [esi]
push 0xffc3d44d
push 0
add al, 0x30
push 0
movzx ecx, al
push 0
push ecx
push 2
call fcn.0040fa50
movzx eax, word [esi + 2]
add esi, 2
add esp, 0x18
cmp eax, 0x30
jae 0x40f788
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 1
call fcn.0040fa50
add esp, 0x18
pop esi
pop ecx
ret