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

Disassembly:
rol al, 5
cmp dx, 0xdbe3
clc
stc
neg al
bt dx, bx
not al
jmp 0x15c4397
pushal
bt bp, si
cmp bh, dh
pushfd
sub eax, eax
sub esp, 0xffffffdc
cmp cl, bh
cmc
clc
or ebx, ebx
jns 0x15db286
push 0x91406532
mov dword [esp], 0x476ef377
pushfd
lea esp, [esp + 8]
je 0x15dc5f7
lea esi, [edi + 0x3903f708]
mov esi, eax
not ax
push ebx
call fcn.015d6932
cmc
jmp 0x15b8db4
jmp 0x15e3330
push ebp
shr eax, 1
pushal
jmp 0x15c435a
mov dword [esp + 8], edx
lea esp, [esp + 0x24]
je 0x15d9a26
pushfd
pushfd
adc ecx, ecx
pushal
pushfd
mov byte [esp + 0x10], 0xb8
pushfd
lea esp, [esp + 0x30]
jmp fcn.026782e6
jmp 0x15b9d96
push dword [esp]
pushal
xor al, 0xaa
lea esp, [esp + 0x34]
jne 0x15b9d91
pushal
dec al
push 0xd1b39c4
stc
push 0x8564cdc6
test cl, 0x5e
neg al
bt edx, 0xc
ror al, 4
mov byte [esp + 4], 0xf1
lea esp, [esp + 0x28]
jle 0x15dd1bb
inc eax
add byte [eax], al
pushal
dec al
mov byte [esp], ah
and al, 0x24
mov dword [esp], 0x13362087
rol al, 5
mov word [esp + 4], bx
mov dword [esp + 4], 0xefc4df62
cmp ebp, ebp
neg al
clc
not al
cmp di, 0x806b
push dword [esp]
cmp dl, 0xcc
shr eax, 1
call fcn.02678b9b
in al, 0xdd
loopne 0x15d9141
call 0xb57e62e
add esp, esp
fucom st(0)
div byte [edi]
xor al, 0xe7
jo 0x15d90f1
xchg esp, eax
jne 0x15d9115
inc esi
and byte [edi - 0x57], 0xa5
imul esp, dword [ebp + edx*4 - 0x566fba7f], 0x95a66da7
sub dh, dh
scasb al, byte es:[edi]
push 0x8db2644f
adc dword [edx + 0x78], esp
mov al, byte [0x2af533cc]
adc eax, 0x3dfde5d2
cmp eax, 0xbd2cf5
jle 0x15d916c
js 0x15d910e
int3
cmp byte [edx - 0x63], 7
test byte [eax], dl
push ebp
out dx, eax
and esp, edx
lea esi, [ebp - 0x64]
cdq
test eax, 0xe14c60c1
inc ebx
lcall 0x77d6, 0x616da1c2
push ebp
dec edi
add cl, ah
mov dl, 0x11
inc ebx
add byte [edi + 0x22c38ddc], cl
cmpsb byte [esi], byte es:[edi]
cdq
jne 0x15d9185
push esi
xchg ebx, eax
mov dh, 0x70
cmp ch, ah
mov ah, 0x2d
jl 0x15d91ad
invalid
push esp
lea esp, [esp + 4]
je 0x15dc5f7
pushal
movsx si, bl
movsx si, dl
mov esi, eax
pushal
pop eax
cwde
mov dword [esp + 0x38], ebx
bswap ax
pushfd
movzx eax, al
push 0x938fb8ad
lea eax, sym.imp.KERNEL32.dll_LocalFree
push 0x66cc0465
mov dword [esp + 0x40], 0x15e1e92
call fcn.015be246
cli
sub al, ah
cmp al, 0xfb
int3
push ebx
mov edi, dword [esp + 4]
mov esi, 0xa84a2ed6
setns bh
setnp bl
mov esi, dword [esp + 8]
push dword [esp]
not bx
lea ebx, [ecx + 0x2dcfede2]
bswap bx
mov ebx, dword [esp + 0x10]
mov dword [esp], 0x960d0112
mov esp, ebp
bswap bp
not bp
pop ebp
push esp
push dword [esp]
push dword [esp + 8]
ret 0x10
call 0x15daa80
shr edx, 0xd9
xlatb
sbb eax, 0xf2f68b17
int 0x42
mov ah, 0x1c
xor al, 0x12
sub eax, ebp
invalid
push ecx
pushal
mov byte [esp], 0xc7
dec al
stc
bt ax, bx
push 0x88099c29
neg al
push edi
bt di, 4
call fcn.015c3182
test bx, di
clc
or eax, eax
push 0x6bce103d
push 0xd4fdc9f5
mov byte [esp], 3
mov byte [esp + 4], al
lea esp, [esp + 8]
jne 0x15b98b3
inc ch
neg cx
pushfd
stc
mov ecx, dword [ebx]
push dword [esp]
call fcn.015b8ca7
scasb al, byte es:[edi]
arpl word [ecx + 0x158c4d70], bp
mov ebx, 0xd3b07cfc
ret
Function at 0x1002fd8
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov ecx, 0x400
cmp eax, ecx
jge 0x1002fef
mov ecx, eax
mov eax, ecx
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jle 0x1003023
push ebx
push esi
mov eax, ecx
imul eax, ecx
sub eax, edi
cdq
mov ebx, ecx
neg ebx
shl ebx, 1
idiv ebx
mov esi, ecx
add ecx, eax
mov eax, ecx
sub eax, esi
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jg 0x1002fff
pop esi
pop ebx
mov eax, ecx
pop edi
ret 4
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e072
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x50551f4
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x42e060
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x11eb4b8f
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x1004b229
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x10080dba
lea esp, [esp + 0x24]
ja 0x1004a894
pushal
lea esp, [esp + 0x20]
jb 0x10043ac4
cmc
cmp byte [edi - 1], 0
pushal
lea esp, [esp + 0x20]
jne 0x100827b7
neg di
test dx, 0x61fd
rol di, cl
mov edi, dword [edx + 0x24]
cmc
bt ax, 0xc
add edi, eax
stc
movzx ecx, word [edi + ecx*2]
movzx di, dl
sub di, 0x515c
bts di, 2
push esi
mov edi, dword [edx + 0x1c]
test si, 0x2bbd
add edi, eax
test bx, ax
bt esi, edi
mov edi, dword [edi + ecx*4]
clc
call fcn.1004a911
lea esp, [esp + 0x38]
je 0x1007e9af
call fcn.10080db4
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [ecx + 0x668d07], dh
add byte [eax], al
add byte [eax + 0xe], dh
or byte [eax], al
add dword [eax], eax
add byte [eax], al
add dword [eax], eax
add byte [eax], al
add dword [eax], eax
add byte [eax], al
pop esp
push cs
or byte [eax], al
bound ecx, qword [esi]
or byte [eax], al
pushal
push cs
or byte [eax], al
add byte [eax], dl
add byte [eax], al
add byte [eax], al
push cs
or byte [eax], al
inc ebx
push 0x466b6365
imul ebp, dword [ebp], 0x63656843
imul eax, dword [ebx + 0x52], 0x43
xor esi, dword [edx]
insb byte es:[edi], dx
insb byte es:[edi], dx
add byte [esi + 0xf], ah
mov bl, 0xf3

