joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430aa4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x430af0
mov eax, esi
call fcn.00446160
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x430af0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x430af0
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x430c2f
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x430b30
cmp eax, 0x108
ja 0x430b30
mov eax, esi
call fcn.00446160
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x430c26
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x430c2f
jmp 0x430c26
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x430c0f
cmp eax, 0x20a
ja 0x430c0f
test byte [esi + 0x50], 0x80
jne 0x430b62
sub eax, 0x203
je 0x430b5f
sub eax, 3
je 0x430b5f
sub eax, 3
jne 0x430b62
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x430b76
dec eax
je 0x430b8b
dec eax
je 0x430ba8
dec eax
je 0x430b8b
jmp 0x430baf
mov ecx, ebx
mov eax, dword [0x451ffc]
mov eax, dword [eax]
mov edx, esi
call fcn.0044fa38
jmp 0x430c26
cmp byte [esi + 0x5d], 1
jne 0x430ba1
mov eax, esi
mov si, 0xffed
call fcn.00403d24
jmp 0x430c2f
or word [esi + 0x54], 1
jmp 0x430c26
and word [esi + 0x54], 0xfffe
jmp 0x430c26
mov eax, dword [0x453b14]
cmp byte [eax + 0x20], 0
je 0x430c26
mov eax, dword [0x453b14]
cmp dword [eax + 0x1c], 0
je 0x430c26
mov eax, dword [ebx]
mov edx, dword [0x453b14]
cmp eax, dword [edx + 0x1c]
jne 0x430c26
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.004460a4
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403d24
jmp 0x430c2f
cmp eax, 0xb00b
jne 0x430c26
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0042f3d0
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43415c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x434178
cmp dword [esi + 4], 0
je 0x4341a5
test byte [ebx + 0x55], 1
jne 0x434197
mov eax, ebx
call fcn.00432cfc
test eax, eax
jne 0x434197
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4342b5
mov edx, esi
mov eax, ebx
call fcn.00433c80
jmp 0x4342b5
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4342ae
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00435fcc
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.004309d8
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043415c
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00435fcc
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4342b5
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43a7fc
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x452160]
cmp byte [eax + 0xc], 0
je 0x43a969
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43a962
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x453b68], 0
jne 0x43a850
push 0x43a970
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43a978
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453b68], eax
cmp dword [0x451b40], 0
jne 0x43a94b
push 0x43a988
call sub.kernel32.dll_LoadLibraryA
mov dword [0x451b40], eax
cmp dword [0x451b40], 0
je 0x43a94b
push 0x43a994
mov eax, dword [0x451b40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453b6c], eax
push 0x43a9a4
mov eax, dword [0x451b40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453b70], eax
push 0x43a9b8
mov eax, dword [0x451b40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453b74], eax
push 0x43a9d0
mov eax, dword [0x451b40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453b78], eax
push 0x43a9e8
mov eax, dword [0x451b40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453b7c], eax
push 0x43a9fc
mov eax, dword [0x451b40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453b80], eax
push 0x43aa14
mov eax, dword [0x451b40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453b84], eax
push 0x43aa2c
mov eax, dword [0x451b40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453b88], eax
push 0x43aa48
mov eax, dword [0x451b40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453b8c], eax
push 0x43aa54
mov eax, dword [0x451b40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453b90], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a969
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43e7f4
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404914
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43e843
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404b84
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x446014
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x446064]
test si, 4
je 0x446028
or bl, 1
test si, 8
je 0x446032
or bl, 4
test si, 1
je 0x44603c
or bl, 8
test si, 2
je 0x446046
or bl, 0x10
test si, 0x10
je 0x446050
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44605f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x446068
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4460a0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x446081
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x446090
or bl, 4
test esi, 0x20000000
je 0x44609b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44c764
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44c776
add esp, 0xfffffff0
call fcn.00403e3c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a26c
mov eax, dword [0x451e34]
mov dword [eax + 4], ebx
mov dword [eax], 0x44cb08
mov eax, dword [0x451e40]
mov dword [eax + 4], ebx
mov dword [eax], 0x44cb14
mov eax, ebx
call fcn.0044cb20
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x412000]
call fcn.00403aec
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x412000]
call fcn.00403aec
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x412000]
call fcn.00403aec
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x412000]
call fcn.00403aec
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x412000]
call fcn.00403aec
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x448f38
push eax
push 0
push 0
mov eax, dword [0x451f84]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41bc90]
call fcn.0041d0f8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41bc90]
call fcn.0041d0f8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41bc90]
call fcn.0041d0f8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044cf70
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44ce38
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44ce38
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44ce38
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44c8b3
call fcn.00403e94
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44cc1c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44cdc7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44cda8
mov dl, 1
mov eax, dword [0x41241c]
call fcn.00403aec
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404914
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44cd97
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043ab5c
test al, al
je 0x44cd8a
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x44cdd8
lea eax, [ebp - 0x254]
call fcn.00409458
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44cd8a
xor eax, eax
push ebp
push 0x44cd83
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x44ce10
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44cd6c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404b84
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44cd6c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404b84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44cd8a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44cc8d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415f54
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44cdce
lea eax, [ebp - 0x260]
call fcn.00404914
ret

Function at 0x44d710
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x453bb4]
cmp byte [eax + 0xa5], 0
jne 0x44d781
cmp dword [0x453bcc], 0
jne 0x44d742
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44d6cc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x453bcc], eax
cmp dword [0x453bc8], 0
jne 0x44d75d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x453bc8], eax
cmp dword [0x453bd0], 0
jne 0x44d781
push esp
push 0
push 0
push 0x44d670
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x453bd0], eax
pop edx
ret
Function at 0x44de14
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x453bb4]
cmp dword [eax + 0x30], 0
je 0x44debe
cmp dword [ebx + 0x94], 0
jne 0x44deb8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44dda4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44deb8
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44de7e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44deb8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004143c4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44de8d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44ea1c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44ea51
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404a04
jmp 0x44ea5e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404968
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44fb80
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44fbc1
mov eax, esi
call fcn.004362d0
test al, al
je 0x44fbc1
mov eax, dword [ebx + 0x84]
call fcn.00435fcc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44fbc1
push 0
mov eax, dword [ebx + 0x84]
call fcn.00435fcc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x403800
Capabilities:
Set current directory

Disassembly:
test al, al
je 0x403814
inc dword [0x4ae3c8]
add dword [0x4aa978], 0xe8
mov edx, dword [0x4aa978]
push esi
push edi
mov ecx, 0x3a
mov esi, 0x4acf10
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 0x403843
push 0
mov eax, 0x4af210
call fcn.004176b0
cmp dword [0x4ae3fc], 0
mov dword [0x4af838], 0
mov dword [0x4af83c], 0
je 0x40387b
mov eax, dword [0x4abaac]
test eax, eax
je 0x40386f
mov eax, dword [eax]
test eax, eax
jne 0x403874
mov eax, 0x49b8bd
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
cmp byte [esp + 0x10], 0
jne 0x4038ff
or ecx, 0xffffffff
cmp byte [esi + 0xce], 0
jne 0x4038aa
xor eax, eax
cmp byte [esp + 0x14], 0x65
sete al
mov byte [esi + 0xce], al
test al, al
je 0x4038aa
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 0x24], ecx
cmp dword [0x4af844], 0
je 0x4038bc
cmp dword [0x4af840], 0
jne 0x4038c5
cmp byte [esi + 0xce], 0
je 0x4038ff
cmp byte [esi + 0xce], 0
mov byte [esi + 0xcc], 0
jne 0x4038ff
cmp dword [0x4af844], 0
jge 0x4038e7
pop edi
mov dword [esi + 0xc0], ecx
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xbc], eax
mov edx, dword [0x4af844]
mov dword [esi + 0xc0], edx
pop edi
pop esi
ret
Function at 0x404800
Capabilities:
Write clipboard data

