joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4479c1
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x485370]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp byte [esi + 0x18], bl
je 0x447a32
cmp dword [esi + 0x10], ebx
je 0x447a32
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.00456830
mov dword [ebp - 8], esp
cmp esp, ebx
je 0x447a32
push edi
push dword [ebp - 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push dword [ebp - 8]
add ecx, 0x1c4
call fcn.0041fe9c
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
push ebx
push ebx
push ebx
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0041d96a
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004501c4
leave
ret 0x10

Function at 0x44b8e9
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
mov eax, dword [esi + 8]
push edi
mov edi, eax
and edi, 7
je 0x44b90e
cmp eax, edi
jge 0x44b906
mov eax, esi
call fcn.0044b2a7
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
mov edi, dword [esi + 8]
xor ecx, ecx
test edi, edi
jle 0x44b93b
mov eax, dword [esi + 0xc]
push ebx
mov dl, byte [esi + 0xc]
sub edi, 8
mov byte [ebp + ecx - 4], dl
shr eax, 8
mov ebx, edi
inc ecx
mov dword [esi + 0xc], eax
test ebx, ebx
jg 0x44b91b
mov dword [esi + 8], ebx
pop ebx
cmp ecx, 4
jge 0x44b95a
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edi
jb 0x44b948
xor eax, eax
jmp 0x44b950
mov dl, byte [eax]
inc eax
mov dword [esi], eax
movzx eax, dl
mov byte [ebp + ecx - 4], al
inc ecx
cmp ecx, 4
jl 0x44b93e
movzx edi, byte [ebp - 3]
movzx eax, byte [ebp - 4]
movzx ecx, byte [ebp - 2]
shl edi, 8
add edi, eax
movzx eax, byte [ebp - 1]
shl eax, 8
add eax, ecx
mov ecx, edi
xor ecx, 0xffff
cmp eax, ecx
je 0x44b98c
mov eax, str.zlib_corrupt
call fcn.00448b7f
jmp 0x44b9c7
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x44b99c
mov eax, str.read_past_buffer
jmp 0x44b985
mov eax, dword [esi + 0x10]
add eax, edi
cmp eax, dword [esi + 0x18]
jbe 0x44b9b1
mov ecx, edi
call fcn.0044b2dd
test eax, eax
je 0x44b9c7
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.00453830
add dword [esi], edi
add dword [esi + 0x10], edi
xor eax, eax
add esp, 0xc
inc eax
pop edi
pop esi
leave
ret

Function at 0x4501c4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x485370]
jne 0x4501ce
repz ret
jmp fcn.00459048
Function at 0x464db6
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x485370]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0045a29b
and dword [ebp - 0x14], 0
cmp dword [0x4880c0], 0
mov dword [ebp - 0x18], eax
jne 0x464e69
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x464f11
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x478fdc
push ebx
call edi
test eax, eax
je 0x464f11
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4880c0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4880c4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4880c8], eax
call edi
push eax
call esi
mov dword [0x4880d0], eax
test eax, eax
je 0x464e69
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4880cc], eax
mov eax, dword [0x4880cc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x464ec2
cmp dword [0x4880d0], ecx
je 0x464ec2
push eax
call esi
push dword [0x4880d0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x464ec2
test ebx, ebx
je 0x464ec2
call edi
test eax, eax
je 0x464eb9
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x464eb9
test byte [ebp - 8], 1
jne 0x464ec2
or dword [ebp + 0x10], 0x200000
jmp 0x464ef5
mov eax, dword [0x4880c4]
cmp eax, dword [ebp - 0x18]
je 0x464ef5
push eax
call esi
test eax, eax
je 0x464ef5
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x464ef5
mov eax, dword [0x4880c8]
cmp eax, dword [ebp - 0x18]
je 0x464ef5
push eax
call esi
test eax, eax
je 0x464ef5
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4880c0]
call esi
test eax, eax
je 0x464f11
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x464f13
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004501c4
leave
ret
Function at 0x421550
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42157d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42157d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x429d4e30
nop
nop
nop
nop
test eax, eax
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x432024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
mov ecx, 0x4319434a
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x1022b030
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1022b21d
pushal
mov esi, section..data
lea edi, [esi - 0xc1000]
push edi
or ebp, 0xffffffff
jmp 0x1022b05a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1022b061
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1022b050
mov eax, 1
add ebx, ebx
jne 0x1022b073
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1022b084
jne 0x1022b0a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1022b0a3
dec eax
add ebx, ebx
jne 0x1022b090
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1022b068
add ebx, ebx
jne 0x1022b09f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1022b0f5
xor ecx, ecx
sub eax, 3
jb 0x1022b0bb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1022b12a
sar eax, 1
mov ebp, eax
jmp 0x1022b0c6
add ebx, ebx
jne 0x1022b0c6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1022b094
inc ecx
add ebx, ebx
jne 0x1022b0d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1022b094
add ebx, ebx
jne 0x1022b0e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1022b0d6
jne 0x1022b0f2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1022b0d6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1022b114
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1022b106
jmp 0x1022b056
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1022b114
add edi, ecx
jmp 0x1022b056
pop esi
mov edi, esi
mov ecx, 0x4327
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1022b132
cmp byte [edi], 0x12
jne 0x1022b132
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
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 0x1022b137
lea edi, [esi + 0x224000]
mov eax, dword [edi]
or eax, eax
je 0x1022b1af
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x22b324]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x22b43c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1022b164
mov ecx, edi
jns 0x1022b193
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 + 0x22b440]
or eax, eax
je 0x1022b1a9
mov dword [ebx], eax
add ebx, 4
jmp 0x1022b181
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1022b1e0
cmp al, 0xef
ja 0x1022b1d3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1022b1b5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1022b1c2
mov ebp, dword [esi + 0x22b444]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x1022b214
sub esp, 0xffffff80
jmp 0x10061afd
Function at 0x4035b0
Capabilities:
Set current directory

