joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403b60
Capabilities:
Write clipboard data

Disassembly:
cmp dword [0x4a2c08], 0
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov ebx, eax
je 0x403b78
pop ebp
xor eax, eax
pop ebx
ret 4
push esi
test ebp, ebp
je 0x403bc5
cmp ebx, 0xffffffff
jne 0x403b92
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403b87
sub eax, edx
mov ebx, eax
test ebx, ebx
je 0x403bc5
push edi
lea edi, [ebx + 1]
mov esi, 0x4a2bfc
call fcn.00403be0
pop edi
test eax, eax
jne 0x403baf
pop esi
pop ebp
pop ebx
ret 4
mov eax, dword [0x4a2c08]
push ebx
push ebp
push eax
mov esi, eax
call fcn.0047a8e0
add esp, 0xc
mov byte [esi + ebx], 0
pop esi
pop ebp
pop ebx
mov dword [esp + 4], 1
mov ecx, 0x4a2bfc
jmp fcn.00403c50

Function at 0x403c50
Capabilities:
Write clipboard data

Disassembly:
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x18], edi
jne 0x403c73
call fcn.00403f70
test eax, eax
jne 0x403c73
push str.Cant_open_clipboard_for_writing.
call fcn.00403d60
pop edi
pop esi
ret 4
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x403cad
cmp dword [esi + 0x18], edi
je 0x403c9e
cmp dword [esi + 8], edi
je 0x403c93
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [esi + 8], edi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esi + 0x18], edi
mov dword [esi], edi
push 0x490230
call fcn.00403d60
pop edi
pop esi
ret 4
mov ecx, dword [esi + 4]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp ecx, edi
je 0x403cf0
mov eax, dword [esi + 0xc]
cmp eax, edi
je 0x403d18
cmp dword [esp + 0x10], 0xd
push ebx
jne 0x403ccf
cmp word [eax], di
jmp 0x403cd2
cmp byte [eax], 0
push ecx
sete bl
call ebp
test bl, bl
mov dword [esi + 0xc], edi
mov dword [esi + 0x14], edi
pop ebx
je 0x403d18
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi + 4], eax
cmp dword [esi + 0x18], edi
je 0x403d0d
cmp dword [esi + 8], edi
je 0x403d02
mov edx, dword [esi]
push edx
call ebp
mov dword [esi + 8], edi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esi + 0x18], edi
mov dword [esi], edi
pop ebp
pop edi
mov eax, 1
pop esi
ret 4
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
push edx
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x403d30
mov dword [esi + 4], edi
jmp 0x403cf0
cmp dword [esi + 0x18], edi
je 0x403d4d
cmp dword [esi + 8], edi
je 0x403d42
mov ecx, dword [esi]
push ecx
call ebp
mov dword [esi + 8], edi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esi + 0x18], edi
mov dword [esi], edi
push 0x490240
call fcn.00403d60
pop ebp
pop edi
pop esi
ret 4
Function at 0x403e30
Capabilities:
Check for time delay via gettickcount
Read clipboard data

