joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c7ba0
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x14]
or ecx, 0xffffffff
push esi
mov esi, dword [esp + 0x1c]
push edi
xor edi, edi
mov dword [esp + 0xc], ecx
test esi, esi
jne 0x4c7be3
mov eax, dword [ebx]
test eax, eax
je 0x4c7bd2
mov edx, dword [esp + 0x24]
bsf ecx, eax
cmp ecx, edx
jb 0x4c7bdb
mov ecx, edx
shr eax, cl
mov dword [ebx], eax
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xc
ret
shr eax, cl
sub edx, ecx
mov dword [ebx], eax
jmp 0x4c7be7
mov edx, dword [esp + 0x24]
mov dword [esp + 0x20], edx
mov eax, 1
push ebp
cmp edx, 0x12
jbe 0x4c7c86
mov eax, dword [esp + 0x2c]
mov ebp, eax
shr ebp, 0x18
and al, 0x30
lea ecx, [ebp - 1]
mov dword [esp + 0x18], ecx
cmp al, 0x20
jne 0x4c7c2d
mov eax, 0x38e38e39
mov ebp, 0x3f
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov dword [esp + 0x14], ebp
jmp 0x4c7ca0
bsr ecx, dword [ebx + esi*4]
imul eax, esi, 0x1d
sub eax, edx
add eax, ecx
mov ecx, 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x5920d8]
cvttsd2si eax, xmm0
sub ecx, eax
mov eax, 0x38e38e39
sub ecx, ebp
imul ecx
mov eax, dword [esp + 0x18]
mov ecx, esi
sar edx, 1
mov ebp, edx
add edx, 0x3e
shr ebp, 0x1f
add ebp, edx
cdq
and edx, 7
mov dword [esp + 0x14], ebp
add eax, edx
sar eax, 3
sub ecx, eax
add ecx, 0x3d
mov dword [esp + 0x10], ecx
jmp 0x4c7ca0
or ecx, 0xffffffff
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], ecx
cmp edx, 9
jb 0x4c7d2e
nop
mov ecx, dword [ebx + esi*4]
mov edx, esi
mov eax, ecx
and ecx, 0x1ff
shr eax, 9
imul ebp, ecx, 0x1dcd65
mov dword [ebx + esi*4], eax
cmp esi, edi
je 0x4c7ce1
nop dword [eax]
dec edx
and edx, 0x3f
mov ecx, dword [ebx + edx*4]
mov eax, ecx
shr eax, 9
and ecx, 0x1ff
add eax, ebp
imul ebp, ecx, 0x1dcd65
mov dword [ebx + edx*4], eax
cmp edx, edi
jne 0x4c7cc0
mov eax, dword [esp + 0x10]
cmp edi, dword [esp + 0x14]
je 0x4c7d02
cmp edi, eax
je 0x4c7d02
test ebp, ebp
je 0x4c7cfa
dec edi
and edi, 0x3f
mov dword [ebx + edi*4], ebp
cmp dword [ebx + esi*4], 0
jne 0x4c7d15
jmp 0x4c7d0c
cmp dword [ebx + esi*4], 0
jne 0x4c7d15
cmp esi, edi
je 0x4c7d8b
dec esi
and esi, 0x3f
dec eax
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x24]
sub edx, 9
mov dword [esp + 0x24], edx
cmp edx, 9
jae 0x4c7ca0
mov eax, 1
test edx, edx
je 0x4c7d8b
mov ebp, dword [ebx + esi*4]
mov ecx, edx
shl eax, cl
dec eax
mov dword [esp + 0x14], eax
mov eax, 0x3b9aca00
sar eax, cl
mov dword [esp + 0x10], eax
mov eax, ebp
and ebp, dword [esp + 0x14]
imul ebp, dword [esp + 0x10]
shr eax, cl
mov dword [ebx + esi*4], eax
cmp esi, edi
je 0x4c7d80
mov ecx, dword [esp + 0x24]
dec esi
and esi, 0x3f
mov edx, dword [ebx + esi*4]
mov eax, edx
shr eax, cl
add eax, ebp
mov ebp, edx
and ebp, dword [esp + 0x14]
imul ebp, dword [esp + 0x10]
mov dword [ebx + esi*4], eax
cmp esi, edi
jne 0x4c7d61
test ebp, ebp
je 0x4c7d8b
dec edi
and edi, 0x3f
mov dword [ebx + edi*4], ebp
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x4c9720
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov edx, dword [esp + 0x20]
push ebx
mov ebx, dword [esp + 0x20]
push ebp
mov eax, dword [edx]
push esi
movzx esi, word [ebx + 6]
push edi
mov edi, dword [ebx + 0x20]
lea eax, [edi + eax*4]
mov dword [esp + 0x18], eax
mov eax, esi
lea ecx, [eax + eax*2]
mov eax, dword [ebx + 0x1c]
lea ebp, [eax + ecx*4]
lea eax, [edx + 0xc]
mov dword [esp + 0x14], ebp
cmp eax, ebp
jne 0x4c975a
mov eax, dword [ebx + 0x18]
jmp 0x4c975c
mov eax, dword [eax]
cmp byte [ebx + 0x76], 0
lea eax, [edi + eax*4]
mov dword [esp + 0x24], eax
movzx eax, byte [edx + 0xa]
mov dword [esp + 0x10], eax
mov al, byte [edx + 8]
mov byte [esp + 0x30], al
movzx eax, al
mov dword [esp + 0x20], eax
jge 0x4c978b
mov ecx, dword [ebx + 0x18]
lea eax, [esi + 1]
mov word [ebx + 6], ax
jmp 0x4c9795
mov ecx, dword [ebp - 0xc]
sub ebp, 0xc
mov dword [esp + 0x14], ebp
mov esi, dword [esp + 0x34]
mov byte [ebx + 0x76], 0
mov dword [ebp], ecx
mov ax, word [ebx + 8]
mov word [ebp + 4], ax
xor eax, eax
mov word [ebp + 6], ax
mov al, byte [esp + 0x30]
mov byte [ebp + 8], al
movzx eax, byte [edx + 9]
mov byte [ebp + 9], al
mov byte [ebp + 0xb], 0
xor ebp, ebp
mov eax, dword [ebx + 0x20]
lea edi, [eax + ecx*4]
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x30], eax
cmp dword [esp + 0x10], eax
jbe 0x4c9844
nop word [eax + eax]
mov edx, dword [esp + 0x18]
mov ebx, dword [esi + eax*4]
mov esi, ebx
shr esi, 0x18
inc eax
mov edx, dword [edx + ebp*4]
mov edi, edx
shr edi, 0x18
cmp esi, edi
jae 0x4c97ff
mov dword [esp + 0x30], eax
jmp 0x4c982a
cmovne eax, dword [esp + 0x30]
movzx esi, dx
mov dword [esp + 0x30], eax
cmp esi, 0x8000
jb 0x4c9827
mov eax, dword [esp + 0x38]
and edx, 0xfffb0000
movzx eax, word [eax + esi*2]
or edx, eax
mov eax, dword [esp + 0x30]
inc ebp
mov ebx, edx
lea edx, [ecx + 1]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x34]
mov dword [edi + ecx*4], ebx
mov ecx, edx
cmp ebp, dword [esp + 0x10]
jb 0x4c97e0
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x20]
lea edx, [esi + eax*4]
mov esi, dword [edx]
mov eax, esi
shr eax, 0x18
cmp eax, ebp
jae 0x4c9868
mov dword [edi + ecx*4], esi
lea edx, [edx + 4]
mov esi, dword [edx]
inc ecx
mov eax, esi
shr eax, 0x18
cmp eax, ebp
jb 0x4c9856
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
mov byte [eax + 0xa], cl
lea eax, [edi + ecx*4]
mov ecx, dword [esp + 0x10]
lea edx, [edx + ecx*4]
cmp edx, ebp
jae 0x4c9893
mov ecx, dword [edx]
add edx, 4
mov dword [eax], ecx
add eax, 4
cmp edx, ebp
jb 0x4c9885
sub eax, dword [ebx + 0x20]
pop edi
pop esi
sar eax, 2
pop ebp
mov dword [ebx + 0x18], eax
pop ebx
add esp, 0x18
ret
Function at 0x4ca160
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov ecx, dword [esp + 0x14]
push ebx
push ebp
mov ebp, dword [esp + 0x18]
movzx eax, word [ecx]
movzx ecx, word [ecx + 2]
push esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x18]
push edi
mov ebx, dword [esi + 8]
lea edi, [ebx - 1]
mov dword [esi + 8], edi
movzx ecx, word [ecx + eax*2]
movzx eax, word [ebp + eax*8 + 6]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], eax
cmp edi, dword [esi + 0x114]
jb 0x4ca1ad
mov ecx, esi
call fcn.004e58a0
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 0x10]
mov edx, 0x6400
mov dword [esi + 8], ebx
mov ebx, dword [esp + 0x10]
mov word [eax + edi*8 + 4], dx
mov edx, dword [esp + 0x20]
mov word [eax + edi*8], dx
mov word [eax + edi*8 + 2], cx
movzx eax, word [ebp + ebx*8 + 6]
mov ebp, dword [esi + 8]
mov dword [esp + 0x18], eax
cmp ebp, dword [esi + 0x114]
jb 0x4ca1e9
mov ecx, esi
call fcn.004e58a0
lea eax, [ebp + 1]
mov ecx, 0x6400
mov dword [esi + 8], eax
mov eax, dword [esi + 0x10]
mov word [eax + ebp*8 + 4], cx
mov ecx, dword [esp + 0x18]
mov word [eax + ebp*8], di
mov word [eax + ebp*8 + 2], cx
mov eax, dword [esp + 0x1c]
movzx edi, word [eax + ebx*2]
mov ebx, dword [esi + 8]
cmp ebx, dword [esi + 0x114]
jb 0x4ca223
mov ecx, esi
call fcn.004e58a0
lea eax, [ebx + 1]
mov ecx, 0x6400
mov dword [esi + 8], eax
mov eax, dword [esi + 0x10]
mov word [eax + ebx*8 + 4], cx
mov word [eax + ebx*8], bp
mov word [eax + ebx*8 + 2], di
mov edi, dword [esi + 8]
cmp edi, dword [esi + 0x114]
jb 0x4ca251
mov ecx, esi
call fcn.004e58a0
lea eax, [edi + 1]
mov dword [esi + 8], eax
mov eax, dword [esi + 0x10]
mov word [eax + edi*8], bx
movzx ebx, di
mov ebp, ebx
lea ecx, [eax + edi*8]
mov eax, 0x5f13
mov word [ecx + 4], ax
mov ax, word [esp + 0x28]
mov word [ecx + 2], ax
mov eax, dword [esp + 0x24]
mov word [eax + 6], bx
mov edi, dword [esi + 8]
cmp edi, dword [esi + 0x114]
jb 0x4ca292
mov ecx, esi
call fcn.004e58a0
lea ecx, [edi + 1]
mov eax, 0x1013
mov dword [esi + 8], ecx
mov ecx, dword [esi + 0x10]
mov word [ecx + edi*8 + 4], ax
mov eax, edi
mov word [ecx + edi*8], bx
mov word [ecx + edi*8 + 2], bp
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4cb010
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x68]
and eax, 0x10f0000
cmp eax, 0x10f0000
jne 0x4cb12a
cmp word [esi + 0x1e8], 0
jne 0x4cb054
cmp word [esi + 0x1ea], 0
jne 0x4cb054
cmp word [esi + 0x1ec], 0
jne 0x4cb054
cmp word [esi + 0x1ee], 0
je 0x4cb12a
cmp dword [esi + 0x11c], 0
push ebx
push edi
jne 0x4cb099
movzx eax, word [esi + 6]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x1c]
movzx edi, byte [eax + ecx*4 - 2]
lea edx, [eax + ecx*4]
mov ecx, dword [edx - 0xc]
mov eax, dword [esi + 0x20]
lea ebx, [eax + ecx*4]
xor ecx, ecx
test edi, edi
je 0x4cb099
movzx edx, word [ebx + ecx*4]
cmp edx, 0x8000
jb 0x4cb094
mov eax, dword [esi + 0x10]
or byte [eax + edx*8 + 4], 0x20
inc ecx
cmp ecx, edi
jb 0x4cb080
push esi
call fcn.004cb210
add esp, 4
cmp dword [esi + 0x11c], 0
je 0x4cb11f
push ebp
nop dword [eax]
mov eax, dword [esi + 0x10]
xor ebp, ebp
mov ecx, dword [esi + 8]
cmp byte [eax + ecx*8 - 3], 0x13
lea ecx, [eax + ecx*8]
lea eax, [ecx - 8]
jne 0x4cb11e
mov edx, dword [esi + 0x10]
movzx ecx, word [eax]
mov bl, byte [edx + ecx*8 + 4]
lea edi, [edx + ecx*8]
movzx ecx, word [eax + 2]
mov bh, byte [edx + ecx*8 + 4]
lea edx, [edx + ecx*8]
mov cl, bl
xor cl, bh
test cl, 0x20
jne 0x4cb0f0
mov cx, word [edi + 6]
cmp cx, word [edx + 6]
je 0x4cb111
movzx edx, bl
or bl, 0x20
movzx ecx, bh
and edx, ecx
mov byte [edi + 4], bl
mov ecx, dword [esi + 0x10]
not edx
and edx, 0x20
or ebp, edx
movzx edx, word [eax + 2]
or byte [ecx + edx*8 + 4], 0x20
sub eax, 8
cmp byte [eax + 5], 0x13
je 0x4cb0c5
test ebp, ebp
jne 0x4cb0b0
pop ebp
push esi
call fcn.004cb480
add esp, 4
pop edi
pop ebx
pop esi
ret
Function at 0x4d1f40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x58]
cmp eax, dword [edi + 0x920]
jne 0x4d1fb3
mov eax, dword [edi + 0xbc]
add eax, dword [edi + 0xb8]
jne 0x4d1fb3
cmp dword [edi + 0x924], eax
jne 0x4d1fb3
cmp dword [edi + 0x928], eax
jne 0x4d1fb3
cmp dword [edi + 8], 0x8002
ja 0x4d1f8e
jne 0x4d1fb3
mov eax, dword [edi + 0x10]
cmp byte [eax + 0x4000d], 0x15
je 0x4d1fb3
movzx eax, word [edi + 0x40]
push eax
push 2
push edi
mov dword [edi + 0xac], 0
call fcn.004d0c30
add esp, 0xc
mov eax, 2
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0xc]
push edi
mov dword [edi + 0x6c], esi
call fcn.004cb9f0
mov eax, dword [edi + 0x64]
lea ecx, [esi - 2]
add esp, 4
mov edx, dword [eax + ecx*4]
test edx, edx
je 0x4d1fd5
mov dword [esp + 0x38], edx
jmp 0x4d1fe6
push ecx
push edi
call fcn.004d30e0
mov dword [esp + 0x40], eax
add esp, 8
mov eax, dword [edi + 0x64]
lea ecx, [esi*4]
mov eax, dword [ecx + eax - 4]
mov dword [esp + 0xc], ecx
test eax, eax
jne 0x4d201c
mov ax, word [edi + 0x70]
dec esi
add ax, si
mov dword [edi + 0x7a], 0x47930044
mov ecx, edi
mov word [edi + 0x78], ax
call fcn.004e5830
mov ecx, dword [edi + 0x64]
mov dword [ecx + esi*4], eax
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], 3
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x54]
mov dword [esp + 0x48], 1
mov edx, dword [eax + 0x10]
mov eax, dword [edx + esi*8 - 0x10]
mov ecx, dword [edx + esi*8 - 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [edx + esi*8 - 8]
mov dword [esp + 0x18], eax
sbb eax, eax
neg eax
mov dword [esp + 0x14], ecx
mov ecx, dword [edx + esi*8 - 4]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x10]
push eax
push edi
mov dword [esp + 0x24], ecx
call fcn.004cfe90
add eax, esi
mov byte [edi + 0x75], 1
add esp, 8
mov dword [edi + 0x6c], eax
test dword [esp + 0x3c], 0x1f000000
je 0x4d20c2
mov eax, dword [edi + 0x64]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x48]
or ecx, 0x100000
mov dword [eax + edx - 4], ecx
mov eax, dword [edi + 0x64]
mov ecx, dword [esp + 0x3c]
mov dword [edx + eax], ecx
mov ecx, dword [edi + 0x64]
mov eax, dword [esp + 0x40]
mov dword [ecx + edx + 4], eax
mov ecx, dword [edi + 0x58]
movzx eax, word [ecx + 6]
add eax, 0xffff8002
lea eax, [ecx + eax*4]
mov dword [edi + 0x58], eax
mov eax, 2
pop edi
pop esi
mov esp, ebp
pop ebp
ret
add dword [edi + 0x58], 8
lea eax, [esi - 3]
mov dword [edi + 0x6c], eax
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4d7560
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
mov edx, dword [esi + 0x48]
movzx eax, word [edi + 2]
lea ecx, [edx + eax*8]
movzx eax, word [ecx]
lea eax, [edx + eax*8]
mov dword [esp + 0x18], eax
movzx eax, word [ecx + 2]
lea ebp, [eax + eax*2]
shl ebp, 3
cmp byte [edi + 6], 0
jge 0x4d759d
cmp byte [edi + 7], 0
jne 0x4d759d
mov ebx, 0x80
jmp 0x4d75b1
push 0xef
push edi
push esi
call fcn.004dcb70
mov edx, dword [esi + 0x48]
add esp, 0xc
mov ebx, eax
movzx ecx, word [edi]
movzx eax, byte [edx + ecx*8 + 6]
mov dword [esp + 0x14], eax
test al, al
jns 0x4d75d4
push 0xef
push ecx
push esi
call fcn.004dcab0
add esp, 0xc
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 0x60]
btr ecx, eax
mov dword [esi + 0x60], ecx
test bl, bl
js 0x4d7630
test ebp, ebp
je 0x4d760d
push ebp
cmp ebx, eax
jne 0x4d75fb
push ebx
push 0x838100
push esi
call fcn.004dbc50
add esp, 0x10
jmp 0x4d7630
push eax
push ebx
push 0x8d0000fe
push esi
call fcn.004dbfc0
add esp, 0x14
jmp 0x4d7630
cmp ebx, eax
je 0x4d7630
mov ecx, dword [esi + 0x40]
and al, 7
and bl, 7
sub al, 0x40
shl bl, 3
add bl, al
mov byte [ecx - 1], bl
lea eax, [ecx - 2]
mov dword [ecx - 5], 0x8b0000fe
mov dword [esi + 0x40], eax
push 5
push esi
call fcn.004d6440
mov ecx, dword [esp + 0x20]
add esp, 8
mov ebx, dword [esi + 0x40]
mov al, byte [ecx + 4]
and al, 0x1f
cmp al, 0xe
jne 0x4d76bd
mov ecx, dword [ecx + 8]
movsx eax, cl
cmp ecx, eax
jne 0x4d7664
lea eax, [ebx - 1]
mov dword [esi + 0x40], eax
mov byte [eax], cl
mov ecx, 0x830000fe
jmp 0x4d7670
mov dword [ebx - 4], ecx
mov ecx, 0x810000fe
add dword [esi + 0x40], 0xfffffffc
mov edi, dword [esp + 0x14]
lea eax, [ebp + 8]
push eax
push edi
push 7
push ecx
push esi
call fcn.004dbfc0
mov ecx, dword [esi + 0x40]
add esp, 0x14
sub bl, cl
mov byte [ecx - 2], 0x75
lea eax, [ecx - 2]
mov byte [ecx - 1], bl
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0xc]
movsx eax, dl
cmp edx, eax
jne 0x4d76af
lea eax, [ecx - 3]
mov dword [esi + 0x40], eax
mov byte [eax], dl
jmp 0x4d76fc
mov dword [ecx - 6], edx
mov ecx, 0x810000fe
add dword [esi + 0x40], 0xfffffffc
jmp 0x4d7701
mov edi, dword [esp + 0x14]
cmp al, 2
jbe 0x4d76e9
push dword [ecx]
lea eax, [ebp + 8]
push eax
push edi
push 0x838107
push esi
call fcn.004dbbf0
mov eax, dword [esi + 0x40]
add esp, 0x14
sub bl, al
mov byte [eax - 2], 0x75
mov byte [eax - 1], bl
lea ebx, [eax - 2]
mov eax, dword [esp + 0x18]
lea ecx, [ebx - 1]
mov dword [esi + 0x40], ecx
mov al, byte [eax + 4]
and al, 0x1f
not al
mov byte [ecx], al
mov ecx, 0x830000fe
lea eax, [ebp + 0xc]
push eax
push edi
push 7
push ecx
push esi
call fcn.004dbfc0
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4e3630
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
dec esi
mov eax, dword [edi + 0x10]
lea esi, [eax + esi*8]
cmp esi, dword [edi + 0x14]
jae 0x4e377a
mov eax, dword [esi + 4]
cmp eax, 0xfffffff2
jbe 0x4e375c
cmp eax, 0xfffffff5
jne 0x4e374a
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0xfc]
mov dword [esp + 0xc], ecx
mov dword [ecx + 0xc], edi
mov eax, dword [esi]
mov esi, dword [ecx]
movzx edx, word [eax + 6]
lea edi, [eax + 8]
mov eax, edx
add eax, eax
mov ecx, dword [esi + eax*8]
mov eax, ecx
and eax, 0xf0800000
cmp eax, 0x20800000
jne 0x4e3698
mov edi, dword [edi]
movzx ecx, cx
cmovne ecx, edx
shl ecx, 4
add ecx, esi
mov edx, dword [ecx]
mov eax, edx
and eax, 0xf0000000
cmp eax, 0x80000000
jne 0x4e36cb
movzx ecx, dx
shl ecx, 4
add ecx, esi
mov edx, dword [ecx]
mov eax, edx
and eax, 0xf0000000
cmp eax, 0x80000000
je 0x4e36b3
mov eax, edx
and eax, 0xf0000000
cmp eax, 0x50000000
jne 0x4e36e3
movzx ecx, dx
shl ecx, 4
add ecx, esi
mov edx, dword [ecx]
and edx, 0xfc800000
cmp edx, 0x800000
jne 0x4e3707
cmp dword [ecx + 4], 8
jne 0x4e3707
mov eax, dword [ebp + 0x10]
mov dword [eax], 0xc
mov eax, 0xc
jmp 0x4e371b
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
test eax, eax
jne 0x4e371b
mov dword [edx], 0xb
mov eax, 0xb
mov edx, dword [ebp + 0xc]
shl edx, 8
push edx
push edi
lea edx, [esp + 0x18]
shl eax, 4
push edx
push ecx
mov ecx, dword [esp + 0x1c]
add eax, dword [ecx]
push eax
push ecx
call fcn.004ddc80
mov eax, dword [esp + 0x28]
add esp, 0x18
mov edx, dword [esp + 0x14]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 0xfffffffb
jne 0x4e377a
mov ecx, dword [esi]
mov edx, esi
call fcn.004b0c50
test eax, eax
je 0x4e377a
movsd xmm0, qword [esi]
xor edx, edx
addsd xmm0, qword [0x592738]
pop edi
pop esi
movsd qword [esp + 8], xmm0
mov eax, dword [esp + 8]
mov esp, ebp
pop ebp
ret
push 3
push dword [ebp + 0xc]
push edi
call fcn.004a4cb0
int3
Function at 0x4e3800
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov eax, dword [ebx + 0x10]
mov esi, dword [esp + 0x24]
push edi
cmp dword [eax + 4], 0xfffffff5
jne 0x4e3877
mov eax, dword [eax]
mov edx, dword [ebp]
movzx edi, word [eax + 6]
mov eax, edi
add eax, eax
mov ecx, dword [edx + eax*8]
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x80000000
jne 0x4e3856
nop word [eax + eax]
movzx eax, cx
add eax, eax
mov ecx, dword [edx + eax*8]
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x80000000
je 0x4e3840
mov eax, ecx
movzx ecx, cx
and eax, 0xf0000000
cmp eax, 0x20000000
push esi
cmovne ecx, edi
push ecx
push ebp
call fcn.004a93d0
add esp, 0xc
test eax, eax
jne 0x4e38dd
mov eax, dword [ebx + 0x10]
lea ecx, [eax + 8]
cmp ecx, dword [ebx + 0x14]
jae 0x4e38ef
cmp dword [eax + 0xc], 0xfffffff5
jne 0x4e38ef
mov eax, dword [ecx]
mov edx, dword [ebp]
movzx edi, word [eax + 6]
mov eax, edi
add eax, eax
mov ecx, dword [edx + eax*8]
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x80000000
jne 0x4e38bc
movzx eax, cx
add eax, eax
mov ecx, dword [edx + eax*8]
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x80000000
je 0x4e38a6
mov eax, ecx
movzx ecx, cx
and eax, 0xf0000000
cmp eax, 0x20000000
push esi
cmovne ecx, edi
push ecx
push ebp
call fcn.004a93d0
add esp, 0xc
test eax, eax
je 0x4e38ef
push eax
push ebx
call fcn.004a7e70
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
or edx, 0xffffffff
or ebp, edx
cmp esi, 4
jne 0x4e3924
mov ecx, dword [esp + 0x24]
xor edx, edx
pop edi
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
mov eax, dword [ebx + 0x14]
setne dl
add edx, 0xfffffffd
mov dword [eax - 4], edx
mov eax, dword [ebx + 8]
mov dword [eax + 0x9c], edx
lea eax, [esi - 3]
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x24]
xor edi, edi
nop word [eax + eax]
mov ecx, dword [eax + edi*4 + 8]
mov dword [esp + 0x1c], edx
test ecx, ecx
je 0x4e3975
mov eax, dword [ebx + 0x10]
cmp dword [eax + edi*8 + 4], 0xfffffff5
jne 0x4e3975
mov eax, dword [esp + 0x20]
mov esi, dword [ecx]
push 0
sub ecx, dword [eax]
sar ecx, 4
push ecx
push ebx
call fcn.004a9520
and esi, 0xf0000000
add esp, 0xc
add eax, 0x14
mov edx, edi
cmp esi, 0x50000000
cmovne edx, dword [esp + 0x1c]
jmp 0x4e399b
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + edi*8 + 4]
cmp ecx, 0xfffffffb
mov eax, edi
cmovne eax, ebp
mov ebp, eax
cmp ecx, 0xfffffff2
ja 0x4e3992
mov ecx, 0xd
jmp 0x4e3994
not ecx
mov eax, dword [ecx*4 + 0x59044c]
mov dword [esp + edi*4 + 0x10], eax
inc edi
mov eax, dword [esp + 0x24]
cmp edi, 2
jl 0x4e3930
mov eax, ebp
xor eax, edx
cmp eax, 1
je 0x4e39ed
mov ecx, dword [esp + 0x28]
cmp ecx, 5
jne 0x4e39c2
mov eax, 0xceb
jmp 0x4e39de
cmp ecx, 8
jne 0x4e39ce
mov eax, 0xd09
jmp 0x4e39de
cmp ecx, 0xa
mov eax, 0xd2e
mov edx, 0xd5d
cmovl eax, edx
push dword [esp + 0x14]
push dword [esp + 0x14]
push eax
push ebx
call fcn.004a4e60
push dword [esp + edx*4 + 0x10]
push dword [esp + ebp*4 + 0x14]
push 0xccf
push ebx
call fcn.004a4e60
int3
Function at 0x4e9f00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x2c
push ebx
mov ebx, ecx
push ebp
movzx ebp, word [ebx + 0x78]
lea edx, [ebx + 0x78]
push esi
mov al, byte [ebx + 0x94]
and al, 0x1f
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x34], ebp
push edi
cmp al, 0xe
jne 0x4e9f58
movzx edx, word [ebx + 0x1bc]
cmp edx, ebp
jbe 0x4e9f54
movzx ecx, word [ebx + 0x1da]
cmp ecx, ebp
jbe 0x4e9f54
nop
cmp ecx, edx
jb 0x4ea0d4
mov eax, dword [ebx + 0x10]
movzx ecx, word [eax + ecx*8 + 6]
cmp ecx, ebp
ja 0x4e9f40
mov edx, dword [esp + 0x18]
movzx eax, word [ebx + 0x1dc]
cmp eax, ebp
jbe 0x4ea0de
mov esi, dword [ebx + 0x10]
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], 0x8000
lea eax, [esi + eax*8]
mov dword [esp + 0x34], eax
movzx eax, word [eax]
movzx ecx, word [esi + eax*8 + 2]
lea ebx, [esi + eax*8]
cmp edx, ebx
je 0x4ea0d4
movzx edi, word [edx + 2]
cmp byte [esi + edi*8 + 5], 0x1e
lea edx, [esi + edi*8]
jne 0x4e9fa4
movzx edi, word [edx]
lea edx, [esi + edi*8]
cmp byte [esi + ecx*8 + 5], 0x1e
lea ebp, [esi + ecx*8]
jne 0x4e9fb5
movzx ecx, word [ebp]
lea ebp, [esi + ecx*8]
mov eax, dword [esp + 0x14]
mov al, byte [eax + 0x7d]
mov byte [esp + 0x13], al
cmp al, 0x39
je 0x4e9fd2
cmp al, 0x38
je 0x4e9fd2
mov eax, dword [esp + 0x14]
movzx eax, word [eax + 0x78]
jmp 0x4e9fde
mov eax, dword [esp + 0x14]
movzx eax, word [eax + 0x78]
movzx eax, word [esi + eax*8]
movzx eax, ax
mov dword [esp + 0x2c], eax
mov al, byte [ebx + 5]
cmp al, 0x39
je 0x4e9ff5
cmp al, 0x38
je 0x4e9ff5
movzx eax, word [ebx]
jmp 0x4e9ffc
movzx eax, word [ebx]
movzx eax, word [esi + eax*8]
movzx ebx, ax
cmp edi, ecx
je 0x4ea0a3
cmp edi, 0x8000
jae 0x4ea01b
cmp ecx, 0x8000
jb 0x4ea0bd
cmp byte [esp + 0x13], 0x38
jne 0x4ea099
xor eax, eax
mov dword [esp + 0x1c], edi
cmp byte [edx + 5], 0x29
mov dword [esp + 0x20], eax
jne 0x4ea063
movzx esi, word [edx + 2]
cmp si, word [esp + 0x24]
mov esi, dword [esp + 0x28]
jae 0x4ea05f
movzx eax, word [edx]
mov dword [esp + 0x1c], eax
movzx eax, word [edx + 2]
mov edx, dword [esi + eax*8]
cmp dword [esp + 0x1c], ecx
jne 0x4ea059
test edx, edx
jne 0x4ea0bd
mov eax, dword [esp + 0x20]
jmp 0x4ea065
mov edx, eax
jmp 0x4ea065
xor edx, edx
cmp byte [ebp + 5], 0x29
jne 0x4ea08d
movzx esi, word [ebp + 2]
cmp si, word [esp + 0x24]
mov esi, dword [esp + 0x28]
jae 0x4ea08d
movzx eax, word [ebp + 2]
movzx ecx, word [ebp]
mov eax, dword [esi + eax*8]
cmp edi, ecx
jne 0x4ea08d
test eax, eax
jne 0x4ea0bd
cmp dword [esp + 0x1c], ecx
jne 0x4ea0a3
cmp edx, eax
je 0x4ea0a3
jmp 0x4ea0bd
mov al, byte [ebp + 4]
xor al, byte [edx + 4]
test al, 0x1f
jne 0x4ea0bd
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x4ea0d4
push ebx
push eax
push dword [esp + 0x1c]
call fcn.004ea880
add esp, 0xc
test eax, eax
jne 0x4ea0d4
mov eax, dword [esp + 0x34]
movzx eax, word [eax + 6]
cmp eax, dword [esp + 0x38]
jbe 0x4ea0de
mov edx, dword [esp + 0x18]
jmp 0x4e9f76
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2c
ret