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

Disassembly:
call fcn.72234865
add bl, 0xf8
push ss
add al, ch
dec ecx
mov dword [0x89660005], eax
sub al, 0x24
push esp
lea esi, [esi + 1]
pushfd
jmp 0x7225ec91
lea ebp, [ebp - 0x76c42753]
mov word [esp + 8], 0xade0
call fcn.7233c238
xchg dx, ax
dec eax
push edi
adc al, 0xe6
jbe 0x72234375
add dword [eax], esi
pop eax
loope 0x722343e7
aas
xor ecx, dword [eax - 0x42]
mov ebx, 0xc6ce27e0
mov bh, 0x60
pop ecx
and ebp, esp
jge 0x7223432f
daa
into
invalid
movsb byte es:[edi], byte [esi]
sti
inc esi
movsb byte es:[edi], byte [esi]
invalid
push 0x648eef34
sal ecx, 0xf5
jno 0x72234432
pushal
loope 0x722343fb
xor ch, dh
inc esi
cmp eax, 0xe614569d
mov ah, byte [0x97f0bc6]
jg 0x72234406
fcmovbe st(0), st(0)
clc
push ebp
jbe 0x722343e2
mov dh, 0xcf
cmpsb byte [esi], byte es:[edi]
cmp edi, dword [ebp + eax + 0x16]
out 0xe8, eax
leave
or bl, bl
mov word [edx + 0x7d67ee4a], fs
sbb eax, 0x98464567
in eax, 0x31
pop ebp
std
sub dword [ecx + 0x3f], ebp
cwde
push ds
nop
xor al, 0xab
invalid
mov esp, 0xfbeefca3
jae 0x72234479
and dh, byte [esi - 0x2c]
pop ebx
insd dword es:[edi], dx
inc ebx
vmovdqu ymmword [edi], ymm2
test eax, 0x87987a0
pop es
sbb byte [ecx - 0x624537d8], al
aaa
xor ebp, esp
mov edx, 0xe531379d
sbb eax, 0xbb5870c
xor al, 0xa8
test al, 0xba
js 0x722344cc
mov dh, 0xe7
mov eax, 0x3ce0d853
movsd dword es:[edi], dword [esi]
and eax, 0xb765eb43
dec ecx
mov bh, 0x49
cmpsd dword [esi], dword es:[edi]
jle 0x7223445b
popal
invalid
mul edi
aas
or ch, byte ds:[ecx]
sar cl, 1
fnsave dword [ebp + 0x644de4d2]
fidivr dword [edi + 0x2c]
outsb dx, byte [esi]
pop eax
loope 0x72234469
into
inc ebx
jno 0x7223444d
inc esi
stosb byte es:[edi], al
test al, 0xf
adc bl, bl
in al, dx
cmp byte [esi - 0x4332039f], 0xe7
pop ebp
hlt
xor ebp, dword [edx - 0x62]
mov dh, 0xfe
fist word [esi + ebp*4 - 0x40]
sub al, 0x56
ror byte [esi + ebp*8 + 0x1231baa8], cl
test al, 0xba
xor dword [edx], edx
mov dl, 0xa4
cdq
sar byte [0x263b40c0], 0x33
dec ebp
pop esi
sar dword [0xe17aea26], cl
fst dword [ebp + 0x16802431]
dec esp
sub eax, 0x525bb03c
fstp dword [ebp*4 + 0x697f9116]
loope 0x722344be
add cl, al
push 0xcc7c413d
xchg ebp, eax
test dword [edx], edi
pop edx
sal dword [esi], 1
cmp dword [edx], 0x70977f1
push ebx
pop es
cdq
xor byte [edx], bh
adc bl, bh
bnd jns 0x72234590
ja 0x72234528
adc esp, dword [0x53fda49b]
dec eax
invalid
lds eax, [eax]
invalid
xlatb
mov edi, 0x90a4de2d
jnp 0x722345ae
xchg edi, ebx
imul esp, dword [eax + 7], 0x16ca6293
adc dl, bl
sub dword [ebp - 0x25], 0x1607935c
lcall 0x84b7, 0xddbe7d7b
inc esp
mov esi, 0x4484b7dd
add bl, byte [esi*4 - 0x3698b865]
aaa
sub al, 0xee
test al, 0x3e
invalid
mov dword [esp + 0x10], esi
movzx si, cl
mov esi, 0x72111ba4
mov byte [esp], 0x50
jmp 0x7220ba9c
mov ebp, dword [ebp + 0x23b5ac]
jmp 0x7223434f
Function at 0x7236652c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x72371b82
lea esp, [esp + 0x2c]
je 0x72411adc
bt di, 7
btr dx, 9
mov esi, dword [eax + 0x3c]
dec dl
btr edx, ebx
pushfd
dec dh
add esi, eax
bts dx, si
not dl
lea edx, [eax - 0x4865d343]
mov edx, dword [esi + 0x78]
pushal
test bh, 0x7e
test edx, edx
pushal
pushfd
push dword [esp]
jmp 0x72374dc8
lea esp, [esp + 0x4c]
je 0x72411adc
shr ecx, 0x10
clc
test dx, si
add edx, eax
dec ecx
mov ecx, dword [esi + 0x7c]
pushfd
add ecx, edx
clc
jmp 0x7240e21c
dec ebp
cld
bt bp, si
push 0xaf5b6fcf
call fcn.72374576
popfd
in al, 0x6b
outsd dx, dword [esi]
dec edx
add dh, ah
mov eax, 0x8261f453
not byte [ecx + 0x5e]
scasd eax, dword es:[edi]
fcomp dword [edi + 0x74]
cmc
push 0xffffffffffffffcb
je 0x72374ef9
das
in al, 0xa4
mov ch, 0x12
jmp 0x81c5547c
clc
mov dword [ebp - 0x10], ecx
bt di, di
rol ch, 6
adc cx, dx
mov ecx, dword [ebp + 0xc]
stc
bt dx, 0xa
test bh, 0x12
cmp ecx, 0xffff
pushal
mov byte [esp + 0x10], 0xd9
lea esp, [esp + 0x24]
jbe 0x72374f2e
shr di, cl
not di
clc
btr ecx, 1
mov edi, dword [edx + 0x24]
ror cl, cl
rol cx, cl
rcl bl, 1
add edi, eax
xchg ch, bh
rol ch, cl
shl bh, cl
mov ebx, dword [edx + 0x20]
test ah, cl
btc ecx, ebx
add ebx, eax
movsx cx, al
pushal
bt edi, 5
mov dword [ebp - 8], 0
push 0x6e3f144
sar cx, 5
cmc
mov ecx, dword [edx + 0x18]
lea esp, [esp + 0x24]

Function at 0x72584c36
Capabilities:
Encrypt data using rc4 prga

Disassembly:
pushfd
lea esp, [esp + 0x20]
je 0x72585a92
jmp 0x72585c1f
lea esp, [esp + 0x1c]
jne 0x72584c41
test bh, al
pushfd
push dword [esp]
xor eax, eax
jmp 0x72585ad1
mov dword [esp], ebp
mov word [esp], 0x29dd
call fcn.72586117
stc
stc
xor eax, eax
clc
stc
xchg dword [ebp + ecx*4], eax
pushal
bt edi, 0x13
mov dword [esp + 0x1c], eax
cmc
sub ecx, 1
mov byte [esp], 0xec
jmp 0x72585a88
Function at 0x41ec8c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42a520]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00415f87
and dword [ebp - 0x14], 0
cmp dword [0x46b070], 0
mov dword [ebp - 0x18], eax
jne 0x41ed3f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41ede7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41ede7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x46b070], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x46b074], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x46b078], eax
call edi
push eax
call esi
mov dword [0x46b080], eax
test eax, eax
je 0x41ed3f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x46b07c], eax
mov eax, dword [0x46b07c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41ed98
cmp dword [0x46b080], ecx
je 0x41ed98
push eax
call esi
push dword [0x46b080]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41ed98
test ebx, ebx
je 0x41ed98
call edi
test eax, eax
je 0x41ed8f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41ed8f
test byte [ebp - 8], 1
jne 0x41ed98
or dword [ebp + 0x10], 0x200000
jmp 0x41edcb
mov eax, dword [0x46b074]
cmp eax, dword [ebp - 0x18]
je 0x41edcb
push eax
call esi
test eax, eax
je 0x41edcb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41edcb
mov eax, dword [0x46b078]
cmp eax, dword [ebp - 0x18]
je 0x41edcb
push eax
call esi
test eax, eax
je 0x41edcb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x46b070]
call esi
test eax, eax
je 0x41ede7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41ede9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004106c7
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x10001850
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov ecx, 0x10
mov esi, 0x3ad56f8
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 8]
add esi, 0xfffffffe
xor ecx, ecx
test esi, esi
jle 0x100018e2
jmp 0x10001880
movzx edi, byte [edx + ecx]
shr edi, 2
movzx ebx, byte [ebp + edi - 0x44]
mov byte [eax], bl
movsx edi, byte [edx + ecx]
movzx ebx, byte [edx + ecx + 1]
and edi, 3
shr ebx, 4
shl edi, 4
or edi, ebx
movzx ebx, byte [ebp + edi - 0x44]
mov byte [eax + 1], bl
movsx ebx, byte [edx + ecx + 1]
movzx edi, byte [edx + ecx + 2]
and ebx, 0xf
add ebx, ebx
shr edi, 6
add ebx, ebx
or edi, ebx
movzx ebx, byte [ebp + edi - 0x44]
mov byte [eax + 2], bl
movsx edi, byte [edx + ecx + 2]
and edi, 0x3f
movzx ebx, byte [ebp + edi - 0x44]
mov byte [eax + 3], bl
add ecx, 3
add eax, 4
cmp ecx, esi
jl 0x10001880
cmp ecx, dword [ebp + 8]
jge 0x1000195e
movzx esi, byte [ecx + edx]
shr esi, 2
mov bl, byte [ebp + esi - 0x44]
mov esi, dword [ebp + 8]
dec esi
mov byte [eax], bl
cmp ecx, esi
jne 0x10001921
movsx ecx, byte [ecx + edx]
and ecx, 3
add ecx, ecx
mov dl, byte [ebp + ecx*8 - 0x44]
mov byte [eax + 1], dl
pop edi
mov byte [eax + 2], 0x3d
add eax, 3
pop esi
mov word [eax], 0x3d
pop ebx
mov esp, ebp
pop ebp
ret 4
lea esi, [ecx + edx + 1]
movsx ecx, byte [ecx + edx]
movzx edx, byte [esi]
and ecx, 3
shl ecx, 4
shr edx, 4
or ecx, edx
movzx ecx, byte [ebp + ecx - 0x44]
mov byte [eax + 1], cl
movsx edx, byte [esi]
and edx, 0xf
movzx ecx, byte [ebp + edx*4 - 0x44]
pop edi
mov byte [eax + 2], cl
add eax, 3
pop esi
mov word [eax], 0x3d
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
mov byte [eax], 0
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10003940
Capabilities:
Execute anti-debugging instructions

Disassembly:
rdtsc
xor dword [0x3ade210], eax
push ebx
push esi
push edi
mov edi, dword [0x3ad519c]
call edi
mov ebx, dword [0x3ad5194]
xor dword [0x3ade210], eax
push 0x3ad622c
call ebx
test eax, eax
je 0x10003981
push 0x3ad98a4
push eax
call dword [0x3ad5190]
test eax, eax
je 0x10003981
push 0x3ade210
call eax
mov ecx, dword [0x3ade210]
mov eax, ecx
xor edx, edx
or esi, 0xffffffff
div esi
lea esi, [ecx + eax]
rdtsc
xor ecx, eax
mov dword [0x3ade210], ecx
call edi
xor dword [0x3ade210], eax
push 0x3ad622c
call ebx
test eax, eax
je 0x100039c7
push 0x3ad98a4
push eax
call dword [0x3ad5190]
test eax, eax
je 0x100039c7
push 0x3ade210
call eax
mov ecx, dword [0x3ade210]
push esi
mov eax, ecx
xor edx, edx
or esi, 0xffffffff
div esi
add eax, ecx
push eax
push 0x3ad5968
push 0x104
push 0x3ae9c60
call dword [0x3ad52f4]
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x1000d7a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x3adf588
mov dword [ebp - 4], 0x10
call dword [0x3ad52a4]
push 0x3adf588
call dword [0x3ad52a8]
or ecx, 0xffffffff
mov edx, 0x3adf588
test eax, eax
je 0x1000d7ed
movzx esi, byte [edx]
xor esi, ecx
and esi, 0xff
shr ecx, 8
xor ecx, dword [esi*4 + 0x3adf6c8]
inc edx
dec eax
jne 0x1000d7d4
mov edi, dword [0x3ad54d4]
not ecx
mov esi, ecx
push esi
push 0x3ade504
push 0x3adf5a0
call edi
lea ebx, [esi + esi]
push ebx
push 0x3ade504
push 0x3adf54c
call edi
lea ecx, [esi + esi*2]
push ecx
push 0x3ade504
push 0x3adf5dc
call edi
push esi
push 0x3ade580
push 0x3adf670
call edi
push ebx
push 0x3ade580
push 0x3adf630
call edi
add esp, 0x3c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000da30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push 0x101
lea eax, [ebp - 0x104]
push eax
push ecx
call dword [0x3ad54e4]
mov edx, eax
or eax, 0xffffffff
lea ecx, [ebp - 0x104]
test edx, edx
je 0x1000da7a
push esi
lea esp, [esp]
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x3adf6c8]
inc ecx
dec edx
jne 0x1000da60
pop esi
not eax
mov esp, ebp
pop ebp
ret

Function at 0x1000daf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x3ae9ed4]
sub esp, 0x104
push ebx
mov ebx, dword [0x3ad53a8]
push esi
push edi
push 1
push 5
push eax
call ebx
push eax
call ebx
mov edi, dword [0x3ad540c]
mov esi, eax
lea esp, [esp]
push esi
call dword [0x3ad53e4]
test eax, eax
je 0x1000dbb7
push 0xfffffffffffffff0
push esi
call dword [0x3ad541c]
test eax, 0x40000000
jne 0x1000db9c
push 0x101
lea ecx, [ebp - 0x104]
push ecx
push esi
call dword [0x3ad54e4]
or ecx, 0xffffffff
lea edx, [ebp - 0x104]
test eax, eax
je 0x1000db7f
nop
movzx ebx, byte [edx]
xor ebx, ecx
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x3adf6c8]
inc edx
dec eax
jne 0x1000db60
mov ebx, dword [0x3ad53a8]
not ecx
test ecx, ecx
je 0x1000db96
xor eax, eax
cmp ecx, dword [eax*8 + 0x3ade528]
je 0x1000dbcd
inc eax
cmp eax, 0xb
jb 0x1000db87
xor eax, eax
test al, 0x20
je 0x1000dbb7
push 0
push 0x1b
push 0x100
push esi
call edi
push 0xc01b0000
push 0x1b
push 0x101
push esi
call edi
push 3
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x1000db20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, word [eax*8 + 0x3ade52c]
jmp 0x1000db98
Function at 0x100282e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x100282f0
xor eax, eax
pop ebp
ret 4
push esi
not eax
cmp edx, 8
jb 0x100283bf
mov esi, edx
shr esi, 3
push edi
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x3ad7d50]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x3ad7d50]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x3ad7d50]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x3ad7d50]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x3ad7d50]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x3ad7d50]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x3ad7d50]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x3ad7d50]
add ecx, 8
sub edx, 8
dec esi
jne 0x10028302
pop edi
test edx, edx
je 0x100283dc
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x3ad7d50]
inc ecx
dec edx
jne 0x100283c3
not eax
pop esi
pop ebp
ret 4
Function at 0x100283f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
push edi
call dword [0x3ad512c]
cmp eax, 1
je 0x10028411
mov eax, 0x1000000
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0x74]
push eax
push edi
call dword [0x3ad5128]
test eax, eax
jne 0x1002842d
mov eax, 0x200
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp - 0x30]
push ecx
call dword [0x3ad51f4]
lea edx, [ebp - 0x40]
push edx
call dword [0x3ad5134]
mov esi, dword [0x3ad5138]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x30]
push ecx
call esi
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x40]
push eax
call esi
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sbb ecx, dword [ebp - 0x14]
sub dword [ebp - 0x60], eax
sbb dword [ebp - 0x5c], ecx
sub dword [ebp - 0x68], eax
sbb dword [ebp - 0x64], ecx
sub dword [ebp - 0x70], eax
sbb dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x74]
mov eax, ecx
xor esi, esi
and eax, 1
je 0x1002848f
mov dword [ebp - 8], 1
mov esi, dword [ebp - 8]
test cl, 2
je 0x10028497
or esi, 2
test cl, 4
je 0x1002849f
or esi, 4
mov edx, ecx
and edx, 0x10
je 0x100284a9
or esi, 0x10
test cl, 0x20
je 0x100284b1
or esi, 0x20
test edx, edx
je 0x100284bd
or esi, 0x40000000
jmp 0x100284c3
or esi, 0x80000000
or esi, 0x1000000
mov dword [ebp - 8], esi
test eax, eax
jne 0x100284d9
or esi, 0x800000
mov dword [ebp - 8], esi
push 0
push edi
call dword [0x3ad513c]
mov dword [ebp - 0x10], eax
cmp eax, 0x28
jbe 0x10028580
mov esi, dword [0x3ad51fc]
push 0
push 0
push 0
push edi
call esi
mov ebx, dword [0x3ad521c]
push 0
lea ecx, [ebp - 0xc]
push ecx
push 2
lea edx, [ebp - 4]
push edx
push edi
call ebx
push 0
push 0
push 0x24
push edi
call esi
push 0
lea eax, [ebp - 0xc]
push eax
push 4
lea ecx, [ebp - 0x14]
push ecx
push edi
call ebx
mov edx, 0x54ad
cmp word [ebp - 4], dx
jne 0x1002857d
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 0x34]
cmp dword [ebp - 0x10], ecx
jbe 0x1002857d
push 0
push 0
push eax
push edi
call esi
push 0
lea edx, [ebp - 0xc]
push edx
push 4
lea eax, [ebp - 0x1c]
push eax
push edi
call ebx
mov eax, dword [ebp - 0x1c]
cmp eax, 0x5a4d
je 0x10028576
cmp eax, 0x454e
je 0x10028576
cmp eax, 0x454c
je 0x10028576
cmp eax, 0x4550
jne 0x1002857d
or dword [ebp - 8], 0x400000
mov esi, dword [ebp - 8]
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp eax, ecx
je 0x1002858b
mov dword [eax], esi
mov eax, dword [ebp + 0xc]
cmp eax, ecx
je 0x10028597
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
mov eax, dword [ebp + 0x10]
cmp eax, ecx
je 0x100285a6
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov esi, dword [ebp + 0x14]
cmp esi, ecx
je 0x100285ce
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x60]
push edx
call dword [0x3ad5140]
movzx eax, word [ebp + 8]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
mov dword [esi], eax
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1002d330
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov eax, dword [eax + 0x340]
push esi
push edi
test eax, eax
jne 0x1002d350
mov eax, 0x3adacd4
push 0x3adacc0
push eax
lea ecx, [ebp - 0x214]
push 0x3adacdc
push ecx
call dword [0x3ad54d4]
lea eax, [ebp - 0x214]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002d374
mov ecx, dword [ebx + 0x75c4]
sub eax, edx
lea edx, [ecx + eax + 0xd]
cmp edx, 0x7530
jbe 0x1002d3be
push ecx
lea eax, [ebx + 0x94]
push eax
mov eax, ebx
call fcn.10030cd0
test eax, eax
jns 0x1002d3b4
mov esi, ebx
call fcn.10030a00
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebx + 0x75c4], 0
mov al, byte [0x3ade05d]
movsx ecx, al
neg ecx
sbb ecx, ecx
and ecx, 0x302fefc
xor edx, edx
add ecx, 0xfffe0003
test al, al
lea eax, [ebp - 0x214]
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], ecx
lea edx, [eax + 1]
je 0x1002d411
jmp 0x1002d3f0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002d3f0
sub eax, edx
lea edx, [eax + 1]
shr edx, 8
inc eax
and edx, 0xff
shl eax, 8
xor edx, eax
mov word [ebp - 0xc], dx
jmp 0x1002d41f
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002d411
sub eax, edx
inc eax
mov word [ebp - 0xc], ax
mov ecx, dword [ebx + 0x75c4]
xor eax, eax
lea edi, [ecx + ebx + 0x94]
mov word [ebp - 0xa], ax
lea esi, [ebp - 0x10]
mov ecx, 0xc
rep movsb byte es:[edi], byte [esi]
add dword [ebx + 0x75c4], 0xc
mov edx, dword [ebx + 0x75c4]
lea eax, [ebp - 0x214]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002d452
sub eax, esi
lea ecx, [eax + 1]
lea edi, [edx + ebx + 0x94]
lea esi, [ebp - 0x214]
lea eax, [ebp - 0x214]
rep movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002d476
sub eax, edx
inc eax
add dword [ebx + 0x75c4], eax
mov eax, dword [ebx + 0x75c4]
push eax
lea edx, [ebx + 0x94]
push edx
mov eax, ebx
call fcn.10030cd0
test eax, eax
js 0x1002d3a2
pop edi
pop esi
mov dword [ebx + 0x75c4], 0
or al, 0xff
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10036380
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push ebx
push esi
mov esi, dword [edx + 4]
mov edx, eax
shr edx, 4
xor edx, esi
and edx, 0xf0f0f0f
xor esi, edx
shl edx, 4
xor eax, edx
mov edx, eax
shr edx, 0x10
xor edx, esi
and edx, 0xffff
xor esi, edx
shl edx, 0x10
xor eax, edx
mov edx, esi
shr edx, 2
xor edx, eax
and edx, 0x33333333
xor eax, edx
add edx, edx
add edx, edx
xor esi, edx
mov edx, esi
shr edx, 8
xor edx, eax
and edx, 0xff00ff
xor eax, edx
shl edx, 8
xor esi, edx
rol esi, 1
mov edx, esi
xor edx, eax
and edx, 0xaaaaaaaa
xor esi, edx
xor edx, eax
rol edx, 1
push edi
mov ecx, 0x3aed708
mov dword [ebp - 4], edx
mov dword [ebp - 8], 8
mov eax, esi
ror eax, 4
xor eax, dword [ecx]
add ecx, 0x10
mov edx, eax
shr edx, 0x18
mov edi, eax
shr edi, 0x10
and edi, 0x3f
and edx, 0x3f
mov edx, dword [edx*4 + 0x3add6a8]
or edx, dword [edi*4 + 0x3add8a8]
mov edi, eax
shr edi, 8
and edi, 0x3f
or edx, dword [edi*4 + 0x3addaa8]
and eax, 0x3f
or edx, dword [eax*4 + 0x3addca8]
mov eax, dword [ecx - 0xc]
xor eax, esi
mov edi, eax
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x3add7a8]
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
or edi, dword [ebx*4 + 0x3add9a8]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or edi, dword [ebx*4 + 0x3addba8]
and eax, 0x3f
or edi, dword [eax*4 + 0x3addda8]
or edi, edx
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 4]
xor edi, dword [ebp - 0xc]
mov eax, edi
ror eax, 4
xor eax, dword [ecx - 8]
mov dword [ebp - 4], edi
mov edx, eax
shr edx, 0x18
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
and edx, 0x3f
mov edx, dword [edx*4 + 0x3add6a8]
or edx, dword [ebx*4 + 0x3add8a8]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or edx, dword [ebx*4 + 0x3addaa8]
and eax, 0x3f
or edx, dword [eax*4 + 0x3addca8]
mov eax, dword [ecx - 4]
xor eax, edi
mov edi, eax
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x3add7a8]
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
or edi, dword [ebx*4 + 0x3add9a8]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or edi, dword [ebx*4 + 0x3addba8]
and eax, 0x3f
or edi, dword [eax*4 + 0x3addda8]
or edi, edx
xor esi, edi
dec dword [ebp - 8]
jne 0x10036403
mov ecx, dword [ebp - 4]
ror esi, 1
mov eax, esi
xor eax, ecx
and eax, 0xaaaaaaaa
xor esi, eax
xor eax, ecx
ror eax, 1
mov ecx, eax
shr ecx, 8
xor ecx, esi
and ecx, 0xff00ff
xor esi, ecx
shl ecx, 8
xor eax, ecx
mov ecx, eax
shr ecx, 2
xor ecx, esi
and ecx, 0x33333333
xor esi, ecx
add ecx, ecx
add ecx, ecx
xor eax, ecx
mov edx, dword [ebp + 8]
mov ecx, esi
shr ecx, 0x10
xor ecx, eax
and ecx, 0xffff
xor eax, ecx
shl ecx, 0x10
xor esi, ecx
mov ecx, esi
shr ecx, 4
xor ecx, eax
and ecx, 0xf0f0f0f
mov edi, ecx
shl edi, 4
xor edi, esi
mov dword [edx], edi
pop edi
xor ecx, eax
pop esi
mov dword [edx + 4], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4