Disassembly:
lea eax, [esi - 0xc000]
sub esp, 0x108
cmp eax, 0x3fff
ja 0x403ecd
push 0x104
lea ecx, [esp + 4]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetClipboardFormatNameA]
push 0xb
lea edx, [esp + 4]
push str.Link_Source
push edx
call fcn.00477695
add esp, 0xc
test eax, eax
je 0x403ec4
lea eax, [esp]
push str.ObjectLink
push eax
call fcn.00476cb6
add esp, 8
test eax, eax
je 0x403ec4
lea ecx, [esp]
push str.OwnerLink
push ecx
call fcn.00476cb6
add esp, 8
test eax, eax
je 0x403ec4
lea edx, [esp]
push str.Native
push edx
call fcn.00476cb6
add esp, 8
test eax, eax
je 0x403ec4
lea eax, [esp]
push str.Embed_Source
push eax
call fcn.00476cb6
add esp, 8
test eax, eax
jne 0x403ed1
xor eax, eax
add esp, 0x108
ret
mov byte [esp], 0
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call ebp
mov edi, dword [sym.imp.USER32.dll_GetClipboardData]
push esi
mov ebx, eax
call edi
test eax, eax
jne 0x403f60
jmp 0x403ef0
cmp esi, 0xf
je 0x403f5e
lea ecx, [esp + 0xc]
push str.OwnerLink
push ecx
call fcn.00476cb6
add esp, 8
test eax, eax
je 0x403f5e
mov eax, dword [0x49d324]
cmp eax, 0xffffffff
je 0x403f2a
test eax, eax
je 0x403f5e
call ebp
mov edx, dword [0x49d324]
add edx, ebx
sub edx, eax
cmp edx, 5
jle 0x403f5e
push 1
push 0x8000012f
mov dword [0x49d328], 0
call fcn.00401340
add esp, 8
push esi
mov dword [0x49d328], 1
call edi
test eax, eax
je 0x403ef0
pop edi
pop ebp
pop ebx
add esp, 0x108
ret
xor eax, eax
pop edi
pop ebp
pop ebx
add esp, 0x108
ret

