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

Disassembly:
xor eax, 0x402ebf9b
dec edx
lea esp, [esp + 8]
jne 0x5b5c82
jmp 0x5a687f
add ebx, eax
rcl dh, 0x2d
pop es
fstp dword [esi + 0x1b7155a0]
insd dword es:[edi], dx
push esi
fdiv qword [edx + 0x1d]
mov dword [0xcfe55935], eax
sbb al, byte [eax - 0x16484667]
xor byte [eax + 9], 0x59
xchg edi, eax
iretd
sbb byte [ecx - 0x7d164847], 0x70
or dword [ecx - 0x69], ebx
imul esi, dword [edx], 0xd2d04608
sbb esi, dword [ebx]
sbb eax, 0x263648cc
pop esp
aaa
or eax, 0xa1b971f7
dec ebp
push ecx
sbb eax, 0x65eb872
jle 0x5a67a4
push ds
mov dl, 0x9d
xchg dword [ecx - 0x3ea27ec7], eax
lodsd eax, dword [esi]
add dl, byte [eax - 0x5561499a]
or esp, dword [edi]
les ebx, ss:[eax]
aaa
outsd dx, dword [esi]
or ch, byte [esp + ebx*4 + 0x21]
jp 0x5a67fc
and dword [edx - 3], edi
mov ebx, 0xaa458943
inc ebx
mov dword [ebp - 0x56], eax
pushfd
clc
inc ecx
cmp byte [eax + 0x71], ch
mov al, 0xec
jno 0x5a67bb
in al, dx
push ecx
dec eax
test eax, 0x337ae5b3
mov dl, byte [ecx]
dec ebx
xchg edx, eax
push edx
wait
loop 0x5a67b9
mov edx, 0x66ea9be2
jecxz 0x5a6800
in al, 0xf4
in al, 0xd
test byte [ebp - 0x2f24b2f], bl
adc edi, ebp
salc
xor edi, dword [eax + 0x4b83383c]
mov eax, dword [ebp + eax - 0x4b83383c]
jmp 0x5c56e9
push ebx
sbb eax, 0x24648d00
lea esp, [esp + 8]
invalid
loope 0x5a6809
add dword [eax], eax
call fcn.007dedd0
xor ebp, dword [edi + 0x3c392ef2]
js 0x5a6873
fstp st(3)
sub eax, ebx
daa
dec ebx
xchg eax, ebp
cmp cl, ah
cld
rcr byte [eax + ecx*8], 0xb7
aad 0xa3
mov ebx, 0x7fe3bfc3
push eax
sbb bh, ah
cld
xchg esp, eax
pop eax
or byte [edx], dl
cmp byte [edi + 0x63561571], bl
pushfd
and dword [esi], eax
add byte [edi + edi - 0x27d77b4e], ah
mov ebx, 0xf9de639c
add edi, dword [eax + 0x661cc7c3]
aas
mov edi, 0xe6ac1706
pop eax
das
shr dword [edi], 0x54
mov esi, 0x37f6ef77
sbb ecx, dword [esi]
xlatb
pop ss
imul ebx, dword [edi - 0x10c7b98c], 0x4e543fe6
bound edx, qword [ebp - 0x3b3da72d]
sbb al, 0x64
adc byte [ecx - 0x6d91c673], dh
cmp byte [eax - 0x7046c4dc], al
das
xchg dword [ebx - 0x963dca9], ecx
push eax
clc
pushal
add al, 0x64
cmp dword es:[eax + ecx*2], esi
cmpsd dword [esi], dword es:[edi]
in eax, 0x53
cmp esp, dword [ebx]
pop ds
outsb dx, byte [esi]
pop edx
cmp byte [edx + 0x2d], al
arpl word [ecx + 0x41d2e5da], bx
dec edi
sub bl, dl
jmp 0x5a6941
ljmp 0xc730:0xbc55f382
adc ebp, 4
xor eax, eax
mov dword [esp], 0x7bb71a83
test edx, edx
lea esp, [esp + 4]
je 0x589a1f
mov ecx, 0x13a8a391
movzx ecx, byte [edi + ecx - 0x13a8a391]
push 0xc6a9aabf
xor ecx, eax
neg byte [esp]
and ecx, 0xff
push 0xba01370b
mov ecx, dword [ecx*4 + 0x592964]
shr eax, 8
xor eax, ecx
inc edi
sal dword [esp + 4], 0x17
jns 0x589a0f

