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

Disassembly:
mov eax, 0xa8
call fcn.00538850
mov eax, dword [0x5bbfb0]
xor eax, esp
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 8]
push ebp
mov ebp, dword [esp + 0xb8]
mov dword [esp + 0x14], eax
sub eax, ebp
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0xc]
push esi
xor esi, esi
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
cmp eax, ebp
jb 0x4b7286
cmp ebp, 0x40
jbe 0x4b729f
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00538458
add esp, 0xa8
ret
push ebx
lea ebx, [esp + 0x30]
neg ebx
and ebx, 0x3f
lea ecx, [ebp + 0x100]
lea ebx, [esp + ebx + 0x30]
mov dword [esp + 0x24], ebx
cmp eax, ecx
jbe 0x4b72c6
sub eax, ebp
sub eax, 0x100
mov dword [esp + 0xc], eax
push edi
push ebp
push esi
push ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
call sub.MSVCR100.dll_memset
mov edi, dword [esp + 0x1c]
mov eax, edi
add esp, 0xc
xor ecx, ecx
cmp eax, dword [esp + 0x14]
jae 0x4b737a
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0xc0]
sub eax, ebx
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x14]
mov dword [esp + 0x30], eax
jmp 0x4b730a
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
mov edx, edi
xor edx, dword [esp + 0x24]
xor esi, ebx
lea eax, [edx - 1]
not edx
shr edx, 0x1f
shr eax, 0x1f
and eax, edx
mov edx, edi
xor edx, ebx
mov ebx, dword [esp + 0x28]
or esi, edx
neg eax
xor esi, edi
mov edx, eax
or edx, dword [esp + 0x1c]
shr esi, 0x1f
inc dword [esp + 0x10]
neg esi
and edx, esi
mov esi, dword [esp + 0x18]
and eax, ecx
mov dword [esp + 0x1c], edx
or esi, eax
mov eax, dword [esp + 0x30]
and dl, byte [eax + edi]
inc ecx
or byte [ecx + ebx - 1], dl
mov edx, ecx
sub edx, ebp
xor edx, ebp
mov eax, ecx
xor eax, ebp
or edx, eax
xor edx, ecx
shr edx, 0x1f
neg edx
inc edi
and ecx, edx
mov dword [esp + 0x18], esi
cmp edi, dword [esp + 0x14]
jb 0x4b7306
xor eax, eax
pop edi
test ebp, ebp
je 0x4b73ae
mov ecx, esi
xor ecx, 0x20
mov dl, byte [ecx + ebx]
mov cl, byte [esi + ebx]
mov edx, dword [esp + 0x28]
mov byte [edx + eax], cl
inc esi
mov ecx, esi
sub ecx, ebp
xor ecx, ebp
mov edx, esi
xor edx, ebp
or ecx, edx
xor ecx, esi
shr ecx, 0x1f
neg ecx
inc eax
and esi, ecx
cmp eax, ebp
jb 0x4b7381
mov ecx, dword [esp + 0xb0]
pop ebx
pop esi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.00538458
add esp, 0xa8
ret
Function at 0x4bed80
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x134
call fcn.00538850
mov eax, dword [0x5bbfb0]
xor eax, esp
mov dword [esp + 0x130], eax
mov eax, dword [esp + 0x148]
push ebx
mov ebx, dword [esp + 0x140]
push ebp
mov ebp, dword [esp + 0x148]
push esi
mov esi, dword [esp + 0x150]
mov dword [esp + 0x14], eax
xor eax, eax
push edi
mov edi, dword [esp + 0x148]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
cmp esi, eax
je 0x4bede5
cmp esi, dword [edi]
je 0x4bede1
cmp ebx, eax
je 0x4bee5e
cmp ebp, eax
jl 0x4bee5e
mov dword [edi], esi
jmp 0x4bedeb
mov esi, dword [edi]
cmp esi, eax
je 0x4bee5e
push esi
call fcn.00455450
add esp, 4
test al, 2
jne 0x4bee5e
test ebx, ebx
je 0x4bef58
push esi
mov dword [esp + 0x14], 1
call fcn.0046e8c0
add esp, 4
cmp eax, 0x90
jg 0x4bee5e
cmp eax, ebp
jge 0x4bee79
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + 4]
push ecx
push esi
push edx
call fcn.00465e10
add esp, 0xc
test eax, eax
je 0x4bee5e
mov eax, dword [edi + 4]
push ebp
push ebx
push eax
call fcn.00465fc0
add esp, 0xc
test eax, eax
je 0x4bee5e
mov eax, dword [edi + 4]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
call fcn.00465fe0
add esp, 0xc
test eax, eax
jne 0x4bee98
xor eax, eax
mov ecx, dword [esp + 0x140]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00538458
add esp, 0x134
ret
cmp ebp, 0x90
ja 0x4bee5e
push ebp
lea ecx, [esp + 0x24]
push ebx
push ecx
call sub.MSVCR100.dll_memcpy
mov eax, ebp
add esp, 0xc
mov dword [esp + 0x1c], eax
jmp 0x4bee9c
mov eax, dword [esp + 0x1c]
cmp eax, 0x90
je 0x4beeba
mov edx, 0x90
sub edx, eax
push edx
lea eax, [esp + eax + 0x24]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
lea esp, [esp]
mov cl, byte [esp + eax + 0x20]
xor cl, 0x36
mov byte [esp + eax + 0xb0], cl
inc eax
cmp eax, 0x90
jl 0x4beec0
mov ebx, dword [esp + 0x18]
mov edx, dword [edi + 8]
push ebx
push esi
push edx
call fcn.00465e10
add esp, 0xc
test eax, eax
je 0x4bef7b
push esi
call fcn.0046e8c0
mov ecx, dword [edi + 8]
push eax
lea eax, [esp + 0xb8]
push eax
push ecx
call fcn.00465fc0
add esp, 0x10
test eax, eax
je 0x4bef7b
xor eax, eax
mov dl, byte [esp + eax + 0x20]
xor dl, 0x5c
mov byte [esp + eax + 0xb0], dl
inc eax
cmp eax, 0x90
jl 0x4bef11
mov eax, dword [edi + 0xc]
push ebx
push esi
push eax
call fcn.00465e10
add esp, 0xc
test eax, eax
je 0x4bef7b
push esi
call fcn.0046e8c0
mov edx, dword [edi + 0xc]
push eax
lea ecx, [esp + 0xb8]
push ecx
push edx
call fcn.00465fc0
add esp, 0x10
test eax, eax
je 0x4bef7b
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push eax
push ecx
call fcn.004660f0
add esp, 8
test eax, eax
je 0x4bef74
mov dword [esp + 0x14], 1
cmp dword [esp + 0x10], 0
je 0x4bef9f
lea edx, [esp + 0x20]
push 0x90
push edx
call fcn.00478790
lea eax, [esp + 0xb8]
push 0x90
push eax
call fcn.00478790
add esp, 0x10
mov eax, dword [esp + 0x14]
jmp 0x4bee60
Function at 0x4c7230
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
xor eax, eax
push esi
test edx, edx
je 0x4c7247
test byte [edx + 0x5c], 2
mov esi, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz._
jne 0x4c724c
mov esi, 0x58c988
test ebp, ebp
jle 0x4c7315
push ebx
push edi
mov edi, dword [esp + 0x14]
inc edi
jmp 0x4c7260
movzx edx, byte [edi - 1]
cmp ebp, 3
jl 0x4c72b1
movzx ebx, byte [edi]
shl edx, 8
or edx, ebx
movzx ebx, byte [edi + 1]
shl edx, 8
or edx, ebx
mov ebx, edx
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebx + esi]
mov byte [ecx], bl
mov ebx, edx
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebx + esi]
mov byte [ecx + 1], bl
mov ebx, edx
shr ebx, 6
and ebx, 0x3f
movzx ebx, byte [ebx + esi]
mov byte [ecx + 2], bl
and edx, 0x3f
mov dl, byte [edx + esi]
mov byte [ecx + 3], dl
jmp 0x4c72f9
shl edx, 0x10
cmp ebp, 2
jne 0x4c72c1
movzx ebx, byte [edi]
shl ebx, 8
or edx, ebx
mov ebx, edx
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebx + esi]
mov byte [ecx], bl
mov ebx, edx
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebx + esi]
mov byte [ecx + 1], bl
cmp ebp, 1
jne 0x4c72e8
lea edx, [ebp + 0x3c]
jmp 0x4c72f2
shr edx, 6
and edx, 0x3f
movzx edx, byte [edx + esi]
mov byte [ecx + 2], dl
mov byte [ecx + 3], 0x3d
sub ebp, 3
add ecx, 4
add eax, 4
add edi, 3
test ebp, ebp
jg 0x4c7260
pop edi
pop ebx
pop esi
mov byte [ecx], 0
pop ebp
ret
pop esi
mov byte [ecx], al
pop ebp
ret
Function at 0x4ceb70
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x28
call fcn.00538850
mov eax, dword [esp + 0x2c]
push ebx
push ebp
mov ebp, dword [esp + 0x38]
push esi
push edi
mov edi, edx
push ebp
mov esi, 1
push eax
mov ebx, ecx
shl esi, cl
mov dword [esp + 0x18], edi
call fcn.00495170
add esp, 8
test eax, eax
jne 0x4cebab
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
cmp ebx, 3
jg 0x4cec0d
xor ebx, ebx
test ebp, ebp
jle 0x4ced70
lea ebx, [ebx]
xor edx, edx
xor ecx, ecx
test esi, esi
jle 0x4cebef
mov eax, ecx
xor eax, dword [esp + 0x44]
inc ecx
lea ebp, [eax - 1]
shr ebp, 0x1f
not eax
shr eax, 0x1f
and ebp, eax
mov eax, dword [edi + ecx*4 - 4]
neg ebp
and ebp, 1
neg ebp
and ebp, eax
or edx, ebp
cmp ecx, esi
jl 0x4cebc8
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov dword [eax + ebx*4], edx
lea eax, [esi*4]
inc ebx
add edi, eax
cmp ebx, dword [esp + 0x40]
jl 0x4cebc0
jmp 0x4ced70
mov edx, dword [esp + 0x44]
lea ecx, [ebx - 2]
mov eax, edx
sar eax, cl
mov edi, 1
shl edi, cl
lea ebx, [eax - 1]
shr ebx, 0x1f
lea ecx, [edi - 1]
and edx, ecx
mov dword [esp + 0x44], edx
mov edx, eax
not edx
shr edx, 0x1f
and ebx, edx
mov ecx, eax
xor ecx, 1
lea edx, [ecx - 1]
not ecx
shr ecx, 0x1f
shr edx, 0x1f
and edx, ecx
mov ecx, eax
xor ecx, 2
lea ebp, [ecx - 1]
not ecx
shr ecx, 0x1f
shr ebp, 0x1f
and ebp, ecx
xor eax, 3
lea ecx, [eax - 1]
shr ecx, 0x1f
not eax
shr eax, 0x1f
and ecx, eax
neg ebx
neg edx
neg ebp
neg ecx
and ebx, 1
and edx, 1
and ebp, 1
and ecx, 1
xor eax, eax
neg edx
neg ebp
neg ecx
neg ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x40], eax
jle 0x4ced70
lea edx, [esi*4]
mov dword [esp + 0x34], edx
mov edi, edi
xor esi, esi
mov dword [esp + 0x20], esi
cmp edi, esi
jle 0x4ced4c
mov eax, dword [esp + 0x10]
lea edx, [eax + edi*4]
mov dword [esp + 0x1c], edx
lea edx, [eax + edi*8]
mov dword [esp + 0x18], edx
lea edx, [edi + edi*2]
lea eax, [eax + edx*4]
mov dword [esp + 0x14], eax
lea ebx, [ebx]
mov edx, dword [esp + 0x14]
mov edx, dword [edx]
and edx, ecx
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx]
and ecx, ebp
or ecx, edx
mov edx, dword [esp + 0x1c]
mov edx, dword [edx]
and edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x24]
or edx, ecx
mov eax, esi
xor eax, dword [esp + 0x44]
inc esi
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + esi*4 - 4]
neg ecx
and ecx, 1
and eax, ebx
neg ecx
or eax, edx
and ecx, eax
or dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x28]
mov eax, 4
add dword [esp + 0x14], eax
add dword [esp + 0x18], eax
add dword [esp + 0x1c], eax
cmp esi, edi
jl 0x4cece0
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
mov edx, dword [edx]
mov esi, dword [esp + 0x20]
mov dword [edx + eax*4], esi
mov edx, dword [esp + 0x34]
add dword [esp + 0x10], edx
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x40]
jl 0x4cecb0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword [ecx + 4], eax
mov eax, 1
pop ebx
add esp, 0x28
ret
Function at 0x4d1540
Capabilities:
Encrypt data using curve25519

