joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bf62
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbfc
push esi
push edi
push 0x20
push dword [ebp + 0xc]
call fcn.0041f870
mov edi, eax
pop ecx
test edi, edi
pop ecx
je 0x40c076
lea eax, [ebp - 4]
inc edi
push eax
lea eax, [ebp - 0xbfc]
push eax
push edi
mov dword [ebp - 4], 0xbb8
call fcn.00417e6c
add esp, 0xc
test eax, eax
jne 0x40c076
mov eax, dword [ebp - 4]
push 0x10
pop esi
cmp eax, esi
jle 0x40c076
lea eax, [ebp + eax - 0xc0c]
push esi
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004072e0
add esp, 0xc
xor eax, eax
mov cl, byte [ebp + eax - 0xc]
xor byte [ebp + eax - 0x14], cl
inc eax
cmp eax, 8
jl 0x40bfcc
and byte [edi], 0
lea eax, [ebp - 0x44]
push esi
push eax
push dword [ebp + 0xc]
call fcn.00402af0
pop ecx
push eax
push dword [ebp + 0xc]
call fcn.00417680
add esp, 0x10
test eax, eax
jne 0x40c076
lea eax, [ebp - 0x24]
push esi
push eax
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.00418048
add esp, 0x10
test eax, eax
jne 0x40c076
mov ecx, dword [ebp - 4]
push ebx
mov eax, ecx
mov ebx, esi
cdq
idiv ebx
add ecx, 0xfffffff0
imul eax, eax, 0x16
inc eax
push eax
lea eax, [ebp - 0x24]
push edi
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xbfc]
push ecx
push eax
call fcn.00418455
mov edi, eax
lea eax, [ebp - 0x24]
push esi
push eax
call fcn.00417d3a
add esp, 0x20
test edi, edi
pop ebx
jne 0x40c076
lea eax, [ebp - 0x34]
push esi
push eax
push dword [ebp + 0xc]
call fcn.004182d0
add esp, 0xc
test eax, eax
jne 0x40c076
mov cl, byte [ebp + eax - 0x14]
cmp cl, byte [ebp + eax - 0x34]
jne 0x40c076
inc eax
cmp eax, 8
jl 0x40c062
xor eax, eax
jmp 0x40c079
push 0x14
pop eax
pop edi
pop esi
leave
ret

Function at 0x411a5d
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push esi
mov esi, 0x100
push esi
lea eax, [ebp - 0x100]
push 0
push eax
call fcn.00402a00
add esp, 0xc
lea eax, [ebp - 0x100]
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea eax, [ebp - 0x100]
test eax, eax
je 0x411aef
cmp byte [ebp - 0x100], 0
je 0x411aef
lea eax, [ebp - 0x100]
push eax
call fcn.00402af0
inc eax
push eax
call fcn.00402a58
pop ecx
mov esi, eax
pop ecx
call fcn.0041e2ea
cmp eax, 1
lea eax, [ebp - 0x100]
push eax
jne 0x411ae3
call fcn.00402af0
inc eax
push eax
lea eax, [ebp - 0x100]
push esi
push eax
call fcn.00411a11
add esp, 0x10
jmp 0x411aeb
push esi
call fcn.00402c20
pop ecx
pop ecx
mov eax, esi
jmp 0x411af1
xor eax, eax
pop esi
leave
ret
Function at 0x416bfa
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x417ede
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x417fbb
cmp dword [ebp + 0xc], 0x10
jl 0x417fbb
push 0x68
call fcn.00402a58
mov esi, eax
pop ecx
cmp esi, edi
je 0x417fbb
push edi
call fcn.0041f59b
mov dword [esi], eax
pop ecx
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0xc]
mov dword [esi + 8], eax
mov eax, dword [ebp - 8]
mov dword [esi + 4], eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx eax, word [ebp - 0x1c]
mov dword [esi + 0xc], eax
push 0xf0000000
movzx eax, word [ebp - 0x1a]
mov dword [esi + 0x10], eax
push 1
movzx eax, word [ebp - 0x16]
mov dword [esi + 0x14], eax
push edi
movzx eax, word [ebp - 0x14]
mov dword [esi + 0x18], eax
push edi
movzx eax, word [ebp - 0x12]
mov dword [esi + 0x1c], eax
movzx eax, word [ebp - 0x10]
mov dword [esi + 0x20], eax
movzx eax, word [ebp - 0xe]
mov dword [esi + 0x24], eax
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
cmp eax, 1
jne 0x417f98
lea eax, [esi + 0x28]
push eax
push 0x40
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x68
push esi
call fcn.00417680
push esi
mov edi, eax
call fcn.004023e4
mov eax, edi
add esp, 0x14
neg eax
sbb eax, eax
and al, 0xfe
jmp 0x417fbe
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
leave
ret

Function at 0x418455
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
je 0x418523
mov edi, dword [ebp + 0x18]
cmp edi, ebx
je 0x418523
mov esi, dword [ebp + 0xc]
push 0x10
mov eax, esi
pop ecx
cdq
idiv ecx
test edx, edx
jne 0x418523
cmp dword [ebp + 0x1c], esi
jl 0x418523
push 0x80
lea eax, [ebp - 0x214]
push dword [ebp + 0x14]
push eax
call fcn.00414617
push 0x10
lea eax, [ebp - 0x10]
push dword [ebp + 0x10]
push eax
call fcn.004072e0
add esp, 0x18
cmp esi, ebx
jle 0x418518
mov eax, dword [ebp + 8]
add esi, 0xf
shr esi, 4
sub eax, edi
mov ebx, esi
mov dword [ebp + 8], eax
shl ebx, 4
jmp 0x4184d4
mov eax, dword [ebp + 8]
add eax, edi
push 0x10
push eax
push edi
call fcn.004072e0
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004157e0
add esp, 0x14
xor eax, eax
mov cl, byte [ebp + eax - 0x10]
xor byte [edi + eax], cl
inc eax
cmp eax, 0x10
jl 0x4184f1
mov eax, dword [ebp + 8]
push 0x10
add eax, edi
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004072e0
add esp, 0xc
add edi, 0x10
dec esi
jne 0x4184d1
mov eax, dword [ebp + 0x18]
and byte [ebx + eax], 0
xor eax, eax
jmp 0x418526
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403430
Capabilities:
Query or enumerate registry value

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

Function at 0x4041d4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4bd04c], 0
je 0x404235
cmp word [0x4bd220], 0xd7b2
jne 0x4041fd
cmp dword [0x4bd228], 0
jbe 0x4041fd
mov eax, 0x4bd21c
call dword [0x4bd238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4b606c
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 0x40425c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4b6030], 0
jne 0x404251
push 0
push 0x4b6064
push 0x4b606c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4043b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402adc
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4bd04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404378
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406458
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 0x4064be
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.0040467c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402fc4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4064a8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4064c5
lea eax, [ebp - 0x10]
call fcn.004043fc
ret

Function at 0x40c664
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 0x40c69d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004044ec
jmp 0x40c6a6
mov eax, ebx
mov edx, esi
call fcn.00404450
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40cd68
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40cbd0
mov eax, dword [0x4bcb04]
cmp byte [eax], 0
je 0x40cde4
mov eax, dword [0x4bc70c]
call fcn.00402df4
call fcn.00402c68
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.004095dc
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 0x40ce2c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40ce1a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4bc66c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4bd668]
call fcn.00405858
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 0x40d700
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 0x40d7d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404494
lea eax, [ebp - 8]
call fcn.0040491c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004048cc
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d7c0
mov eax, ebx
call fcn.00402adc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d7b9
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.004048cc
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d7a3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d7e8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d7a3
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 0x40d7c0
mov eax, dword [ebp - 0x10]
call fcn.00402b0c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d7dd
lea eax, [ebp - 8]
call fcn.004043fc
ret

Function at 0x40ddb0
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 0x40de14
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.0040467c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409044
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40de1b
lea eax, [ebp - 0xc]
call fcn.004043fc
ret

Function at 0x41fde8
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041fc40
dec esi
jne 0x41fe0a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x420f4c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4bd88c
cmp dword [edi], 0
jne 0x420fc8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4bd888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4b63fc
mov ecx, 2
call fcn.00402cfc
mov edx, 0x420f24
lea eax, [esi + 5]
call fcn.00420f44
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00420f44
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 0x420f9d
mov dword [0x4bd888], 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 0x422564
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 0x42256a
ret

Function at 0x424ba0
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 0x424bf1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x424bd8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x424bc8
jmp 0x424bf1
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 0x424bd9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42fcdc
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 0x42fd4e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x42fd22
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00404604
jmp 0x42fd29
mov eax, ebx
call fcn.004043fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42fd55
cmp dword [ebp - 8], 0
je 0x42fd45
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 0x42fd5c
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 0x42fdfe
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x42fdd1
mov edx, ebx
mov eax, dword [0x421f88]
call fcn.004263c0
test al, al
je 0x42fdc1
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.004262d0
call fcn.00403e18
jmp 0x42fe05
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x42fd8c
mov ecx, dword [0x4bc650]
mov dl, 1
mov eax, dword [0x407930]
call fcn.0040cf1c
call fcn.00403d6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42fe05
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 0x42fe0c
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 0x42fe64
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 0x42fe6b
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x42fe74
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 0x42fec9
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 0x42fed0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x42ff40
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 0x42ffb5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042fc18
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.00426394
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 0x42ff9f
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 0x42ffbc
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x42ffc4
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 0x430039
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042fc18
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 0x430023
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 0x430040
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x43084c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.004304b0
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.004048cc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x4308aa
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4bc948]
mov dl, 1
mov eax, dword [0x4303a8]
call fcn.0040cf58
call fcn.00403d6c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4308b4
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.004048cc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x43090c
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4bcd30]
mov dl, 1
mov eax, dword [0x4303a8]
call fcn.0040cf58
call fcn.00403d6c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004304e0
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 0x43f9ac
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 0x43f8f8
call sub.user32.dll_EnumWindows
ret

Function at 0x43facc
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 0x43fb49
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0043f52c
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 0x43faf1
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0043f12c
cmp dword [ebp - 4], 0
je 0x43fb33
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004048cc
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 0x43fb50
lea eax, [ebp - 4]
call fcn.004043fc
ret
Function at 0x442e4c
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 [0x4bdb64], 0
je 0x442f9b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4bca40]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x442f9b
mov eax, dword [0x4bdb68]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4bdb64]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x442f6a
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4bdb64]
call fcn.0041907c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x442f62
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x442f62
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x442f62
mov eax, dword [ebp - 0x14]
call fcn.0044bc30
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x442f62
push ebp
call fcn.00442e08
pop ecx
test al, al
jne 0x442f62
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x442f1e
mov eax, dword [ebp - 0x14]
call fcn.0044a728
dec eax
jle 0x442f62
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.004037d4
cmp byte [ebp - 1], 0
je 0x442f62
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x442f62
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4bdb68]
call fcn.004425d4
inc edi
dec ebx
jne 0x442eb1
mov eax, dword [0x4bdb68]
cmp dword [eax + 8], 0
jle 0x442f82
mov eax, dword [0x4bdb68]
call fcn.00442664
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x442f9b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00442c70
pop ecx
test al, al
jne 0x442f9b
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