joyce8/EMBER2024-capa huggingface dataset:
Function at 0x11de058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x11de1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x11de07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x11de06a
add dl, dl
jne 0x11de089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x11de0dc
xor eax, eax
add dl, dl
jne 0x11de096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x11de17d
add dl, dl
jne 0x11de0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11de0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11de0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11de0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x11de0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x11de075
mov eax, 1
add dl, dl
jne 0x11de0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11de0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x11de0e1
sub eax, ebx
mov ebx, 1
jne 0x11de128
mov ecx, 1
add dl, dl
jne 0x11de10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x11de119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x11de105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x11de075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x11de13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x11de14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x11de136
cmp eax, 0x7d00
jae 0x11de16d
cmp eax, 0x500
jb 0x11de168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x11de075
cmp eax, 0x7f
ja 0x11de170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x11de075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x11de19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x11de075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

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

Disassembly:
mov eax, section..reloc
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x39c13b49
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x14af4d82
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

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

Disassembly:
push ebp
mov ebp, esp
push edi
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [0x1008e880]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0x946632fc
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
sub eax, 0x946632fc
je 0x100102f2
jmp 0x100102da
mov eax, dword [ebp - 0x20]
sub eax, 0x48413c80
je 0x1001030a
jmp 0x100102ed
jmp 0x10010355
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, esp
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], 0x48413c80
jmp 0x10010355
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov dword [eax], ecx
mov edx, dword [ebp - 0x10]
pop eax
push eax
mov eax, eax
xor eax, 0x85
nop
mov ecx, dword [ebp - 0xc]
mov edi, dword [edx]
not byte [edi]
pop eax
push eax
mov eax, eax
xor eax, 0x85
nop
add byte [edi], 0x72
sub byte [edi], 0x25
pop eax
push eax
mov eax, eax
xor eax, 0x85
nop
imul byte [edi]
inc edi
loop 0x10010324
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1002ba90
lea esp, [ebp - 4]
pop edi
pop ebp
ret
jmp 0x100102c4
Function at 0x10012e10
Capabilities:
Allocate or change rwx memory
Create process on windows
Encode data using base64
Encrypt data using speck
Execute anti-debugging instructions
Execute shellcode via indirect call
Hide graphical window
Parse credit card information
Parse pe header
Resume thread

Disassembly:
jmp 0x1001e649
push ebp
cmp dx, 0x9393
mov ebp, esp
dec ax
push ebx
rcl ax, cl
push edi
or ax, dx
push esi
inc ah
shl eax, cl
sub esp, 0x238
btr eax, 0x1a
mov eax, dword [0x1008e880]
cmc
xor eax, ebp
clc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x240], 0x8e4558de
bsr eax, edi
sbb eax, esp
sbb eax, 0x30913512
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x244], eax
cmp esi, 0x55a9b90f
sub eax, 0x8015ea44
jmp loc.1009085d