Function at 0x5bf810
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
add eax, edx
rol dword [esp + 4], 0xa9
sal byte [esp + 7], 0xc5
mov dword [ebp - 4], eax
jne 0x608b8e
mov edx, 0x3a1e0c8f
mov ecx, dword [edi + edx*2 - 0x743c191e]
not edx
mov edx, dword fs:[ecx]
mov dword [edi], edx
jmp 0x83235b
test ebx, ebx
lea esp, [esp + 8]
je 0x604396
Function at 0x6685ce
Capabilities:
Encode data using xor

Disassembly:
push 0xd6352e98
add edi, 4
rol dword [esp], 0x9c
xor ecx, ecx
test eax, eax
lea esp, [esp + 4]
je 0x63f1c7
push edi
mov edi, 0xc1924119
movzx edi, byte [edx]
xor edi, ecx
push 0xe7065c94
and edi, 0xff
push 0x9b09fb0
mov edi, dword [edi*4 + 0x59e388]
shr ecx, 8
not dword [esp + 4]
shl dword [esp + 4], 4
xor ecx, edi
inc edx
xor ecx, 0x63bea437
dec eax
lea esp, [esp + 8]
jne 0x63f185
pop edi
push 0xb1fc1b7
not ecx
mov dword [edi], ecx
lea esp, [esp + 4]
jmp fcn.00595799
add al, al
mov eax, dword [ebp + ebx*4]
call fcn.0083c613
mov eax, 0x4c3b5fb1
movsx edx, al
dec edx
mov edx, dword [edi + eax - 0x4c3b5fb1]
mov eax, dword [edi + eax - 0x4c3b5fad]
js 0x63f167
mov eax, 0x7210891d
mov eax, dword [esi + eax - 0x7210891d]
mov edx, dword [esi + 4]
add esi, 4
call fcn.0058849a

Function at 0x797d47
Capabilities:
Encode data using xor

Disassembly:
mov edi, dword [edx + ebp - 0x3714ba9d]
sar dx, 0xc6
ja 0x7f870b
mov edx, 0x808d8695
and edx, 0x8d06fbbc
movzx eax, dl
lea ebp, [ebp + eax*2 - 0x129]
sub ax, ax
movzx edx, byte [eax + ebp]
ja fcn.005c3856
xor dl, bl
dec dl
sar eax, 0x81
lea eax, [eax*8 + 0x1732b3a0]
rol dl, 1
clc
or dword [ebp - 0x4c5f3afc], 0xc2d01732
shr ax, 1
jnp 0x815f0a
mov edx, 0x421e523a
push ds
mov cl, 0xab
lodsd eax, dword [esi]
in eax, dx
test dword [ecx + 0xce68905], ebx
stosb byte es:[edi], al
jb 0x797db0
into
mov byte [0x2cdc9e4e], al
arpl word [edi + 0x2d], ax
xchg esp, eax
pushal
sub al, 0x31
add esi, dword [0x5589358d]
dec ecx
add al, 0xc
dec edi
ja 0x797d7f
and dword [esi + 0x104201b1], ecx
jae 0x797de3
frstor dword [ecx]
mov al, ch
fiadd word [edx - 0x65]
xchg ecx, eax
outsb dx, byte [esi]
mov eax, dword [0xa9d2111a]
and dword [ecx + ecx + 0x50], eax
sub byte [ebp - 0x5d0a3f43], dl
retf 0x37d5
les edx, [ebx]
in al, 0xc1
cmp cl, al
and ebp, ecx
inc ecx
xor byte [esi + ebp*8], 0xb3
jbe 0x797de9
mov byte [edx - 0x7e], ah
xlatb
push ebx
mov bl, 0xa9
invalid
lea ebp, [ebp + edx - 0x3714fee6]
shr dx, 0xc9
lea esi, [esi + edx*2 - 0x6e2800ff]
movzx edx, byte [edx + esi - 0x3714007f]
xor dl, bl
mov dword [esp], 0x23b765b4
call fcn.0061dc37
add byte [edi + esi*4], dh
mov esi, 0xb987a29f
call 0x72305d58
mov fs, esi
mov bh, 6
sub eax, 0xbb98d373
inc ebx
aam 0xef
add dword [edx], edx
fnsave dword [esi - 0x69]
and bl, dl
add dword [esi], eax
aas
xchg ecx, eax
nop
punpckldq mm4, mm6
sub bl, byte [esi + 0x6b]
jg 0x7f871d
outsb dx, byte [esi]
insb byte es:[edi], dx
or byte [edi], bl
sti
or byte [esi - 0x1ef03477], dl
xor ebx, dword [edx - 0x555a87fa]
add dword [edi], ecx
push eax
cmpsd dword [esi], dword es:[edi]
or dword [edx - 0xaf1683a], eax
jl 0x7f8744
pop es
insb byte es:[edi], dx
ljmp 0x6463
inc dl
neg dl
shr eax, 0xf
xor bl, dl
add edx, esp
xor eax, eax
add eax, dword [edx + eax*4]
call fcn.0079874f
xchg dl, dl
sbb eax, 0x79d3c76
ret 0x80a2
Function at 0x7dfd61
Capabilities:
Check for peb beingdebugged flag

Disassembly:
call eax
ret
add ebp, 2
push 0x143ecfbf
imul cl
mov word [ebp], ax
call fcn.00822a41
mov eax, dword fs:[0x30]
mov dx, 0xb6ac
xchg dh, dh
movzx edx, cx
mov edx, dword [eax + 0x18]
push ecx
mov ah, cl
push 0
movsx ax, al
lahf
not ax
push edx
bswap ax
cmovbe eax, ebx
movzx eax, dx
mov eax, dword [sym.imp.KERNEL32.dll_HeapAlloc]
jmp 0x6026bd

Function at 0x7e3f35
Capabilities:
Encrypt data using aes mixcolumns step

Disassembly:
lea eax, [edx + edx*2 + 0x79316a9f]
lea ebp, [edx + ebp - 0x506e2aa]
sar dx, 0xac
movzx edx, byte [ebp + edx - 0x506fffe]
xor dl, bl
not eax
rol dl, 1
xor dl, 0x1b
mov dword [esp + eax - 0x77b9ed65], eax
neg dl
sub dl, 0x8f
not dl
add eax, 0xb614a611
add dl, 0x19
sal dword [esp + eax*2 - 0x5b9d26ec], 0x83
xor bl, dl
shl ax, 0x64
dec ax
lea edx, [esp + edx + 4]
dec byte [esp + eax*2 - 0x5b9c6ebe]
mov eax, dword [edx + eax - 0x2dce375f]
sub esi, 4
mov dword [esi], eax
lea esp, [esp + 4]
jmp fcn.007d5288

Function at 0x82a088
Capabilities:
Authenticate hmac

Disassembly:
add ax, ax
xor eax, eax
add al, byte [eax + ebp + 2]
call fcn.0059411b
jae 0x7ff265
cmp bl, byte [esi - 0x5e]
sub dword [ecx + 0x15], ecx
sar edi, 8
xchg byte [eax + 0x1856a761], dh
mov al, 0xaa
out 0xda, al
cmp ebx, dword [edi - 0x6f]
mov ch, 0xab
pop esp
call 0x481c69e4
scasb al, byte es:[edi]
push esp
xchg ecx, eax
salc
jno 0x7f13ad
lodsd eax, dword [esi]
mul cl
stosd dword es:[edi], eax
fst qword [ebx]
pop ss
xor ebx, esp
mov eax, dword [0x2d9e39d6]
sbb ah, cl
jecxz 0x7f134a
mov bl, 0xd1
cmpsd dword [esi], dword es:[edi]
pop edi
and eax, 0x66bad423
inc esp
leave
cmp eax, dword [edx + 0x46728ef4]
jb 0x7f130a
out 0x11, eax
cmp eax, 0xf96e26e2
xchg dword [eax + ebp - 0xd], ebx
inc esp
stosd dword es:[edi], eax
push ebp
dec ecx
jae 0x7f13f5
xchg edi, eax
mov dword [0x72a5505f], eax
mov ch, 0x32
jno 0x7f131e
mov al, byte [0x2595e4f]
xor eax, 0x2c83f7d3
mov al, 0x7e
dec esi
js 0x7f1353
fstp qword [ebx + 0x67]
cld
adc al, 0x5c
retf
mov ecx, 0x6708323e
push edi
mov dh, bh
lahf
in eax, 0x1c
invalid
mov ecx, 0x721b819f
lea ecx, [ecx - 0x721b814b]
mov eax, 0x16bfe425
lea eax, [eax + ebp - 0x16bfe4a5]
mov edi, 0x18be95a8
and eax, 0xfffffffc
sub eax, ecx
call fcn.007e3b64
jmp 0x47fbe4c9
mov edx, esp
jae 0x7f132c
mov ecx, dword [esi]
mov edi, 0x941a5f1b
mov edi, dword [esi + 4]
add esi, 4
push 0x2ba1b2af
push 0x92bfcf97
or ecx, edi
not ecx
mov dword [esi], ecx
lea esp, [esp + 8]
jmp fcn.0059cbb5
call fcn.008234f9
mov esi, 0x5a8263dd
invalid
lea esp, [esp + 0xc]
ja fcn.0083500e
mov edx, 0x102d2700
sar dl, 0x66
jbe 0x81d4d9
mov esi, dword [ebp]
mov cl, byte [ebp + 4]
add ebp, 2
push 0x73018ca5
dec dword [esp]
shl esi, cl
call fcn.00610ca2
clc
jns 0x82a045
outsd dx, dword [esi]
int1
fcom dword [eax - 0x15b376ea]
mov dword [0xaf9e49ab], eax
mov eax, dword [0xed22eccc]
dec esp
mov byte [0x97659f5f], al
retf 0xd3a4
Function at 0x410ac5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42a044]
jne 0x410acf
repz ret
jmp fcn.00412994

Function at 0x41c7a3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041565d
and dword [ebp - 4], 0
cmp dword [0x42c704], 0
mov ebx, eax
jne 0x41c854
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41c905
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x41c905
push eax
call fcn.004155eb
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42c704], eax
call esi
push eax
call fcn.004155eb
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42c708], eax
call esi
push eax
call fcn.004155eb
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42c70c], eax
call esi
push eax
call fcn.004155eb
pop ecx
mov dword [0x42c714], eax
test eax, eax
je 0x41c854
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004155eb
pop ecx
mov dword [0x42c710], eax
mov eax, dword [0x42c710]
cmp eax, ebx
je 0x41c8ac
cmp dword [0x42c714], ebx
je 0x41c8ac
push eax
call fcn.00415666
push dword [0x42c714]
mov esi, eax
call fcn.00415666
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41c8ac
test edi, edi
je 0x41c8ac
call esi
test eax, eax
je 0x41c8a3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41c8a3
test byte [ebp - 0xc], 1
jne 0x41c8ac
or dword [ebp + 0x10], 0x200000
jmp 0x41c8e5
mov eax, dword [0x42c708]
cmp eax, ebx
je 0x41c8e5
push eax
call fcn.00415666
pop ecx
test eax, eax
je 0x41c8e5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41c8e5
mov eax, dword [0x42c70c]
cmp eax, ebx
je 0x41c8e5
push eax
call fcn.00415666
pop ecx
test eax, eax
je 0x41c8e5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42c704]
call fcn.00415666
pop ecx
test eax, eax
je 0x41c905
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41c907
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x451ec0
Capabilities:
Encode data using xor

Disassembly:
jle 0x451f41
mov dword [0xfe08b373], eax
add dh, byte [0xbd68e4ea]
add eax, edi
movsd dword es:[edi], dword [esi]
xor dl, ah
jmp 0xd9154d5e
popfd
invalid
Function at 0x401123
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [esp + 0x14]
lea eax, [esp + 0x18]
mov edi, ecx
push eax
call fcn.0040117e
xor ebp, ebp
pop ecx
pop ecx
mov ebx, dword [eax]
mov dword [eax], ebp
cmp dword [esp + 0x14], ebp
je 0x401152
push 4
push dword [esp + 0x18]
call fcn.004021ef
pop ecx
pop ecx
lea esi, [edi + 4]
push esi
push ebp
push ebx
push 0x401107
push ebp
push ebp
call fcn.004073c7
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x401174
pop edi
pop esi
pop ebp
pop ebx
ret 4
push 6
mov dword [esi], ebp
call fcn.00401f1c
int3