Disassembly:
cmp dword [0x4af200], 0
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov ebx, eax
je 0x404818
pop ebp
xor eax, eax
pop ebx
ret 4
push esi
test ebp, ebp
je 0x404865
cmp ebx, 0xffffffff
jne 0x404832
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404827
sub eax, edx
mov ebx, eax
test ebx, ebx
je 0x404865
push edi
lea edi, [ebx + 1]
mov esi, 0x4af1f4
call fcn.00404880
pop edi
test eax, eax
jne 0x40484f
pop esi
pop ebp
pop ebx
ret 4
mov eax, dword [0x4af200]
push ebx
push ebp
push eax
mov esi, eax
call fcn.0048a8d0
add esp, 0xc
mov byte [esi + ebx], 0
pop esi
pop ebp
pop ebx
mov dword [esp + 4], 1
mov ecx, 0x4af1f4
jmp fcn.004048f0

Function at 0x404ad0
Capabilities:
Read clipboard data

Disassembly:
sub esp, 0x108
test esi, esi
je 0x404ae0
mov dword [esi], 0
lea eax, [edi - 0xc000]
cmp eax, 0x3fff
ja 0x404baf
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.00487fcd
add esp, 0xc
test eax, eax
je 0x404ba6
lea eax, [esp]
push str.ObjectLink
push eax
call fcn.00487c11
add esp, 8
test eax, eax
je 0x404ba6
lea ecx, [esp]
push str.OwnerLink
push ecx
call fcn.00487c11
add esp, 8
test eax, eax
je 0x404ba6
lea edx, [esp]
push str.Native
push edx
call fcn.00487c11
add esp, 8
test eax, eax
je 0x404ba6
lea eax, [esp]
push str.Embed_Source
push eax
call fcn.00487c11
add esp, 8
test eax, eax
je 0x404ba6
lea ecx, [esp]
push str.MSDEVColumnSelect
push ecx
call fcn.00487c11
add esp, 8
test eax, eax
je 0x404b9c
lea edx, [esp]
push str.MSDEVLineSelect
push edx
call fcn.00487c11
add esp, 8
test eax, eax
jne 0x404bb3
test esi, esi
je 0x404ba6
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 0x404bd0
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp dword [ecx + 0x18], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
jne 0x404c5a
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ebx, dword [sym.imp.USER32.dll_OpenClipboard]
mov edi, eax
mov eax, dword [0x4ae254]
push eax
call ebx
test eax, eax
jne 0x404c4f
mov eax, dword [0x4aa8e8]
cmp eax, 0xffffffff
je 0x404c1f
test eax, eax
je 0x404c66
call esi
mov ecx, dword [0x4aa8e8]
add ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x404c66
push 1
push 0x8000012f
mov dword [0x4aa8ec], 0
call fcn.00401420
mov edx, dword [0x4ae254]
add esp, 8
push edx
mov dword [0x4aa8ec], 1
call ebx
test eax, eax
je 0x404c00
mov eax, dword [esp + 0xc]
mov dword [eax + 0x18], 1
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4091c0
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 [0x4ae384], 0
push esi
push edi
mov byte [esp + 0x1e], al
je 0x4091e4
mov byte [esp + 0x1e], 1
mov al, byte [esp + 0x1e]
cmp dword [0x4ae388], 0
je 0x4091f3
or al, 2
mov byte [esp + 0x1e], al
cmp byte [ebp + 8], al
je 0x409400
test al, al
jne 0x409236
cmp byte [ebp + 0xc], al
jne 0x409236
push 0x4ad158
push 0
push 0
push 0x4094f0
push 0x2000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4aea84], eax
test eax, eax
je 0x4092c7
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 [0x4ad158]
push edi
push ebx
push 0x417
push ecx
call dword [sym.imp.USER32.dll_PostThreadMessageA]
test eax, eax
jne 0x40926c
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x32
jl 0x409246
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 0x4092d3
push 1
push 0x417
push 0x417
push 0
lea edx, [esp + 0x34]
push edx
call esi
test eax, eax
je 0x40933a
cmp dword [esp + 0x2c], 0
je 0x4092e2
mov byte [esp + 0x1f], 1
call fcn.00409870
test al, al
jne 0x4092e2
cmp byte [ebp + 0xc], al
jne 0x4093ce
mov byte [ebp + 8], al
jmp 0x409281
call fcn.00409890
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0xc], 0
je 0x40931e
call fcn.00409870
test al, al
jne 0x40933a
cmp byte [ebp + 0xc], 0
jne 0x4093c7
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x4ae384], 0
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexA]
je 0x409372
test byte [esp + 0x1e], 1
jne 0x40938b
push str.AHK_Keybd
push 0
push 0
call esi
mov dword [0x4aea7c], eax
jmp 0x40938b
mov ecx, dword [0x4aea84]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0x20], 0x103
jne 0x409352
call edi
sub eax, ebx
cmp eax, 0x1f4
ja 0x4092e2
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x409281
mov edx, dword [0x4aea84]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov dword [0x4aea84], 0
call fcn.00409890
jmp 0x4092f2
test byte [esp + 0x1e], 1
je 0x40938b
mov eax, dword [0x4aea7c]
push eax
call edi
mov dword [0x4aea7c], 0
cmp dword [0x4ae388], 0
je 0x4093ad
test byte [esp + 0x1e], 2
jne 0x4093c7
push str.AHK_Mouse
push 0
push 0
call esi
mov dword [0x4aea80], eax
jmp 0x4093c7
test byte [esp + 0x1e], 2
je 0x4093c7
mov ecx, dword [0x4aea80]
push ecx
call edi
mov dword [0x4aea80], 0
cmp byte [esp + 0x1f], 0
je 0x409400
fldz
sub esp, 8
fstp qword [esp]
mov dword [0x4aa8ec], 0
push 0
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.
call fcn.004795b0
add esp, 0x18
mov dword [0x4aa8ec], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40aee0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x80c
cmp byte [0x4afa20], 0
push ebx
push ebp
mov ebp, dword [esp + 0x81c]
push esi
push edi
jne 0x40b050
cmp dword [0x4aeaa0], 0
jne 0x40af12
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4aeaa0], eax
mov ebx, 1
add dword [0x4afa24], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x4afa24]
mov esi, dword [0x4aa900]
mov ecx, eax
sub ecx, dword [0x4aeaa0]
mov dword [0x4aeaa4], eax
cmp edx, dword [0x4aa8fc]
jbe 0x40af48
cmp ecx, esi
jb 0x40afac
xor edx, edx
cmp ecx, esi
jbe 0x40af65
mov dword [0x4afa24], 0
mov dword [0x4aeaa0], eax
test edx, edx
jne 0x40b050
mov esi, dword [esp + 0x820]
mov cl, byte [esi + 0xf]
push 0
mov byte [0x4af80d], cl
mov ecx, dword [ebp]
add byte [ebp + 0x16], bl
push 0
push str.call
push ecx
xor eax, eax
xor edx, edx
call fcn.0046ce10
dec byte [ebp + 0x16]
add esp, 0x10
test eax, eax
jne 0x40b01e
mov byte [ebp + 0x1b], al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80c
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.004749f0
add esp, 0xc
call fcn.00409e10
fldz
sub esp, 8
fstp qword [esp]
push 0
push 0
mov eax, edi
push 4
push eax
mov byte [0x4afa20], bl
mov dword [0x4aa8ec], 0
call fcn.004795b0
add esp, 0x18
cmp eax, 7
jne 0x40b005
push 0
push 4
push 0x4af210
call fcn.00417a00
mov eax, dword [0x4aeaa4]
mov dword [0x4aa8ec], ebx
mov byte [0x4afa20], 0
mov edx, ebx
jmp 0x40af4e
cmp byte [ebp + 0x1b], 0
je 0x40b050
mov byte [ebp + 0x1b], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 0xc]
cmp eax, 0x3e8
ja 0x40b050
movzx edx, word [esi + 4]
mov eax, dword [0x4ae254]
push 0
push edx
push 0x312
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80c
ret 8