joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419240
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5b77e8]
xor edx, edx
cmp eax, edx
jne 0x419266
xor eax, eax
mov byte [eax + 0x5b76e8], al
inc eax
cmp eax, 0x100
jl 0x41924e
mov dword [0x5b77e8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5b76e8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4192f7
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 0x4192ca
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 0x419298
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x419370
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 0x4193c3
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 0x4193aa
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
Function at 0x43a580
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43a5b3
push esi
call fcn.0043d670
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43a5ac
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43a639
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43a622
mov eax, dword [esi + 8]
test eax, eax
je 0x43a5d7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43a61e
cmp eax, 2
je 0x43a622
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43a5ca
cmp eax, 3
je 0x43a5fd
cmp eax, 1
jne 0x43a5ca
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43a5ca
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43a5ca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043a660
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43a648
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043a660
add esp, 4
pop esi
ret

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

Disassembly:
imul edx, dword [0x40c02c], 0x8088405
inc edx
mov dword [0x40c02c], edx
mul edx
mov eax, edx
ret

Function at 0x46d45c
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x40c55c
mov eax, esi
mov edx, 8
test al, 1
je 0x46d478
shr eax, 1
xor eax, 0xedb88320
jmp 0x46d47a
shr eax, 1
dec edx
jne 0x46d46b
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x46d464
pop esi
ret

Function at 0x46d4a7
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x40c558], 0
jne 0x46d4b3
call fcn.0046d45c
push 1
push 0x40c558
call fcn.00469fc8
mov eax, edi
test esi, esi
je 0x46d4de
mov edx, ebx
and dx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x40c55c]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x46d4b9
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x5f817c
Capabilities:
Encrypt data using aes

Disassembly:
pop word [esp]
mov ebp, dword [esp]
jmp 0x5f80ab
shl edx, 8
jmp 0x5f808a
mov edi, ecx
lea edi, [edi + 8]
mov dword [edi], edx
pop edi
jmp 0x5f8055
not bh
bswap ebx
mov dx, 0x69d7
mov bp, 0xcdcb
jmp 0x5f810e
movzx esi, byte [eax + 0xd]
push edi
jmp 0x5f8047
xor edx, esi
not bp
lea esi, [edi*4]
mov bl, byte [esp]
lea edi, [ebp*4]
jmp 0x5f8070
bts ebx, edi
lea esp, [esp + 2]
jmp 0x5f8008
xor edx, esi
inc edi
setp bh
mov si, 0x2e8f
shl bp, cl
jmp 0x5f8148
shl edx, 8
mov di, word [esp]
mov bp, word [esp]
mov bl, bh
xchg bl, bh
jmp 0x5f80cf
movzx edx, byte [eax + 0xc]
neg ebp
mov di, 0x476d
lea edi, [edx + edi]
jmp 0x5f80ed
lea esp, [esp + 0x1c]
movzx eax, byte [eax + 0xf]
shl edx, 8
neg bl
jmp 0x5f8130
neg di
xchg ebx, ebp
mov ebp, dword [esp]
jmp 0x5f81bd
movzx esi, byte [eax + 0xe]
mov bl, 0xca
sub esp, 0x1c
mov di, word [esp + 0x16]
jmp 0x5f811d
pop bp
lea esp, [esp + 2]
push esi
mov esi, ecx
jmp 0x5f81e5
pushal
mov dword [esp + 0x1c], edx
pushal
clc
mov word [esp + 0xc], di
jmp 0x5f81cc
shl edx, 8
lea edi, [edx*4]
xor edx, eax
sub esp, 0x1c
inc edi
jmp 0x5f8176
xor edx, esi
mov ebx, 0x9825f5ee
mov esi, dword [esp]
mov bl, byte [esp]
jmp 0x5f819a
lea esp, [esp + 0x20]
popal
mov di, 0xb5bb
jmp 0x5f89b2
lea esi, [esi + 0xc]
mov dword [esi], edx
pop esi
jmp 0x5f8181
shr edi, 8
mov ebp, dword [esp]
mov bl, byte [esp]
mov ebp, dword [esp]
not ebp
jmp 0x5f8249
bswap ebp
adc bx, 0x1094
mov bl, 0x36
jmp 0x5f81ed
pushal
mov dword [esp + 0x21], ebp
neg edi
mov edi, edx
rcl bp, cl
jmp 0x5f8209
lea esp, [esp + 0x30]
and edi, 0xff0000
mov ebp, 0x197b0e1c
jmp 0x5f826f
and edi, esi
mov ebp, dword [esp]
mov edi, dword [edi*4 + 0x5d542c]
jmp 0x5f8232
bswap ebp
and eax, 0xff000000
lea ebp, [eax + ebx]
btr ebp, esp
jmp 0x5f827e
mov bl, 0x1a
bsr bx, cx
mov ebx, dword [ecx + 4]
cmc
lea ebp, [edi + edi]
jmp 0x5f8257
xor eax, edi
sub esp, 0xc
mov edi, edx
rol bp, cl
jmp 0x5f828e
shr edi, 0x18
mov bp, 0xb377
lea ebp, [edx*4]
jmp 0x5f8843
bsr bp, bp
mov eax, dword [eax*4 + 0x5d542c]
xor eax, 0x1000000
sub esp, 0x10
jmp 0x5f8224
mov edi, dword [edi*4 + 0x5d542c]
btc ebp, ebx
lea esp, [esp + 8]
mov ebp, 0xff00
call fcn.005f8361
mov dword [esi], eax
pop esi
xor edx, eax
jmp 0x5f8479
mov edi, edx
mov ebp, 0x5253ac2
bt ebp, edx
and edi, esi
jmp 0x5f8384
mov dword [edi], edx
pop edi
push edi
mov edi, ecx
lea edi, [edi + 0x1c]
jmp 0x5f8438
xor eax, edi
sub esp, 0xa
mov dword [esp + 1], ecx
lea ebp, [ebp*4]
lea esp, [esp + 2]
jmp 0x5f83d1
lea ebp, [ecx*4]
lea esp, [esp + 0xc]
movzx edi, byte [edi*4 + 0x5d542c]
lea ebp, [esi + edi]
jmp 0x5f8535
mov bp, 0xb127
mov bl, 0xd6
and eax, esi
neg bl
mov bl, byte [esp]
jmp 0x5f82a7
shr eax, 0x10
xchg bl, bh
lea esp, [esp + 0x18]
mov esi, 0xff
jmp 0x5f8974

Function at 0x5f8a77
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
lea esp, [esp + 4]
jl 0x5cb28e
jmp 0x5f8a5e
Function at 0x5f8c6f
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
jmp 0x5f8cd4
xor edi, dword [edx*4 + 0x5d642c]
jmp 0x5f8cba
mov edx, dword [esi + 4]
push edx
push dword [esp]
mov dword [esp + 1], ebp
stc
jmp 0x5f8f33
lea esp, [esp + 9]
lea esp, [esp + 3]
and edx, ecx
lea esp, [esp + 0x30]
jmp 0x5f8c71
push word [esp + 4]
lea esp, [esp + 3]
mov edi, dword [edi*4 + 0x5d542c]
clc
mov edi, edx
shr edi, 0x18
sub esp, 0x12
add esp, 1
jmp 0x5f8d4c
bswap edi
pushal
mov ebx, dword [ebx*4 + 0x5d542c]
lea edi, [ebx + edi]
bsf di, ax
jmp 0x5f8d7b
push ecx
mov ecx, esi
mov dword [ecx], edi
pop ecx
jmp 0x5f8e18

Function at 0x5f8d9f
Capabilities:
Encrypt data using aes

Disassembly:
mov ebx, dword [ebx*4 + 0x5d542c]
clc
push esp
jmp 0x5f8dd9
mov dword [esp], ecx
add esp, 1
lea esp, [esp]
lea esp, [esp + 3]
jmp 0x5f8d88
and ebx, ecx
push edx
mov byte [esp + 2], bh
call fcn.005f8dbf

Function at 0x5f8dbf
Capabilities:
Encrypt data using aes

Disassembly:
lea esp, [esp + 0xc]
jmp 0x5f8dfd
movzx ebx, byte [esi + 9]
pushal
lea esp, [esp + 5]
push dword [esp + 7]
lea esp, [esp + 3]
jmp 0x5f8e6b
xor edi, dword [ebx*4 + 0x5d5c2c]
jmp 0x5f8de5
mov edx, dword [edx*4 + 0x5d542c]
call 0x5f8e3b
mov al, 0x21
retf 0xec83
lea esp, [esp + 3]
jmp 0x5f8e2e
and edx, ecx
push edx
mov word [esp], bx
add esp, 1
mov byte [esp + 1], ch
jmp 0x5f8e53

Function at 0x5f8e3b
Capabilities:
Encrypt data using aes

Disassembly:
lea esp, [esp + 0xc]
jmp 0x5f8dfd
movzx ebx, byte [esi + 9]
pushal
lea esp, [esp + 5]
push dword [esp + 7]
lea esp, [esp + 3]
jmp 0x5f8e6b
xor edi, dword [ebx*4 + 0x5d5c2c]
jmp 0x5f8de5
mov edx, dword [edx*4 + 0x5d542c]
call 0x5f8e3b
mov al, 0x21
retf 0xec83
lea esp, [esp + 3]
jmp 0x5f8e2e
and edx, ecx
push edx
mov word [esp], bx
add esp, 1
mov byte [esp + 1], ch
jmp 0x5f8e53

Function at 0x5f8f72
Capabilities:
Encrypt data using aes

Disassembly:
mov edi, dword [edi*4 + 0x5d582c]
and ebx, ecx
call 0x5f8f72
pushal
push word [esp + 3]
lea esp, [esp + 2]
jmp 0x5f8fb7
mov byte [esp], bh
add esp, 3
lea esp, [esp + 1]
jmp 0x5f8f63
sub esp, 4
mov byte [esp + 2], bh
pop word [esp]
lea esp, [esp + 2]
jmp 0x5f903a
lea esp, [esp + 0x28]
xor edi, dword [ebx*4 + 0x5d602c]
movzx ebx, byte [esi + 0xa]
stc
jmp 0x5f8f98
pop word [esp + 0x19]
lea esp, [esp + 2]
jmp 0x5f901f
lea ebp, [ebp + 0x5d542c]
mov ebx, dword [ebp]
pop ebp
pushal
mov word [esp + 0xa], dx
push esp
jmp 0x5f8fc9
lea ebx, [ebp*4]
movzx ebx, byte [esi + 0xd]
stc
pushal
pop word [esp + 5]
jmp 0x5f9046
mov esi, edx
lea esi, [esi*4]
lea esi, [esi + 0x5d542c]
mov edx, dword [esi]
pop esi
jmp 0x5f904f
and ebx, ecx
lea esp, [esp + 0x20]
xor edi, dword [ebx*4 + 0x5d5c2c]
shl bl, 5
jmp 0x5f8ff3
push ebp
mov ebp, ebx
lea ebp, [ebp*4]
jmp 0x5f8fe0
lea esp, [esp + 2]
and edx, ecx
push esi
jmp 0x5f9007
push esp
push dword [esp]
pop dword [esp]
jmp 0x5f908d
and edx, ecx
lea esp, [esp + 0x20]
xor edi, dword [edx*4 + 0x5d642c]
jmp 0x5f9074
Function at 0x5f8f8c
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov edi, dword [edi*4 + 0x5d582c]
and ebx, ecx
call 0x5f8f72
pushal
push word [esp + 3]
lea esp, [esp + 2]
jmp 0x5f8fb7
mov byte [esp], bh
add esp, 3
lea esp, [esp + 1]
jmp 0x5f8f63
sub esp, 4
mov byte [esp + 2], bh
pop word [esp]
lea esp, [esp + 2]
jmp 0x5f903a
lea esp, [esp + 0x28]
xor edi, dword [ebx*4 + 0x5d602c]
movzx ebx, byte [esi + 0xa]
stc
jmp 0x5f8f98
pop word [esp + 0x19]
lea esp, [esp + 2]
jmp 0x5f901f
lea ebp, [ebp + 0x5d542c]
mov ebx, dword [ebp]
pop ebp
pushal
mov word [esp + 0xa], dx
push esp
jmp 0x5f8fc9
lea ebx, [ebp*4]
movzx ebx, byte [esi + 0xd]
stc
pushal
pop word [esp + 5]
jmp 0x5f9046
mov esi, edx
lea esi, [esi*4]
lea esi, [esi + 0x5d542c]
mov edx, dword [esi]
pop esi
jmp 0x5f904f
and ebx, ecx
lea esp, [esp + 0x20]
xor edi, dword [ebx*4 + 0x5d5c2c]
shl bl, 5
jmp 0x5f8ff3
push ebp
mov ebp, ebx
lea ebp, [ebp*4]
jmp 0x5f8fe0
lea esp, [esp + 2]
and edx, ecx
push esi
jmp 0x5f9007
push esp
push dword [esp]
pop dword [esp]
jmp 0x5f908d
and edx, ecx
lea esp, [esp + 0x20]
xor edi, dword [edx*4 + 0x5d642c]
jmp 0x5f9074

Function at 0x5f9101
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov ecx, edi
jmp 0x5f910c
push word [esp + 3]
sub esp, 0x1e
push ecx
jmp 0x5f90ea
lea ecx, [ecx*4]
lea ecx, [ecx + 0x5d582c]
mov edi, dword [ecx]
pop ecx
clc
jmp 0x5f9133
sub esp, 0
and ebx, ecx
cmc
sub esp, 0x1a
pop word [esp + 3]
jmp 0x5f918e
movzx ebx, byte [esi + 0xe]
clc
jmp 0x5f916c
push ecx
mov ecx, ebx
lea ecx, [ecx*4]
jmp 0x5f91cb
lea esp, [esp + 2]
jmp 0x5f91b1
lea esp, [esp + 0x4c]
xor edi, dword [ebx*4 + 0x5d602c]
jmp 0x5f9143
lea ecx, [ecx + 0x5d542c]
mov ebx, dword [ecx]
pop ecx
clc
cmc
sub esp, 2
jmp 0x5f9178
Function at 0x6013af
Capabilities:
Execute anti-debugging instructions

Disassembly:
bts edx, ebx
mov word [esp + 4], dx
btr edx, edx
jmp 0x601242
sub esp, 8
jmp 0x601222
xchg byte [esp + 6], dh
bts edx, edi
mov word [esp + 2], dx
push esp
bsf dx, ax
jmp 0x6012eb
mov dx, word [esp]
lea edx, [eax + 0x51]
dec edx
jle 0x60123d
sub esp, 8
bts edx, ebx
mov word [esp + 4], dx
btr edx, edx
xchg byte [esp + 6], dh
jmp 0x601246
lea esp, [esp + 3]
bswap edx
lea esp, [esp + 3]
lea esp, [esp + 4]
rol al, 0
jmp 0x601261
sub dh, ah
mov eax, dword [esp + 1]
jmp 0x6012cd
mov eax, dword [esp + 1]
jmp 0x6012cd
push esp
btc edx, edi
jle 0x6012a1
sub dh, ah
jmp 0x6012ad
dec esi
cmc
jmp 0x601350
mov dx, 0xaab3
rdtsc
mov ax, word [esp]
sub esp, 0x10
lea edx, [ebx + esi]
jmp 0x6012fb
jp 0x60138e
xchg word [esp + 6], dx
jmp 0x601393
pop dx
pop dx
add eax, ebp
jmp 0x60132e
mov edx, dword [esp + 9]
xchg edx, eax
adc eax, esi
bswap eax
xchg byte [esp + 8], dl
mov byte [esp + 4], ah
jmp 0x601337
mov ax, word [esp]
sub esp, 0x10
lea edx, [ebx + esi]
jmp 0x6012fb
jno 0x601307
mov edx, dword [esp + 9]
xchg edx, eax
jmp 0x601370
lea esp, [esp + 0xc]
inc cl
mov edx, dword [esp]
bswap edx
lea edx, [ebp + 0xff]
jmp 0x60135a
jge 0x6012d5
mov dx, 0xaab3
rdtsc
jmp 0x601322
ror ah, 1
jae 0x60143c
mov dx, bx
jmp 0x6013d8
adc eax, esi
bswap eax
xchg byte [esp + 8], dl
jmp 0x601314
xchg word [esp + 6], dx
lea esp, [esp + 0xc]
add bl, al
jmp 0x6012c3
jmp 0x60128e
mov edx, 0x8d729c54
mov dl, byte [esp]
lea eax, [esi - 0x4f47ef0b]
jmp 0x60144d
mov dx, bx
mov edx, 0x8d729c54
mov dl, byte [esp]
lea eax, [esi - 0x4f47ef0b]
call fcn.006013b4
nop
xor ah, byte [eax - 0x4c4acd39]

Function at 0x6b5980
Capabilities:
Encode data using xor

Disassembly:
wait
int1
invalid
push dword [esp + 2]
call fcn.006b5936
xchg ebx, eax
adc dword [ecx + 0x13f013e0], eax
xchg edx, eax
add byte [edi - 0x6e], ah
jo 0x6b5929
or ah, byte [ebp - 0x1711b82c]
or eax, dword [eax]
add byte [eax], al
push ebp
push ebx
inc ebp
push edx
xor esi, dword [edx]
insb byte es:[edi], dx
insb byte es:[edi], dx
add al, ch
wait
je 0x6b59a0
invalid

Function at 0x6b8356
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x6b83ae
rdtsc
lea esi, [ebp*4]
mov ax, di
xchg dh, al
mov edx, ecx
mov edx, 0xe1098ddc
jmp 0x6b8392
mov dx, 0xdb17
mov ax, 0x87b1
mov dword [esp], esi
not eax
mov eax, 0xf39ddab2
rdtsc
jmp 0x6b8358

Function at 0x6e75ef
Capabilities:
Parse pe header

Disassembly:
pop word [esp + 0xd]
push word [esp + 3]
push edx
push dword [esp + 0x12]
jmp 0x6e7666
pop dword [esp + 0x10]
mov dword [esp + 0x13], eax
mov dword [esp + 0x5c], ebp
call int.006e763f
mov dword [esp], eax
mov dword [esp], ebp
mov byte [esp + 2], dh
push esp
mov dword [esp + 1], ebp
push dword [esp]
jmp 0x6e76c8
lea esp, [esp + 0x64]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0x6e7a9b
push dword [esp + 2]
pop word [esp + 3]
lea esp, [esp + 2]
mov dword [esp + 0x64], edi
jmp 0x6e76a5
push eax
jmp 0x6e5ffb
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0x6e7a4c
Function at 0x6e7692
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
mov byte [esp + 1], dh
push dword [esp + 2]
pop dword [esp]
mov dword [esp], eax
mov byte [esp], ch
jmp 0x6e7677
Function at 0x4076c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46254b
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.00457388
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x407742
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004552d7
mov eax, dword [eax]
push 0x4761c0
push eax
call fcn.004481d4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00457613
test bl, bl
je 0x407742
push 0x4761c0
lea ecx, [esp + 0xc]
call fcn.004579a3
push 0x479d20
lea ecx, [esp + 0xc]
call fcn.004579a3
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 0x40777e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00457613
jmp 0x407849
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 0x407802
lea edx, [esp + 0x7c]
push 0x479d1c
push edx
call fcn.004481d4
add esp, 8
test eax, eax
je 0x407802
lea eax, [esp + 0x7c]
push 0x479d18
push eax
call fcn.004481d4
add esp, 8
test eax, eax
je 0x407802
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 0x407792
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.00457613
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 0x408040
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 0x4080a2
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 0x4080b0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4625cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4801c0]
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 0x4081e8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x408116
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00457613
xor eax, eax
jmp 0x40825f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00457750
push esi
lea ecx, [esp + 0xc]
call fcn.004579df
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 0x40823d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push 0x80000000
call fcn.00408040
test eax, eax
jne 0x40823d
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 0x80000000
mov ecx, edi
call fcn.00408040
test eax, eax
jne 0x40823d
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.00449210
mov esi, eax
add esp, 8
test esi, esi
jne 0x40821c
lea ecx, [esp + 0x14]
push 0x479d30
push ecx
call fcn.00449190
mov esi, eax
add esp, 8
test esi, esi
jne 0x40821c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40821f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00457700
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40812e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00457613
xor eax, eax
jmp 0x40825f
mov byte [esi], 0
push 0x479d2c
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.00457613
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 0x4188b0
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 0x41891e
cmp si, 0x69
ja 0x41891e
add esi, 0xffd0
cmp si, 0x11
je 0x4188ee
push 0x11
call edi
test ax, ax
jge 0x4188ee
or esi, 0x2000
cmp si, 0x10
je 0x418903
push 0x10
call edi
test ax, ax
jge 0x418903
or esi, 0x4000
cmp si, 0x12
je 0x418918
push 0x12
call edi
test ax, ax
jge 0x418918
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41892b
mov esi, 0xbd
jmp 0x4188df
cmp si, 0x6e
jne 0x418938
mov esi, 0xbe
jmp 0x4188df
cmp si, 0x6f
jne 0x4188d9
mov esi, 0xbf
jmp 0x4188df

Function at 0x41a060
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4907f8]
xor edx, edx
cmp eax, edx
jne 0x41a086
xor eax, eax
mov byte [eax + 0x4906f8], al
inc eax
cmp eax, 0x100
jl 0x41a06e
mov dword [0x4907f8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4906f8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41a117
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 0x41a0ea
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 0x41a0b8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41a190
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 0x41a1e3
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 0x41a1ca
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