Function at 0x40157f
Capabilities:
Encode data using xor

Disassembly:
push ebp
xor ebp, ebp
push esi
mov esi, ebp
cmp dword [esp + 0x10], esi
jbe 0x4016ad
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_InitializeAcl]
push edi
mov edi, dword [esp + 0x14]
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0xc7
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x1f
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xb0
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x4a
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xbd
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x27
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0xda
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x8c
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x4b
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x24
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xb2
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xa0
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x93
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0xc0
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x52
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xc5
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xa1
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x85
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 4
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x65
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x87
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xdb
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 9
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xda
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xde
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xa8
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x7e
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x3b
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x98
inc esi
cmp esi, dword [esp + 0x18]
jb 0x40159b
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x414280
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4142ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4142ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x35645805
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
je 0x4330d2
nop
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x182e2073
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x4021c0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40f260
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
inc eax
dec ebx
dec eax
inc ebx
mov dword [ebp - 4], 0
inc eax
dec ebx
dec eax
inc ebx
push 0x412ea0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x54
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
inc eax
dec ebx
dec eax
inc ebx
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x64], eax
mov eax, 0x402224
ret
Function at 0x415b20
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a199b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004962d8
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x415ba2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004941b2
mov eax, dword [eax]
push 0x652cb8
push eax
call fcn.00486354
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00496563
test bl, bl
je 0x415ba2
push 0x652cb8
lea ecx, [esp + 0xc]
call fcn.004968f3
push 0x652cc4
lea ecx, [esp + 0xc]
call fcn.004968f3
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x415bde
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00496563
jmp 0x415ca9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x415c62
lea edx, [esp + 0x7c]
push 0x652cc0
push edx
call fcn.00486354
add esp, 8
test eax, eax
je 0x415c62
lea eax, [esp + 0x7c]
push 0x652cbc
push eax
call fcn.00486354
add esp, 8
test eax, eax
je 0x415c62
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x415bf2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00496563
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x416f20
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x416f82
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x416f90
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a1afb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x662158]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x4170c8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x416ff6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00496563
xor eax, eax
jmp 0x41713f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004966a0
push esi
lea ecx, [esp + 0xc]
call fcn.0049692f
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41711d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00416f20
test eax, eax
jne 0x41711d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.00416f20
test eax, eax
jne 0x41711d
lea eax, [esp + 0x14]
push 0x652ce4
push eax
call fcn.004874a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4170fc
lea ecx, [esp + 0x14]
push 0x652ce0
push ecx
call fcn.00487420
mov esi, eax
add esp, 8
test esi, esi
jne 0x4170fc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4170ff
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00496650
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41700e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00496563
xor eax, eax
jmp 0x41713f
mov byte [esi], 0
push 0x652cdc
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00496563
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x429590
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x4295fe
cmp si, 0x69
ja 0x4295fe
add esi, 0xffd0
cmp si, 0x11
je 0x4295ce
push 0x11
call edi
test ax, ax
jge 0x4295ce
or esi, 0x2000
cmp si, 0x10
je 0x4295e3
push 0x10
call edi
test ax, ax
jge 0x4295e3
or esi, 0x4000
cmp si, 0x12
je 0x4295f8
push 0x12
call edi
test ax, ax
jge 0x4295f8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42960b
mov esi, 0xbd
jmp 0x4295bf
cmp si, 0x6e
jne 0x429618
mov esi, 0xbe
jmp 0x4295bf
cmp si, 0x6f
jne 0x4295b9
mov esi, 0xbf
jmp 0x4295bf

Function at 0x42af40
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x6728e0]
xor edx, edx
cmp eax, edx
jne 0x42af66
xor eax, eax
mov byte [eax + 0x6727e0], al
inc eax
cmp eax, 0x100
jl 0x42af4e
mov dword [0x6728e0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x6727e0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x42aff7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x42afca
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x42af98
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x42b000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x42b053
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x42b03a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret