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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
sub eax, ebx
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 4], eax
cmp ecx, ebx
jb 0x4be62b
cmp ebx, 0x40
ja 0x4be62b
lea eax, [ebp - 0x98]
neg eax
push esi
push edi
and eax, 0x3f
lea edi, [ebp - 0x98]
add edi, eax
lea eax, [ebx + 0x100]
mov dword [ebp - 0x18], edi
cmp ecx, eax
jbe 0x4be53f
mov eax, ecx
sub eax, ebx
sub eax, 0x100
mov dword [ebp - 4], eax
push ebx
xor esi, esi
mov dword [ebp - 8], 0
push esi
push edi
call fcn.0053f310
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], esi
cmp ecx, dword [eax + 0xc]
jae 0x4be5ec
mov edx, ecx
sub edx, dword [eax + 8]
mov dword [ebp - 0x10], edx
nop dword [eax]
mov ebx, dword [ebp + 0xc]
mov eax, ecx
xor eax, dword [ebp - 0x14]
lea edi, [eax - 1]
not eax
shr eax, 0x1f
shr edi, 0x1f
and edi, eax
mov eax, dword [ebp + 0xc]
neg edi
xor edx, dword [eax + 8]
mov eax, ecx
xor eax, dword [ebx + 8]
or edx, eax
mov eax, dword [ebx + 0x14]
xor edx, ecx
mov ebx, dword [ebp + 0x10]
shr edx, 0x1f
neg edx
mov cl, byte [eax + ecx]
mov eax, edi
or eax, dword [ebp - 8]
and eax, edx
mov edx, dword [ebp - 0xc]
and edi, edx
mov dword [ebp - 8], eax
and al, cl
or esi, edi
mov edi, dword [ebp - 0x18]
or byte [edx + edi], al
inc edx
mov ecx, edx
mov eax, edx
sub ecx, ebx
xor eax, ebx
xor ecx, ebx
or ecx, eax
mov eax, dword [ebp + 0xc]
xor ecx, edx
shr ecx, 0x1f
neg ecx
and edx, ecx
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
inc ecx
mov edx, dword [ebp - 0x10]
inc edx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], edx
cmp ecx, dword [eax + 0xc]
jb 0x4be570
xor edx, edx
test ebx, ebx
je 0x4be61f
mov ecx, dword [ebp + 8]
mov eax, esi
xor eax, 0x20
mov al, byte [eax + edi]
movzx eax, byte [esi + edi]
inc esi
mov byte [edx + ecx], al
mov ecx, esi
sub ecx, ebx
mov eax, esi
xor ecx, ebx
xor eax, ebx
or ecx, eax
inc edx
xor ecx, esi
shr ecx, 0x1f
neg ecx
and esi, ecx
cmp edx, ebx
jb 0x4be5f2
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
push 0x612
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_ssl_record_ssl3_record.c
push str.Assertion_failed:_rec__orig_len___md_size__md_size___EVP_MAX_MD_SIZE
call fcn.00459520
add esp, 0xc
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bf680
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
inc ebx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], ebx
mov eax, dword [esi + 4]
mov ecx, dword [edi + 8]
mov eax, dword [eax + 0x64]
test byte [eax + 0x30], 1
je 0x4bf6c8
mov edx, dword [ebp + 0x10]
lea eax, [ebx + edx]
cmp eax, ecx
jbe 0x4bf6b8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
add dword [edi + 0x14], edx
sub ecx, edx
add dword [edi + 0x18], edx
sub dword [edi + 0xc], edx
mov dword [edi + 8], ecx
jmp 0x4bf6cc
cmp ebx, ecx
ja 0x4bf6af
mov eax, dword [edi + 0x14]
push dword [esi + 0x3c8]
mov al, byte [eax + ecx - 1]
movzx ebx, al
mov byte [ebp + 0x17], al
mov dword [ebp + 8], ebx
call fcn.0044deb0
push eax
call fcn.0044e070
mov esi, dword [edi + 8]
add esp, 8
mov dword [ebp - 0x10], esi
and eax, 0x200000
je 0x4bf70f
sub esi, ebx
mov eax, 1
dec esi
mov dword [edi + 8], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov ebx, esi
mov edx, dword [ebp + 8]
mov eax, esi
add ecx, edx
sub ebx, ecx
xor eax, ecx
xor ebx, ecx
or ebx, eax
mov eax, 0x100
xor ebx, esi
shr ebx, 0x1f
dec ebx
cmp esi, eax
cmovb eax, esi
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4bf78b
mov eax, edx
dec esi
shr eax, 0x1f
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x14]
add eax, esi
xor edi, edi
mov esi, eax
nop dword [eax]
movzx eax, byte [ebp - 8]
lea esi, [esi - 1]
sub edx, edi
mov ecx, edi
shr edx, 0x1f
inc edi
shr ecx, 0x1f
xor dl, cl
xor al, cl
movzx ecx, byte [ebp + 0x17]
or dl, al
movzx eax, byte [esi + 1]
dec dl
movzx edx, dl
xor ecx, eax
and edx, ecx
not edx
and ebx, edx
mov edx, dword [ebp + 8]
cmp edi, dword [ebp - 0xc]
jb 0x4bf750
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp + 0xc]
not ebx
lea eax, [edx + 1]
movzx ecx, bl
dec ecx
shr ecx, 0x1f
neg ecx
and eax, ecx
sub esi, eax
mov eax, ecx
mov dword [edi + 8], esi
and eax, 1
pop edi
not ecx
pop esi
or eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c3110
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov ecx, dword [ebp + 0xc]
xor edx, edx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 4], edx
mov eax, dword [esi]
test edi, edi
je 0x4c3153
cmp edi, eax
je 0x4c3147
test ecx, ecx
je 0x4c31ea
test ebx, ebx
js 0x4c31ea
mov edx, 1
mov dword [esi], edi
mov dword [ebp - 4], edx
jmp 0x4c315d
test eax, eax
je 0x4c31ea
mov edi, eax
test ecx, ecx
je 0x4c323a
push edi
mov dword [ebp - 4], 1
call fcn.0044e540
mov ecx, eax
add esp, 4
xor eax, eax
mov dword [ebp - 8], ecx
cmp ecx, 0x90
setle al
mov dword [ebp + 0x14], eax
jle 0x4c31a4
push 0x29
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_hmac_hmac.c
push str.Assertion_failed:_j____int_sizeof_ctx__key_
call fcn.00459520
mov eax, dword [ebp + 0x14]
add esp, 0xc
mov ecx, dword [ebp - 8]
test eax, eax
je 0x4c31ea
cmp ecx, ebx
jge 0x4c31f3
push dword [ebp + 0x18]
push edi
push dword [esi + 4]
call fcn.00462740
add esp, 0xc
test eax, eax
je 0x4c31ea
mov eax, dword [ebp + 0xc]
push ebx
push eax
push dword [esi + 4]
call fcn.004628e0
add esp, 0xc
test eax, eax
je 0x4c31ea
lea eax, [esi + 0x10]
push eax
lea eax, [esi + 0x14]
push eax
push dword [esi + 4]
call fcn.004626a0
add esp, 0xc
test eax, eax
jne 0x4c3213
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, 0x90
ja 0x4c31ea
mov eax, dword [ebp + 0xc]
push ebx
push eax
lea eax, [esi + 0x14]
push eax
call fcn.0053f470
lea eax, [esi + 0x10]
add esp, 0xc
mov dword [eax], ebx
jmp 0x4c3216
lea eax, [esi + 0x10]
mov ecx, dword [eax]
cmp ecx, 0x90
je 0x4c3242
mov eax, 0x90
sub eax, ecx
push eax
lea eax, [esi + 0x14]
add eax, ecx
push 0
push eax
call fcn.0053f310
add esp, 0xc
jmp 0x4c3242
test edx, edx
je 0x4c32e4
xor ecx, ecx
nop dword [eax]
nop dword [eax + eax]
mov al, byte [esi + ecx + 0x14]
xor al, 0x36
mov byte [ebp + ecx - 0x98], al
inc ecx
cmp ecx, 0x90
jl 0x4c3250
mov ebx, dword [ebp + 0x18]
push ebx
push edi
push dword [esi + 8]
call fcn.00462740
add esp, 0xc
test eax, eax
je 0x4c3300
push edi
call fcn.0044e540
push eax
lea eax, [ebp - 0x98]
push eax
push dword [esi + 8]
call fcn.004628e0
add esp, 0x10
test eax, eax
je 0x4c3300
xor ecx, ecx
nop dword [eax]
mov al, byte [esi + ecx + 0x14]
xor al, 0x5c
mov byte [ebp + ecx - 0x98], al
inc ecx
cmp ecx, 0x90
jl 0x4c32a0
push ebx
push edi
push dword [esi + 0xc]
call fcn.00462740
add esp, 0xc
test eax, eax
je 0x4c3300
push edi
call fcn.0044e540
push eax
lea eax, [ebp - 0x98]
push eax
push dword [esi + 0xc]
call fcn.004628e0
add esp, 0x10
test eax, eax
je 0x4c3300
push dword [esi + 8]
push dword [esi + 4]
call fcn.00462a60
xor ebx, ebx
add esp, 8
test eax, eax
mov ecx, 1
cmovne ebx, ecx
jmp 0x4c3302
xor ebx, ebx
cmp dword [ebp - 4], 0
je 0x4c331c
lea eax, [ebp - 0x98]
push 0x90
push eax
call fcn.004579a0
add esp, 8
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cfd10
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 4], ecx
push ebx
push esi
test eax, eax
je 0x4cfd2d
test byte [eax + 0x5c], 2
mov ebx, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz._
jne 0x4cfd32
mov ebx, 0x5ba340
mov esi, dword [ebp + 0x14]
test esi, esi
jle 0x4cfe05
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
inc edi
movzx eax, byte [edi - 1]
cmp esi, 3
jl 0x4cfd93
movzx ecx, byte [edi]
shl eax, 8
or eax, ecx
movzx ecx, byte [edi + 1]
shl eax, 8
or eax, ecx
mov ecx, eax
shr ecx, 0x12
movzx ecx, byte [ecx + ebx]
mov byte [edx], cl
mov ecx, eax
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + ebx]
mov byte [edx + 1], cl
mov ecx, eax
shr ecx, 6
and ecx, 0x3f
and eax, 0x3f
movzx ecx, byte [ecx + ebx]
mov byte [edx + 2], cl
mov cl, byte [eax + ebx]
lea eax, [edx + 3]
jmp 0x4cfddd
shl eax, 0x10
cmp esi, 2
jne 0x4cfda3
movzx ecx, byte [edi]
shl ecx, 8
or eax, ecx
mov ecx, eax
shr ecx, 0x12
movzx ecx, byte [ecx + ebx]
mov byte [edx], cl
mov ecx, eax
shr ecx, 0xc
inc edx
and ecx, 0x3f
mov dword [ebp + 0xc], edx
movzx ecx, byte [ecx + ebx]
mov byte [edx], cl
cmp esi, 1
jne 0x4cfdc9
mov al, 0x3d
jmp 0x4cfdd2
shr eax, 6
and eax, 0x3f
mov al, byte [eax + ebx]
mov byte [edx + 1], al
mov cl, 0x3d
mov eax, dword [ebp + 0xc]
add eax, 2
mov byte [eax], cl
lea edx, [eax + 1]
mov ecx, dword [ebp - 4]
sub esi, 3
add ecx, 4
add edi, 3
mov dword [ebp - 4], ecx
test esi, esi
jg 0x4cfd45
pop edi
pop esi
mov byte [edx], 0
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop esi
pop ebx
mov byte [eax], cl
mov eax, ecx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004d4d90

