joyce8/EMBER2024-capa huggingface dataset:
Function at 0x102726e
Capabilities:
Read file via mapping

Disassembly:
push 0x68
mov eax, 0x102d6fc
call fcn.01024458
mov esi, ecx
lea eax, [ebp - 0x1c]
xor ebx, ebx
push eax
mov dword [ebp - 0x14], ebx
call fcn.0102700e
push dword [eax]
push ebx
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], eax
call sub.MFC42u.dll_CString::CString
cmp dword [ebp - 0x10], ebx
je 0x102741c
push 4
push ebx
push ebx
push 6
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
mov dword [ebp - 0x18], edi
cmp edi, ebx
je 0x1027413
push 1
add esi, 8
push esi
lea ecx, [ebp - 0x34]
call sub.MFC42u.dll_CSingleLock::CSingleLock
mov esi, dword [edi]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], esi
cmp esi, ebx
je 0x10273fe
lea ecx, [ebp - 0x74]
call fcn.01023484
push esi
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 1
call sub.MFC42u.dll_CWnd::Attach
push dword [ebp - 0x54]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x1027312
push 9
lea ecx, [ebp - 0x74]
call sub.MFC42u.dll_CWnd::ShowWindow
push dword [ebp - 0x54]
call dword [sym.imp.USER32.dll_GetLastActivePopup]
push eax
call sub.MFC42u.dll_CWnd::FromHandle
cmp eax, ebx
je 0x102732e
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x10273eb
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x28], ecx
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x1027342
sub eax, edx
sar eax, 1
lea esi, [eax + 1]
lea eax, [esi + esi]
mov dword [ebp - 0x24], eax
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.01023eb1
mov edi, eax
pop ecx
cmp edi, ebx
jne 0x10273a3
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], bl
call sub.MFC42u.dll_CWnd::CWnd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call sub.MFC42u.dll_CSingleLock::Unlock
xor eax, eax
jmp 0x102741f
push dword [ebp + 8]
push esi
push edi
call sub.msvcrt.dll_wcscpy_s
add esp, 0xc
mov dword [ebp - 0x20], edi
call fcn.0100e898
xor ecx, ecx
cmp eax, ebx
je 0x10273c1
mov ecx, dword [eax + 0x20]
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x28]
push 2
push eax
push ecx
push 0x4a
push dword [ebp - 0x14]
mov dword [ebp + 0xc], ebx
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
jne 0x10273e4
mov dword [ebp - 0x14], ebx
push edi
call fcn.01023ea0
pop ecx
lea ecx, [ebp - 0x74]
call sub.MFC42u.dll_CWnd::Detach
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], bl
call sub.MFC42u.dll_CWnd::CWnd
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call sub.MFC42u.dll_CSingleLock::Unlock
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
call fcn.01024506
ret 0xc
Function at 0x402ed0
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404ab8
test esi, esi
jne 0x402f07
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00404ba8
jmp 0x402f28
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402d6c
mov dword [esp], eax
test esi, esi
je 0x402f28
cmp dword [ebx], 0
je 0x402f28
dec esi
jmp 0x402f0f
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403af8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x47f020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403b90
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403b70
xor eax, eax
push ebp
push 0x403b69
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403bac
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403b70
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x47f020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x47f020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404914
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x482044], 0
je 0x404975
cmp word [0x482218], 0xd7b2
jne 0x40493d
cmp dword [0x482220], 0
jbe 0x40493d
mov eax, 0x482214
call dword [0x482230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x47f090
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40499c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x47f030], 0
jne 0x404991
push 0
push 0x47f088
push 0x47f090
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4066dc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x406742
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404d28
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004036bc
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40672c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406749
lea eax, [ebp - 0x10]
call fcn.00404ab8
ret

Function at 0x40bcd4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40bd0d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404ba8
jmp 0x40bd16
mov eax, ebx
mov edx, esi
call fcn.00404b0c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40bd20
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40bd41
mov al, byte [esp]
jmp 0x40bd43
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c3d8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c240
mov eax, dword [0x481070]
cmp byte [eax], 0
je 0x40c454
mov eax, dword [0x480e40]
call fcn.004032ac
call fcn.00402c04
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00409288
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40c49c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c48a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x480dd8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x482660]
call fcn.00405b48
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40ccf8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40cdce
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404b50
lea eax, [ebp - 8]
call fcn.00404fc8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404f78
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40cdb8
mov eax, ebx
call fcn.00402a78
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40cdb1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404f78
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40cd9b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cde0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40cd9b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cdb8
mov eax, dword [ebp - 0x10]
call fcn.00402aa8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cdd5
lea eax, [ebp - 8]
call fcn.00404ab8
ret

Function at 0x40d400
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40d464
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404d28
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408cbc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d46b
lea eax, [ebp - 0xc]
call fcn.00404ab8
ret
Function at 0x41bc20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
lea ebx, [ebp - 0xc]
mov esi, 0x482884
cmp dword [esi], 0
jne 0x41bcc6
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x482880]
mov dword [eax], edx
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x47f4a4
mov ecx, 2
call fcn.00402d2c
mov edx, 0x41bbf8
mov eax, dword [ebp - 8]
add eax, 5
call fcn.0041bc18
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebx], eax
mov eax, dword [ebx]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebx]
call fcn.0041bc18
mov edx, dword [ebx]
mov dword [edx + 1], eax
mov eax, dword [ebx]
mov edx, dword [esi]
mov dword [eax + 5], edx
mov eax, dword [ebx]
mov dword [esi], eax
add dword [ebx], 0xd
mov eax, dword [ebx]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x41bc8d
mov eax, dword [ebp - 8]
mov dword [0x482880], eax
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 5]
mov dword [esi], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41d194
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41d19a
ret

Function at 0x41f8dc
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x41f92d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41f914
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41f904
jmp 0x41f92d
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x41f915
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429d58
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x429dca
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x429d9e
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00404cb0
jmp 0x429da5
mov eax, ebx
call fcn.00404ab8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429dd1
cmp dword [ebp - 8], 0
je 0x429dc1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x429dd8
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x429e7a
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x429e4d
mov edx, ebx
mov eax, dword [0x41cc58]
call fcn.00420dbc
test al, al
je 0x429e3d
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.00420ccc
call fcn.004044d0
jmp 0x429e81
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x429e08
mov ecx, dword [0x480dc4]
mov dl, 1
mov eax, dword [0x407bb8]
call fcn.0040c55c
call fcn.00404424
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429e81
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x429e88
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x429ee0
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429ee7
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x429ef0
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x429f45
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429f4c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x429fbc
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x42a031
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00429c94
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.00420d90
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x42a01b
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a038
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x42a040
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x42a0b5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00429c94
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x42a09f
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a0bc
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x42ef94
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404f78
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x42efec
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4811b8]
mov dl, 1
mov eax, dword [0x42eb10]
call fcn.0040c598
call fcn.00404424
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0042ec18
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x43b380
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x43b2cc
call sub.user32.dll_EnumWindows
ret

Function at 0x43b4a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x43b51d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0043af00
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x43b4c5
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0043ab00
cmp dword [ebp - 4], 0
je 0x43b507
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404f78
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b524
lea eax, [ebp - 4]
call fcn.00404ab8
ret
Function at 0x43eb60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x482b54], 0
je 0x43ecaf
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x481000]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x43ecaf
mov eax, dword [0x482b58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x482b54]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43ec7e
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x482b54]
call fcn.00414f60
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43ec76
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x43ec76
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43ec76
mov eax, dword [ebp - 0x14]
call fcn.004477f8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43ec76
push ebp
call fcn.0043eb1c
pop ecx
test al, al
jne 0x43ec76
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x43ec32
mov eax, dword [ebp - 0x14]
call fcn.00446328
dec eax
jle 0x43ec76
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403e8c
cmp byte [ebp - 1], 0
je 0x43ec76
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43ec76
mov edx, dword [ebp - 0x14]
mov eax, dword [0x482b58]
call fcn.0043e2e8
inc edi
dec ebx
jne 0x43ebc5
mov eax, dword [0x482b58]
cmp dword [eax + 8], 0
jle 0x43ec96
mov eax, dword [0x482b58]
call fcn.0043e378
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43ecaf
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0043e984
pop ecx
test al, al
jne 0x43ecaf
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x442290
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 0x4422dc
mov eax, esi
call fcn.00458038
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4422dc
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x4422dc
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 0x44241b
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x44231c
cmp eax, 0x108
ja 0x44231c
mov eax, esi
call fcn.00458038
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x442412
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x44241b
jmp 0x442412
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x4423fb
cmp eax, 0x20a
ja 0x4423fb
test byte [esi + 0x50], 0x80
jne 0x44234e
sub eax, 0x203
je 0x44234b
sub eax, 3
je 0x44234b
sub eax, 3
jne 0x44234e
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x442362
dec eax
je 0x442377
dec eax
je 0x442394
dec eax
je 0x442377
jmp 0x44239b
mov ecx, ebx
mov eax, dword [0x481000]
mov eax, dword [eax]
mov edx, esi
call fcn.00461824
jmp 0x442412
cmp byte [esi + 0x5d], 1
jne 0x44238d
mov eax, esi
mov si, 0xffed
call fcn.00403e8c
jmp 0x44241b
or word [esi + 0x54], 1
jmp 0x442412
and word [esi + 0x54], 0xfffe
jmp 0x442412
mov eax, dword [0x482b10]
cmp byte [eax + 0x20], 0
je 0x442412
mov eax, dword [0x482b10]
cmp dword [eax + 0x1c], 0
je 0x442412
mov eax, dword [ebx]
mov edx, dword [0x482b10]
cmp eax, dword [edx + 0x1c]
jne 0x442412
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.00457f7c
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.00403e8c
jmp 0x44241b
cmp eax, 0xb00b
jne 0x442412
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00440bb0
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