joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401060
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor ebx, ebx
mov eax, ebx
xor esi, esi
mov ebx, esi
mov eax, ebx
mov eax, eax
mov ebx, ebx
mov esi, ebx
xor esi, eax
dec edi
sbb ebx, 0x2e
rcl eax, 0xc2
imul esi
not esi
dec eax
mov ebx, 0x19
sbb ebx, 0xd3
bswap esi
imul edi
bswap esi
neg edi
neg edi
rcr edi, 0xfb
rcl esi, 0x30
neg edx
mov esi, 0x17
inc esi
inc eax
rol esi, 0x32
rcr edx, 0x6f
neg esi
mov edx, 0xd2
and esi, 0x2f
add esi, 0x77
sbb edi, 0x81
ror edx, 0xed
sub eax, 0xae
rcl edi, 0xd1
bswap ebx
rcl edx, 0xf6
sbb edx, 0x4e
ror edx, 0x1b
imul eax
not eax
rol edx, 0xa8
imul esi
not eax
rol ebx, 0x36
mov esi, 0x5e
neg eax
or edi, 0xc7
not esi
bswap esi
bswap ebx
sbb edx, 0x54
sbb edi, 0x9b
and esi, 0x25
bswap eax
or esi, 0x15
xor ecx, ecx
xor edi, edi
mov esi, esi
xor eax, eax
xor eax, eax
mov ebx, esi
mov ebx, ebx
mov esi, esi
rcr edi, 0xe0
imul eax
sub eax, 0x20
bswap ebx
ror ebx, 0xc1
and esi, 0x3b
ror esi, 0xc3
bswap ebx
inc esi
not edx
imul edi
add eax, 5
dec eax
ror esi, 0xa
inc edx
dec esi
inc esi
imul eax
sbb ebx, 0x25
neg edi
bswap edi
inc edx
neg edx
sbb esi, 0xbb
dec edx
neg ebx
imul esi
dec eax
rcl edx, 0x1e
rcr edx, 0xe9
dec eax
not ebx
mov edx, 0x2b
imul esi
and edx, 0x70
rcl edi, 0x17
dec edi
inc eax
and edx, 0xa2
or ebx, 0xf1
dec edi
or edx, 0xea
or ebx, 0x1a
rol esi, 0x28
sbb edx, 0x79
imul edi
neg edi
inc edi
mov esi, 0x35
inc eax
xor esi, ebx
xor eax, eax
mov esi, esi
mov ebx, esi
mov eax, esi
mov ebx, esi
mov eax, ebx
xor esi, eax
xor esi, ebx
mov ecx, dword [ebp + 0xc]
dec eax
add edx, 0x37
bswap eax
or esi, 0x7f
imul edi
neg esi
rol esi, 0x4f
and edi, 0x83
rcl edi, 0x56
ror eax, 0xa5
bswap eax
dec eax
rcl ebx, 0x5f
inc ebx
or edx, 0x81
imul eax
imul edx
sub edi, 0x3d
neg eax
neg ebx
not ebx
rcl eax, 0x9b
rcl esi, 0x98
inc ebx
rol edi, 0xf3
not edx
inc eax
imul ebx
sub eax, 9
rcr esi, 0xcb
imul edx
imul edx
neg ebx
sbb edi, 0x4e
rcr ebx, 8
dec esi
neg edx
rcr eax, 0x2b
rol edi, 0xc3
ror edx, 0xad
and ebx, 0x22
imul ebx
neg eax
rcl ebx, 0x34
not edx
imul ebx
neg edx
ror eax, 0x7f
dec edx
or eax, 0x85
mov edi, dword [ebp + 8]
xor ebx, eax
xor eax, esi
mov eax, eax
mov ebx, esi
mov eax, ebx
xor ebx, ebx
mov esi, esi
xor eax, esi
mov esi, ebx
not byte [edi]
mov ebx, eax
xor ebx, eax
mov esi, eax
mov ebx, ebx
xor esi, eax
xor ebx, ebx
mov eax, ebx
mov esi, eax
xor ebx, ebx
mov ebx, esi
xor esi, eax
mov eax, eax
add byte [edi], 0xff
sub byte [edi], 0x4a
mov ebx, esi
mov ebx, ebx
mov esi, esi
xor esi, ebx
mov esi, esi
xor esi, esi
mov esi, ebx
mov esi, esi
mov eax, esi
imul byte [edi]
inc edi
loop 0x401234
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x404190
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4041cf
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4041cf
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4041cf
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4041cf
cmp dword [ecx + 0x74], 0xe
jbe 0x4041cf
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x409d23
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x409dc0
push ebx
push esi
call fcn.00409cec
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00409c80
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x409d6d
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x409dbf
push edi
push eax
call fcn.0040a940
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x409d8d
call fcn.004087e1
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x409dbe
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00409c80
add esp, 0x20
test eax, eax
jne 0x409dac
push edi
call fcn.004087e1
jmp 0x409db4
push ebx
call fcn.004087e1
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x40b0bd
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41b040
push 0x41b038
push str.FlsAlloc
push 0x1f
call fcn.0040af7c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b0f1
push dword [ebp + 8]
mov ecx, esi
call dword [0x413154]
call esi
jmp 0x40b0f7
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40b13b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41b050
push 0x41b048
push str.FlsGetValue
push 0x21
call fcn.0040af7c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b172
push dword [ebp + 8]
mov ecx, esi
call dword [0x413154]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40b17a
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41b058
push 0x41b050
push str.FlsSetValue
push 0x22
call fcn.0040af7c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b1b4
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x413154]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x410610
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41063d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41063d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x403304
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x460020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40339c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40337c
xor eax, eax
push ebp
push 0x403375
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 0x4033b8
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 0x40337c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x460020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x460020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404098
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x462048], 0
je 0x4040f9
cmp word [0x46221c], 0xd7b2
jne 0x4040c1
cmp dword [0x462224], 0
jbe 0x4040c1
mov eax, 0x462218
call dword [0x462234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46006c
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 0x404120
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x460030], 0
jne 0x404115
push 0
push 0x460064
push 0x46006c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405e70
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 0x405ed6
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.0040448c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402ec8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405ec0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405edd
lea eax, [ebp - 0x10]
call fcn.0040421c
ret

Function at 0x40afdc
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 0x40b015
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040430c
jmp 0x40b01e
mov eax, ebx
mov edx, esi
call fcn.00404270
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b028
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 0x40b049
mov al, byte [esp]
jmp 0x40b04b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b6e0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b548
mov eax, dword [0x46123c]
cmp byte [eax], 0
je 0x40b75c
mov eax, dword [0x461018]
call fcn.00402d34
call fcn.00402bb4
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.004087cc
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 0x40b7a4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b792
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x460fc4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x462664]
call fcn.004052dc
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 0x40c000
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 0x40c0d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004042b4
lea eax, [ebp - 8]
call fcn.0040472c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004046dc
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c0c0
mov eax, ebx
call fcn.00402a28
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c0b9
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.004046dc
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c0a3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c0e8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c0a3
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 0x40c0c0
mov eax, dword [ebp - 0x10]
call fcn.00402a58
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c0dd
lea eax, [ebp - 8]
call fcn.0040421c
ret

Function at 0x40c63c
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 0x40c6a0
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.0040448c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408300
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c6a7
lea eax, [ebp - 0xc]
call fcn.0040421c
ret

Function at 0x41a944
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x462884
cmp dword [edi], 0
jne 0x41a9c0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x462880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4603ec
mov ecx, 2
call fcn.00402c48
mov edx, 0x41a91c
lea eax, [esi + 5]
call fcn.0041a93c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a93c
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41a995
mov dword [0x462880], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41bfe4
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 0x41bfea
ret
Function at 0x41e4b0
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 0x41e501
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41e4e8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41e4d8
jmp 0x41e501
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 0x41e4e9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x428e60
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 0x428f02
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x428ed5
mov edx, ebx
mov eax, dword [0x41ba08]
call fcn.0041fd38
test al, al
je 0x428ec5
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.0041fc48
call fcn.00403cdc
jmp 0x428f09
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x428e90
mov ecx, dword [0x460fac]
mov dl, 1
mov eax, dword [0x4071d4]
call fcn.0040b864
call fcn.00403c30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428f09
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 0x428f10
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 0x428f68
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 0x428f6f
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x428f78
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 0x428fcd
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 0x428fd4
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x429044
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 0x4290b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00428d9c
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.0041fd0c
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 0x4290a3
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 0x4290c0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4290c8
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 0x42913d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00428d9c
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 0x429127
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 0x429144
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x42d0b8
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 0x42d004
call sub.user32.dll_EnumWindows
ret

Function at 0x42d1d8
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 0x42d255
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042cc38
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 0x42d1fd
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042c838
cmp dword [ebp - 4], 0
je 0x42d23f
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004046dc
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 0x42d25c
lea eax, [ebp - 4]
call fcn.0040421c
ret
Function at 0x430214
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 [0x462b54], 0
je 0x430363
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4611cc]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x430363
mov eax, dword [0x462b58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x462b54]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x430332
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x462b54]
call fcn.00413efc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43032a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x43032a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43032a
mov eax, dword [ebp - 0x14]
call fcn.00438e94
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43032a
push ebp
call fcn.004301d0
pop ecx
test al, al
jne 0x43032a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x4302e6
mov eax, dword [ebp - 0x14]
call fcn.004379c4
dec eax
jle 0x43032a
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.00403698
cmp byte [ebp - 1], 0
je 0x43032a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43032a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x462b58]
call fcn.0042f99c
inc edi
dec ebx
jne 0x430279
mov eax, dword [0x462b58]
cmp dword [eax + 8], 0
jle 0x43034a
mov eax, dword [0x462b58]
call fcn.0042fa2c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x430363
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00430038
pop ecx
test al, al
jne 0x430363
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 0x433958
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 0x4339a4
mov eax, esi
call fcn.004492c8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4339a4
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x4339a4
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 0x433ae3
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x4339e4
cmp eax, 0x108
ja 0x4339e4
mov eax, esi
call fcn.004492c8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x433ada
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x433ae3
jmp 0x433ada
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x433ac3
cmp eax, 0x20a
ja 0x433ac3
test byte [esi + 0x50], 0x80
jne 0x433a16
sub eax, 0x203
je 0x433a13
sub eax, 3
je 0x433a13
sub eax, 3
jne 0x433a16
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x433a2a
dec eax
je 0x433a3f
dec eax
je 0x433a5c
dec eax
je 0x433a3f
jmp 0x433a63
mov ecx, ebx
mov eax, dword [0x4611cc]
mov eax, dword [eax]
mov edx, esi
call fcn.00452b90
jmp 0x433ada
cmp byte [esi + 0x5d], 1
jne 0x433a55
mov eax, esi
mov si, 0xffed
call fcn.00403698
jmp 0x433ae3
or word [esi + 0x54], 1
jmp 0x433ada
and word [esi + 0x54], 0xfffe
jmp 0x433ada
mov eax, dword [0x462b10]
cmp byte [eax + 0x20], 0
je 0x433ada
mov eax, dword [0x462b10]
cmp dword [eax + 0x1c], 0
je 0x433ada
mov eax, dword [ebx]
mov edx, dword [0x462b10]
cmp eax, dword [edx + 0x1c]
jne 0x433ada
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.0044920c
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.00403698
jmp 0x433ae3
cmp eax, 0xb00b
jne 0x433ada
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00432278
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