Function at 0x1007e6e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
inc al
pushfd
clc
sub esp, 0xfffffff4
jo 0x100827ec
cmp al, byte [edi]
pushal
pop eax
lea edi, [edi + 1]
lea eax, [ecx + 0xbc430d8]
movzx ax, al
jmp 0x1007fe26
pushfd
mov byte [esp], 0x79
lea esp, [esp + 0x2c]
ja 0x1004a894
pushfd
pushal
pushfd
lea esp, [esp + 0x28]
jb 0x10043ac4
test cl, 0x57
push 0xa5170055
pushal
cmp byte [edi - 1], 0
mov byte [esp + 4], 0xc5
pushal
mov byte [esp + 8], 0x35
jmp 0x1004a8f1
lea esp, [esp + 0x44]
jne 0x100827b7
adc di, sp
test cl, 0x5d
btc edi, edx
or di, bp
mov edi, dword [edx + 0x24]
pushal
cmc
call fcn.100447a1
lea esp, [esp + 0x50]
jns 0x100435f8
xor al, 0x44
pushfd
push ebx
jmp 0x10043a69
bswap eax
mov eax, dword [esp + 0x1c]
call fcn.1004b229
add byte [eax], al
inc edi
je 0x1007fe84
outsd dx, dword [esi]
jne 0x1007fea7
inc esi
imul ebp, dword [ebp + 0x4e], 0x41656d61
add byte [ebp + 0x2c], dh
jmp 0x1008fd83
mov ah, 0xf9
xor dword [ebx + 0x2a], ebx
dec eax
aaa
in al, 0x9c
xchg ecx, eax
jmp 0x278e70fb
jae 0x1007fef8
xchg byte [edi], dl
mov cl, 0xe8
rcl byte [edi + ecx + 0xc], cl
pop ebx
inc ecx
adc eax, 0x3b46929f
add dword [eax - 0x7a175bfc], ecx
loope 0x1007fe79
mov al, 0x72
cmc
sub byte [eax], al
add al, ch
bound ebp, qword [eax]
add byte [eax], al
pushfd
pushal
cmp al, byte [edi]
lea eax, [ecx*8 - 0x180c32d1]
not ah
lahf
mov ah, 0x61
lea edi, [edi + 1]
lea eax, [edx + 0x1393310f]
setbe ah
mov eax, dword [esp + 0x24]
jmp 0x10044bb1

Function at 0x1008240e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp al, byte [edi]
bswap eax
bswap ax
lea eax, [edx*2 + 0x55edad3a]
movzx ax, al
lea edi, [edi + 1]
pop eax
mov eax, dword [esp + 0x34]
call fcn.1008068a
inc al
mov byte [esp], cl
cmp dx, dx
push 0xcd909e63
jmp 0x1007f5db
Function at 0x10082dbf
Capabilities:
Encode data using xor

Disassembly:
ror dl, 5
pushal
cmp ecx, esi
cmc
cmp dx, si
sub dl, 0x39
cmp bh, ah
bt cx, ax
call fcn.1004a718

Function at 0x100830ae
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea esp, [esp + 0x20]
jbe 0x100442d2
rcl edi, 2
mov edi, dword [edx + 0x24]
sets cl
shrd cx, di, cl
cmp esp, 0x558b0692
add edi, eax
xor ch, al
mov ebx, dword [edx + 0x20]
stc
setno ch
cmp bh, cl
clc
add ebx, eax
pushfd
bts ecx, 2
mov dword [ebp - 8], 0
cmc
mov ecx, dword [edx + 0x18]
cmp al, 0x9f
stc
cmp ecx, dword [ebp - 8]
pushfd
pushfd
lea esp, [esp + 0xc]
jbe 0x1007e9af
stc
sub ecx, 1
call fcn.1007ff78
Function at 0x403124
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x403160
movzx eax, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x403180
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.004053d8
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x4033b8
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00405158
test esi, esi
jne 0x4033ee
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA_1
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00405248
jmp 0x40340c
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004032bc
mov edi, eax
test esi, esi
je 0x40340c
cmp dword [ebx], 0
je 0x40340c
dec esi
jmp 0x4033f5
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403440
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x5bd008], 0x8088405
inc edx
mov dword [ebx + 0x5bd008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x404124
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x5bd024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4041bc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x40419c
xor eax, eax
push ebp
push 0x404195
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 0x4041d8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40419c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
movzx eax, word [0x5bd024]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x5bd024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404fd8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x69004c], 0
je 0x405039
cmp word [0x690220], 0xd7b2
jne 0x405001
cmp dword [0x690228], 0
jbe 0x405001
mov eax, 0x69021c
call dword [0x690238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x5bd764
push 0xfffffffffffffff5
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 0x405060
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
pop edx
ret
cmp byte [0x5bd034], 0
jne 0x405055
push 0
push 0x5bd75c
push 0x5bd764
push 0
call sub.user32.dll_MessageBoxA_1
pop edx
ret
Function at 0x40dfe0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40de58
mov eax, dword [0x68ed50]
cmp byte [eax], 0
je 0x40e05c
mov eax, dword [0x68e68c]
call fcn.004038c0
call fcn.004030b0
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.0040a998
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40e0a4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x40e092
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x68e5a4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x6927f8]
call fcn.00406ad4
push eax
call sub.user32.dll_LoadStringA
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA
add esp, 0x444
ret

Function at 0x40e994
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40ea6a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004051f0
lea eax, [ebp - 4]
call fcn.00405650
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004055f8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40ea54
mov eax, ebx
call fcn.00402f54
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40ea4d
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 - 4]
call fcn.004055f8
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40ea37
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40ea7c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40ea37
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ea54
mov eax, dword [ebp - 0x10]
call fcn.00402f70
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ea71
lea eax, [ebp - 4]
call fcn.00405158
ret
Function at 0x4216b4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x6949ec
cmp dword [edi], 0
jne 0x421730
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc
mov esi, eax
mov eax, dword [0x6949e8]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x5bdaf8
mov ecx, 2
call fcn.004031bc
mov edx, 0x42168c
lea eax, [esi + 5]
call fcn.004216ac
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004216ac
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 0x421705
mov dword [0x6949e8], 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 0x4241fc
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
movzx eax, byte [ebp + 8]
call fcn.00423c34
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.004055f8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x42425b
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x68ea48]
mov dl, 1
mov eax, dword [0x423b2c]
call fcn.0040e1d0
call fcn.00404ba0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x424264
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.004055f8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4242bc
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x68f1e0]
mov dl, 1
mov eax, dword [0x423b2c]
call fcn.0040e1d0
call fcn.00404ba0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00423c64
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 0x4254ec
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 0x4254f2
ret
Function at 0x437e90
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004055e8
xor eax, eax
push ebp
push 0x437fc5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x437f98
xor edx, edx
push ebp
push 0x437f91
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x437edd
sub eax, 4
mov eax, dword [eax]
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x437f66
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x437f55
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x437f1c
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.004055f8
lea ecx, [ebx + 1]
mov edx, esi
call fcn.004031bc
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437f5c
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x68e3d8]
mov dl, 1
mov eax, dword [0x408be8]
call fcn.0040e194
call fcn.00404ba0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437fcc
lea eax, [ebp - 4]
call fcn.00405158
ret
Function at 0x439430
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x439502
push dword fs:[edx]
mov dword fs:[edx], esp
push ebx
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4394d4
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
xor edx, edx
push ebp
push 0x4394c3
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.004031bc
mov eax, dword [ebp - 4]
call fcn.0043936c
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4394ca
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret

Function at 0x439514
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 0x439586
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x43955a
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00405360
jmp 0x439561
mov eax, ebx
call fcn.00405158
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43958d
cmp dword [ebp - 8], 0
je 0x43957d
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 0x4395c0
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], 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 0x439668
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x43963b
mov edx, ebx
mov eax, dword [0x424e90]
call fcn.00429598
test al, al
je 0x43962b
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
mov edi, eax
push edi
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.004294a8
call fcn.00404c4c
jmp 0x43966f
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x4395f3
mov ecx, dword [0x68e568]
mov dl, 1
mov eax, dword [0x408be8]
call fcn.0040e194
call fcn.00404ba0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43966f
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x43ae90
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00405158
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43aede
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004053d8
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43ffc0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4400f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x16]
push eax
call sub.user32.dll_GetKeyboardLayoutNameA
mov dl, 1
mov eax, dword [0x423b8c]
call fcn.00423c8c
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4400c9
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.00423d2c
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.004053d8
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x440108
call fcn.00405480
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00423eb4
lea ecx, [ebp - 4]
mov edx, 0x440144
mov eax, dword [ebp - 0xc]
call fcn.0042411c
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.00410110
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4400ac
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x440150
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x5be55c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4400b3
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary
ret

Function at 0x4401a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x4401e7
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4401ca
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4401db
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x4401e7
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret