joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c820
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43c853
push esi
call fcn.0043f920
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43c84c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43c8d9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43c8c2
mov eax, dword [esi + 8]
test eax, eax
je 0x43c877
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43c8be
cmp eax, 2
je 0x43c8c2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43c86a
cmp eax, 3
je 0x43c89d
cmp eax, 1
jne 0x43c86a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43c86a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43c86a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043c900
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43c8e8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043c900
add esp, 4
pop esi
ret

Function at 0x45b78a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45b7c2
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00459841
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00459819
jmp 0x45b7ce
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x45ce7b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x45cebd
call fcn.0046295b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x45cebd
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45ceb4
xor eax, eax
jmp 0x45cec5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045cecb
pop edi
pop esi
pop ebx
ret 4

Function at 0x462e8b
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x462eb9
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x462ed7
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00462df1
jmp 0x462ed7
mov eax, dword [esi + 0x14]
test eax, eax
je 0x462ed7
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00462df1
test edi, edi
mov eax, edi
jne 0x462ec1
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x436b0a
Capabilities:
Encode data using xor

Disassembly:
adc byte [esi], al
ficom dword [ebx]
add dword [eax + 0x80], eax
or byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [esi], al
dec ecx
add byte [eax + eax + 0x54], cl
add byte [ebp], al
push edx
add byte [eax], al
add byte [eax + 0x23eb3c90], dl
jle 0x436b45
jmp 0x436b52
add byte [eax], al
add byte [eax], al
add byte [ecx], bl
add bl, dh
cwde
inc ecx
xor eax, 0x7e2ba2b1
jo 0x436b2d
and edi, dword [esi + 0x28]
movsb byte es:[edi], byte [esi]
and edi, dword [esi]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
pop es
adc byte [edx], al
ljmp 0x200
Function at 0x403a70
Capabilities:
Set current directory

Disassembly:
test al, al
je 0x403a84
inc dword [0x4f0d48]
add dword [0x4ec48c], 0xe8
mov edx, dword [0x4ec48c]
push esi
push edi
mov ecx, 0x3a
mov esi, 0x4ef870
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 0x403ab3
push 0
mov eax, 0x4f1cd8
call fcn.0041ca30
cmp dword [0x4f0d74], 0
mov dword [0x4f22f0], 0
mov dword [0x4f22f4], 0
je 0x403adb
push 0x4f13e0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
cmp byte [esp + 0x10], 0
jne 0x403b60
or ecx, 0xffffffff
cmp byte [esi + 0xce], 0
jne 0x403b0b
xor eax, eax
cmp word [esp + 0x14], 0x65
sete al
mov byte [esi + 0xce], al
test al, al
je 0x403b0b
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 0x24], ecx
cmp dword [0x4f22fc], 0
je 0x403b1d
cmp dword [0x4f22f8], 0
jne 0x403b26
cmp byte [esi + 0xce], 0
je 0x403b60
cmp byte [esi + 0xce], 0
mov byte [esi + 0xcc], 0
jne 0x403b60
cmp dword [0x4f22fc], 0
jge 0x403b48
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 [0x4f22fc]
mov dword [esi + 0xc0], edx
pop edi
pop esi
ret
Function at 0x404900
Capabilities:
Write clipboard data

Disassembly:
cmp dword [0x4f2354], 0
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov ebx, eax
je 0x404918
pop ebp
xor eax, eax
pop ebx
ret 4
push esi
test ebp, ebp
je 0x404965
cmp ebx, 0xffffffff
jne 0x404932
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404927
sub eax, edx
mov ebx, eax
test ebx, ebx
je 0x404965
push edi
lea edi, [ebx + 1]
mov esi, 0x4f2348
call fcn.00404980
pop edi
test eax, eax
jne 0x40494f
pop esi
pop ebp
pop ebx
ret 4
mov eax, dword [0x4f2354]
push ebx
push ebp
push eax
mov esi, eax
call fcn.004bd1c0
add esp, 0xc
mov byte [esi + ebx], 0
pop esi
pop ebp
pop ebx
mov dword [esp + 4], 1
mov ecx, 0x4f2348
jmp fcn.004049f0

Function at 0x4049f0
Capabilities:
Write clipboard data

Disassembly:
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x18], edi
jne 0x404a1c
call fcn.00404d00
test eax, eax
jne 0x404a1c
push 0x4d6ba0
call fcn.0049be50
add esp, 4
push eax
call fcn.00404b20
pop edi
pop esi
ret 4
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x404a5f
cmp dword [esi + 0x18], edi
je 0x404a47
cmp dword [esi + 8], edi
je 0x404a3c
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 0x4d6bcc
call fcn.0049be50
add esp, 4
push eax
call fcn.00404b20
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 0x404aa2
mov eax, dword [esi + 0xc]
cmp eax, edi
je 0x404aca
cmp dword [esp + 0x10], 0xd
push ebx
jne 0x404a81
cmp word [eax], di
jmp 0x404a84
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 0x404aca
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 0x404abf
cmp dword [esi + 8], edi
je 0x404ab4
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 0x404ae2
mov dword [esi + 4], edi
jmp 0x404aa2
cmp dword [esi + 0x18], edi
je 0x404aff
cmp dword [esi + 8], edi
je 0x404af4
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 0x4d6be4
call fcn.0049be50
add esp, 4
push eax
call fcn.00404b20
pop ebp
pop edi
pop esi
ret 4
Function at 0x404bf0
Capabilities:
Read clipboard data