Function at 0x10030aaa
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10030ae9
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10030ae9
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10030ae9
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10030ae9
cmp dword [ecx + 0x74], 0xe
jbe 0x10030ae9
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10033474
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10033511
push ebx
push esi
call fcn.1003343d
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100333d1
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100334be
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10033510
push edi
push eax
call fcn.10031d72
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100334de
call fcn.10031dc0
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1003350f
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100333d1
add esp, 0x20
test eax, eax
jne 0x100334fd
push edi
call fcn.10031dc0
jmp 0x10033505
push ebx
call fcn.10031dc0
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1003377e
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1003ba10
push 0x1003ba08
push str.FlsAlloc
push 0x1f
call fcn.1003369a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100337b2
push dword [ebp + 8]
mov ecx, esi
call dword [0x10039150]
call esi
jmp 0x100337b8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100337fc
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1003ba20
push 0x1003ba18
push str.FlsGetValue
push 0x21
call fcn.1003369a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10033833
push dword [ebp + 8]
mov ecx, esi
call dword [0x10039150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1003383b
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1003ba28
push 0x1003ba20
push str.FlsSetValue
push 0x22
call fcn.1003369a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10033875
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10039150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10038d80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10038dad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10038dad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x418530
Capabilities:
Parse pe header

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

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x10024add
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x34
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, dword [esp + 0x44]
xor ebp, ebp
mov eax, dword [esi + 0x28]
push edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0x3f000000
mov ecx, dword [esi + eax*8 + 0xa4d4]
mov dword [esp + 0x28], 0xbf000000
mov dword [esp + 0x10], ecx
mov dword [esp + 0x2c], 0x3f800000
mov edx, dword [esi + eax*8 + 0xa4d8]
mov dword [esp + 0x30], 0xbf800000
mov dword [esp + 0x14], edx
mov dword [esp + 0x34], 0x3fc00000
mov dword [esp + 0x38], 0xbfc00000
mov dword [esp + 0x3c], 0x40000000
mov dword [esp + 0x40], 0xc0000000
shl ebx, 7
mov dword [esp + 0x48], 0
lea edi, [esp + 0x20]
test ebp, ebp
jne 0x10024b68
mov eax, dword [esp + 0x48]
test eax, eax
je 0x10024bdf
fld dword [esi + 0x3c]
fmul dword [esp + ebp*4 + 0x20]
fld dword [esi + 0x44]
fmul dword [edi]
mov eax, dword [esi + 0x28]
faddp st(1)
fadd dword [esp + 0x10]
fstp dword [esi + eax*8 + 0xa4d4]
fld dword [esi + 0x40]
fmul dword [esp + ebp*4 + 0x20]
fld dword [esi + 0x48]
fmul dword [edi]
mov ecx, dword [esi + 0x28]
faddp st(1)
fadd dword [esp + 0x14]
fstp dword [esi + ecx*8 + 0xa4d8]
mov edx, dword [esi + 0x28]
mov ecx, dword [esi + edx*8 + 0xa4d4]
lea eax, [esi + edx*8]
mov dword [eax + 0xd69c], ecx
mov edx, dword [eax + 0xa4d8]
mov dword [eax + 0xd6a0], edx
mov eax, dword [esi + 0x28]
dec eax
mov ecx, esi
push eax
push 0
push 1
call fcn.1002637d
mov ecx, dword [esi + 0x28]
dec ecx
push ecx
push 0
push 1
mov ecx, esi
call fcn.1002646d
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x28]
push edx
mov ecx, dword [ebx + eax + 0x74]
push ecx
mov ecx, esi
call fcn.10026b6d
mov edx, dword [esi + 0x28]
lea eax, [esp + 0x18]
push eax
push 2
mov ecx, esi
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], edx
call fcn.10026dfd
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x28]
mov edx, dword [ebx + ecx + 0x7c]
mov ecx, esi
push edx
push eax
call fcn.10026f3d
mov ecx, dword [esi + 0x1c]
mov edx, dword [ebx + ecx + 0x78]
lea eax, [ebx + ecx]
mov ecx, dword [esi + 0x28]
push edx
mov edx, dword [eax + 0x74]
push ecx
push edx
mov ecx, esi
call fcn.100270bd
test eax, eax
jne 0x10024c6b
mov eax, dword [esp + 0x48]
add edi, 4
inc eax
cmp eax, 9
mov dword [esp + 0x48], eax
jl 0x10024b5c
inc ebp
cmp ebp, 9
jl 0x10024b50
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x34
ret 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x34
ret 4
Function at 0x1002757d
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, ecx
push ebp
call dword [fcn.100190b4]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x100275ac
mov dword [esi + 0x10508], 1
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
mov esi, dword [esp + 0x20]
mov ecx, ebp
mov eax, ecx
push edi
mov edi, ebx
mov edx, dword [esp + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
test edx, edx
rep movsb byte es:[edi], byte [esi]
jle 0x10027673
lea edi, [ebp - 1]
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], edi
mov al, byte [ebx]
test al, al
je 0x1002764d
and eax, 0xff
mov esi, ebp
sub esi, edx
mov cl, byte [eax + 0x1001cdf4]
mov byte [esp + 0x14], cl
xor ecx, ecx
test esi, esi
jle 0x1002763b
mov edi, dword [esp + 0x14]
and edi, 0xff
mov edx, dword [esi*4 + 0x1001d3c4]
xor eax, eax
mov ebp, 0xff
mov al, byte [edx + ecx]
add eax, edi
cdq
idiv ebp
and edx, ebp
mov al, byte [edx + 0x1001ccf4]
mov dl, byte [ecx + ebx + 1]
xor al, dl
mov byte [ecx + ebx], al
inc ecx
cmp ecx, esi
jl 0x10027603
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
cmp esi, edi
jge 0x1002765f
mov cl, byte [esi + ebx + 1]
mov byte [esi + ebx], cl
inc esi
cmp esi, edi
jl 0x1002763f
jmp 0x1002765f
xor eax, eax
test edi, edi
jle 0x1002765f
mov cl, byte [eax + ebx + 1]
mov byte [eax + ebx], cl
inc eax
cmp eax, edi
jl 0x10027653
mov eax, dword [esp + 0x10]
dec edi
dec eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x10], eax
jne 0x100275da
mov ecx, ebp
xor eax, eax
sub ecx, edx
mov esi, 1
test ecx, ecx
pop edi
jle 0x10027692
cmp byte [eax + ebx], 0
jne 0x10027690
inc eax
cmp eax, ecx
jl 0x10027683
jmp 0x10027692
xor esi, esi
push ebx
call dword [fcn.100190b0]
add esp, 4
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc

Function at 0x100276ad
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x14]
add eax, eax
test eax, eax
mov dword [esp + 4], eax
jle 0x1002774f
mov edx, 0xfffefd1c
push ebx
push ebp
mov ebp, dword [esp + 0x14]
sub edx, ecx
push esi
push edi
mov dword [esp + 0x24], 0
lea esi, [ecx + 0x102e4]
mov dword [esp + 0x10], edx
xor edi, edi
mov byte [esi], 0
test ebp, ebp
jle 0x1002773a
lea ecx, [edx + esi]
lea eax, [ebp - 1]
imul ecx, eax
mov eax, dword [esp + 0x20]
mov al, byte [edi + eax]
test al, al
je 0x1002772b
and eax, 0xff
xor edx, edx
mov ebx, 0xff
mov dl, byte [eax + 0x1001cdf4]
mov eax, edx
add eax, ecx
cdq
idiv ebx
and edx, ebx
mov al, byte [edx + 0x1001ccf4]
mov dl, byte [esi]
xor dl, al
mov byte [esi], dl
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x24]
inc edi
add ecx, ebx
cmp edi, ebp
jl 0x100276f5
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
dec ecx
inc esi
mov dword [esp + 0x24], ecx
lea ecx, [edx + esi]
cmp ecx, eax
jl 0x100276e3
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x100279ad
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
test ebx, ebx
push edi
mov ebp, ecx
jle 0x10027ad3
mov eax, 0xfffefb0f
lea ebx, [ebx + ebp + 0x104f0]
sub eax, ebp
mov dword [esp + 0x18], eax
mov eax, 0xfffefb10
sub eax, ebp
mov dword [esp + 0x10], eax
mov ecx, 0x3c
lea esi, [ebp + 0x10311]
lea edi, [ebp + 0x10401]
rep movsd dword es:[edi], dword [esi]
lea edi, [eax + ebx]
cmp edi, 1
mov esi, edi
jle 0x10027a08
push esi
mov ecx, ebp
call fcn.10027aed
dec esi
cmp esi, 1
jg 0x100279fa
mov cl, byte [ebp + 0x10401]
test cl, cl
je 0x10027ae0
mov al, byte [ebp + 0x10402]
test al, al
jne 0x10027a24
xor eax, eax
jmp 0x10027a58
and eax, 0xff
xor edx, edx
and ecx, 0xff
mov dl, byte [eax + 0x1001cdf4]
mov eax, edx
xor edx, edx
mov dl, byte [ecx + 0x1001cdf4]
mov ecx, 0xff
sub eax, edx
add eax, 0xff
cdq
idiv ecx
xor eax, eax
mov al, byte [edx + 0x1001ccf4]
mov edx, dword [esp + 0x18]
mov byte [edi + ebp + 0x104f0], al
lea eax, [edx + ebx]
test eax, eax
jle 0x10027ac3
lea esi, [ebx - 0x1e0]
mov edi, eax
mov cl, byte [esi]
test cl, cl
je 0x10027aaf
mov al, byte [ebx]
test al, al
je 0x10027aaf
and eax, 0xff
xor edx, edx
and ecx, 0xff
mov dl, byte [eax + 0x1001cdf4]
mov eax, edx
xor edx, edx
mov dl, byte [ecx + 0x1001cdf4]
mov ecx, 0xff
add eax, edx
cdq
idiv ecx
xor eax, eax
mov al, byte [edx + 0x1001ccf4]
jmp 0x10027ab1
xor eax, eax
mov byte [esi], al
mov dl, byte [esi + 0xf1]
xor dl, al
mov byte [esi], dl
add esi, 0x10
dec edi
jne 0x10027a72
mov eax, dword [esp + 0x10]
dec ebx
lea ecx, [eax + ebx]
test ecx, ecx
jg 0x100279dd
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 4