Function at 0x4d4bb0
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0xcbbb9d5d
mov dword [eax + 8], 0x367cd507
mov dword [eax + 0xc], 0x629a292a
mov dword [eax + 0x10], 0x3070dd17
mov dword [eax + 0x14], 0x9159015a
mov dword [eax + 0x18], 0xf70e5939
mov dword [eax + 0x1c], 0x152fecd8
mov dword [eax + 0x20], 0xffc00b31
mov dword [eax + 0x24], 0x67332667
mov dword [eax + 0x28], 0x68581511
mov dword [eax + 0x2c], 0x8eb44a87
mov dword [eax + 0x30], 0x64f98fa7
mov dword [eax + 0x34], 0xdb0c2e0d
mov dword [eax + 0x38], 0xbefa4fa4
mov dword [eax + 0x3c], 0x47b5481d
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0x30
mov eax, 1
pop ebp
ret
Function at 0x4d4c70
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
push esi
push dword [ebp + 0xc]
test eax, eax
mov dword [ebp - 0xd8], 0xf3bcc908
push dword [ebp + 8]
mov esi, 0x600828
mov dword [ebp - 0xd4], 0x6a09e667
cmovne esi, eax
mov dword [ebp - 0xd0], 0x84caa73b
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xcc], 0xbb67ae85
push eax
mov dword [ebp - 0xc8], 0xfe94f82b
mov dword [ebp - 0xc4], 0x3c6ef372
mov dword [ebp - 0xc0], 0x5f1d36f1
mov dword [ebp - 0xbc], 0xa54ff53a
mov dword [ebp - 0xb8], 0xade682d1
mov dword [ebp - 0xb4], 0x510e527f
mov dword [ebp - 0xb0], 0x2b3e6c1f
mov dword [ebp - 0xac], 0x9b05688c
mov dword [ebp - 0xa8], 0xfb41bd6b
mov dword [ebp - 0xa4], 0x1f83d9ab
mov dword [ebp - 0xa0], 0x137e2179
mov dword [ebp - 0x9c], 0x5be0cd19
movlpd qword [ebp - 0x98], xmm0
movlpd qword [ebp - 0x90], xmm0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0x40
call fcn.004d5680
lea eax, [ebp - 0xd8]
push eax
push esi
call fcn.004d4d90
lea eax, [ebp - 0xd8]
push 0xd8
push eax
call fcn.004579a0
add esp, 0x1c
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4d55b0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0x40
mov eax, 1
pop ebp
ret
Function at 0x4d8fd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [ebp + 0x18]
lea edx, [eax + 1]
mov dword [ebp - 4], 0
movzx ecx, byte [edx + 3]
movzx ebx, byte [eax]
movzx eax, byte [edx]
shl eax, 8
or ebx, eax
movzx eax, byte [edx + 1]
shl eax, 0x10
or ebx, eax
movzx eax, byte [edx + 2]
shl eax, 0x18
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 8
or ecx, eax
mov dword [ebp - 0x14], ebx
movzx eax, byte [edx + 5]
mov dword [ebp - 8], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [ebp - 8]
shl ecx, 8
or ecx, eax
mov byte [ebp - 0xc], bl
mov eax, ebx
shl ecx, 0x10
shr eax, 8
or edx, ecx
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 9], al
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 6], al
mov eax, edx
shr eax, 0x18
mov edi, dword [ebp + 0x1c]
mov byte [ebp - 5], al
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], edx
mov esi, dword [edi]
mov byte [ebp - 8], dl
test eax, eax
je 0x4d913d
mov edi, dword [ebp + 0xc]
sub dword [ebp + 8], edi
nop word [eax + eax]
dec eax
mov dword [ebp + 0x10], eax
test esi, esi
jne 0x4d90de
push 1
push dword [ebp + 0x14]
lea eax, [ebp - 0x14]
push eax
call fcn.004d5e50
mov ebx, dword [ebp - 0x14]
add esp, 0xc
mov edx, dword [ebp - 0x10]
mov eax, ebx
shr eax, 8
mov ecx, dword [ebp - 4]
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 9], al
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 6], al
mov eax, edx
shr eax, 0x18
inc ecx
mov byte [ebp - 0xc], bl
mov byte [ebp - 8], dl
mov byte [ebp - 5], al
mov dword [ebp - 4], ecx
jmp 0x4d90e1
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov al, byte [eax + edi]
xor al, byte [ebp + esi - 0xc]
inc esi
mov byte [edi], al
and esi, 7
mov eax, dword [ebp + 0x10]
inc edi
test eax, eax
jne 0x4d9080
test ecx, ecx
je 0x4d9131
mov edi, dword [ebp + 0x18]
mov eax, ebx
shr eax, 8
mov byte [edi], bl
mov byte [edi + 1], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 2], al
mov eax, edx
shr ebx, 0x18
mov byte [edi + 3], bl
shr eax, 8
mov byte [edi + 4], dl
mov byte [edi + 5], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [edi + 6], al
mov byte [edi + 7], dl
mov eax, dword [ebp + 0x1c]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d9b90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x20]
push ebx
push esi
push edi
movzx ebx, byte [eax]
lea edi, [eax + 1]
mov edx, edi
mov esi, dword [ebp + 0x24]
mov dword [ebp - 0x10], edi
movzx eax, byte [edx]
shl eax, 8
or ebx, eax
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 1]
shl eax, 0x10
or ebx, eax
mov esi, dword [esi]
movzx eax, byte [edx + 2]
shl eax, 0x18
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 8
or ecx, eax
mov dword [ebp - 0x18], ebx
movzx eax, byte [edx + 5]
mov dword [ebp - 8], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [ebp - 8]
shl ecx, 8
or ecx, eax
mov byte [ebp - 0xc], bl
mov eax, ebx
shl ecx, 0x10
shr eax, 8
or edx, ecx
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 9], al
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 6], al
mov eax, edx
shr eax, 0x18
cmp dword [ebp + 0x10], 0
mov dword [ebp - 0x14], edx
mov byte [ebp - 8], dl
mov byte [ebp - 5], al
je 0x4d9cf3
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
sub edi, ecx
mov eax, dword [ebp + 0x10]
dec eax
mov dword [ebp + 0x10], eax
test esi, esi
jne 0x4d9ca0
push dword [ebp + 0x1c]
lea eax, [ebp - 0x18]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
call fcn.004d7ea0
mov ebx, dword [ebp - 0x18]
add esp, 0x10
mov edx, dword [ebp - 0x14]
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xb], al
mov eax, ebx
mov ecx, dword [ebp + 0xc]
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 9], al
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 6], al
mov eax, edx
shr eax, 0x18
inc dword [ebp - 4]
mov byte [ebp - 0xc], bl
mov byte [ebp - 8], dl
mov byte [ebp - 5], al
mov al, byte [edi + ecx]
xor al, byte [ebp + esi - 0xc]
inc esi
mov byte [ecx], al
and esi, 7
mov eax, dword [ebp + 0x10]
inc ecx
mov dword [ebp + 0xc], ecx
test eax, eax
jne 0x4d9c41
mov edi, dword [ebp - 0x10]
cmp dword [ebp - 4], eax
je 0x4d9cf3
mov eax, dword [ebp + 0x20]
mov byte [eax], bl
mov eax, ebx
shr eax, 8
mov byte [edi], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 1], al
mov eax, edx
shr ebx, 0x18
mov byte [edi + 2], bl
shr eax, 8
mov byte [edi + 3], dl
mov byte [edi + 4], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [edi + 5], al
mov byte [edi + 6], dl
mov eax, dword [ebp + 0x24]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4daf30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [ebp + 0x18]
lea edx, [eax + 1]
mov dword [ebp - 4], 0
movzx ecx, byte [edx + 3]
movzx ebx, byte [eax]
movzx eax, byte [edx]
shl eax, 0x10
shl ebx, 0x18
or ebx, eax
shl ecx, 0x18
movzx eax, byte [edx + 1]
shl eax, 8
or ebx, eax
movzx eax, byte [edx + 2]
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 0x10
or ecx, eax
mov dword [ebp - 0x14], ebx
movzx eax, byte [edx + 6]
mov dword [ebp - 8], ecx
movzx ecx, byte [edx + 5]
mov edx, dword [ebp - 8]
shl ecx, 8
or ecx, eax
mov byte [ebp - 9], bl
mov eax, ebx
or edx, ecx
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 8], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 7], al
mov eax, edx
shr eax, 8
mov edi, dword [ebp + 0x1c]
mov byte [ebp - 6], al
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], edx
mov esi, dword [edi]
mov byte [ebp - 5], dl
test eax, eax
je 0x4db09f
mov edi, dword [ebp + 0xc]
sub dword [ebp + 8], edi
nop word [eax + eax]
dec eax
mov dword [ebp + 0x10], eax
test esi, esi
jne 0x4db03c
push dword [ebp + 0x14]
lea eax, [ebp - 0x14]
push eax
call fcn.004da570
mov ebx, dword [ebp - 0x14]
add esp, 8
mov edx, dword [ebp - 0x10]
mov eax, ebx
shr eax, 0x18
mov ecx, dword [ebp - 4]
mov byte [ebp - 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 8], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 7], al
mov eax, edx
shr eax, 8
inc ecx
mov byte [ebp - 9], bl
mov byte [ebp - 6], al
mov byte [ebp - 5], dl
mov dword [ebp - 4], ecx
jmp 0x4db03f
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov al, byte [eax + edi]
xor al, byte [ebp + esi - 0xc]
inc esi
mov byte [edi], al
and esi, 7
mov eax, dword [ebp + 0x10]
inc edi
test eax, eax
jne 0x4dafe0
test ecx, ecx
je 0x4db093
mov edi, dword [ebp + 0x18]
mov eax, ebx
shr eax, 0x18
mov byte [edi], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 1], al
mov eax, ebx
shr eax, 8
mov byte [edi + 2], al
mov eax, edx
shr eax, 0x18
mov byte [edi + 3], bl
mov byte [edi + 4], al
mov eax, edx
shr eax, 0x10
mov byte [edi + 5], al
mov eax, edx
shr eax, 8
mov byte [edi + 6], al
mov byte [edi + 7], dl
mov eax, dword [ebp + 0x1c]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4db0b0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, 0x80
mov esi, 0x400
mov edx, edi
mov byte [ebx], 0
cmp dword [ebp + 0xc], edx
mov ecx, esi
cmovle edx, dword [ebp + 0xc]
test eax, eax
cmovg ecx, eax
cmp ecx, esi
cmovg ecx, esi
mov dword [ebp + 0xc], ecx
test edx, edx
jle 0x4db101
sub dword [ebp + 0x10], ebx
mov ecx, ebx
mov ebx, dword [ebp + 0x10]
mov esi, edx
nop
mov al, byte [ebx + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub esi, 1
jne 0x4db0f0
mov ebx, dword [ebp + 8]
movzx esi, byte [edx + ebx - 1]
cmp edx, edi
jge 0x4db12c
mov ecx, ebx
nop dword [eax]
movzx eax, byte [ecx]
lea ecx, [ecx + 1]
add eax, esi
movzx eax, al
mov al, byte [eax + 0x5bcc60]
mov byte [edx + ebx], al
inc edx
movzx esi, al
cmp edx, edi
jl 0x4db110
mov ecx, dword [ebp + 0xc]
mov edx, 0xff
lea eax, [ecx + 7]
neg ecx
sar eax, 3
and ecx, 7
sub edi, eax
mov dword [ebp + 8], eax
movzx eax, byte [edi + ebx]
lea esi, [edi + ebx]
sar edx, cl
and edx, eax
mov al, byte [edx + 0x5bcc60]
movzx ecx, al
mov byte [esi], al
test edi, edi
je 0x4db17b
mov edx, dword [ebp + 8]
movzx eax, byte [esi + edx - 1]
lea esi, [esi - 1]
xor eax, ecx
mov al, byte [eax + 0x5bcc60]
movzx ecx, al
mov byte [esi], al
sub edi, 1
jne 0x4db161
lea esi, [ebx + 0xfc]
mov edi, 0x40
lea edx, [ebx + 0x7e]
nop dword [eax]
movzx ecx, byte [edx + 1]
lea esi, [esi - 4]
movzx eax, byte [edx]
lea edx, [edx - 2]
shl ecx, 8
or ecx, eax
mov dword [esi + 4], ecx
sub edi, 1
jne 0x4db190
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4dbbc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [ebp + 0x18]
lea edx, [eax + 1]
mov dword [ebp - 4], 0
movzx ecx, byte [edx + 3]
movzx ebx, byte [eax]
movzx eax, byte [edx]
shl eax, 8
or ebx, eax
movzx eax, byte [edx + 1]
shl eax, 0x10
or ebx, eax
movzx eax, byte [edx + 2]
shl eax, 0x18
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 8
or ecx, eax
mov dword [ebp - 0x14], ebx
movzx eax, byte [edx + 5]
mov dword [ebp - 8], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [ebp - 8]
shl ecx, 8
or ecx, eax
mov byte [ebp - 0xc], bl
mov eax, ebx
shl ecx, 0x10
shr eax, 8
or edx, ecx
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 9], al
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 6], al
mov eax, edx
shr eax, 0x18
mov edi, dword [ebp + 0x1c]
mov byte [ebp - 5], al
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], edx
mov esi, dword [edi]
mov byte [ebp - 8], dl
test eax, eax
je 0x4dbd2b
mov edi, dword [ebp + 0xc]
sub dword [ebp + 8], edi
nop word [eax + eax]
dec eax
mov dword [ebp + 0x10], eax
test esi, esi
jne 0x4dbccc
push dword [ebp + 0x14]
lea eax, [ebp - 0x14]
push eax
call fcn.004db890
mov ebx, dword [ebp - 0x14]
add esp, 8
mov edx, dword [ebp - 0x10]
mov eax, ebx
shr eax, 8
mov ecx, dword [ebp - 4]
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 9], al
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 6], al
mov eax, edx
shr eax, 0x18
inc ecx
mov byte [ebp - 0xc], bl
mov byte [ebp - 8], dl
mov byte [ebp - 5], al
mov dword [ebp - 4], ecx
jmp 0x4dbccf
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov al, byte [eax + edi]
xor al, byte [ebp + esi - 0xc]
inc esi
mov byte [edi], al
and esi, 7
mov eax, dword [ebp + 0x10]
inc edi
test eax, eax
jne 0x4dbc70
test ecx, ecx
je 0x4dbd1f
mov edi, dword [ebp + 0x18]
mov eax, ebx
shr eax, 8
mov byte [edi], bl
mov byte [edi + 1], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 2], al
mov eax, edx
shr ebx, 0x18
mov byte [edi + 3], bl
shr eax, 8
mov byte [edi + 4], dl
mov byte [edi + 5], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [edi + 6], al
mov byte [edi + 7], dl
mov eax, dword [ebp + 0x1c]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret