joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e8260
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x4e832c
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x4e8281
cmp al, 0x6b
jne 0x4e832c
lea edx, [ecx + 1]
cmp al, 0x6b
jne 0x4e82ed
add esi, 0xfffffffd
xor ecx, ecx
test esi, esi
jle 0x4e82a1
mov al, byte [edx]
inc edx
cmp al, 0xba
je 0x4e82a1
cmp al, 0xbb
jne 0x4e82ca
inc ecx
cmp ecx, esi
jl 0x4e8291
sub esi, ecx
test ecx, ecx
jne 0x4e82f0
push 0x8a
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.004c0430
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push 0x81
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.004c0430
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + edx], 0xcc
je 0x4e8319
push 0x93
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.004c0430
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
mov eax, dword [esp + 8]
push esi
push edx
push eax
call fcn.004a5720
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x72
push str..crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.004c0430
add esp, 0x14
or eax, 0xffffffff
pop esi
ret

Function at 0x4ec5c0
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x5c], ecx
lea eax, [ecx + 1]
ret

Function at 0x4edd90
Capabilities:
Hash data using sha224

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0x367cd507
mov dword [eax + 8], 0x3070dd17
mov dword [eax + 0xc], 0xf70e5939
mov dword [eax + 0x10], 0xffc00b31
mov dword [eax + 0x14], 0x68581511
mov dword [eax + 0x18], 0x64f98fa7
mov dword [eax + 0x1c], 0xbefa4fa4
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x68], ecx
mov dword [eax + 0x6c], 0x1c
lea eax, [ecx + 1]
ret

Function at 0x4eddf0
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x68], ecx
mov dword [eax + 0x6c], 0x20
lea eax, [ecx + 1]
ret
Function at 0x4ef310
Capabilities:
Hash data using sha224

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
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], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0xd0], ecx
mov dword [eax + 0xd4], 0x30
lea eax, [ecx + 1]
ret

Function at 0x4ef3b0
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
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], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0xd0], ecx
mov dword [eax + 0xd4], 0x40
lea eax, [ecx + 1]
ret
Function at 0x4f64a0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x58], ecx
lea eax, [ecx + 1]
ret
Function at 0x4fa8d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
cmp ecx, dword [ebx + 4]
jge 0x4fa8e9
mov edi, ebx
mov ebx, eax
jmp 0x4fa8eb
mov edi, eax
mov eax, dword [edi + 4]
mov esi, dword [esp + 0x10]
cmp eax, dword [esi + 8]
jg 0x4fa8fb
mov eax, esi
jmp 0x4fa905
push eax
push esi
call fcn.004c5900
add esp, 8
test eax, eax
jne 0x4fa90d
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [ebx + 4], eax
jle 0x4fa929
mov edx, dword [edi]
mov ecx, dword [ebx]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [esi]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [ebx + 4]
jl 0x4fa914
cmp eax, dword [edi + 4]
jge 0x4fa940
mov edi, edi
mov edx, dword [edi]
mov edx, dword [edx + eax*4]
mov ecx, dword [esi]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [edi + 4]
jl 0x4fa930
mov edi, dword [edi + 4]
mov dword [esi + 4], edi
test edi, edi
jle 0x4fa964
mov eax, dword [esi]
lea eax, [eax + edi*4 - 4]
or ecx, 0xffffffff
mov edx, dword [eax]
sub eax, 4
test edx, edx
jne 0x4fa964
add dword [esi + 4], ecx
cmp dword [esi + 4], edx
jg 0x4fa953
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x4fd7f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xe4
call fcn.004a72f0
mov eax, dword [0x595978]
xor eax, esp
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0xf0]
push ebx
push ebp
mov ebp, dword [esp + 0x108]
push esi
push edi
mov edi, dword [esp + 0xf8]
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], eax
mov ebx, 1
call fcn.0050d810
mov esi, dword [esp + 0x110]
add esp, 4
mov dword [esp + 0x18], esi
test edi, edi
jne 0x4fd853
mov dword [esp + 0xfc], edi
jmp 0x4fd872
cmp dword [esp + 0xfc], 0xffffffff
jne 0x4fd872
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4fd862
sub eax, edx
mov dword [esp + 0xfc], eax
test esi, esi
je 0x4fd98f
jmp 0x4fd884
mov esi, dword [esp + 0x18]
cmp esi, 0x14
jle 0x4fd88e
mov esi, 0x14
mov eax, ebx
mov ecx, ebx
mov edx, ebx
shr eax, 0x18
shr ecx, 0x10
shr edx, 8
push 0
mov byte [esp + 0x18], al
mov byte [esp + 0x19], cl
mov byte [esp + 0x1a], dl
mov byte [esp + 0x1b], bl
call fcn.004dad60
push eax
mov eax, dword [esp + 0x104]
push eax
lea ecx, [esp + 0x30]
push edi
push ecx
call fcn.0050d5c0
mov edx, dword [esp + 0x118]
mov eax, dword [esp + 0x30]
push edx
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.0050d780
push 4
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x4c]
push eax
call fcn.0050d780
push 0
lea ecx, [esp + 0x10c]
push ecx
lea edx, [esp + 0x58]
push edx
call fcn.0050d790
push esi
lea eax, [esp + 0x118]
push eax
push ebp
call fcn.004a5720
mov eax, dword [esp + 0x14c]
add esp, 0x44
cmp eax, 1
jle 0x4fd97a
dec eax
mov dword [esp + 0x10], eax
jmp 0x4fd930
mov eax, dword [esp + 0xfc]
push 0
lea ecx, [esp + 0xe0]
push ecx
push 0x14
mov edx, ecx
push edx
push eax
push edi
call fcn.004dad60
push eax
call fcn.0050d8b0
add esp, 0x1c
test esi, esi
jle 0x4fd974
lea ecx, [esp + 0xdc]
mov eax, ebp
sub ecx, ebp
mov edi, esi
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec edi
jne 0x4fd967
mov edi, dword [esp + 0x20]
dec dword [esp + 0x10]
jne 0x4fd930
mov eax, dword [esp + 0x18]
sub eax, esi
inc ebx
add ebp, esi
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4fd880
lea eax, [esp + 0x24]
push eax
call fcn.0050d840
mov ecx, dword [esp + 0xf4]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0049cc86
add esp, 0xe4
ret
Function at 0x4fedc0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0x10]
push ebx
push eax
push ecx
call fcn.004fe890
add esp, 0xc
test eax, eax
js 0x4ff008
mov edx, dword [ebx + 0xf0]
add edx, edx
push esi
add edx, edx
xor esi, esi
push edi
test edx, edx
jle 0x4fee3d
lea ecx, [ebx + edx*4 + 8]
lea eax, [ebx + 8]
push ebp
lea ebx, [ebx]
mov ebp, dword [ecx - 8]
mov edi, dword [eax - 8]
mov dword [eax - 8], ebp
mov ebp, dword [ecx - 4]
mov dword [ecx - 8], edi
mov edi, dword [eax - 4]
mov dword [eax - 4], ebp
mov ebp, dword [ecx]
mov dword [ecx - 4], edi
mov edi, dword [eax]
mov dword [eax], ebp
mov ebp, dword [ecx + 4]
mov dword [ecx], edi
mov edi, dword [eax + 4]
mov dword [eax + 4], ebp
mov dword [ecx + 4], edi
add esi, 4
sub edx, 4
add eax, 0x10
sub ecx, 0x10
cmp esi, edx
jl 0x4fee00
pop ebp
mov edx, 1
cmp dword [ebx + 0xf0], edx
jle 0x4ff004
lea eax, [ebx + 2]
mov ecx, dword [eax + 0xe]
movzx edi, byte [eax + 0xf]
mov edi, dword [edi*4 + 0x5654a0]
add eax, 0x10
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x5654a0]
and esi, 0xff
mov esi, dword [esi*4 + 0x5660a0]
and edi, 0xff
xor esi, dword [edi*4 + 0x5668a0]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5654a0]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x566ca0]
movzx ecx, byte [eax]
mov ecx, dword [ecx*4 + 0x5654a0]
movzx edi, byte [eax + 3]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x5664a0]
mov ecx, dword [eax + 2]
mov dword [eax - 2], esi
mov edi, dword [edi*4 + 0x5654a0]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x5654a0]
and esi, 0xff
mov esi, dword [esi*4 + 0x5660a0]
and edi, 0xff
xor esi, dword [edi*4 + 0x5668a0]
movzx edi, byte [eax + 4]
mov edi, dword [edi*4 + 0x5654a0]
and edi, 0xff
xor esi, dword [edi*4 + 0x5664a0]
movzx edi, byte [eax + 7]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5654a0]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x566ca0]
mov ecx, dword [eax + 6]
mov dword [eax + 2], esi
mov edi, dword [edi*4 + 0x5654a0]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x5654a0]
and esi, 0xff
mov esi, dword [esi*4 + 0x5660a0]
and edi, 0xff
xor esi, dword [edi*4 + 0x5668a0]
movzx edi, byte [eax + 8]
mov edi, dword [edi*4 + 0x5654a0]
and edi, 0xff
xor esi, dword [edi*4 + 0x5664a0]
movzx edi, byte [eax + 0xb]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5654a0]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x566ca0]
mov ecx, dword [eax + 0xa]
mov dword [eax + 6], esi
mov edi, dword [edi*4 + 0x5654a0]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x5654a0]
and esi, 0xff
mov esi, dword [esi*4 + 0x5660a0]
and edi, 0xff
xor esi, dword [edi*4 + 0x5668a0]
movzx edi, byte [eax + 0xc]
mov edi, dword [edi*4 + 0x5654a0]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5654a0]
and edi, 0xff
xor esi, dword [edi*4 + 0x5664a0]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x566ca0]
inc edx
mov dword [eax + 0xa], esi
cmp edx, dword [ebx + 0xf0]
jl 0x4fee51
pop edi
xor eax, eax
pop esi
pop ebx
ret
Function at 0x500ca0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x2c
call fcn.004a72f0
mov eax, dword [0x595978]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push ebx
mov dword [esp + 0x18], eax
push ebp
mov dword [esp + 0xc], edx
push esi
push edi
mov edi, dword [esp + 0x50]
movzx edx, byte [edi + 1]
movzx ebx, byte [edi + 5]
lea eax, [edi + 1]
mov dword [esp + 0x28], ecx
movzx ecx, byte [edi]
shl edx, 0x10
shl ecx, 0x18
or ecx, edx
movzx edx, byte [eax + 1]
shl edx, 8
or ecx, edx
movzx edx, byte [eax + 2]
or ecx, edx
movzx edx, byte [eax + 3]
mov dword [esp + 0x2c], eax
shl ebx, 0x10
shl edx, 0x18
or edx, ebx
movzx ebx, byte [eax + 5]
movzx eax, byte [eax + 6]
mov ebp, dword [esp + 0x54]
shl ebx, 8
or ebx, eax
mov esi, dword [ebp]
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x31], al
or edx, ebx
mov eax, ecx
shr eax, 8
mov byte [esp + 0x32], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x34], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x35], al
mov eax, edx
shr eax, 8
cmp dword [esp + 0x48], 0
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov byte [esp + 0x33], cl
mov byte [esp + 0x36], al
mov byte [esp + 0x37], dl
je 0x500e72
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x40]
sub ebx, ebp
dec dword [esp + 0x14]
test esi, esi
jne 0x500deb
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.004ffb70
mov ecx, dword [esp + 0x24]
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x38], al
mov edx, ecx
shr edx, 0x10
mov eax, ecx
shr eax, 8
mov byte [esp + 0x3a], al
mov byte [esp + 0x39], dl
mov edx, dword [esp + 0x28]
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x3c], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x3d], al
mov eax, edx
shr eax, 8
add esp, 8
inc dword [esp + 0x10]
mov byte [esp + 0x33], cl
mov byte [esp + 0x36], al
mov byte [esp + 0x37], dl
mov al, byte [esp + esi + 0x30]
xor al, byte [ebp]
inc esi
mov byte [ebx + ebp], al
inc ebp
and esi, 7
cmp dword [esp + 0x14], 0
jne 0x500d87
cmp dword [esp + 0x10], 0
je 0x500e59
mov eax, ecx
mov ebx, ecx
shr eax, 0x18
mov byte [edi], al
mov eax, dword [esp + 0x2c]
shr ebx, 0x10
mov byte [eax], bl
mov ebx, ecx
shr ebx, 8
mov byte [eax + 1], bl
mov byte [eax + 2], cl
mov ecx, edx
shr ecx, 0x18
mov byte [eax + 3], cl
mov ecx, edx
shr ecx, 0x10
mov byte [eax + 4], cl
mov ecx, edx
shr ecx, 8
mov byte [eax + 5], cl
mov byte [eax + 6], dl
mov edx, dword [esp + 0x18]
pop edi
mov dword [edx], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0049cc86
add esp, 0x2c
ret
mov eax, dword [esp + 0x18]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0049cc86
add esp, 0x2c
ret
mov ecx, dword [esp + 0x38]
pop edi
mov dword [ebp], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049cc86
add esp, 0x2c
ret
Function at 0x503290
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x2c
call fcn.004a72f0
mov eax, dword [0x595978]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push ebx
mov dword [esp + 0x18], eax
push ebp
mov dword [esp + 0xc], edx
push esi
push edi
mov edi, dword [esp + 0x50]
movzx edx, byte [edi + 1]
movzx ebx, byte [edi + 5]
lea eax, [edi + 1]
mov dword [esp + 0x28], ecx
movzx ecx, byte [edi]
shl edx, 0x10
shl ecx, 0x18
or ecx, edx
movzx edx, byte [eax + 1]
shl edx, 8
or ecx, edx
movzx edx, byte [eax + 2]
or ecx, edx
movzx edx, byte [eax + 3]
mov dword [esp + 0x2c], eax
shl ebx, 0x10
shl edx, 0x18
or edx, ebx
movzx ebx, byte [eax + 5]
movzx eax, byte [eax + 6]
mov ebp, dword [esp + 0x54]
shl ebx, 8
or ebx, eax
mov esi, dword [ebp]
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x31], al
or edx, ebx
mov eax, ecx
shr eax, 8
mov byte [esp + 0x32], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x34], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x35], al
mov eax, edx
shr eax, 8
cmp dword [esp + 0x48], 0
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov byte [esp + 0x33], cl
mov byte [esp + 0x36], al
mov byte [esp + 0x37], dl
je 0x503462
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x40]
sub ebx, ebp
dec dword [esp + 0x14]
test esi, esi
jne 0x5033db
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.005022a0
mov ecx, dword [esp + 0x24]
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x38], al
mov edx, ecx
shr edx, 0x10
mov eax, ecx
shr eax, 8
mov byte [esp + 0x3a], al
mov byte [esp + 0x39], dl
mov edx, dword [esp + 0x28]
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x3c], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x3d], al
mov eax, edx
shr eax, 8
add esp, 8
inc dword [esp + 0x10]
mov byte [esp + 0x33], cl
mov byte [esp + 0x36], al
mov byte [esp + 0x37], dl
mov al, byte [esp + esi + 0x30]
xor al, byte [ebp]
inc esi
mov byte [ebx + ebp], al
inc ebp
and esi, 7
cmp dword [esp + 0x14], 0
jne 0x503377
cmp dword [esp + 0x10], 0
je 0x503449
mov eax, ecx
mov ebx, ecx
shr eax, 0x18
mov byte [edi], al
mov eax, dword [esp + 0x2c]
shr ebx, 0x10
mov byte [eax], bl
mov ebx, ecx
shr ebx, 8
mov byte [eax + 1], bl
mov byte [eax + 2], cl
mov ecx, edx
shr ecx, 0x18
mov byte [eax + 3], cl
mov ecx, edx
shr ecx, 0x10
mov byte [eax + 4], cl
mov ecx, edx
shr ecx, 8
mov byte [eax + 5], cl
mov byte [eax + 6], dl
mov edx, dword [esp + 0x18]
pop edi
mov dword [edx], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0049cc86
add esp, 0x2c
ret
mov eax, dword [esp + 0x18]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0049cc86
add esp, 0x2c
ret
mov ecx, dword [esp + 0x38]
pop edi
mov dword [ebp], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049cc86
add esp, 0x2c
ret
Function at 0x503480
Capabilities:
Encrypt data using blowfish

Disassembly:
mov eax, 8
call fcn.004a72f0
push ebx
mov ebx, dword [esp + 0x10]
push esi
push 0x1048
push 0x569220
push ebx
call fcn.004a5720
mov ecx, dword [esp + 0x24]
add esp, 0xc
cmp ecx, 0x48
jle 0x5034b1
mov ecx, 0x48
push edi
mov edi, dword [esp + 0x20]
mov eax, edi
add ecx, edi
lea esi, [ebx + 8]
mov dword [esp + 0x18], 6
push ebp
movzx edx, byte [eax]
inc eax
cmp eax, ecx
jb 0x5034d0
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x5034df
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x5034ee
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x5034fd
mov eax, edi
xor dword [esi - 8], edx
movzx edx, byte [eax]
inc eax
cmp eax, ecx
jb 0x50350a
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x503519
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x503528
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x503537
mov eax, edi
xor dword [esi - 4], edx
movzx edx, byte [eax]
inc eax
cmp eax, ecx
jb 0x503544
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x503553
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x503562
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x503571
mov eax, edi
xor dword [esi], edx
add esi, 0xc
dec dword [esp + 0x1c]
jne 0x5034c6
xor edi, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
xor esi, esi
pop ebp
lea ecx, [ecx]
lea eax, [esp + 0xc]
push ebx
push eax
call fcn.005022a0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [ebx + esi*4], ecx
mov dword [ebx + esi*4 + 4], edx
add esi, 2
add esp, 8
cmp esi, 0x12
jl 0x503590
xor esi, esi
pop edi
lea eax, [esp + 8]
push ebx
push eax
call fcn.005022a0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [ebx + esi*4 + 0x48], ecx
mov dword [ebx + esi*4 + 0x4c], edx
add esi, 2
add esp, 8
cmp esi, 0x400
jl 0x5035b8
pop esi
pop ebx
add esp, 8
ret
Function at 0x504000
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x2c
call fcn.004a72f0
mov eax, dword [0x595978]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
push ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
push ebp
mov dword [esp + 0xc], eax
push esi
mov esi, dword [eax]
push edi
mov edi, dword [esp + 0x50]
movzx edx, byte [edi + 1]
movzx ebx, byte [edi + 5]
lea eax, [edi + 1]
mov dword [esp + 0x28], ecx
movzx ecx, byte [edi]
shl edx, 8
or ecx, edx
movzx edx, byte [eax + 1]
shl edx, 0x10
or ecx, edx
movzx edx, byte [eax + 2]
mov ebp, dword [esp + 0x48]
shl edx, 0x18
or ecx, edx
movzx edx, byte [eax + 3]
shl ebx, 8
or edx, ebx
movzx ebx, byte [eax + 6]
mov dword [esp + 0x2c], eax
movzx eax, byte [eax + 5]
shl ebx, 8
or ebx, eax
mov eax, ecx
shr eax, 8
shl ebx, 0x10
or edx, ebx
mov byte [esp + 0x31], al
mov eax, ecx
mov ebx, ecx
mov byte [esp + 0x30], cl
shr eax, 0x10
shr ecx, 0x18
mov byte [esp + 0x32], al
mov byte [esp + 0x33], cl
mov ecx, edx
mov eax, edx
mov dword [esp + 0x24], edx
mov byte [esp + 0x34], dl
shr ecx, 8
shr eax, 0x10
shr edx, 0x18
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], ebx
mov byte [esp + 0x35], cl
mov byte [esp + 0x36], al
mov byte [esp + 0x37], dl
test ebp, ebp
je 0x5041d2
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x40]
sub eax, ebp
mov dword [esp + 0x10], eax
dec dword [esp + 0x18]
test esi, esi
jne 0x50414b
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.005035f0
mov ebx, dword [esp + 0x28]
mov eax, ebx
shr eax, 8
mov byte [esp + 0x39], al
mov eax, dword [esp + 0x2c]
mov ecx, ebx
shr ecx, 0x10
mov edx, ebx
shr edx, 0x18
mov byte [esp + 0x3a], cl
mov byte [esp + 0x3b], dl
mov ecx, eax
mov edx, eax
mov byte [esp + 0x3c], al
shr eax, 0x18
shr ecx, 8
shr edx, 0x10
add esp, 8
inc dword [esp + 0x1c]
mov byte [esp + 0x37], al
mov eax, dword [esp + 0x10]
mov byte [esp + 0x30], bl
mov byte [esp + 0x35], cl
mov byte [esp + 0x36], dl
mov cl, byte [esp + esi + 0x30]
xor cl, byte [ebp]
inc esi
mov byte [eax + ebp], cl
inc ebp
and esi, 7
cmp dword [esp + 0x18], 0
jne 0x5040e5
cmp dword [esp + 0x1c], 0
je 0x5041b9
mov eax, dword [esp + 0x2c]
mov byte [edi], bl
mov edx, ebx
shr edx, 8
mov byte [eax], dl
mov ecx, ebx
shr ecx, 0x10
mov byte [eax + 1], cl
mov ecx, dword [esp + 0x24]
shr ebx, 0x18
mov byte [eax + 2], bl
mov byte [eax + 3], cl
mov edx, ecx
shr edx, 8
mov byte [eax + 4], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax + 5], dl
shr ecx, 0x18
mov byte [eax + 6], cl
mov eax, dword [esp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0049cc86
add esp, 0x2c
ret
mov ecx, dword [esp + 0x14]
pop edi
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0049cc86
add esp, 0x2c
ret
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
pop edi
mov dword [edx], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049cc86
add esp, 0x2c
ret
Function at 0x5041f0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov byte [edi], 0
cmp eax, 0x80
jle 0x50420a
mov eax, 0x80
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jle 0x50421a
cmp ecx, 0x400
jle 0x50421f
mov ecx, 0x400
test eax, eax
jle 0x50423a
mov esi, dword [esp + 0x18]
push ebp
mov edx, edi
sub esi, edi
mov ebp, eax
mov edi, edi
mov bl, byte [esi + edx]
mov byte [edx], bl
inc edx
dec ebp
jne 0x504230
pop ebp
movzx edx, byte [edi + eax - 1]
cmp eax, 0x80
jge 0x50426e
mov esi, edi
sub esi, eax
lea ebx, [ebx]
movzx ebx, byte [esi + eax]
add ebx, edx
and ebx, 0xff
movzx edx, byte [ebx + 0x5a0cc8]
mov byte [eax + edi], dl
inc eax
cmp eax, 0x80
jl 0x504250
lea edx, [ecx + 7]
neg ecx
sar edx, 3
mov eax, 0x80
and ecx, 7
sub eax, edx
lea esi, [eax + edi]
mov ebx, 0xff
sar ebx, cl
movzx ecx, byte [esi]
and ebx, ecx
movzx ecx, byte [ebx + 0x5a0cc8]
mov byte [esi], cl
test eax, eax
je 0x5042b4
lea esp, [esp]
movzx ebx, byte [esi + edx - 1]
dec esi
xor ebx, ecx
dec eax
movzx ecx, byte [ebx + 0x5a0cc8]
mov byte [esi], cl
jne 0x5042a0
lea ecx, [edi + 0xfc]
lea eax, [edi + 0x7e]
mov edx, 0x40
movzx esi, byte [eax + 1]
movzx edi, byte [eax]
shl esi, 8
or esi, edi
and esi, 0xffff
mov dword [ecx], esi
sub ecx, 4
sub eax, 2
dec edx
jne 0x5042c2
pop edi
pop esi
pop ebx
ret