Disassembly:
test al, al
je 0x4035c4
inc dword [0x4c8634]
add dword [0x4c48ec], 0x110
mov edx, dword [0x4c48ec]
push esi
push edi
mov ecx, 0x44
mov esi, 0x4c70f8
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 0x4035f3
push 0
mov eax, 0x4ca650
call fcn.00415d90
cmp dword [0x4c8664], 0
mov dword [0x4cb120], 0
mov dword [0x4cb124], 0
je 0x40361b
push 0x4c8cc8
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp byte [esp + 0x10], 0
jne 0x40369f
or ecx, 0xffffffff
cmp byte [esi + 0xee], 0
jne 0x40364a
xor eax, eax
cmp byte [esp + 0x14], 0x65
sete al
mov byte [esi + 0xee], al
test al, al
je 0x40364a
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 0x24], ecx
cmp dword [0x4cb12c], 0
je 0x40365c
cmp dword [0x4cb128], 0
jne 0x403665
cmp byte [esi + 0xee], 0
je 0x40369f
cmp byte [esi + 0xee], 0
mov byte [esi + 0xec], 0
jne 0x40369f
cmp dword [0x4cb12c], 0
jge 0x403687
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 [0x4cb12c]
mov dword [esi + 0xe0], edx
pop edi
pop esi
ret
Function at 0x404300
Capabilities:
Write clipboard data

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x18], ebx
jne 0x404324
push esi
call fcn.004045d0
test eax, eax
jne 0x404324
push str.Cant_open_clipboard_for_writing.
call fcn.00404400
pop esi
pop ebx
pop ecx
ret
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x40435d
cmp dword [esi + 0x18], ebx
je 0x40434f
cmp dword [esi + 8], ebx
je 0x404344
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 0x4a1bbc
call fcn.00404400
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 0x404396
mov ecx, dword [esi + 0xc]
cmp ecx, ebx
je 0x4043bd
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 0x4043bd
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 0x4043b3
cmp dword [esi + 8], ebx
je 0x4043a8
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 0x4043d2
mov dword [esi + 4], ebx
jmp 0x404396
cmp dword [esi + 0x18], ebx
je 0x4043ef
cmp dword [esi + 8], ebx
je 0x4043e4
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 0x4a1bdc
call fcn.00404400
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4044d0
Capabilities:
Read clipboard data