Function at 0x10027aed
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
mov edx, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 8], edx
lea eax, [ecx - 1]
test eax, eax
jle 0x10027be3
push ebx
push ebp
push esi
push edi
lea edi, [edx + 0x10402]
mov dword [esp + 0x14], eax
mov al, byte [edi - 1]
xor esi, esi
test ecx, ecx
mov byte [esp + 0x10], al
jle 0x10027bcd
mov eax, ecx
shl eax, 4
lea ebp, [eax + edx]
mov dl, byte [ebp + 0x103f1]
test dl, dl
je 0x10027b6c
mov al, byte [edi + esi]
test al, al
je 0x10027b6c
and eax, 0xff
xor ebx, ebx
and edx, 0xff
mov bl, byte [eax + 0x1001cdf4]
mov eax, ebx
xor ebx, ebx
mov bl, byte [edx + 0x1001cdf4]
add eax, ebx
mov ebx, 0xff
cdq
idiv ebx
mov bl, byte [edx + 0x1001ccf4]
jmp 0x10027b6e
xor bl, bl
mov al, byte [esp + 0x10]
test al, al
je 0x10027bb8
mov al, byte [esi + ebp + 0x103f2]
test al, al
je 0x10027bb8
mov edx, dword [esp + 0x10]
and eax, 0xff
xor ecx, ecx
and edx, 0xff
mov cl, byte [eax + 0x1001cdf4]
mov eax, ecx
xor ecx, ecx
mov cl, byte [edx + 0x1001cdf4]
add eax, ecx
mov ecx, 0xff
cdq
idiv ecx
mov ecx, dword [esp + 0x20]
mov dl, byte [edx + 0x1001ccf4]
jmp 0x10027bba
xor dl, dl
xor dl, bl
mov byte [edi + esi - 1], dl
inc esi
cmp esi, ecx
jl 0x10027b2c
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
add edi, 0x10
dec eax
mov dword [esp + 0x14], eax
jne 0x10027b13
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x1002adfd
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x1002ae2d
push esi
call fcn.1002e3dd
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x1002ae26
mov dword [esi + 0x10], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x1002aeb0
mov eax, dword [esi + 0x18c]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x1002ae9c
mov eax, dword [esi + 8]
test eax, eax
je 0x1002ae51
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x18c]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x1002ae98
cmp eax, 2
je 0x1002ae9c
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1002ae44
cmp eax, 3
je 0x1002ae77
cmp eax, 1
jne 0x1002ae44
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 0x1002ae44
mov edx, dword [esi + 0x118]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x1002ae44
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.1002aedd
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x1002aed0
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x10], 0x12
mov edx, dword [esi]
mov eax, dword [esi + 0x10]
mov dword [edx + 0x14], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.1002aedd
add esp, 4
pop esi
ret
Function at 0x10048e84
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 8
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
not esi
mov edx, 0xff
jb 0x10048f5e
mov eax, dword [ebp + 0x10]
push ebx
shr eax, 3
push edi
xor ebx, ebx
mov bl, byte [ecx]
mov edi, esi
shr edi, 8
sub dword [ebp + 0x10], 8
xor ebx, esi
and ebx, edx
mov esi, dword [ebx*4 + 0x68cd1eb8]
xor ebx, ebx
xor esi, edi
inc ecx
mov bl, byte [ecx]
xor ebx, esi
and ebx, edx
mov edi, dword [ebx*4 + 0x68cd1eb8]
xor ebx, ebx
shr esi, 8
xor edi, esi
inc ecx
mov bl, byte [ecx]
xor ebx, edi
and ebx, edx
mov esi, dword [ebx*4 + 0x68cd1eb8]
xor ebx, ebx
shr edi, 8
xor esi, edi
inc ecx
mov bl, byte [ecx]
xor ebx, esi
and ebx, edx
mov edi, dword [ebx*4 + 0x68cd1eb8]
xor ebx, ebx
shr esi, 8
xor edi, esi
inc ecx
mov bl, byte [ecx]
xor ebx, edi
and ebx, edx
mov esi, dword [ebx*4 + 0x68cd1eb8]
xor ebx, ebx
shr edi, 8
xor esi, edi
inc ecx
mov bl, byte [ecx]
xor ebx, esi
and ebx, edx
mov edi, dword [ebx*4 + 0x68cd1eb8]
shr esi, 8
xor edi, esi
xor ebx, ebx
inc ecx
mov bl, byte [ecx]
xor ebx, edi
and ebx, edx
mov esi, dword [ebx*4 + 0x68cd1eb8]
shr edi, 8
xor esi, edi
xor ebx, ebx
inc ecx
mov bl, byte [ecx]
xor ebx, esi
and ebx, edx
mov edi, dword [ebx*4 + 0x68cd1eb8]
shr esi, 8
xor esi, edi
inc ecx
dec eax
jne 0x10048ea7
pop edi
pop ebx
cmp dword [ebp + 0x10], 0
je 0x10048f7e
xor eax, eax
mov al, byte [ecx]
xor eax, esi
and eax, edx
mov eax, dword [eax*4 + 0x68cd1eb8]
shr esi, 8
xor esi, eax
inc ecx
dec dword [ebp + 0x10]
jne 0x10048f64
mov eax, esi
not eax
pop esi
pop ebp
ret 0xc

Function at 0x10048f87
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x58]
add dword [esi + 0x5c], ecx
test ecx, ecx
not eax
jbe 0x10048fcb
push ebx
push edi
mov edi, dword [esp + 0x14]
mov edx, ecx
mov ecx, dword [esp + 0x18]
mov bl, byte [ecx]
mov byte [edi], bl
xor ebx, ebx
mov bl, byte [ecx]
inc edi
xor ebx, eax
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x68cd1eb8]
shr eax, 8
xor eax, ebx
inc ecx
dec edx
jne 0x10048fa8
pop edi
pop ebx
not eax
mov dword [esi + 0x58], eax
pop esi
ret 0x10
Function at 0x100b63f1
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
cmp dword [ebp + 8], 0x14
jge 0x100b6413
mov eax, 0x5a827999
jmp 0x100b644f
cmp dword [ebp + 8], 0x28
jge 0x100b642c
mov eax, 0x6ed9eba1
jmp 0x100b644f
cmp dword [ebp + 8], 0x3c
jge 0x100b6445
mov eax, 0x8f1bbcdc
jmp 0x100b644f
mov eax, 0xca62c1d6
jmp 0x100b644f
mov esp, ebp
pop ebp
ret 4