Function at 0x403f70
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 0x403ffa
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ebx, dword [sym.imp.USER32.dll_OpenClipboard]
mov edi, eax
mov eax, dword [0x4a0a38]
push eax
call ebx
test eax, eax
jne 0x403fef
mov eax, dword [0x49d324]
cmp eax, 0xffffffff
je 0x403fbf
test eax, eax
je 0x404006
call esi
mov ecx, dword [0x49d324]
add ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x404006
push 1
push 0x8000012f
mov dword [0x49d328], 0
call fcn.00401340
mov edx, dword [0x4a0a38]
add esp, 8
push edx
mov dword [0x49d328], 1
call ebx
test eax, eax
je 0x403fa0
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 0x4070e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
cmp byte [0x49f942], 0
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
je 0x40719b
mov al, byte [0x49f94a]
cmp al, 0xa0
je 0x407106
cmp al, 0x10
jne 0x40719b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x49f944]
cmp eax, 0x16
jae 0x40719b
test ebp, 0x100
jne case.0x407137.13
movzx eax, byte [esp + 0x14]
add eax, 0xfffffff4
cmp eax, 0x22
ja case.0x407137.13
movzx eax, byte [eax + 0x407344]
jmp dword [eax*4 + 0x40733c]
mov cl, 1
jmp 0x407144
xor cl, cl
cmp byte [0x49f943], 0
jne 0x407161
xor ecx, ecx
nop
cmp byte [ecx + 0x49f92c], 0
jne 0x40716c
inc ecx
cmp ecx, 0x16
jl 0x407150
jmp 0x40719b
cmp byte [esp + 0x1c], 0
je 0x407175
test cl, cl
je 0x40719b
mov byte [0x49f94b], 1
jmp 0x407179
test cl, cl
je 0x40719b
mov cl, byte [0x49f84f]
mov dl, byte [0x49f84e]
mov al, byte [0x49f84d]
mov byte [0x4a0a37], cl
mov byte [0x4a0a68], dl
mov byte [0x4a0af8], al
mov cl, byte [0x4a0a37]
movzx esi, byte [esp + 0x14]
mov dl, byte [0x4a0a68]
mov al, byte [0x4a0af8]
mov byte [0x49f84f], cl
lea ecx, [esi + esi*8]
mov byte [0x49f84e], dl
mov edx, dword [0x4a14d8]
shl ecx, 5
mov bl, byte [ecx + edx + 4]
mov byte [0x49f84d], al
test bl, bl
je case.default.0x407312
cmp dword [edi + 0x10], 0xffc3d44f
setne dl
test byte [edi + 8], 0x10
mov byte [esp + 0xf], dl
je 0x4071f2
xor al, al
jmp 0x407207
mov eax, dword [esp + 0x1c]
push eax
mov al, byte [esp + 0x18]
call fcn.004073a0
mov dl, byte [esp + 0x13]
add esp, 4
cmp byte [esp + 0x1c], 0
mov byte [esp + 0x18], al
je 0x4072de
cmp byte [esp + 0x20], 0
jne 0x407231
mov cl, bl
not cl
and byte [0x4a0a35], cl
test dl, dl
je 0x407231
and byte [0x4a0a36], cl
cmp byte [esp + 0x18], 0
je case.default.0x407312
not bl
and byte [0x4a0a37], bl
lea ecx, [esi - 0xa0]
mov byte [esi + 0x4a0a58], 0
cmp ecx, 5
ja case.default.0x407312
jmp dword [ecx*4 + 0x407368]
mov cl, byte [0x4a0af9]
mov byte [0x4a0a68], cl
jmp case.default.0x407312
mov dl, byte [0x4a0af8]
mov byte [0x4a0a68], dl
jmp case.default.0x407312
mov al, byte [0x4a0afb]
mov byte [0x4a0a69], al
jmp case.default.0x407312
mov cl, byte [0x4a0afa]
mov byte [0x4a0a69], cl
jmp case.default.0x407312
mov dl, byte [0x4a0afd]
mov byte [0x4a0a6a], dl
jmp case.default.0x407312
mov al, byte [0x4a0afc]
mov byte [0x4a0a6a], al
test byte [edi + 8], 0x10
mov al, byte [esp + 0x14]
mov ecx, dword [esp + 0x1c]
pop esi
mov word [0x49f948], bp
pop ebp
mov byte [0x49f94a], al
mov byte [0x49f943], cl
pop ebx
je 0x407320
xor al, al
mov byte [0x49f942], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x49f944], eax
pop ecx
ret
cmp byte [esp + 0x20], 0
jne 0x4072f5
or byte [0x4a0a35], bl
test dl, dl
je 0x4072f5
or byte [0x4a0a36], bl
test al, al
je case.default.0x407312
or byte [0x4a0a37], bl
lea ecx, [esi - 0xa0]
mov al, 0x80
mov byte [esi + 0x4a0a58], al
cmp ecx, 5
ja case.default.0x407312
jmp dword [ecx*4 + 0x407380]
mov byte [0x4a0a68], al
jmp case.default.0x407312
push ecx
call fcn.004073a0
add esp, 4
mov byte [0x49f942], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x49f944], eax
pop ecx
ret
Function at 0x4073a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp al, 0xa0
je 0x4073af
cmp al, 0x10
jne case.0x407406.13
cmp byte [esp + 8], 0
jne case.0x407406.13
cmp byte [0x49f94b], 0
je 0x4073db
xor eax, eax
cmp byte [eax + 0x49f92c], 0
jne 0x4073db
inc eax
cmp eax, 0x16
jl 0x4073c1
mov byte [0x49f94b], 0
xor al, al
pop esi
ret
cmp byte [0x49f943], 0
je case.0x407406.13
test dword [0x49f948], 0x100
jne case.0x407406.13
movzx eax, byte [0x49f94a]
add eax, 0xfffffff4
cmp eax, 0x22
ja case.0x407406.13
movzx eax, byte [eax + 0x407430]
jmp dword [eax*4 + 0x407428]
call esi
sub eax, dword [0x49f944]
cmp eax, 0x16
jb 0x4073d7
call esi
mov dword [0x4a3300], eax
mov al, 1
pop esi
ret
Function at 0x408230
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 [0x4a0b68], 0
push esi
push edi
mov byte [esp + 0x1e], al
je 0x408254
mov byte [esp + 0x1e], 1
mov al, byte [esp + 0x1e]
cmp dword [0x4a0b6c], 0
je 0x408263
or al, 2
mov byte [esp + 0x1e], al
cmp byte [ebp + 8], al
je 0x408470
test al, al
jne 0x4082a6
cmp byte [ebp + 0xc], al
jne 0x4082a6
push 0x49f928
push 0
push 0
push 0x408540
push 0x2000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4a3314], eax
test eax, eax
je 0x408337
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 [0x49f928]
push edi
push ebx
push 0x417
push ecx
call dword [sym.imp.USER32.dll_PostThreadMessageA]
test eax, eax
jne 0x4082dc
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x32
jl 0x4082b6
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 0x408343
push 1
push 0x417
push 0x417
push 0
lea edx, [esp + 0x34]
push edx
call esi
test eax, eax
je 0x4083aa
cmp dword [esp + 0x2c], 0
je 0x408352
mov byte [esp + 0x1f], 1
call fcn.004088e0
test al, al
jne 0x408352
cmp byte [ebp + 0xc], al
jne 0x40843e
mov byte [ebp + 8], al
jmp 0x4082f1
call fcn.00408900
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0xc], 0
je 0x40838e
call fcn.004088e0
test al, al
jne 0x4083aa
cmp byte [ebp + 0xc], 0
jne 0x408437
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x4a0b68], 0
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexA]
je 0x4083e2
test byte [esp + 0x1e], 1
jne 0x4083fb
push str.AHK_Keybd
push 0
push 0
call esi
mov dword [0x4a14c4], eax
jmp 0x4083fb
mov ecx, dword [0x4a3314]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0x20], 0x103
jne 0x4083c2
call edi
sub eax, ebx
cmp eax, 0x1f4
ja 0x408352
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4082f1
mov edx, dword [0x4a3314]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov dword [0x4a3314], 0
call fcn.00408900
jmp 0x408362
test byte [esp + 0x1e], 1
je 0x4083fb
mov eax, dword [0x4a14c4]
push eax
call edi
mov dword [0x4a14c4], 0
cmp dword [0x4a0b6c], 0
je 0x40841d
test byte [esp + 0x1e], 2
jne 0x408437
push str.AHK_Mouse
push 0
push 0
call esi
mov dword [0x4a14c8], eax
jmp 0x408437
test byte [esp + 0x1e], 2
je 0x408437
mov ecx, dword [0x4a14c8]
push ecx
call edi
mov dword [0x4a14c8], 0
cmp byte [esp + 0x1f], 0
je 0x408470
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 [0x49d328], 0
call fcn.00468330
add esp, 0x18
mov dword [0x49d328], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4099f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x838
cmp byte [0x4a3318], 0
push esi
push edi
jne 0x409ba5
cmp dword [0x4a14e4], 0
jne 0x409a1f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4a14e4], eax
mov edi, 1
add dword [0x4a331c], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x4a331c]
mov esi, dword [0x49d33c]
mov ecx, eax
sub ecx, dword [0x4a14e4]
mov dword [0x4a14e8], eax
cmp edx, dword [0x49d338]
jbe 0x409ad5
cmp ecx, esi
jae 0x409ad5
push ecx
push edx
mov dword [esp + 0x44], edi
push str._u_hotkeys_have_been_received_in_the_last__ums._n_nDo_you_want_to_continue__n_see_MaxHotkeysPerInterval_in_the_help_file_
mov esi, 0x800
lea edi, [esp + 0x4c]
call fcn.00463ff0
add esp, 0xc
call fcn.00408cb0
fldz
push 0
sub esp, 8
fstp qword [esp]
push 0
mov eax, edi
push 4
push eax
mov byte [0x4a3318], 1
mov dword [0x49d328], 0
call fcn.00468330
add esp, 0x18
cmp eax, 7
jne 0x409ab9
push 0
push 0
push 1
mov ecx, 0x4a2c18
call fcn.00414960
mov eax, dword [0x4a14e8]
mov edx, dword [esp + 0x3c]
mov dword [0x49d328], 1
mov byte [0x4a3318], 0
jmp 0x409adb
xor edx, edx
cmp ecx, esi
jbe 0x409af2
mov dword [0x4a331c], 0
mov dword [0x4a14e4], eax
test edx, edx
jne 0x409ba5
mov esi, dword [ebp + 8]
mov cl, byte [esi + 0x11]
mov byte [0x4a30c9], cl
cmp byte [esi + 0x1a], 0
je 0x409b69
cmp byte [esi + 0x1b], 0
je 0x409b69
mov byte [esp + 0x3b], 1
call fcn.0040b370
mov ecx, dword [0x49d3c8]
inc byte [ebx + 0x1f]
mov eax, dword [ebx]
mov esi, dword [ecx + 0x9c]
push 0
push 0
mov dword [ecx + 0x9c], eax
mov ecx, dword [eax + 4]
push 1
call fcn.004217a0
mov edx, dword [0x49d3c8]
mov dword [edx + 0x9c], esi
dec byte [ebx + 0x1f]
cmp byte [esp + 0x3b], 0
mov edi, eax
je 0x409b59
mov esi, dword [ebp + 8]
call fcn.0040b2a0
test edi, edi
jne 0x409b70
mov byte [ebx + 0x23], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov byte [esp + 0x3b], 0
jmp 0x409b14
cmp byte [ebx + 0x23], 0
je 0x409ba5
mov byte [ebx + 0x23], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebx + 4]
cmp eax, 0x3e8
ja 0x409ba5
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
mov edx, dword [0x4a0a38]
push 0
push ecx
push 0x312
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40dde0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x2c
push esi
mov esi, eax
lea eax, [esp + 4]
test cl, cl
jns 0x40ddf7
mov byte [esp + 4], 0x30
lea eax, [esp + 5]
push 0xa
push eax
movzx eax, cl
push eax
call fcn.00476952
add esp, 0xc
test esi, esi
jle 0x40deb0
push ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, esi
jmp 0x40de20
cmp dword [0x4a2500], 0
jne 0x40de7d
call edi
sub eax, dword [0x4a3104]
mov ecx, dword [0x49d3c8]
cmp eax, dword [ecx + 0xb0]
jbe 0x40de7d
push 0
push 0
push 0
push 0
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x40de76
push 1
push 0xffffffffffffffff
mov dword [0x49d328], 0
call fcn.00401340
add esp, 8
mov dword [0x49d328], 1
call edi
mov dword [0x4a3104], eax
lea eax, [esp + 0xc]
call fcn.0040dec0
cmp dword [0x4a2500], 2
jne 0x40de99
mov eax, dword [0x49d3c8]
mov esi, dword [eax + 0x60]
jmp 0x40dea2
mov ecx, dword [0x49d3c8]
mov esi, dword [ecx + 0x5c]
call fcn.0040fdf0
dec ebp
jne 0x40de20
pop edi
pop ebp
pop esi
add esp, 0x2c
ret

Function at 0x40dec0
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
cmp dword [0x4a2500], 0
push esi
mov esi, eax
je 0x40ded7
mov al, byte [0x49f95e]
jmp 0x40dfce
cmp dword [0x4a0b68], 0
je 0x40deea
mov al, byte [0x4a0a35]
jmp 0x40dfce
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0xa0
xor bl, bl
call edi
mov ecx, 0x8000
test cx, ax
je 0x40df07
mov bl, 0x10
push 0xa1
call edi
mov edx, 0x8000
test dx, ax
je 0x40df1b
or bl, 0x20
push 0xa2
call edi
mov ecx, 0x8000
test cx, ax
je 0x40df2f
or bl, 1
push 0xa3
call edi
mov edx, 0x8000
test dx, ax
je 0x40df43
or bl, 2
push 0xa4
call edi
mov ecx, 0x8000
test cx, ax
je 0x40df57
or bl, 4
push 0xa5
call edi
mov edx, 0x8000
test dx, ax
je 0x40df6b
or bl, 8
push 0x5b
call edi
mov ecx, 0x8000
test cx, ax
je 0x40df7c
or bl, 0x40
push 0x5c
call edi
mov edx, 0x8000
test dx, ax
je 0x40df8d
or bl, 0x80
cmp dword [0x4a0b68], 0
je 0x40dfca
mov al, bl
not al
and al, byte [0x4a0a35]
je 0x40dfca
mov cl, byte [0x4a0a37]
not al
and byte [0x4a0a35], al
and byte [0x4a0a36], al
and cl, al
mov al, cl
mov byte [0x4a0a37], cl
mov ecx, 0x4a0a58
call fcn.00410950
pop edi
mov al, bl
pop ebx
mov byte [esp + 4], al
mov ecx, dword [esp + 4]
push 1
and al, 0xc4
push 0
or al, 4
movzx edx, al
push 0
push ecx
push edx
mov eax, 0xffc3d44f
call fcn.004101a0
mov al, byte [esi]
add esp, 0x14
cmp al, 0x30
jl 0x40e01f
cmp al, 0x39
jg 0x40e01f
push 0xffc3d44d
push 0
add al, 0x30
push 0
movzx eax, al
push 0
push eax
push 2
call fcn.0040e2a0
mov al, byte [esi + 1]
inc esi
add esp, 0x18
cmp al, 0x30
jge 0x40dff8
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 1
call fcn.0040e2a0
add esp, 0x18
pop esi
pop ecx
ret
Function at 0x40f6d0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov esi, dword [ebp]
push edi
cmp esi, 0x80000000
je 0x40f87c
mov edi, dword [esp + 0x24]
mov eax, dword [edi]
cmp eax, 0x80000000
je 0x40f87c
mov edx, dword [0x4a2500]
cmp edx, 2
jne 0x40f74d
movzx ebx, byte [esp + 0x2c]
neg ebx
sbb ebx, ebx
and ebx, 0x80000000
push 0
or ebx, 1
mov edi, eax
call fcn.0040fa50
add esp, 4
call fcn.0040fec0
cmp byte [esp + 0x2c], 0
je 0x40f87c
mov eax, dword [esp + 0x24]
mov dword [ebp], SysReAllocString
mov dword [eax], SysReAllocString
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
or dword [ecx], 0x8001
cmp byte [esp + 0x2c], 0
je 0x40f7a3
cmp edx, 1
jne 0x40f789
cmp dword [0x49f960], 0x80000000
jne 0x40f776
push 0x49f960
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [0x49f960]
add dword [ebp], ecx
mov edx, dword [0x49f964]
add dword [edi], edx
jmp 0x40f7b8
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add dword [ebp], ecx
add dword [edi], edx
jmp 0x40f7b8
mov eax, dword [0x49d3c8]
test byte [eax + 0xc8], 2
jne 0x40f7b8
mov ebx, ebp
call fcn.004652b0
cmp dword [0x4a2500], 1
jne 0x40f7d2
mov ecx, dword [ebp]
mov dword [0x49f960], ecx
mov edx, dword [edi]
mov dword [0x49f964], edx
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
push 1
mov ebx, eax
call esi
mov esi, eax
mov eax, dword [ebp]
shl eax, 0x10
cdq
idiv ebx
inc eax
mov dword [ebp], eax
mov eax, dword [edi]
shl eax, 0x10
cdq
idiv esi
lea ecx, [eax + 1]
mov eax, dword [esp + 0x28]
mov dword [edi], ecx
test eax, eax
js 0x40f865
cmp eax, 0x64
jle 0x40f815
mov dword [esp + 0x28], 0x64
jmp 0x40f819
test eax, eax
je 0x40f865
cmp dword [0x4a2500], 1
je 0x40f865
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esp + 0x28]
mov edx, dword [edi]
mov eax, dword [ebp]
push ecx
push edx
push eax
mov eax, dword [esp + 0x20]
shl eax, 0x10
cdq
idiv esi
mov esi, eax
mov eax, dword [esp + 0x1c]
shl eax, 0x10
cdq
idiv ebx
lea ecx, [eax + 1]
lea eax, [esi + 1]
call fcn.0044a4d0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov edx, dword [ebp]
push 0x8001
xor eax, eax
call fcn.0040f890
add esp, 4
call fcn.0040fec0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x40fca0
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
sub esp, 8
cmp dword [0x4a2500], 1
push ebx
jne 0x40fd67
xor bl, bl
cmp dword [0x4a0b68], 0
mov byte [esp + 8], bl
je 0x40fcc6
mov bl, 1
mov byte [esp + 8], bl
cmp dword [0x4a0b6c], 0
je 0x40fcd6
or bl, 2
mov byte [esp + 8], bl
test bl, bl
je 0x40fcf1
mov al, byte [0x49f95d]
not al
and al, bl
movzx ecx, al
push 1
push ecx
call fcn.00408230
add esp, 8
mov edx, dword [0x49f974]
mov eax, dword [0x49f970]
push 0x1c
push edx
push eax
call dword [0x4a3304]
test bl, bl
je 0x40fde5
mov cl, byte [0x49f95d]
and cl, bl
test cl, 1
je 0x40fd4e
push 1
call fcn.00410850
mov dl, byte [esp + 0x18]
mov cl, al
xor cl, dl
mov bl, cl
and bl, dl
not bl
and bl, byte [0x4a0a37]
and cl, al
or bl, cl
add esp, 4
mov byte [0x4a0a37], bl
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [0x49f7e0], eax
mov edx, dword [esp + 8]
pop ebx
add esp, 8
mov dword [esp + 8], 1
mov dword [esp + 4], edx
jmp fcn.00408230
mov eax, dword [0x4a0a30]
push 0
push eax
push 0x40e040
push 1
mov dword [0x49f968], 0
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x4a0b70], eax
test eax, eax
je 0x40fde5
mov byte [0x4a0b58], 1
push 1
push 0x8000012f
mov dword [0x49d328], 0
call fcn.00401340
add esp, 8
cmp dword [0x4a0b70], 0
mov dword [0x49d328], 1
jne 0x40fd96
mov eax, dword [0x49f974]
mov ecx, dword [0x49f970]
cmp dword [eax + ecx*8 - 8], 0
mov byte [0x4a0b58], 0
jne 0x40fde5
mov ecx, dword [eax + ecx*8 - 4]
mov edx, dword [esp + 0x10]
mov dword [edx], ecx
pop ebx
add esp, 8
ret

Function at 0x40ffb0
Capabilities:
Get graphical window text

Disassembly:
push ecx
mov eax, dword [0x4a14b4]
test eax, eax
je 0x41009d
mov ecx, dword [0x4a14b8]
imul ecx, ecx, 0x70
add eax, ecx
mov cl, byte [esp + 8]
mov byte [eax + 5], dl
mov dx, word [esp + 0xc]
mov byte [eax], cl
mov word [eax + 2], dx
push esi
mov byte [eax + 4], 0x69
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [0x4a32fc]
mov dword [0x4a14bc], eax
mov dword [esp + 4], ecx
fild dword [esp + 4]
jns 0x410003
fadd dword [0x497be0]
fdiv qword [0x497bd8]
mov edx, dword [0x4a14b8]
mov ecx, dword [0x4a14b4]
mov dword [0x4a32fc], eax
imul edx, edx, 0x70
fstp dword [esp + 4]
fld dword [esp + 4]
fstp dword [edx + ecx + 8]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x410062
mov edx, dword [0x4a14b8]
mov eax, dword [0x4a14b4]
imul edx, edx, 0x70
cmp esi, dword [0x4a14c0]
je 0x41005b
push 0x64
lea ecx, [edx + eax + 0xc]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x410079
mov byte [edx + eax + 0xc], 0
jmp 0x410079
mov ecx, dword [0x4a14b8]
mov edx, dword [0x4a14b4]
imul ecx, ecx, 0x70
mov dword [ecx + edx + 0xc], 0x412f4e
mov eax, dword [0x4a14b8]
inc eax
mov dword [0x4a14c0], esi
mov dword [0x4a14b8], eax
pop esi
cmp eax, dword [0x49d32c]
jl 0x41009d
mov dword [0x4a14b8], 0
pop ecx
ret