Disassembly:
sub esp, 0x108
test esi, esi
je 0x404c00
mov dword [esi], 0
lea eax, [edi - 0xc000]
cmp eax, 0x3fff
ja 0x404cee
push 0x104
lea ecx, [esp + 4]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetClipboardFormatNameA]
push 0x4d6c00
call fcn.0049be50
push 0xb
push eax
lea edx, [esp + 0xc]
push edx
call fcn.004babb4
add esp, 0x10
test eax, eax
je 0x404ce5
lea eax, [esp]
push str.ObjectLink
push eax
call fcn.004ba135
add esp, 8
test eax, eax
je 0x404ce5
lea ecx, [esp]
push str.OwnerLink
push ecx
call fcn.004ba135
add esp, 8
test eax, eax
je 0x404ce5
lea edx, [esp]
push str.Native
push edx
call fcn.004ba135
add esp, 8
test eax, eax
je 0x404ce5
push 0x4d6c34
call fcn.0049be50
push eax
lea eax, [esp + 8]
push eax
call fcn.004ba135
add esp, 0xc
test eax, eax
je 0x404ce5
push 0x4d6c4c
call fcn.0049be50
push eax
lea ecx, [esp + 8]
push ecx
call fcn.004ba135
add esp, 0xc
test eax, eax
je 0x404cdb
push 0x4d6c68
call fcn.0049be50
push eax
lea edx, [esp + 8]
push edx
call fcn.004ba135
add esp, 0xc
test eax, eax
jne 0x404cf2
test esi, esi
je 0x404ce5
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 0x404d00
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 0x404d8a
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ebx, dword [sym.imp.USER32.dll_OpenClipboard]
mov edi, eax
mov eax, dword [0x4f0bd8]
push eax
call ebx
test eax, eax
jne 0x404d7f
mov eax, dword [0x4ec468]
cmp eax, 0xffffffff
je 0x404d4f
test eax, eax
je 0x404d96
call esi
mov ecx, dword [0x4ec468]
add ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x404d96
push 1
push 0x8000012f
mov dword [0x4ec46c], 0
call fcn.00401910
mov edx, dword [0x4f0bd8]
add esp, 8
push edx
mov dword [0x4ec46c], 1
call ebx
test eax, eax
je 0x404d30
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 0x407b90
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
cmp byte [0x4efac3], 0
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
je 0x407c3e
mov al, byte [0x4efac9]
cmp al, 0xa0
je 0x407bb6
cmp al, 0x10
jne 0x407c3e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4efac4]
cmp eax, 0x16
jae 0x407c3e
test ebp, 0x100
jne case.0x407be3.13
movzx eax, byte [esp + 0x14]
add eax, 0xfffffff4
cmp eax, 0x22
ja case.0x407be3.13
movzx eax, byte [eax + 0x407df4]
jmp dword [eax*4 + 0x407dec]
mov al, 1
jmp 0x407bf0
xor al, al
cmp byte [0x4efac8], 0
jne 0x407c04
call fcn.00407f10
test al, al
jne 0x407c0f
jmp 0x407c3e
cmp byte [esp + 0x1c], 0
je 0x407c18
test al, al
je 0x407c3e
mov byte [0x4efaca], 1
jmp 0x407c1c
test al, al
je 0x407c3e
mov cl, byte [0x4efac2]
mov dl, byte [0x4ef9cf]
mov al, byte [0x4ef9ce]
mov byte [0x4f0bd7], cl
mov byte [0x4f0c08], dl
mov byte [0x4f0c98], al
movzx ecx, byte [0x4f0bd7]
mov dl, byte [0x4f0c08]
mov al, byte [0x4f0c98]
mov byte [0x4efac2], cl
mov cl, byte [esp + 0x14]
movzx esi, cl
mov byte [0x4ef9cf], dl
mov byte [0x4ef9ce], al
mov eax, dword [0x4f1510]
lea edx, [esi + esi*4]
mov bl, byte [eax + edx*4 + 8]
test bl, bl
je case.default.0x407db4
cmp dword [edi + 0x10], 0xffc3d44f
setne al
test byte [edi + 8], 0x10
mov byte [esp + 0xf], al
je 0x407c94
xor cl, cl
jmp 0x407ca9
mov edx, dword [esp + 0x1c]
push edx
mov al, cl
call fcn.00407e50
mov cl, al
mov al, byte [esp + 0x13]
add esp, 4
cmp byte [esp + 0x1c], 0
mov byte [esp + 0x18], cl
je 0x407d80
cmp byte [esp + 0x20], 0
jne 0x407cd3
mov cl, bl
not cl
and byte [0x4f0bd5], cl
test al, al
je 0x407cd3
and byte [0x4f0bd6], cl
cmp byte [esp + 0x18], 0
je case.default.0x407db4
not bl
and byte [0x4f0bd7], bl
lea eax, [esi - 0xa0]
mov byte [esi + 0x4f0bf8], 0
cmp eax, 5
ja case.default.0x407db4
jmp dword [eax*4 + 0x407e18]
mov al, byte [0x4f0c99]
mov byte [0x4f0c08], al
jmp case.default.0x407db4
mov cl, byte [0x4f0c98]
mov byte [0x4f0c08], cl
jmp case.default.0x407db4
mov dl, byte [0x4f0c9b]
mov byte [0x4f0c09], dl
jmp case.default.0x407db4
mov al, byte [0x4f0c9a]
mov byte [0x4f0c09], al
jmp case.default.0x407db4
mov cl, byte [0x4f0c9d]
mov byte [0x4f0c0a], cl
test byte [edi + 8], 0x10
mov al, byte [esp + 0x14]
mov ecx, dword [esp + 0x1c]
pop esi
mov word [0x4efacc], bp
pop ebp
mov byte [0x4efac9], al
mov byte [0x4efac8], cl
pop ebx
je 0x407dd1
xor al, al
mov byte [0x4efac3], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4efac4], eax
pop ecx
ret
mov dl, byte [0x4f0c9c]
mov byte [0x4f0c0a], dl
jmp case.default.0x407db4
cmp byte [esp + 0x20], 0
jne 0x407d97
or byte [0x4f0bd5], bl
test al, al
je 0x407d97
or byte [0x4f0bd6], bl
test cl, cl
je case.default.0x407db4
or byte [0x4f0bd7], bl
lea eax, [esi - 0xa0]
mov cl, 0x80
mov byte [esi + 0x4f0bf8], cl
cmp eax, 5
ja case.default.0x407db4
jmp dword [eax*4 + 0x407e30]
mov byte [0x4f0c08], cl
jmp case.default.0x407db4
mov byte [0x4f0c09], cl
jmp case.default.0x407db4
push ecx
call fcn.00407e50
add esp, 4
mov byte [0x4efac3], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4efac4], eax
pop ecx
ret
Function at 0x407e50
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp al, 0xa0
je 0x407e5f
cmp al, 0x10
jne case.0x407eb6.13
cmp byte [esp + 8], 0
jne case.0x407eb6.13
cmp byte [0x4efaca], 0
je 0x407e8b
xor eax, eax
cmp byte [eax + 0x4efaac], 0
jne 0x407e8b
inc eax
cmp eax, 0x16
jl 0x407e71
mov byte [0x4efaca], 0
xor al, al
pop esi
ret
cmp byte [0x4efac8], 0
je case.0x407eb6.13
test dword [0x4efacc], 0x100
jne case.0x407eb6.13
movzx eax, byte [0x4efac9]
add eax, 0xfffffff4
cmp eax, 0x22
ja case.0x407eb6.13
movzx eax, byte [eax + 0x407ee4]
jmp dword [eax*4 + 0x407edc]
call esi
sub eax, dword [0x4efac4]
cmp eax, 0x16
jb 0x407e87
call esi
mov dword [0x4f24b8], eax
mov dword [0x4f24b4], eax
mov al, 1
pop esi
ret
Function at 0x408fa0
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 [0x4f0d08], 0
push esi
push edi
mov byte [esp + 0x1e], al
je 0x408fc4
mov byte [esp + 0x1e], 1
mov al, byte [esp + 0x1e]
cmp dword [0x4f0d0c], 0
je 0x408fd3
or al, 2
mov byte [esp + 0x1e], al
cmp byte [ebp + 8], al
je 0x4091e9
test al, al
jne 0x409016
cmp byte [ebp + 0xc], al
jne 0x409016
push 0x4efaa8
push 0
push 0
push 0x4092b0
push 0x2000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4f1500], eax
test eax, eax
je 0x4090a7
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 [0x4efaa8]
push edi
push ebx
push 0x417
push ecx
call dword [sym.imp.USER32.dll_PostThreadMessageA]
test eax, eax
jne 0x40904c
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x32
jl 0x409026
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 0x4090b3
push 1
push 0x417
push 0x417
push 0
lea edx, [esp + 0x34]
push edx
call esi
test eax, eax
je 0x40911a
cmp dword [esp + 0x2c], 0
je 0x4090c2
mov byte [esp + 0x1f], 1
call fcn.00409630
test al, al
jne 0x4090c2
cmp byte [ebp + 0xc], al
jne 0x4091ae
mov byte [ebp + 8], al
jmp 0x409061
call fcn.00409650
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0xc], 0
je 0x4090fe
call fcn.00409630
test al, al
jne 0x40911a
cmp byte [ebp + 0xc], 0
jne 0x4091a7
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x4f0d08], 0
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexA]
je 0x409152
test byte [esp + 0x1e], 1
jne 0x40916b
push str._3dOcT9dY:PULT
push 0
push 0
call esi
mov dword [0x4f14f8], eax
jmp 0x40916b
mov ecx, dword [0x4f1500]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0x20], 0x103
jne 0x409132
call edi
sub eax, ebx
cmp eax, 0x1f4
ja 0x4090c2
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x409061
mov edx, dword [0x4f1500]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov dword [0x4f1500], 0
call fcn.00409650
jmp 0x4090d2
test byte [esp + 0x1e], 1
je 0x40916b
mov eax, dword [0x4f14f8]
push eax
call edi
mov dword [0x4f14f8], 0
cmp dword [0x4f0d0c], 0
je 0x40918d
test byte [esp + 0x1e], 2
jne 0x4091a7
push str._733_2SLMD_
push 0
push 0
call esi
mov dword [0x4f14fc], eax
jmp 0x4091a7
test byte [esp + 0x1e], 2
je 0x4091a7
mov ecx, dword [0x4f14fc]
push ecx
call edi
mov dword [0x4f14fc], 0
cmp byte [esp + 0x1f], 0
je 0x4091e9
fldz
sub esp, 8
fstp qword [esp]
mov dword [0x4ec46c], 0
push 0
push 0
push 0x10000
push 0x4d8da0
call fcn.0049be50
add esp, 4
push eax
call fcn.004a77b0
add esp, 0x18
mov dword [0x4ec46c], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40abf0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x80c
cmp byte [0x4f3e78], 0
push ebx
push ebp
mov ebp, dword [esp + 0x81c]
push esi
push edi
jne 0x40ad68
cmp dword [0x4f1518], 0
jne 0x40ac22
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4f1518], eax
mov ebx, 1
add dword [0x4f3e7c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x4f3e7c]
mov esi, dword [0x4ec480]
mov ecx, eax
sub ecx, dword [0x4f1518]
mov dword [0x4f151c], eax
cmp edx, dword [0x4ec47c]
jbe 0x40ac58
cmp ecx, esi
jb 0x40acbf
xor edx, edx
cmp ecx, esi
jbe 0x40ac75
mov dword [0x4f3e7c], 0
mov dword [0x4f1518], eax
test edx, edx
jne 0x40ad68
mov esi, dword [esp + 0x820]
mov cl, byte [esi + 0xf]
push 0
mov byte [0x4f22d1], cl
mov ecx, dword [ebp]
add byte [ebp + 0x16], bl
push 0
push 0
push str.call
xor eax, eax
mov ebx, ecx
call fcn.00496190
dec byte [ebp + 0x16]
xor ebx, ebx
add esp, 0x10
cmp eax, ebx
jne 0x40ad39
mov byte [ebp + 0x1b], bl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80c
ret 8
push ecx
push edx
push str.uq___8l_0_x__7_v_3_81_1m__y8_f_95rf_0B_
call fcn.0049be50
add esp, 4
push eax
mov esi, 0x800
lea edi, [esp + 0x24]
call fcn.004a2f10
add esp, 0xc
call fcn.00409c00
fldz
sub esp, 8
fstp qword [esp]
push 0
push 0
mov eax, edi
push 4
push eax
mov byte [0x4f3e78], bl
mov dword [0x4ec46c], 0
call fcn.004a77b0
add esp, 0x18
cmp eax, 7
jne 0x40ad20
push 0
push ebx
push 0x4f1cd8
call fcn.0041cda0
mov eax, dword [0x4f151c]
mov dword [0x4ec46c], ebx
mov byte [0x4f3e78], 0
mov edx, ebx
jmp 0x40ac5e
cmp byte [ebp + 0x1b], bl
je 0x40ad68
mov byte [ebp + 0x1b], bl
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 0xc]
cmp eax, 0x3e8
ja 0x40ad68
movzx edx, word [esi + 4]
mov eax, dword [0x4f0bd8]
push ebx
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
Function at 0x40e010
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x38
cmp dword [0x4f1554], 0
push ebx
push esi
je 0x40e029
mov bl, byte [0x4efae4]
jmp 0x40e11b
cmp dword [0x4f0d08], 0
je 0x40e03d
mov bl, byte [0x4f0bd5]
jmp 0x40e11b
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0xa0
xor bl, bl
call esi
mov ecx, 0x8000
test cx, ax
je 0x40e058
mov bl, 0x10
push 0xa1
call esi
mov edx, 0x8000
test dx, ax
je 0x40e06c
or bl, 0x20
push 0xa2
call esi
mov ecx, 0x8000
test cx, ax
je 0x40e080
or bl, 1
push 0xa3
call esi
mov edx, 0x8000
test dx, ax
je 0x40e094
or bl, 2
push 0xa4
call esi
mov ecx, 0x8000
test cx, ax
je 0x40e0a8
or bl, 4
push 0xa5
call esi
mov edx, 0x8000
test dx, ax
je 0x40e0bc
or bl, 8
push 0x5b
call esi
mov ecx, 0x8000
test cx, ax
je 0x40e0cd
or bl, 0x40
push 0x5c
call esi
mov edx, 0x8000
test dx, ax
je 0x40e0de
or bl, 0x80
cmp dword [0x4f0d08], 0
je 0x40e11b
mov al, bl
not al
and al, byte [0x4f0bd5]
je 0x40e11b
mov cl, byte [0x4f0bd7]
not al
and byte [0x4f0bd5], al
and byte [0x4f0bd6], al
and cl, al
mov al, cl
mov byte [0x4f0bd7], cl
mov ecx, 0x4f0bf8
call fcn.00412300
mov eax, dword [esp + 0x44]
mov esi, 1
push esi
push 0
push 0
push ebx
push eax
mov eax, 0xffc3d44f
call fcn.00411b90
add esp, 0x14
cmp dword [0x4f1554], esi
jne 0x40e18e
mov ecx, dword [0x4ec48c]
movzx edx, byte [ecx + 0xd6]
mov eax, 0xffc3d44d
sub eax, edx
push eax
push 4
push edi
push 0
push 0
call fcn.004112b0
mov ecx, dword [0x4ec48c]
movzx edx, byte [ecx + 0xd6]
add esp, 0x14
mov eax, 0xffc3d44d
sub eax, edx
push eax
push 6
push edi
push 0
push 0
call fcn.004112b0
add esp, 0x14
pop esi
pop ebx
add esp, 0x38
ret
mov eax, dword [0x4ec48c]
xor ecx, ecx
mov word [esp + 0xc], cx
mov dword [esp + 0x14], ecx
mov dword [esp + 8], esi
mov word [esp + 0xe], di
mov dword [esp + 0x10], 4
movzx edx, byte [eax + 0xd6]
mov ecx, 0xffc3d44d
sub ecx, edx
xor edx, edx
mov dword [esp + 0x18], ecx
mov word [esp + 0x28], dx
mov dword [esp + 0x30], edx
mov dword [esp + 0x24], esi
mov word [esp + 0x2a], di
mov dword [esp + 0x2c], 6
movzx eax, byte [eax + 0xd6]
push 0x1c
lea edx, [esp + 0xc]
mov ecx, 0xffc3d44d
push edx
sub ecx, eax
push 2
mov dword [esp + 0x40], ecx
call dword [sym.imp.USER32.dll_SendInput]
pop esi
pop ebx
add esp, 0x38
ret
Function at 0x40f810
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov cl, byte [esp + 4]
sub esp, 0x34
cmp dword [0x4f1554], 2
push ebx
push ebp
push esi
sete bl
push edi
mov esi, eax
test bl, bl
je 0x40f84d
lea eax, [esp + 0x14]
test cl, cl
jns 0x40f83c
mov byte [esp + 0x14], 0x30
lea eax, [esp + 0x15]
push 0xa
push eax
movzx eax, cl
push eax
call fcn.004b9d8d
add esp, 0xc
jmp 0x40f86d
push 1
lea ecx, [esp + 0x14]
push ecx
push 1
lea edx, [esp + 0x54]
push edx
push 8
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x40f923
test esi, esi
jle 0x40f923
mov ebp, esi
cmp dword [0x4f1554], 0
jne 0x40f8da
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x4f2304]
mov ecx, dword [0x4ec48c]
cmp eax, dword [ecx + 0xb8]
jbe 0x40f8da
push 0
push 0
push 0
push 0
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x40f8d3
push 1
push 0xffffffffffffffff
mov dword [0x4ec46c], 0
call fcn.00401910
add esp, 8
mov dword [0x4ec46c], 1
call esi
mov dword [0x4f2304], eax
test bl, bl
je 0x40f8e9
lea eax, [esp + 0x14]
call fcn.0040f930
jmp 0x40f8fa
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x10]
push eax
call fcn.0040e010
add esp, 4
cmp dword [0x4f1554], 2
jne 0x40f90e
mov ecx, dword [0x4ec48c]
mov esi, dword [ecx + 0x60]
jmp 0x40f917
mov edx, dword [0x4ec48c]
mov esi, dword [edx + 0x5c]
call fcn.004117d0
dec ebp
jne 0x40f877
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
Function at 0x40f930
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
cmp dword [0x4f1554], 0
push ebx
push esi
push edi
mov esi, eax
je 0x40f94b
mov al, byte [0x4efae4]
jmp 0x40fa3e
cmp dword [0x4f0d08], 0
je 0x40f95e
mov al, byte [0x4f0bd5]
jmp 0x40fa3e
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0xa0
xor bl, bl
call edi
mov ecx, 0x8000
test cx, ax
je 0x40f979
mov bl, 0x10
push 0xa1
call edi
mov edx, 0x8000
test dx, ax
je 0x40f98d
or bl, 0x20
push 0xa2
call edi
mov ecx, 0x8000
test cx, ax
je 0x40f9a1
or bl, 1
push 0xa3
call edi
mov edx, 0x8000
test dx, ax
je 0x40f9b5
or bl, 2
push 0xa4
call edi
mov ecx, 0x8000
test cx, ax
je 0x40f9c9
or bl, 4
push 0xa5
call edi
mov edx, 0x8000
test dx, ax
je 0x40f9dd
or bl, 8
push 0x5b
call edi
mov ecx, 0x8000
test cx, ax
je 0x40f9ee
or bl, 0x40
push 0x5c
call edi
mov edx, 0x8000
test dx, ax
je 0x40f9ff
or bl, 0x80
cmp dword [0x4f0d08], 0
je 0x40fa3c
mov al, bl
not al
and al, byte [0x4f0bd5]
je 0x40fa3c
mov cl, byte [0x4f0bd7]
not al
and byte [0x4f0bd5], al
and byte [0x4f0bd6], al
and cl, al
mov al, cl
mov byte [0x4f0bd7], cl
mov ecx, 0x4f0bf8
call fcn.00412300
mov al, bl
mov byte [esp + 0x10], al
mov ecx, dword [esp + 0x10]
push 1
and al, 0xc4
push 0
or al, 4
movzx edx, al
push 0
push ecx
push edx
mov eax, 0xffc3d44f
call fcn.00411b90
mov al, byte [esi]
add esp, 0x14
cmp al, 0x30
jl 0x40fa8f
cmp al, 0x39
jg 0x40fa8f
push 0xffc3d44d
push 0
add al, 0x30
push 0
movzx eax, al
push 0
push eax
push 2
call fcn.0040fd20
mov al, byte [esi + 1]
inc esi
add esp, 0x18
cmp al, 0x30
jge 0x40fa68
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 1
call fcn.0040fd20
add esp, 0x18
pop edi
pop esi
pop ebx
add esp, 8
ret