Disassembly:
sub esp, 0x20c
test esi, esi
je 0x4044e0
mov dword [esi], 0
lea eax, [edi - 0xc000]
cmp eax, 0x3fff
ja 0x4045af
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.0048e3b7
add esp, 0xc
test eax, eax
je 0x4045a6
lea eax, [esp]
push str.ObjectLink
push eax
call fcn.0048db69
add esp, 8
test eax, eax
je 0x4045a6
lea ecx, [esp]
push str.OwnerLink
push ecx
call fcn.0048db69
add esp, 8
test eax, eax
je 0x4045a6
lea edx, [esp]
push str.Native
push edx
call fcn.0048db69
add esp, 8
test eax, eax
je 0x4045a6
lea eax, [esp]
push str.Embed_Source
push eax
call fcn.0048db69
add esp, 8
test eax, eax
je 0x4045a6
lea ecx, [esp]
push str.MSDEVColumnSelect
push ecx
call fcn.0048db69
add esp, 8
test eax, eax
je 0x40459c
lea edx, [esp]
push str.MSDEVLineSelect
push edx
call fcn.0048db69
add esp, 8
test eax, eax
jne 0x4045b5
test esi, esi
je 0x4045a6
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 0x4045d0
Capabilities:
Check for time delay via gettickcount
Open clipboard

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

Disassembly:
push ecx
cmp byte [0x4c73d0], 0
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
je 0x407b0b
mov al, byte [0x4c73d2]
cmp al, 0xa0
je 0x407a76
cmp al, 0x10
jne 0x407b0b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4c73cc]
cmp eax, 0x16
jae 0x407b0b
test ebp, 0x100
jne case.0x407aa7.13
movzx eax, byte [esp + 0x14]
add eax, 0xfffffff4
cmp eax, 0x22
ja case.0x407aa7.13
movzx eax, byte [eax + 0x407cb4]
jmp dword [eax*4 + 0x407cac]
mov cl, 1
jmp 0x407ab4
xor cl, cl
cmp byte [0x4c73d1], 0
jne 0x407ad1
xor ecx, ecx
nop
cmp byte [ecx + 0x4c73b4], 0
jne 0x407adc
inc ecx
cmp ecx, 0x16
jl 0x407ac0
jmp 0x407b0b
cmp byte [esp + 0x1c], 0
je 0x407ae5
test cl, cl
je 0x407b0b
mov byte [0x4c73d3], 1
jmp 0x407ae9
test cl, cl
je 0x407b0b
mov cl, byte [0x4c73cb]
mov dl, byte [0x4c73ca]
mov al, byte [0x4c72d7]
mov byte [0x4c84c7], cl
mov byte [0x4c84f8], dl
mov byte [0x4c8588], al
mov cl, byte [0x4c84c7]
movzx esi, byte [esp + 0x14]
mov dl, byte [0x4c84f8]
mov al, byte [0x4c8588]
mov byte [0x4c73cb], cl
lea ecx, [esi + esi*8]
mov byte [0x4c73ca], dl
mov edx, dword [0x4c8efc]
shl ecx, 5
mov bl, byte [ecx + edx + 4]
mov byte [0x4c72d7], al
test bl, bl
je case.default.0x407c82
cmp dword [edi + 0x10], 0xffc3d44f
setne dl
test byte [edi + 8], 0x10
mov byte [esp + 0xf], dl
je 0x407b62
xor al, al
jmp 0x407b77
mov eax, dword [esp + 0x1c]
push eax
mov al, byte [esp + 0x18]
call fcn.00407d10
mov dl, byte [esp + 0x13]
add esp, 4
cmp byte [esp + 0x1c], 0
mov byte [esp + 0x18], al
je 0x407c4e
cmp byte [esp + 0x20], 0
jne 0x407ba1
mov cl, bl
not cl
and byte [0x4c84c5], cl
test dl, dl
je 0x407ba1
and byte [0x4c84c6], cl
cmp byte [esp + 0x18], 0
je case.default.0x407c82
not bl
and byte [0x4c84c7], bl
lea ecx, [esi - 0xa0]
mov byte [esi + 0x4c84e8], 0
cmp ecx, 5
ja case.default.0x407c82
jmp dword [ecx*4 + 0x407cd8]
mov cl, byte [0x4c8589]
mov byte [0x4c84f8], cl
jmp case.default.0x407c82
mov dl, byte [0x4c8588]
mov byte [0x4c84f8], dl
jmp case.default.0x407c82
mov al, byte [0x4c858b]
mov byte [0x4c84f9], al
jmp case.default.0x407c82
mov cl, byte [0x4c858a]
mov byte [0x4c84f9], cl
jmp case.default.0x407c82
mov dl, byte [0x4c858d]
mov byte [0x4c84fa], dl
jmp case.default.0x407c82
mov al, byte [0x4c858c]
mov byte [0x4c84fa], al
test byte [edi + 8], 0x10
mov al, byte [esp + 0x14]
mov ecx, dword [esp + 0x1c]
pop esi
mov word [0x4c73d4], bp
pop ebp
mov byte [0x4c73d2], al
mov byte [0x4c73d1], cl
pop ebx
je 0x407c90
xor al, al
mov byte [0x4c73d0], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4c73cc], eax
pop ecx
ret
cmp byte [esp + 0x20], 0
jne 0x407c65
or byte [0x4c84c5], bl
test dl, dl
je 0x407c65
or byte [0x4c84c6], bl
test al, al
je case.default.0x407c82
or byte [0x4c84c7], bl
lea ecx, [esi - 0xa0]
mov al, 0x80
mov byte [esi + 0x4c84e8], al
cmp ecx, 5
ja case.default.0x407c82
jmp dword [ecx*4 + 0x407cf0]
mov byte [0x4c84f8], al
jmp case.default.0x407c82
push ecx
call fcn.00407d10
add esp, 4
mov byte [0x4c73d0], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4c73cc], eax
pop ecx
ret
Function at 0x407d10
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp al, 0xa0
je 0x407d1f
cmp al, 0x10
jne case.0x407d76.13
cmp byte [esp + 8], 0
jne case.0x407d76.13
cmp byte [0x4c73d3], 0
je 0x407d4b
xor eax, eax
cmp byte [eax + 0x4c73b4], 0
jne 0x407d4b
inc eax
cmp eax, 0x16
jl 0x407d31
mov byte [0x4c73d3], 0
xor al, al
pop esi
ret
cmp byte [0x4c73d1], 0
je case.0x407d76.13
test dword [0x4c73d4], 0x100
jne case.0x407d76.13
movzx eax, byte [0x4c73d2]
add eax, 0xfffffff4
cmp eax, 0x22
ja case.0x407d76.13
movzx eax, byte [eax + 0x407da0]
jmp dword [eax*4 + 0x407d98]
call esi
sub eax, dword [0x4c73cc]
cmp eax, 0x16
jb 0x407d47
call esi
mov dword [0x4cb2e8], eax
mov al, 1
pop esi
ret
Function at 0x408c60
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 [0x4c85f8], 0
push esi
push edi
mov byte [esp + 0x1e], al
je 0x408c84
mov byte [esp + 0x1e], 1
mov al, byte [esp + 0x1e]
cmp dword [0x4c85fc], 0
je 0x408c93
or al, 2
mov byte [esp + 0x1e], al
cmp byte [ebp + 8], al
je 0x408ea0
test al, al
jne 0x408cd6
cmp byte [ebp + 0xc], al
jne 0x408cd6
push 0x4c73b0
push 0
push 0
push 0x408f70
push 0x2000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4cb308], eax
test eax, eax
je 0x408d67
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 [0x4c73b0]
push edi
push ebx
push 0x417
push ecx
call dword [sym.imp.USER32.dll_PostThreadMessageW]
test eax, eax
jne 0x408d0c
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x32
jl 0x408ce6
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 0x408d73
push 1
push 0x417
push 0x417
push 0
lea edx, [esp + 0x34]
push edx
call esi
test eax, eax
je 0x408dda
cmp dword [esp + 0x2c], 0
je 0x408d82
mov byte [esp + 0x1f], 1
call fcn.00409310
test al, al
jne 0x408d82
cmp byte [ebp + 0xc], al
jne 0x408e6e
mov byte [ebp + 8], al
jmp 0x408d21
call fcn.00409330
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0xc], 0
je 0x408dbe
call fcn.00409310
test al, al
jne 0x408dda
cmp byte [ebp + 0xc], 0
jne 0x408e67
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x4c85f8], 0
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexW]
je 0x408e12
test byte [esp + 0x1e], 1
jne 0x408e2b
push str.AHK_Keybd
push 0
push 0
call esi
mov dword [0x4c8ee8], eax
jmp 0x408e2b
mov ecx, dword [0x4cb308]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0x20], 0x103
jne 0x408df2
call edi
sub eax, ebx
cmp eax, 0x1f4
ja 0x408d82
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x408d21
mov edx, dword [0x4cb308]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov dword [0x4cb308], 0
call fcn.00409330
jmp 0x408d92
test byte [esp + 0x1e], 1
je 0x408e2b
mov eax, dword [0x4c8ee8]
push eax
call edi
mov dword [0x4c8ee8], 0
cmp dword [0x4c85fc], 0
je 0x408e4d
test byte [esp + 0x1e], 2
jne 0x408e67
push str.AHK_Mouse
push 0
push 0
call esi
mov dword [0x4c8eec], eax
jmp 0x408e67
test byte [esp + 0x1e], 2
je 0x408e67
mov ecx, dword [0x4c8eec]
push ecx
call edi
mov dword [0x4c8eec], 0
cmp byte [esp + 0x1f], 0
je 0x408ea0
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.00479040
add esp, 0x18
mov dword [0x4c48b4], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a760
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x100c
call fcn.00499360
cmp byte [0x4cb30c], 0
push ebx
push ebp
mov ebp, dword [esp + 0x101c]
push esi
push edi
jne 0x40a8d5
cmp dword [0x4c8f04], 0
jne 0x40a796
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4c8f04], eax
mov ebx, 1
add dword [0x4cb310], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x4cb310]
mov esi, dword [0x4c48c8]
mov ecx, eax
sub ecx, dword [0x4c8f04]
mov dword [0x4c8f08], eax
cmp edx, dword [0x4c48c4]
jbe 0x40a7cc
cmp ecx, esi
jb 0x40a830
xor edx, edx
cmp ecx, esi
jbe 0x40a7e9
mov dword [0x4cb310], 0
mov dword [0x4c8f04], eax
test edx, edx
jne 0x40a8d5
mov esi, dword [esp + 0x1020]
mov cl, byte [esi + 0x11]
push 0
mov byte [0x4cb102], cl
mov ecx, dword [ebp]
add byte [ebp + 0x1f], bl
push 0
push 0x4a18a0
push ecx
xor eax, eax
xor edx, edx
call fcn.0046cdc0
dec byte [ebp + 0x1f]
add esp, 0x10
test eax, eax
jne 0x40a8a4
mov byte [ebp + 0x24], 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.004746f0
add esp, 0xc
call fcn.00409830
fldz
push 0
sub esp, 8
fstp qword [esp]
push 0
mov eax, edi
push 4
push eax
mov byte [0x4cb30c], bl
mov dword [0x4c48b4], 0
call fcn.00479040
add esp, 0x18
cmp eax, 7
jne 0x40a88b
push 0
push 0x4ca650
xor eax, eax
mov edx, ebx
call fcn.00416100
mov eax, dword [0x4c8f08]
mov dword [0x4c48b4], ebx
mov byte [0x4cb30c], 0
mov edx, ebx
jmp 0x40a7d2
cmp byte [ebp + 0x24], 0
je 0x40a8d5
mov byte [ebp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 4]
cmp eax, 0x3e8
ja 0x40a8d5
movzx edx, word [esi]
mov eax, dword [0x4c84c8]
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