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

Disassembly:
mov eax, 0xa8
call fcn.005b2630
mov eax, dword [0x644a10]
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 0x5195d6
cmp ebp, 0x40
jbe 0x5195ef
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.005b2129
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 0x519616
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 0x5196ca
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 0x51965a
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 0x519656
xor eax, eax
pop edi
test ebp, ebp
je 0x5196fe
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 0x5196d1
mov ecx, dword [esp + 0xb0]
pop ebx
pop esi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.005b2129
add esp, 0xa8
ret
Function at 0x521ab0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x134
call fcn.005b2630
mov eax, dword [0x644a10]
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 0x521b15
cmp esi, dword [edi]
je 0x521b11
cmp ebx, eax
je 0x521b8e
cmp ebp, eax
jl 0x521b8e
mov dword [edi], esi
jmp 0x521b1b
mov esi, dword [edi]
cmp esi, eax
je 0x521b8e
push esi
call fcn.004df1e0
add esp, 4
test al, 2
jne 0x521b8e
test ebx, ebx
je 0x521c88
push esi
mov dword [esp + 0x14], 1
call fcn.004e1ff0
add esp, 4
cmp eax, 0x90
jg 0x521b8e
cmp eax, ebp
jge 0x521ba9
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + 4]
push ecx
push esi
push edx
call fcn.004ba1e0
add esp, 0xc
test eax, eax
je 0x521b8e
mov eax, dword [edi + 4]
push ebp
push ebx
push eax
call fcn.004ba390
add esp, 0xc
test eax, eax
je 0x521b8e
mov eax, dword [edi + 4]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
call fcn.004ba3b0
add esp, 0xc
test eax, eax
jne 0x521bc8
xor eax, eax
mov ecx, dword [esp + 0x140]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005b2129
add esp, 0x134
ret
cmp ebp, 0x90
ja 0x521b8e
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 0x521bcc
mov eax, dword [esp + 0x1c]
cmp eax, 0x90
je 0x521bea
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 0x521bf0
mov ebx, dword [esp + 0x18]
mov edx, dword [edi + 8]
push ebx
push esi
push edx
call fcn.004ba1e0
add esp, 0xc
test eax, eax
je 0x521cab
push esi
call fcn.004e1ff0
mov ecx, dword [edi + 8]
push eax
lea eax, [esp + 0xb8]
push eax
push ecx
call fcn.004ba390
add esp, 0x10
test eax, eax
je 0x521cab
xor eax, eax
mov dl, byte [esp + eax + 0x20]
xor dl, 0x5c
mov byte [esp + eax + 0xb0], dl
inc eax
cmp eax, 0x90
jl 0x521c41
mov eax, dword [edi + 0xc]
push ebx
push esi
push eax
call fcn.004ba1e0
add esp, 0xc
test eax, eax
je 0x521cab
push esi
call fcn.004e1ff0
mov edx, dword [edi + 0xc]
push eax
lea ecx, [esp + 0xb8]
push ecx
push edx
call fcn.004ba390
add esp, 0x10
test eax, eax
je 0x521cab
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push eax
push ecx
call fcn.004ba4c0
add esp, 8
test eax, eax
je 0x521ca4
mov dword [esp + 0x14], 1
cmp dword [esp + 0x10], 0
je 0x521ccf
lea edx, [esp + 0x20]
push 0x90
push edx
call fcn.004d2c70
lea eax, [esp + 0xb8]
push 0x90
push eax
call fcn.004d2c70
add esp, 0x10
mov eax, dword [esp + 0x14]
jmp 0x521b90
Function at 0x52f530
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
xor eax, eax
push esi
test edx, edx
je 0x52f547
test byte [edx + 0x5c], 2
mov esi, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz._
jne 0x52f54c
mov esi, 0x6109a8
test ebp, ebp
jle 0x52f615
push ebx
push edi
mov edi, dword [esp + 0x14]
inc edi
jmp 0x52f560
movzx edx, byte [edi - 1]
cmp ebp, 3
jl 0x52f5b1
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 0x52f5f9
shl edx, 0x10
cmp ebp, 2
jne 0x52f5c1
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 0x52f5e8
lea edx, [ebp + 0x3c]
jmp 0x52f5f2
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 0x52f560
pop edi
pop ebx
pop esi
mov byte [ecx], 0
pop ebp
ret
pop esi
mov byte [ecx], al
pop ebp
ret
Function at 0x538190
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x28
call fcn.005b2630
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.004f33f0
add esp, 8
test eax, eax
jne 0x5381cb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
cmp ebx, 3
jg 0x53822d
xor ebx, ebx
test ebp, ebp
jle 0x538390
lea ebx, [ebx]
xor edx, edx
xor ecx, ecx
test esi, esi
jle 0x53820f
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 0x5381e8
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 0x5381e0
jmp 0x538390
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 0x538390
lea edx, [esi*4]
mov dword [esp + 0x34], edx
mov edi, edi
xor esi, esi
mov dword [esp + 0x20], esi
cmp edi, esi
jle 0x53836c
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 0x538300
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 0x5382d0
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 0x53b090
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 0x53b10f
test eax, eax
je 0x53b0db
push eax
push 0
lea eax, [esp + 0x20]
push eax
push 0
call fcn.004d37d0
add esp, 0x10
cmp dword [esp + 0x18], 0xffffffff
je 0x53b0db
push 0x3b
push str.cryptoececx_meth.c
push 0x66
push 0x10a
push 0x10
call fcn.00486d00
add esp, 0x14
pop esi
xor eax, eax
pop ebp
ret
cmp dword [esp + 0x14], 0
je 0x53b10b
cmp edi, 0x40a
je 0x53b102
cmp edi, 0x43f
je 0x53b102
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x53b107
mov eax, 0x20
cmp esi, eax
je 0x53b10f
push 0x41
jmp 0x53b0c0
push ebx
push 0x46
push str.cryptoececx_meth.c
push 0x40
call fcn.0048fb90
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x53b145
push 0x48
push str.cryptoececx_meth.c
push 0x41
push 0x10a
push 0x10
call fcn.00486d00
add esp, 0x14
pop ebx
pop esi
xor eax, eax
pop ebp
ret
test ebp, ebp
jne 0x53b15d
mov ecx, dword [esp + 0x18]
push esi
push ecx
push ebx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
jmp case.0x53b28e.1036
cmp edi, 0x40a
je 0x53b17d
cmp edi, 0x43f
je 0x53b17d
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x53b182
mov eax, 0x20
push 0x50
push str.cryptoececx_meth.c
push eax
call fcn.004a3340
mov esi, eax
add esp, 0xc
mov dword [ebx + 0x3c], esi
test esi, esi
jne 0x53b1b5
push 0x52
push str.cryptoececx_meth.c
push 0x41
push 0x10a
push 0x10
call fcn.00486d00
add esp, 0x14
jmp 0x53b208
cmp ebp, 2
jne 0x53b248
cmp edi, 0x40a
je 0x53b1de
cmp edi, 0x43f
je 0x53b1de
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x53b1e3
mov eax, 0x20
push eax
push esi
call fcn.004a57c0
add esp, 8
test eax, eax
jg 0x53b21e
push 0x57
push str.cryptoececx_meth.c
push esi
call fcn.004a3360
add esp, 0xc
mov dword [ebx + 0x3c], 0
push 0x79
push str.cryptoececx_meth.c
push ebx
call fcn.0048fc00
add esp, 0xc
pop ebx
pop esi
xor eax, eax
pop ebp
ret
cmp edi, 0x40a
jne 0x53b237
mov dl, byte [esi + 0x1f]
and byte [esi], 0xf8
and dl, 0x3f
or dl, 0x40
mov byte [esi + 0x1f], dl
jmp 0x53b27c
cmp edi, 0x40b
jne 0x53b27c
and byte [esi], 0xfc
or byte [esi + 0x37], 0x80
jmp 0x53b27c
cmp edi, 0x40a
je 0x53b268
cmp edi, 0x43f
je 0x53b268
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x53b26d
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.0x53b28e.1036
movzx ecx, byte [eax + 0x53b2e8]
jmp dword [ecx*4 + 0x53b2d4]
push esi
push ebx
call fcn.00598c90
jmp 0x53b2b7
push esi
push ebx
call fcn.00598b70
jmp 0x53b2b7
push esi
push ebx
call fcn.0058b160
jmp 0x53b2b7
push esi
push ebx
call fcn.00588d30
add esp, 8
mov edx, dword [esp + 0x10]
push ebx
push edi
push edx
call fcn.0048ae20
add esp, 0xc
pop ebx
pop esi
mov eax, 1
pop ebp
ret
Function at 0x5455a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov ebx, edx
push ebx
mov esi, ecx
call fcn.004aaa60
mov ecx, dword [esp + 0x10]
add esp, 4
cmp eax, 0x72
mov eax, dword [esp + 0x14]
jne 0x545696
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.00495160
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
push eax
call fcn.00545330
add esp, 0x14
test eax, eax
je 0x54561a
push 0x104
push str.cryptokdf_tls1_prf.c
push edi
call fcn.0048fb50
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x545620
push 0x105
push str.cryptokdf_tls1_prf.c
push 0x41
push 0x6f
push 0x34
call fcn.00486d00
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.004940a0
mov ecx, dword [esp + 0x24]
push eax
mov edx, esi
call fcn.00545330
add esp, 0x14
test eax, eax
jne 0x54565e
push 0x10a
push str.cryptokdf_tls1_prf.c
push edi
push esi
call fcn.0048fc20
add esp, 0x10
pop ebp
pop esi
xor eax, eax
pop ebx
ret
test edi, edi
je 0x545679
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 0x545670
push 0x10f
push str.cryptokdf_tls1_prf.c
push edi
push esi
call fcn.0048fc20
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.00545330
add esp, 0x14
neg eax
sbb eax, eax
pop esi
neg eax
pop ebx
ret
Function at 0x54d830
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x2c
call fcn.005b2630
mov eax, dword [0x644a10]
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 0x54da02
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x40]
sub ebx, ebp
dec dword [esp + 0x14]
test esi, esi
jne 0x54d97b
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.0054c700
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 0x54d917
cmp dword [esp + 0x10], 0
je 0x54d9e9
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.005b2129
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.005b2129
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.005b2129
add esp, 0x2c
ret
Function at 0x54fe30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x2c
call fcn.005b2630
mov eax, dword [0x644a10]
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 0x550002
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x40]
sub ebx, ebp
dec dword [esp + 0x14]
test esi, esi
jne 0x54ff7b
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.0054ee30
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 0x54ff17
cmp dword [esp + 0x10], 0
je 0x54ffe9
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.005b2129
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.005b2129
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.005b2129
add esp, 0x2c
ret
Function at 0x550020
Capabilities:
Encrypt data using blowfish

Disassembly:
mov eax, 8
call fcn.005b2630
push ebx
mov ebx, dword [esp + 0x10]
push esi
push 0x1048
push 0x616700
push ebx
call sub.MSVCR100.dll_memcpy
mov ecx, dword [esp + 0x24]
add esp, 0xc
cmp ecx, 0x48
jle 0x550051
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 0x550070
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x55007f
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x55008e
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x55009d
mov eax, edi
xor dword [esi - 8], edx
movzx edx, byte [eax]
inc eax
cmp eax, ecx
jb 0x5500aa
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x5500b9
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x5500c8
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x5500d7
mov eax, edi
xor dword [esi - 4], edx
movzx edx, byte [eax]
inc eax
cmp eax, ecx
jb 0x5500e4
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x5500f3
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x550102
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x550111
mov eax, edi
xor dword [esi], edx
add esi, 0xc
dec dword [esp + 0x1c]
jne 0x550066
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.0054ee30
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 0x550130
xor esi, esi
pop edi
lea eax, [esp + 8]
push ebx
push eax
call fcn.0054ee30
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 0x550158
pop esi
pop ebx
add esp, 8
ret