Disassembly:
mov eax, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, ecx
cmp ebp, 2
je 0x4d15bf
test eax, eax
je 0x4d158b
push eax
push 0
lea eax, [esp + 0x20]
push eax
push 0
call fcn.00478c30
add esp, 0x10
cmp dword [esp + 0x18], 0xffffffff
je 0x4d158b
push 0x3b
push str.cryptoececx_meth.c
push 0x66
push 0x10a
push 0x10
call fcn.0043a8e0
add esp, 0x14
pop esi
xor eax, eax
pop ebp
ret
cmp dword [esp + 0x14], 0
je 0x4d15bb
cmp edi, 0x40a
je 0x4d15b2
cmp edi, 0x43f
je 0x4d15b2
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x4d15b7
mov eax, 0x20
cmp esi, eax
je 0x4d15bf
push 0x41
jmp 0x4d1570
push ebx
push 0x46
push str.cryptoececx_meth.c
push 0x40
call fcn.00440780
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4d15f5
push 0x48
push str.cryptoececx_meth.c
push 0x41
push 0x10a
push 0x10
call fcn.0043a8e0
add esp, 0x14
pop ebx
pop esi
xor eax, eax
pop ebp
ret
test ebp, ebp
jne 0x4d160d
mov ecx, dword [esp + 0x18]
push esi
push ecx
push ebx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
jmp case.0x4d173e.1036
cmp edi, 0x40a
je 0x4d162d
cmp edi, 0x43f
je 0x4d162d
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x4d1632
mov eax, 0x20
push 0x50
push str.cryptoececx_meth.c
push eax
call fcn.00452290
mov esi, eax
add esp, 0xc
mov dword [ebx + 0x3c], esi
test esi, esi
jne 0x4d1665
push 0x52
push str.cryptoececx_meth.c
push 0x41
push 0x10a
push 0x10
call fcn.0043a8e0
add esp, 0x14
jmp 0x4d16b8
cmp ebp, 2
jne 0x4d16f8
cmp edi, 0x40a
je 0x4d168e
cmp edi, 0x43f
je 0x4d168e
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x4d1693
mov eax, 0x20
push eax
push esi
call fcn.00454260
add esp, 8
test eax, eax
jg 0x4d16ce
push 0x57
push str.cryptoececx_meth.c
push esi
call fcn.004522b0
add esp, 0xc
mov dword [ebx + 0x3c], 0
push 0x79
push str.cryptoececx_meth.c
push ebx
call fcn.004407f0
add esp, 0xc
pop ebx
pop esi
xor eax, eax
pop ebp
ret
cmp edi, 0x40a
jne 0x4d16e7
mov dl, byte [esi + 0x1f]
and byte [esi], 0xf8
and dl, 0x3f
or dl, 0x40
mov byte [esi + 0x1f], dl
jmp 0x4d172c
cmp edi, 0x40b
jne 0x4d172c
and byte [esi], 0xfc
or byte [esi + 0x37], 0x80
jmp 0x4d172c
cmp edi, 0x40a
je 0x4d1718
cmp edi, 0x43f
je 0x4d1718
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x4d171d
mov eax, 0x20
push eax
mov eax, dword [esp + 0x1c]
push eax
push esi
call sub.MSVCR100.dll_memcpy
add esp, 0xc
lea eax, [edi - 0x40a]
cmp eax, 0x36
ja case.0x4d173e.1036
movzx ecx, byte [eax + 0x4d1798]
jmp dword [ecx*4 + 0x4d1784]
push esi
push ebx
call fcn.00525070
jmp 0x4d1767
push esi
push ebx
call fcn.00524f50
jmp 0x4d1767
push esi
push ebx
call fcn.005179e0
jmp 0x4d1767
push esi
push ebx
call fcn.00515ad0
add esp, 8
mov edx, dword [esp + 0x10]
push ebx
push edi
push edx
call fcn.0043d4c0
add esp, 0xc
pop ebx
pop esi
mov eax, 1
pop ebp
ret
Function at 0x4db100
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov ebx, edx
push ebx
mov esi, ecx
call fcn.004833a0
mov ecx, dword [esp + 0x10]
add esp, 4
cmp eax, 0x72
mov eax, dword [esp + 0x14]
jne 0x4db1f6
push ebp
mov ebx, esi
push edi
shr ebx, 1
and esi, 1
push eax
lea ebp, [esi + ebx]
push ebp
push ecx
call fcn.00444760
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
push eax
call fcn.004dae90
add esp, 0x14
test eax, eax
je 0x4db17a
push 0x104
push str.cryptokdf_tls1_prf.c
push edi
call fcn.00440740
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4db180
push 0x105
push str.cryptokdf_tls1_prf.c
push 0x41
push 0x6f
push 0x34
call fcn.0043a8e0
add esp, 0x14
pop ebp
pop esi
xor eax, eax
pop ebx
ret
mov edx, dword [esp + 0x18]
add ebx, dword [esp + 0x10]
push edi
push edx
push ebp
push ebx
call fcn.00443bf0
mov ecx, dword [esp + 0x24]
push eax
mov edx, esi
call fcn.004dae90
add esp, 0x14
test eax, eax
jne 0x4db1be
push 0x10a
push str.cryptokdf_tls1_prf.c
push edi
push esi
call fcn.00440810
add esp, 0x10
pop ebp
pop esi
xor eax, eax
pop ebx
ret
test edi, edi
je 0x4db1d9
mov eax, dword [esp + 0x1c]
mov ecx, esi
sub ecx, eax
mov ebp, edi
lea esp, [esp]
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec ebp
jne 0x4db1d0
push 0x10f
push str.cryptokdf_tls1_prf.c
push edi
push esi
call fcn.00440810
add esp, 0x10
pop ebp
pop esi
mov eax, 1
pop ebx
ret
mov edx, dword [esp + 0x18]
push edi
push eax
push esi
push ecx
mov ecx, dword [esp + 0x20]
push ebx
call fcn.004dae90
add esp, 0x14
neg eax
sbb eax, eax
pop esi
neg eax
pop ebx
ret
Function at 0x4e2f10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x2c
call fcn.00538850
mov eax, dword [0x5bbfb0]
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 0x4e30e2
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x40]
sub ebx, ebp
dec dword [esp + 0x14]
test esi, esi
jne 0x4e305b
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.004e1de0
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 0x4e2ff7
cmp dword [esp + 0x10], 0
je 0x4e30c9
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.00538458
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.00538458
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.00538458
add esp, 0x2c
ret
Function at 0x4e5500
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x2c
call fcn.00538850
mov eax, dword [0x5bbfb0]
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 0x4e56d2
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x40]
sub ebx, ebp
dec dword [esp + 0x14]
test esi, esi
jne 0x4e564b
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.004e4510
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 0x4e55e7
cmp dword [esp + 0x10], 0
je 0x4e56b9
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.00538458
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.00538458
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.00538458
add esp, 0x2c
ret
Function at 0x4e56f0
Capabilities:
Encrypt data using blowfish

Disassembly:
mov eax, 8
call fcn.00538850
push ebx
mov ebx, dword [esp + 0x10]
push esi
push 0x1048
push 0x592680
push ebx
call sub.MSVCR100.dll_memcpy
mov ecx, dword [esp + 0x24]
add esp, 0xc
cmp ecx, 0x48
jle 0x4e5721
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 0x4e5740
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x4e574f
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x4e575e
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x4e576d
mov eax, edi
xor dword [esi - 8], edx
movzx edx, byte [eax]
inc eax
cmp eax, ecx
jb 0x4e577a
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x4e5789
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x4e5798
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x4e57a7
mov eax, edi
xor dword [esi - 4], edx
movzx edx, byte [eax]
inc eax
cmp eax, ecx
jb 0x4e57b4
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x4e57c3
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x4e57d2
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x4e57e1
mov eax, edi
xor dword [esi], edx
add esi, 0xc
dec dword [esp + 0x1c]
jne 0x4e5736
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.004e4510
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 0x4e5800
xor esi, esi
pop edi
lea eax, [esp + 8]
push ebx
push eax
call fcn.004e4510
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 0x4e5828
pop esi
pop ebx
add esp, 8
ret