joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6215d9e0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x61ac0000], 0x5a4d
jne 0x6215da05
mov ecx, dword [0x61ac003c]
cmp dword [ecx + 0x61ac0000], 0x4550
lea edx, [ecx + 0x61ac0000]
je 0x6215da10
ret
cmp word [ecx + 0x61ac0018], 0x10b
jne 0x6215da05
push esi
movzx eax, word [ecx + 0x61ac0014]
push ebx
movzx esi, word [ecx + 0x61ac0006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x61ac0000
test si, si
je 0x6215da58
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x6215da4e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x6215da5a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x6215da40
xor eax, eax
pop ebx
pop esi
ret
Function at 0x50124d10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
or byte [esi], cl
push esp
push eax
jb 0x50124d85
jb 0x50124d7e
jae 0x50124d8e
inc ebp
jbe 0x50124d83
outsb dx, byte [esi]
je 0x50124d21
push es
or byte [esi], al
push ebx
outsb dx, byte gs:[esi]
jb 0x50124d32
push esp
dec edi
bound ebp, qword [edx + 0x65]
arpl word [eax + eax + 5], si
push ebx
je 0x50124d98
add byte [0x67617453], al
push cs
push cs
push esp
push eax
jb 0x50124dad
jb 0x50124da6
jae 0x50124db6
push ebx
je 0x50124da7
add byte gs:[bp + di], cl
push eax
jb 0x50124db1
outsb dx, byte gs:[esi]
je 0x50124d96
outsd dx, dword [esi]
outsb dx, byte [esi]
add al, 0x42
jns 0x50124dcd
add byte gs:[ecx], cl
push edx
jb 0x50124dc2
ja 0x50124db1
outsd dx, dword [esi]
ja 0x50124d6d
inc edx
outsd dx, dword [esi]
outsd dx, dword [esi]
insb byte es:[edi], dx
popal
outsb dx, byte [esi]
adc al, byte [ecx]
push edx
add eax, 0x63655254
je 0x50124d79
add ecx, dword [ebp + 0x73]
push es
jae 0x50124de2
push es
jae 0x50124df2
jb 0x50124de9
outsb dx, byte [esi]
add byte [si], cl
jl 0x50124daa
or al, 0x7c
and al, 0x50
push eax
les ecx, [edx + edx + 0x50]
xor al, 0x7c
and al, 0x50
push eax
inc esp
jl 0x50124db6
push eax
add byte [eax], al
add byte [eax], al
and al, 0x7c
add byte [esp + edi*2], ah
jl 0x50124dbe
and al, 0x50
push eax
nop
int3
push ebx
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
or al, 0x8b
dec esp
and al, 0x10
mov ebx, dword [esp + 0x14]
and al, 0x14
test ebx, ebx
je 0x50124dca
adc eax, dword [ecx]
mov edx, esi
add ebx, esi
mov edx, esi
movzx eax, byte [ecx]
mov byte [edx], al
add edx, 1
add ecx, 1
cmp ebx, edx
add dword [ebx - 0x2cc6fe3f], eax
jne 0x50124dbb
mov eax, esi
pop ebx
pop esi
ret
push ebx
sub esp, 4
mov ebx, dword [esp + 0x10]
movzx eax, word [ebx]
adc byte [edi], cl
mov bh, 3
test ax, ax
je 0x50124e1e
add ebx, 2
mov esi, 0
movzx eax, ax
mov dword [esp], eax
call fcn.50124dcf
movzx eax, ax
add esi, eax
add ebx, 2
movzx eax, word [ebx - 2]
test ax, ax
jne 0x50124dfa
mov eax, esi
add esp, 4
pop ebx
pop esi
ret
mov esi, 0
jmp 0x50124e16

Function at 0x50124e43
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x7c
mov edi, dword [0x5024334a]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
lea esi, [eax + 0xc]
mov ebx, dword [eax + 0xc]
cmp esi, ebx
je 0x50124ed5
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
call fcn.50124de1
cmp edi, eax
je 0x50124e85
mov ebx, dword [ebx]
cmp esi, ebx
jne 0x50124e66
mov dword [esp + 0x2c], 0
jmp 0x50124e8c
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x2c], eax
mov ebx, dword [0x50243342]
mov eax, dword [0x5024330e]
mov dword [esp + 0x30], eax
mov eax, dword [0x50243352]
mov esi, dword [esp + 0x2c]
lea eax, [esi + eax*8 + 0x70]
add eax, dword [esi + 0x3c]
add esi, dword [eax + 8]
mov eax, esi
mov dword [esp + 0x40], esi
mov esi, dword [esi + 0x20]
mov dword [esp + 0x34], esi
mov eax, dword [eax + 0x18]
mov dword [esp + 0x38], eax
test eax, eax
je 0x50124fc7
mov esi, 0
mov dword [esp + 0x3c], ebx
jmp 0x50124f1c
mov dword [esp + 0x2c], 0
jmp 0x50124e8c
mov eax, 0
jmp 0x50124f5d
Function at 0x50125444
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov esi, dword [esp + 0x40]
mov dword [esp + 4], esi
mov edi, dword [esp + 0x44]
mov dword [esp], edi
call eax
sub esp, 0x14
mov eax, esi
add esi, dword [esp + 0x6c]
mov dword [esp + 0x40], esi
mov edx, dword [0x50243322]
add edx, eax
mov ecx, dword [edx]
mov ebx, dword [edx + 4]
test ecx, ecx
je 0x50125413
mov eax, 0
add dword [edx + eax*4 + 8], ebx
add eax, 1
cmp eax, ecx
jne 0x50125408
mov eax, dword [0x50243356]
add eax, edx
mov dword [esp + 0x44], eax
mov ebx, dword [0x50243342]
mov eax, dword [0x5024331a]
mov dword [esp + 0x30], eax
mov eax, dword [0x50243352]
mov esi, dword [esp + 0x2c]
mov edi, esi
add edi, dword [esi + 0x3c]
mov dword [esp + 0x4c], edi
add esi, dword [edi + eax*8 + 0x78]
mov eax, esi
Function at 0x50125848
Capabilities:
Encode data using xor

Disassembly:
pop es
add eax, 0x6f634954
outsb dx, byte [esi]
mov al, 0x56
adc dl, byte [eax - 0x14]
dec esi
adc dl, byte [eax]
add byte [eax], cl
inc edi
jb 0x501257a2
jo 0x501257ab
imul esp, dword [ebx + 0x73], 0xc0850000
nop
mov ah, 0x57
adc dl, byte [eax]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [edi + edx*2 + 0x57bc5012], dh
adc dl, byte [eax + 0x28]
add byte [eax], al
add byte [eax], dl
jl 0x501257ab
push eax
loopne 0x5012579a
adc dl, byte [eax - 0x18]
adc byte [edx], dl
push eax
xor byte [ecx], dl
adc dl, byte [eax + 0x28]
adc dword [edx], edx
push eax
inc eax
adc dword [edx], edx
push eax
dec eax
adc dl, byte [eax + 0x48]
adc dword [edx], edx
push eax
push eax
adc dword [edx], edx
push eax
cmp byte [ecx], dl
adc dl, byte [eax - 0x50]
adc byte [edx], dl
adc dl, byte [eax + 0x38]
adc dword [edx], edx
push eax
mov al, 0x10
adc dl, byte [eax - 0x48]
adc byte [edx], dl
push eax
cwde
push eax
mov eax, 0x98501210
pop eax
adc dl, byte [eax + 1]
add bh, bh
push esp
pop edx
adc dl, byte [eax + 0x10]
push esp
push edx
jae 0x50125831
jne 0x50125836
arpl word [ebp + 0x4d], sp
popal
outsb dx, byte [esi]
popal
jb 0x5012575b
inc eax
add byte [eax], ch
pop eax
adc dl, byte [eax]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], ch
pop eax
adc dl, byte [eax + 0x30]
pop eax
adc dl, byte [eax + 0x28]
add byte [eax], al
add byte [edi + edx*2 + 0x12], bl
push eax
loopne 0x5012580e
adc dl, byte [eax - 0x18]
adc byte [edx], dl
push eax
xor byte [ecx], dl
adc dl, byte [eax + 0x28]
adc dword [edx], edx
push eax
inc eax
adc dword [edx], edx
push eax
dec eax
adc dl, byte [eax + 0x48]
adc dword [edx], edx
push eax
push eax
adc dword [edx], edx
push eax
cmp byte [ecx], dl
adc dl, byte [eax - 0x50]
adc byte [edx], dl
push eax
mov eax, 0x98501210
pop eax
adc dl, byte [eax + 1]
add bh, bh
jmp dword [ebx + ebx*2 + 0x12]
push esp
inc edx
jb 0x501258aa
jae 0x5012589f
push 0x6f736552
push edx
jae 0x501258aa
jne 0x501258af
arpl word [ebp + 0x4d], sp
popal
outsb dx, byte [esi]
popal
jb 0x501257d2
ror byte [ecx + 0x31c289d1], 0xc0
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x5012584e
ret
mov ebx, edx
mov esi, eax
lea eax, [esi + 8]
push eax
call sub.kernel32.dll_DeleteCriticalSection
test bl, bl
jle 0x501258b7
invalid
pop es
mov eax, esi
call sub.rtl120.bpl__System__ClassDestroy_qqrp14System_TObject
pop esi
pop ebx
ret
Function at 0x5012c63c
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
push edi
mov ebx, eax
push 0xe
call sub.user32.dll_GetClipboardData
mov edi, eax
test edi, edi
jne 0x5012c65e
mov eax, dword [sym.vcl120.bpl__Consts__SUnknownClipboardFormat]
call fcn.50128bbc
mov eax, ebx
call sym.vcl120.bpl__Graphics_TMetafile_NewImage_qqrv
mov esi, dword [ebx + 0x28]
push 0
push edi
call sub.gdi32.dll_CopyEnhMetaFileW
mov dword [esi + 8], eax
lea eax, [ebp - 0x64]
push eax
push 0x64
mov eax, dword [esi + 8]
push eax
call sub.gdi32.dll_GetEnhMetaFileHeader
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x4c]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x48]
mov dword [esi + 0x10], eax
mov word [esi + 0x18], 0
mov byte [ebx + 0x2c], 1
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x28]
test eax, eax
setne al
mov byte [ebx + 0x22], al
mov edx, ebx
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x50137c08
Capabilities:
Encrypt data using rc4 prga

Disassembly:
pop es
push ss
push esp
inc ebx
jne 0x50137c81
je 0x50137c7f
insd dword es:[edi], dx
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
bound ebp, qword [edi + 0x42]
outsd dx, dword [esi]
js 0x50137c6d
je 0x50137c8e
imul ebp, dword [esi + 0x67], 0x137b5873
push eax
add al, 0x81
and al, 0x50
add byte [eax], al
or byte [ebx + 0x74], dl
inc ebx
je 0x50137ca3
insb byte es:[edi], dx
jae 0x50137c34
add byte [ebp + 0x7c900040], cl
adc edx, dword [eax]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [esi + edi*2], bl
adc edx, dword [eax]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax + 0x850137d], bh
jle 0x50137c6e
push eax
int3
adc dword [edx], edx
push eax
mov word [0x11405012], ds
adc dl, byte [eax - 0x74]
sbb eax, 0x11405012
adc dl, byte [eax - 0x24]
sbb al, 0x12
push eax
push eax
adc dword [edx], edx
push eax
rcl byte [edx + 0x1d], 0x50
mov al, 0x10
adc dl, byte [eax - 0x48]
adc byte [edx], dl
push eax
enter 0x13fe, 0x50
push edx
sbb eax, 0x1210b050
push eax
mov eax, 0xc8501210
invalid
adc edx, dword [eax - 0x54]
push eax
sbb byte [ecx], ch
sbb eax, 0x1cf11050
push eax

Function at 0x50137c90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lodsb al, byte [esi]
mov ds, word [0x1d426850]
push eax
adc al, 0x18
adc dl, byte [eax + 0x3c]
or edx, dword [eax + edx*2]
jl 0x50137cde
sbb eax, 0x1d291850
push eax
adc cl, dh
sbb al, 0x50
xchg esp, eax
sbb eax, 0x1d445012
adc dl, byte [eax + 0x3c]
sbb eax, 0x1d9c5012
adc dl, byte [eax - 0x38]
std
adc edx, dword [eax - 0x30]
mov byte [0x1d8edc50], bl
push eax
sub byte [esi - 0x1cf3afe3], cl
sbb al, 0x50
test al, 0x82
sbb eax, 0x1d82c850
push eax
cld
jle 0x50137cf8
push eax
push esp
loop 0x50137cfb
sbb al, 0x50
push eax
mov byte [edi], bl
sbb eax, 0x1d1fb450
push eax
dec esp
sbb eax, 0x1cf0f850
push eax
mov ah, ah
sbb al, 0x50
push eax
xor dl, 0x1c
push eax
test byte [eax - 0xa8fafe3], bl
push eax
jo 0x50137cf3
sbb al, 0x50
invalid
Function at 0x5013c780
Capabilities:
Resolve function by parsing pe exports

Disassembly:
imul ebp, dword [esi + ecx*4 + 0x1c], 0x50
add byte [ecx], al
add bh, bh
add byte [ecx], al
add bh, bh
add dword [eax], eax
add byte [eax], al
add byte [eax], al
add byte [eax - 0x80000000], al
cmp byte [eax], al
or ecx, dword [edi + 0x6e]
push ebx
je 0x5013c7d4
jb 0x5013c7e9
inc esp
jb 0x5013c7d9
lea eax, [bx + si]
add bh, 0x13
push eax
add edx, dword [edx]
push esp
push ebx
je 0x5013c7e7
je 0x5013c7f1
arpl word [edx + 0x6f], ax
jb 0x5013c7f1
jb 0x5013c7e3
je 0x5013c80b
insb byte es:[edi], dx
add dword gs:[eax], eax
add byte [eax], al
add byte [edx], al
add byte [eax], al
add byte [edi + eax*8 + 0x13], bh
push eax
pop es
jae 0x5013c806
jae 0x5013c7f4
outsd dx, dword [esi]
outsb dx, byte [esi]
or dword gs:[ebx + 0x62], esi
jae 0x5013c801
imul ebp, dword [esi + 0x67], 0x7309656c
bound esi, qword [ebx + 0x53]
jne 0x5013c828
imul esp, dword [ebp + 0x6e], 8
push ebx
je 0x5013c825
inc ebx
je 0x5013c836
insb byte es:[edi], dx
jae 0x5013c752
shl byte [eax], 0xc8
adc edx, dword [eax]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [ecx + ecx*8], ch
add byte [eax], al
add byte [eax], al
sub al, 0xc9
leave
adc edx, dword [eax]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add ah, bh
enter 0x5013, 0x16
push eax
push ss
leave
adc edx, dword [eax + 0x74]
add al, byte [eax]
add byte [eax], ah
popfd
sbb al, 0x50
loopne 0x5013c806
adc dl, byte [eax - 0x18]
adc byte [edx], dl
push eax
xor byte [ecx], dl
adc dl, byte [eax - 0x74]
sbb eax, 0x11405012
adc dl, byte [eax - 0x24]
sbb al, 0x12
push eax
push eax
adc dword [edx], edx
push eax
rcl byte [edx + 0x1d], 0x50
mov al, 0x10
adc dl, byte [eax - 0x48]
adc byte [edx], dl
push eax
daa
sbb eax, 0x1d8eac50
lodsb al, byte [esi]
mov ds, word [0x1d426850]
push eax
adc al, 0x18
invalid
inc edx
sbb eax, 0x12181450
push eax
rcr byte [esi + 0x14], 1
push eax

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

Disassembly:
lodsb al, byte [esi]
mov ds, word [0x1d426850]
push eax
adc al, 0x18
adc dl, byte [eax - 0x30]
pop esi
adc al, 0x50
sbb al, 0x60
adc al, 0x50
sbb byte [ecx], ch
sbb eax, 0x1cf11050
push eax
xchg esp, eax
sbb eax, 0x1d445012
adc dl, byte [eax + 0x3c]
sbb eax, 0x1d9c5012
adc dl, byte [eax]
pop ebp
adc al, 0x50
ror byte [eax - 0x7123afe3], 1
sbb eax, 0x1d8e2850
push eax
or al, 0xe3
sbb al, 0x50
test al, 0x82
sbb eax, 0x1d82c850
push eax
cld
jle 0x5013c888
push eax
push esp
loop 0x5013c88b
push eax
mov byte [edi], bl
sbb eax, 0x1d1fb450
push eax
dec esp
sbb eax, 0x14606050
push eax
mov ah, ah
sbb al, 0x50
push eax
xor dl, 0x1c
push eax
test byte [eax - 0xa8fafe3], bl
push eax
jo 0x5013c883
sbb al, 0x50
invalid
Function at 0x5013c92c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
pop es
adc dword [ebx + eax*2 + 0x75], edx
jae 0x5013c9a7
outsd dx, dword [esi]
insd dword es:[edi], dx
push ebx
je 0x5013c999
je 0x5013c9a3
arpl word [ebp + 0x78], dx
je 0x5013c960
enter 0x5013, 0x24
mov eax, dword [0xf501c]
or byte [ebx + 0x74], dl
inc ebx
je 0x5013c9c2
insb byte es:[edi], dx
jae 0x5013c953
add byte [ecx + ecx*8 + 0x5013], ch
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
cwde
retf 0x5013
adc dword [edx], edx
push eax
rcl byte [edx + 0x1d], 0x50
mov al, 0x10
adc dl, byte [eax - 0x48]
adc byte [edx], dl
push eax
mov eax, 0x64501210
daa
push eax
daa
sbb eax, 0x1d8eac50
push eax
push 0x14501d42
sbb byte [edx], dl
push eax
rcr byte [esi + 0x14], 1
push eax

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

Disassembly:
lodsb al, byte [esi]
mov ds, word [0x1d426850]
push eax
adc al, 0x18
adc dl, byte [eax - 0x30]
pop esi
adc al, 0x50
sbb al, 0x60
adc al, 0x50
sbb byte [ecx], ch
sbb eax, 0x1cf11050
push eax
xchg esp, eax
sbb eax, 0x1d445012
adc dl, byte [eax + 0x3c]
sbb eax, 0x1d9c5012
adc dl, byte [eax]
pop ebp
adc al, 0x50
ror byte [eax - 0x7123afe3], 1
sbb eax, 0x1d8e2850
push eax
or al, 0xe3
sbb al, 0x50
test al, 0x82
sbb eax, 0x1d82c850
push eax
cld
jle 0x5013ca14
push eax
push esp
loop 0x5013ca17
push eax
mov byte [edi], bl
sbb eax, 0x1d1fb450
push eax
dec esp
sbb eax, 0x14606050
push eax
mov ah, ah
sbb al, 0x50
push eax
xor dl, 0x1c
push eax
test byte [eax - 0xa8fafe3], bl
push eax
jo 0x5013ca0f
sbb al, 0x50
invalid
Function at 0x50146fc8
Capabilities:
Packed with generic packer

Disassembly:
std
dec dword [ebx + 0x5b5e5fc6]
pop ecx
pop ebp
ret 4
sar bh, 0x25
jl 0x50146f59
and al, 0x50
mov eax, eax
sub byte [eax + 0x14], dh
push eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
movsb byte es:[edi], byte [esi]
xor edx, dword [edx]
push eax
pushfd
xor edx, dword [edx]
push eax
or byte [ebp + 0x50], al
jb 0x5014709e
outsb dx, byte [esi]
je 0x5014709d
jb 0x50146fc7
inc eax
add byte [eax + 0x70], al
adc al, 0x50
insb byte es:[edi], dx

Function at 0x50147028
Capabilities:
Packed with generic packer

Disassembly:
std
dec dword [ebx + 0x5b5e5fc6]
pop ecx
pop ebp
ret 4
sar bh, 0x25
jl 0x50146f59
and al, 0x50
mov eax, eax
sub byte [eax + 0x14], dh
push eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
movsb byte es:[edi], byte [esi]
xor edx, dword [edx]
push eax
pushfd
xor edx, dword [edx]
push eax
or byte [ebp + 0x50], al
jb 0x5014709e
outsb dx, byte [esi]
je 0x5014709d
jb 0x50146fc7
inc eax
add byte [eax + 0x70], al
adc al, 0x50
insb byte es:[edi], dx

Function at 0x50147040
Capabilities:
Packed with generic packer

Disassembly:
and al, 0x50
mov eax, eax
jmp dword [sym.imp.comdlg32.dll_ReplaceTextW]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
xor byte [eax + 0x14], dh
push eax
sbb al, 0
add byte [eax], al
jl 0x50146f84
and al, 0x50
loopne 0x5014700e
adc dl, byte [eax - 0x18]
adc byte [edx], dl
push eax
lodsb al, byte [esi]
xor edx, dword [edx]
push eax
sub byte [ecx], dl
adc dl, byte [eax + 0x40]
adc dword [edx], edx
push eax
dec eax
adc dl, byte [eax + 0x48]
adc dword [edx], edx
push eax
push eax
adc dword [edx], edx
push eax
cmp byte [ecx], dl
adc dl, byte [eax - 0x50]
adc byte [edx], dl
push eax
mov eax, 0x94501210
xor edx, dword [edx]
push eax
pop es
or byte [ebp + 0x50], al
jb 0x501470af
outsb dx, byte [esi]
je 0x501470ae
jb 0x50147073
jo 0x50147061
push eax
js 0x50146fda
and al, 0x50
add byte [eax], al
or byte [eax + 0x72], dl
imul ebp, dword [esi + 0x74], 0x737265
add byte [eax + sym.vcl120.bpl___xp_22Printers_TPrinterState], dl
jo 0x50147077
push eax
adc al, 0x50
push eax
Function at 0x50152ad8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x50152c39
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 0xc4]
test esi, esi
je 0x50152b19
mov eax, esi
call sym.vcl120.bpl__Controls_TWinControl_HandleAllocated_qqrv
test al, al
je 0x50152b15
mov eax, dword [ebx + 0xc4]
call sym.vcl120.bpl__Controls_TWinControl_GetHandle_qqrv
mov esi, eax
jmp 0x50152b33
xor esi, esi
jmp 0x50152b33
mov eax, dword [ebx + 0xb0]
push eax
call sub.user32.dll_IsWindow
test eax, eax
je 0x50152b31
mov esi, dword [ebx + 0xb0]
jmp 0x50152b33
xor esi, esi
cmp byte [ebx + 0xa0], 0
je 0x50152ba7
mov eax, dword [ebx + 0xc0]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
je 0x50152c1b
movzx eax, byte [ebx + 0xbc]
mov eax, dword [eax*4 + 0x50242bcc]
push eax
mov eax, dword [ebx + 0xa4]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
mov eax, dword [ebx + 0xb4]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
lea edx, [ebp - 4]
mov eax, dword [ebx + 0xc0]
call sym.vcl120.bpl__Dialogs_TOpenDialog_GetFileName_qqrv
mov eax, dword [ebp - 4]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
mov eax, dword [ebx + 0xb8]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
push esi
call sub.shell32.dll_ShellExecuteW
mov dword [ebx + 0xac], eax
jmp 0x50152bf2
movzx eax, byte [ebx + 0xbc]
mov eax, dword [eax*4 + 0x50242bcc]
push eax
mov eax, dword [ebx + 0xa4]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
mov eax, dword [ebx + 0xb4]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
mov eax, dword [ebx + 0xa8]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
mov eax, dword [ebx + 0xb8]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
push esi
call sub.shell32.dll_ShellExecuteW
mov dword [ebx + 0xac], eax
mov esi, dword [ebx + 0xac]
cmp esi, 0x20
ja 0x50152c1b
lea edx, [ebp - 8]
mov eax, esi
call sub.rtl120.bpl__Sysutils_SysErrorMessage_qqrui
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [sym.imp.rtl120.bpl__Sysutils_Exception_]
call sub.rtl120.bpl__Sysutils_Exception__bctr_qqrx20System_UnicodeString
call sub.rtl120.bpl__System__RaiseExcept_qqrv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50152c40
lea eax, [ebp - 8]
call sub.rtl120.bpl__System__UStrClr_qqrpv
lea eax, [ebp - 4]
call sub.rtl120.bpl__System__UStrClr_qqrpv
ret
Function at 0x50153a94
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x50153b18
push dword fs:[eax]
mov dword fs:[eax], esp
cmp word [ebx + 0xb2], 0
je 0x50153ac2
mov edx, ebx
mov eax, dword [ebx + 0xb4]
call dword [ebx + 0xb0]
push 1
push 0x50153b24
push 0x50153b24
lea edx, [ebp - 4]
mov eax, ebx
call sym.vcl120.bpl__Extactns_TURLAction_GetURL_qqrv
mov eax, dword [ebp - 4]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteW
cmp word [ebx + 0xaa], 0
je 0x50153b02
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50153b1f
lea eax, [ebp - 4]
call sub.rtl120.bpl__System__UStrClr_qqrpv
ret

Function at 0x5015f234
Capabilities:
Encode data using xor

Disassembly:
adc eax, 0x54090750
push esp
jb 0x5015f29b
pop es
or dword [esp + edx*2 + 0x72], edx
popal
jns 0x5015f285
arpl word [edi + 0x6e], bp
loopne 0x5015f232
adc eax, 0x15f15c50
push eax
adc eax, 0x78450800
je 0x5015f291
je 0x5015f2c2
insb byte es:[edi], dx
jae 0x5015f266
add byte [esp + edi*2 + 0x24], al
push eax
xor byte [eax], al
add bh, bh
int3
add byte [eax], al
add al, byte [eax]
pop es
inc ecx
outsb dx, byte [esi]
imul ebp, dword [ebp + 0x61], 0x7c2c6574
and al, 0x50
mov eax, 0xc05016f0
invalid
add byte [eax], al
add byte [eax], al
sub al, 3
add byte [eax], al
add eax, dword [eax]
cmovno ebp, dword [esi + 0x69]
insd dword es:[edi], dx
popal
je 0x5015f2fd
inc ecx
outsb dx, byte [esi]
imul ebp, dword [ebp + 0x61], 0x6e496574
dec ecx
outsb dx, byte [esi]
je 0x5015f301
jb 0x5015f314
jb 0x5015f314
popal
insb byte es:[edi], dx
and al, 0x7c
and al, 0x50
pop eax
add byte [eax], al
call [eax + esi*8 + 0x16]
push eax
add dword [eax], eax
add byte [eax], al
add byte [eax], al
add byte [eax - 0x80000000], al
add al, 0
add al, 0x48
imul ebp, dword [esi + 0x74], 0x50247c24
je 0x5015f2e4
jl 0x5015f2e6
push eax
xor al, 0
add bh, bh
jl 0x5015f2be
push ss
push eax
add dword [eax], eax
add byte [eax], al
add byte [eax], al
add byte [eax - 0x80000000], al
add eax, 0x61420b00
insb byte es:[edi], dx
insb byte es:[edi], dx
outsd dx, dword [esi]
outsd dx, dword [esi]
outsb dx, byte [esi]
dec eax
imul ebp, dword [esi + 0x74], 0x50247c24
je 0x5015f30a
jl 0x5015f30c
push eax
cmp byte [eax], al
add bh, bh
xor dh, 0x16
push eax
add dword [eax], eax
add byte [eax], al
add byte [eax], al
add byte [eax - 0x80000000], al
push es
add byte [edx + eax*2], cl
popal
insb byte es:[edi], dx
insb byte es:[edi], dx
outsd dx, dword [esi]
outsd dx, dword [esi]
outsb dx, byte [esi]
push esp
imul esi, dword [esp + ebp*2 + 0x65], 0x50247c38
insb byte es:[edi], dx
cmp byte gs:[esp + 0x50], bh
cmp byte [esp + 0x50], bh
or dh, dh
push ss
push eax
cld
cmc
push ss
push eax
add dword [eax], eax
add byte [eax], al
add byte [eax], al
add byte [eax + 0xbb8], al
pop es
add byte [esi], cl
inc edx
popal
insb byte es:[edi], dx
insb byte es:[edi], dx
outsd dx, dword [esi]
outsd dx, dword [esi]
outsb dx, byte [esi]
push esp
imul ebp, dword [ebp + 0x65], 0x4074756f
invalid
Function at 0x5016f124
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
movzx ebx, byte [0x5016f160]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5016f13b
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5016f14a
or bl, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5016f159
or bl, 2
mov eax, ebx
pop ebx
ret