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

Disassembly:
mov eax, 0x10
call fcn.101ebae0
push ebx
mov ebx, dword [esp + 0x20]
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esp + 0x30]
mov esi, dword [esi + 0x64]
mov dword [esp + 0x14], esi
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x1010468a
test edi, edi
je 0x1010466a
lea edx, [esi + 0x30]
add edx, ecx
cmp ecx, 0x40
jae 0x1010466a
mov al, byte [edx]
inc ecx
xor al, byte [ebx]
inc edx
mov byte [ebp], al
inc ebx
inc ebp
sub edi, 1
jne 0x10104655
mov dword [esi + 0x70], ecx
test edi, edi
je 0x10104744
cmp ecx, 0x40
jne 0x1010468a
mov dword [esi + 0x70], 0
add dword [esi + 0x20], 1
jne 0x1010468a
inc dword [esi + 0x24]
mov edx, dword [esi + 0x20]
lea ecx, [esi + 0x20]
mov eax, edi
mov dword [esp + 0x10], ecx
and eax, 0x3f
sub edi, eax
mov dword [esp + 0x24], eax
cmp edi, 0x40
jb 0x101046fc
push dword [esp + 0x10]
mov ecx, edi
xor esi, esi
shr ecx, 6
lea eax, [ecx + edx]
cmp eax, ecx
cmovae esi, eax
neg edx
cmp eax, ecx
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x18]
cmovae edx, ecx
shl edx, 6
push esi
push edx
push ebx
push ebp
mov dword [esp + 0x2c], edx
call fcn.10159ef0
mov eax, dword [esp + 0x2c]
add esp, 0x14
sub edi, eax
add ebx, eax
add ebp, eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x20], eax
test eax, eax
jne 0x101046f1
inc dword [esi + 0x24]
mov edx, eax
cmp edi, 0x40
jae 0x101046a4
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10104744
push 0x40
lea edi, [esi + 0x30]
push 0
push edi
call fcn.101eec70
lea eax, [esi + 0x20]
push eax
push esi
push 0x40
push edi
push edi
call fcn.10159ef0
mov edi, dword [esp + 0x44]
add esp, 0x20
xor edx, edx
test edi, edi
je 0x10104741
sub ebx, ebp
nop word [eax + eax]
mov al, byte [esi + edx + 0x30]
lea ecx, [edx + ebp]
xor al, byte [ebx + ecx]
inc edx
mov byte [ecx], al
cmp edx, edi
jb 0x10104730
mov dword [esi + 0x70], edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret
Function at 0x101067c0
Capabilities:
Hash data using sha1

Disassembly:
mov eax, 0x40
call fcn.101ebae0
mov eax, dword [0x102ab2c0]
xor eax, esp
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x48], 0x1d
push esi
mov esi, dword [esp + 0x48]
push edi
mov edi, dword [esp + 0x58]
je 0x101067fc
pop edi
mov eax, 0xfffffffe
pop esi
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.101ebfaa
add esp, 0x40
ret
test esi, esi
je 0x1010690b
cmp dword [esp + 0x54], 0x30
jne 0x1010690b
push 0x30
push edi
push esi
call fcn.101066c0
add esp, 0xc
test eax, eax
jle 0x1010690b
movaps xmm0, xmmword [0x101f23e0]
lea eax, [esp + 8]
push 0x28
push eax
push esi
movups xmmword [esp + 0x14], xmm0
movups xmmword [esp + 0x24], xmm0
movq qword [esp + 0x34], xmm0
call fcn.101066c0
add esp, 0xc
test eax, eax
je 0x1010690b
lea eax, [esp + 0x30]
push esi
push eax
call fcn.10106520
add esp, 8
test eax, eax
je 0x1010690b
push 0x4c
lea eax, [esi + 0x14]
push 0
push eax
call fcn.101eec70
push 0x30
push edi
push esi
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
call fcn.101066c0
add esp, 0x18
test eax, eax
jle 0x1010690b
movaps xmm0, xmmword [str.00]
lea eax, [esp + 8]
push 0x28
push eax
push esi
movups xmmword [esp + 0x14], xmm0
movups xmmword [esp + 0x24], xmm0
movq qword [esp + 0x34], xmm0
call fcn.101066c0
add esp, 0xc
test eax, eax
je 0x1010690b
push 0x14
lea eax, [esp + 0x34]
push eax
push esi
call fcn.101066c0
add esp, 0xc
test eax, eax
je 0x1010690b
lea eax, [esp + 0x30]
push 0x14
push eax
call fcn.1003f070
add esp, 8
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.101ebfaa
add esp, 0x40
ret
mov ecx, dword [esp + 0x44]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.101ebfaa
add esp, 0x40
ret
Function at 0x1011d0a0
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x4c
push 0
lea eax, [esi + 0x20]
push eax
call fcn.101eec70
add esp, 0xc
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov eax, 1
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
mov dword [esi + 0x6c], 0x18
pop esi
ret
Function at 0x1011f8f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 4
call fcn.101ebae0
push edi
mov edi, dword [esp + 0x14]
mov dword [esp + 4], 0
cmp edi, 0x800
jge 0x1011f938
call fcn.10027460
push str.ossl_rsa_fips186_4_gen_prob_primes
push 0x5c
push str.crypto_rsa_rsa_sp800_56b_gen.c
call fcn.10027560
push 0
push 0x78
push 4
call fcn.10027670
add esp, 0x18
xor eax, eax
pop edi
pop ecx
ret
push dword [esp + 0x18]
call fcn.1011f640
add esp, 4
test eax, eax
jne 0x1011f974
call fcn.10027460
push str.ossl_rsa_fips186_4_gen_prob_primes
push 0x61
push str.crypto_rsa_rsa_sp800_56b_gen.c
call fcn.10027560
push 0
push 0xb2
push 4
call fcn.10027670
add esp, 0x18
xor eax, eax
pop edi
pop ecx
ret
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
push esi
call fcn.100a4780
push esi
call fcn.100a4590
push esi
mov dword [esp + 0x2c], eax
call fcn.100a4590
push esi
mov ebp, eax
call fcn.100a4590
add esp, 0x10
mov ebx, eax
cmp dword [esp + 0x20], 0
je 0x1011fad6
test ebp, ebp
je 0x1011faad
test ebx, ebx
je 0x1011faa4
push 4
push ebp
call fcn.10039fe0
push 4
push ebx
call fcn.10039fe0
mov esi, dword [esp + 0x28]
add esp, 0x10
cmp dword [esi + 0x20], 0
jne 0x1011f9de
call fcn.10039ed0
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x1011f9ed
call fcn.10039ed0
mov dword [esi + 0x24], eax
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1011faa0
test eax, eax
je 0x1011faa0
push 4
push ecx
call fcn.10039fe0
push 4
push dword [esi + 0x24]
call fcn.10039fe0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push edi
push 0
push 0
push 0
push 0
push 0
push ebp
push dword [esi + 0x20]
call fcn.101abcf0
add esp, 0x3c
test eax, eax
je 0x1011faa0
nop dword [eax]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push edi
push 0
push 0
push 0
push 0
push 0
push ebx
push dword [esi + 0x24]
call fcn.101abcf0
add esp, 0x2c
test eax, eax
je 0x1011faa0
push edi
push ebx
push ebp
push dword [esp + 0x2c]
call fcn.1011f5d0
add esp, 0x10
test eax, eax
js 0x1011faa0
je 0x1011fa40
push edi
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [esp + 0x2c]
call fcn.1011f5d0
add esp, 0x10
test eax, eax
js 0x1011faa0
je 0x1011fa40
inc dword [esi + 0x78]
mov dword [esp + 0x10], 1
mov esi, dword [esp + 0x28]
push ebp
call fcn.10039780
add esp, 4
test ebx, ebx
je 0x1011faba
push ebx
call fcn.10039780
add esp, 4
push dword [esp + 0x20]
call fcn.10039780
push esi
call fcn.100a4490
mov eax, dword [esp + 0x18]
add esp, 8
pop esi
pop ebp
pop ebx
pop edi
pop ecx
ret
mov dword [esp + 0x10], 0
test ebp, ebp
je 0x1011faad
jmp 0x1011faa4
Function at 0x1012b720
Capabilities:
Encode data using base64

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
xor ebp, ebp
push esi
test eax, eax
je 0x1012b738
test byte [eax + 0x5c], 2
mov ebx, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz._
jne 0x1012b73d
mov ebx, 0x102556a0
mov esi, dword [esp + 0x1c]
test esi, esi
jle 0x1012b80d
mov edx, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x1c]
inc edi
movzx eax, byte [edi - 1]
cmp esi, 3
jb 0x1012b7a1
movzx ecx, byte [edi]
shl eax, 8
or eax, ecx
movzx ecx, byte [edi + 1]
shl eax, 8
or eax, ecx
mov ecx, eax
shr ecx, 0x12
movzx ecx, byte [ecx + ebx]
mov byte [edx], cl
mov ecx, eax
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + ebx]
mov byte [edx + 1], cl
mov ecx, eax
shr ecx, 6
and ecx, 0x3f
and eax, 0x3f
movzx ecx, byte [ecx + ebx]
mov byte [edx + 2], cl
mov cl, byte [eax + ebx]
lea eax, [edx + 3]
jmp 0x1012b7ed
shl eax, 0x10
cmp esi, 2
jne 0x1012b7b1
movzx ecx, byte [edi]
shl ecx, 8
or eax, ecx
mov ecx, eax
shr ecx, 0x12
movzx ecx, byte [ecx + ebx]
mov byte [edx], cl
mov ecx, eax
shr ecx, 0xc
inc edx
and ecx, 0x3f
mov dword [esp + 0x18], edx
movzx ecx, byte [ecx + ebx]
mov byte [edx], cl
cmp esi, 1
jne 0x1012b7d8
mov al, 0x3d
jmp 0x1012b7e1
shr eax, 6
and eax, 0x3f
mov al, byte [eax + ebx]
mov byte [edx + 1], al
mov cl, 0x3d
mov eax, dword [esp + 0x18]
add eax, 2
sub esi, 3
mov byte [eax], cl
add ebp, 4
lea edx, [eax + 1]
add edi, 3
test esi, esi
jg 0x1012b753
pop edi
pop esi
mov eax, ebp
mov byte [edx], 0
pop ebp
pop ebx
ret
mov eax, dword [esp + 0x14]
pop esi
mov byte [eax], 0
mov eax, ebp
pop ebp
pop ebx
ret

Function at 0x10137b70
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xc
call fcn.101ebae0
mov eax, dword [0x102ab2c0]
xor eax, esp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x14]
lea edx, [esp]
mov ecx, dword [esp + 0x10]
push esi
push edi
mov esi, dword [eax + 0xc]
mov edi, dword [eax]
push edx
push dword [eax + 8]
push dword [eax + 4]
push ecx
call fcn.101375d0
add esp, 0x10
test eax, eax
jne 0x10137bbc
pop edi
pop esi
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.101ebfaa
add esp, 0xc
ret
mov cl, byte [edi]
shr cl, 3
not cl
and cl, 0x10
or cl, 0xf
and cl, byte [esp + 8]
xor cl, byte [edi]
mov byte [edi], cl
and cl, 3
add cl, 1
je 0x10137bf0
lea edx, [esp + 9]
movzx ecx, cl
sub edx, esi
mov al, byte [esi + edx]
lea esi, [esi + 1]
xor byte [esi - 1], al
sub ecx, 1
jne 0x10137be2
mov ecx, dword [esp + 0x10]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.101ebfaa
add esp, 0xc
ret
Function at 0x10137c10
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xc
call fcn.101ebae0
mov eax, dword [0x102ab2c0]
xor eax, esp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x14]
lea edx, [esp]
mov ecx, dword [esp + 0x10]
push esi
push edi
mov esi, dword [eax + 0xc]
mov edi, dword [eax]
push edx
push dword [eax + 8]
push dword [eax + 4]
push ecx
call fcn.101375d0
add esp, 0x10
test eax, eax
jne 0x10137c5c
pop edi
pop esi
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.101ebfaa
add esp, 0xc
ret
mov al, byte [edi]
and al, 3
add al, 1
je 0x10137c7e
lea edx, [esp + 9]
movzx ecx, al
sub edx, esi
nop dword [eax]
mov al, byte [esi + edx]
lea esi, [esi + 1]
xor byte [esi - 1], al
sub ecx, 1
jne 0x10137c70
mov cl, byte [edi]
mov eax, 1
shr cl, 3
not cl
and cl, 0x10
or cl, 0xf
and cl, byte [esp + 8]
xor byte [edi], cl
mov ecx, dword [esp + 0x10]
pop edi
pop esi
xor ecx, esp
call fcn.101ebfaa
add esp, 0xc
ret
Function at 0x1013ec60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x9c
call fcn.101ebae0
mov eax, dword [0x102ab2c0]
xor eax, esp
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x24], eax
push ebx
mov eax, dword [ecx]
mov ebx, dword [esp + 0xa8]
push ebp
push edi
movzx ebp, byte [eax]
mov eax, dword [esp + 0xb8]
mov edi, dword [esp + 0xac]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x24], ecx
cmp eax, 3
ja case.0x1013ecb4.2
jmp dword [eax*4 + 0x1013fde8]
mov dword [esp + 0x20], 0
jmp 0x1013ecd7
mov dword [esp + 0x20], 1
jmp 0x1013ecd7
mov dword [esp + 0x20], 2
cmp dword [ebx + 4], 0
jne 0x1013ed1e
push str.depack_process_frames
push 0x425
push str.sslquicquic_rx_depack.c
push 0
push str.empty_packet_payload
push 0
push 0
push 0
push 0xa
push edi
call fcn.100f3990
add esp, 0x28
xor eax, eax
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.101ebfaa
add esp, 0x9c
ret
push esi
nop
cmp dword [edi + 0x300], 0
xorps xmm0, xmm0
mov dword [esp + 0x38], 0
movlpd qword [esp + 0x3c], xmm0
je 0x1013ed40
mov eax, dword [ebx]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x30]
push eax
push ebx
call fcn.1013b880
add esp, 0xc
test eax, eax
je 0x1013fda5
cmp dword [esp + 0x44], 0
je 0x1013fd85
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
test ebx, ebx
ja 0x1013ed87
jb 0x1013ed79
cmp esi, 0x1d
ja 0x1013ed87
movzx eax, byte [esi + 0x1013fe00]
jmp dword [eax*4 + 0x1013fdf8]
mov eax, dword [esp + 0x34]
or dword [eax + 0x10], 4
jmp 0x1013ed95
test ebx, ebx
ja 0x1013fd67
jb 0x1013eda8
cmp esi, 0x1e
ja 0x1013fd67
jmp dword [esi*4 + 0x1013fe20]
push str.depack_process_frames
push 0x567
push str.sslquicquic_rx_depack.c
push 0
push str.Unknown_frame_type_received
push ebx
push esi
push 0
push 7
jmp 0x1013fdc3
push str.depack_process_frames
push 0x43e
push str.sslquicquic_rx_depack.c
push 0
push str.non_minimal_frame_type_encoding
push dword [esp + 0x44]
push dword [esp + 0x44]
jmp 0x1013fdbf
push str.depack_process_frames
push 0x436
push str.sslquicquic_rx_depack.c
push 0
push str.malformed_frame_header
push 0
push 0
push 0
push 0xa
push edi
call fcn.100f3990
add esp, 0x28
xor eax, eax
mov ecx, dword [esp + 0xa8]
pop esi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.101ebfaa
add esp, 0x9c
ret
Function at 0x1014c080
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x30
call fcn.101ebae0
mov eax, dword [0x102ab2c0]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push ebp
push esi
push edi
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x50]
movzx ecx, byte [edx]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x1c], eax
mov bl, byte [edx + 3]
mov esi, dword [eax]
movzx eax, byte [edx + 1]
shl eax, 8
or ecx, eax
mov ebp, dword [esp + 0x4c]
movzx eax, byte [edx + 2]
shl eax, 0x10
or ecx, eax
mov dword [esp + 0x20], edx
movzx eax, bl
shl eax, 0x18
or ecx, eax
mov byte [esp + 0x37], bl
movzx eax, byte [edx + 5]
shl eax, 8
movzx edi, byte [edx + 4]
mov dl, byte [edx + 7]
or edi, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
movzx ecx, dl
shl ecx, 8
movzx eax, byte [eax + 6]
or ecx, eax
mov dword [esp + 0x14], 0
mov eax, ecx
mov byte [esp + 0x3a], cl
shl eax, 0x10
or edi, eax
mov byte [esp + 0x3b], dl
mov eax, dword [esp + 0x10]
mov ebx, edi
mov dword [esp + 0x24], eax
mov byte [esp + 0x34], al
shr eax, 8
mov byte [esp + 0x35], al
mov eax, dword [esp + 0x10]
shr eax, 0x10
mov byte [esp + 0x36], al
mov eax, ebx
shr eax, 8
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], al
test ebp, ebp
je 0x1014c22b
mov edi, dword [esp + 0x44]
sub dword [esp + 0x18], edi
dec ebp
test esi, esi
jne 0x1014c1d0
push 1
push dword [esp + 0x34]
lea eax, [esp + 0x2c]
push eax
call fcn.10148fa0
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov ebx, dword [esp + 0x28]
mov eax, ecx
shr eax, 8
mov edx, dword [esp + 0x14]
mov byte [esp + 0x35], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x36], al
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x37], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x39], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x3a], al
mov eax, ebx
shr eax, 0x18
inc edx
mov dword [esp + 0x10], ecx
mov byte [esp + 0x34], cl
mov byte [esp + 0x38], bl
mov byte [esp + 0x3b], al
mov dword [esp + 0x14], edx
jmp 0x1014c1d4
mov edx, dword [esp + 0x14]
mov al, byte [esp + esi + 0x34]
inc esi
mov ecx, dword [esp + 0x18]
and esi, 7
xor al, byte [edi]
mov byte [edi + ecx], al
inc edi
mov ecx, dword [esp + 0x10]
test ebp, ebp
jne 0x1014c163
test edx, edx
je 0x1014c22b
mov edx, dword [esp + 0x20]
mov eax, ecx
shr eax, 8
mov byte [edx + 1], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 2], al
mov eax, ebx
shr eax, 8
mov byte [edx + 5], al
mov eax, ebx
mov byte [edx], cl
shr ecx, 0x18
shr eax, 0x10
mov byte [edx + 4], bl
shr ebx, 0x18
mov byte [edx + 3], cl
mov byte [edx + 6], al
mov byte [edx + 7], bl
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101ebfaa
add esp, 0x30
ret
Function at 0x1014cd60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x38
call fcn.101ebae0
mov eax, dword [0x102ab2c0]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x5c]
movzx ecx, byte [edx]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x1c], eax
mov bl, byte [edx + 3]
mov esi, dword [eax]
movzx eax, byte [edx + 1]
shl eax, 8
or ecx, eax
mov ebp, dword [esp + 0x54]
movzx eax, byte [edx + 2]
shl eax, 0x10
or ecx, eax
mov dword [esp + 0x20], edx
movzx eax, bl
shl eax, 0x18
or ecx, eax
mov byte [esp + 0x3f], bl
movzx eax, byte [edx + 5]
shl eax, 8
movzx edi, byte [edx + 4]
mov dl, byte [edx + 7]
or edi, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
movzx ecx, dl
shl ecx, 8
movzx eax, byte [eax + 6]
or ecx, eax
mov dword [esp + 0x14], 0
mov eax, ecx
mov byte [esp + 0x42], cl
shl eax, 0x10
or edi, eax
mov byte [esp + 0x43], dl
mov eax, dword [esp + 0x10]
mov ebx, edi
mov dword [esp + 0x24], eax
mov byte [esp + 0x3c], al
shr eax, 8
mov byte [esp + 0x3d], al
mov eax, dword [esp + 0x10]
shr eax, 0x10
mov byte [esp + 0x3e], al
mov eax, ebx
shr eax, 8
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
mov byte [esp + 0x40], bl
mov byte [esp + 0x41], al
test ebp, ebp
je 0x1014cf21
mov edi, dword [esp + 0x4c]
sub dword [esp + 0x18], edi
dec ebp
test esi, esi
jne 0x1014cec6
push dword [esp + 0x30]
lea eax, [esp + 0x28]
push dword [esp + 0x38]
push dword [esp + 0x40]
push eax
call fcn.1014af30
mov ecx, dword [esp + 0x34]
add esp, 0x10
mov ebx, dword [esp + 0x28]
mov eax, ecx
shr eax, 8
mov edx, dword [esp + 0x14]
mov byte [esp + 0x3d], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x3e], al
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x3f], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x41], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x42], al
mov eax, ebx
shr eax, 0x18
inc edx
mov dword [esp + 0x10], ecx
mov byte [esp + 0x3c], cl
mov byte [esp + 0x40], bl
mov byte [esp + 0x43], al
mov dword [esp + 0x14], edx
jmp 0x1014ceca
mov edx, dword [esp + 0x14]
mov al, byte [esp + esi + 0x3c]
inc esi
mov ecx, dword [esp + 0x18]
and esi, 7
xor al, byte [edi]
mov byte [edi + ecx], al
inc edi
mov ecx, dword [esp + 0x10]
test ebp, ebp
jne 0x1014ce53
test edx, edx
je 0x1014cf21
mov edx, dword [esp + 0x20]
mov eax, ecx
shr eax, 8
mov byte [edx + 1], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 2], al
mov eax, ebx
shr eax, 8
mov byte [edx + 5], al
mov eax, ebx
mov byte [edx], cl
shr ecx, 0x18
shr eax, 0x10
mov byte [edx + 4], bl
shr ebx, 0x18
mov byte [edx + 3], cl
mov byte [edx + 6], al
mov byte [edx + 7], bl
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101ebfaa
add esp, 0x38
ret
Function at 0x1014e050
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, 0x400
push ebx
mov ebx, 0x80
mov edx, ebx
cmp dword [esp + 0xc], edx
push ebp
cmovle edx, dword [esp + 0x10]
mov ebp, ecx
test eax, eax
push esi
cmovg ebp, eax
push edi
mov edi, dword [esp + 0x14]
cmp ebp, ecx
cmovg ebp, ecx
mov dword [esp + 0x14], ebp
mov byte [edi], 0
test edx, edx
jle 0x1014e0a4
mov ebp, dword [esp + 0x1c]
mov ecx, edi
sub ebp, edi
mov esi, edx
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub esi, 1
jne 0x1014e092
mov ebp, dword [esp + 0x14]
movzx esi, byte [edx + edi - 1]
cmp edx, ebx
jge 0x1014e0cc
mov ecx, edi
nop
movzx eax, byte [ecx]
lea ecx, [ecx + 1]
add eax, esi
movzx eax, al
mov al, byte [eax + 0x10259bc0]
mov byte [edi + edx], al
inc edx
movzx esi, al
cmp edx, ebx
jl 0x1014e0b0
mov ecx, dword [esp + 0x14]
add ebp, 7
sar ebp, 3
neg ecx
sub ebx, ebp
and ecx, 7
movzx eax, byte [ebx + edi]
lea esi, [ebx + edi]
mov edx, 0xff
sar edx, cl
and edx, eax
mov al, byte [edx + 0x10259bc0]
movzx ecx, al
mov byte [esi], al
test ebx, ebx
je 0x1014e11a
nop dword [eax]
movzx eax, byte [esi + ebp - 1]
lea esi, [esi - 1]
xor eax, ecx
mov al, byte [eax + 0x10259bc0]
movzx ecx, al
mov byte [esi], al
sub ebx, 1
jne 0x1014e100
lea edx, [edi + 0xfc]
mov esi, 0x7f
nop word [eax + eax]
movzx eax, byte [edi + esi]
lea edx, [edx - 4]
movzx ecx, byte [edi + esi - 1]
shl eax, 8
or ecx, eax
sub esi, 2
mov dword [edx + 4], ecx
jns 0x1014e130
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x1014eb70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x30
call fcn.101ebae0
mov eax, dword [0x102ab2c0]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push ebp
push esi
push edi
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x50]
movzx ecx, byte [edx]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x1c], eax
mov bl, byte [edx + 3]
mov esi, dword [eax]
movzx eax, byte [edx + 1]
shl eax, 8
or ecx, eax
mov ebp, dword [esp + 0x4c]
movzx eax, byte [edx + 2]
shl eax, 0x10
or ecx, eax
mov dword [esp + 0x20], edx
movzx eax, bl
shl eax, 0x18
or ecx, eax
mov byte [esp + 0x37], bl
movzx eax, byte [edx + 5]
shl eax, 8
movzx edi, byte [edx + 4]
mov dl, byte [edx + 7]
or edi, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
movzx ecx, dl
shl ecx, 8
movzx eax, byte [eax + 6]
or ecx, eax
mov dword [esp + 0x14], 0
mov eax, ecx
mov byte [esp + 0x3a], cl
shl eax, 0x10
or edi, eax
mov byte [esp + 0x3b], dl
mov eax, dword [esp + 0x10]
mov ebx, edi
mov dword [esp + 0x24], eax
mov byte [esp + 0x34], al
shr eax, 8
mov byte [esp + 0x35], al
mov eax, dword [esp + 0x10]
shr eax, 0x10
mov byte [esp + 0x36], al
mov eax, ebx
shr eax, 8
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], al
test ebp, ebp
je 0x1014ed19
mov edi, dword [esp + 0x44]
sub dword [esp + 0x18], edi
dec ebp
test esi, esi
jne 0x1014ecbe
push dword [esp + 0x30]
lea eax, [esp + 0x28]
push eax
call fcn.1014e830
mov ecx, dword [esp + 0x2c]
add esp, 8
mov ebx, dword [esp + 0x28]
mov eax, ecx
shr eax, 8
mov edx, dword [esp + 0x14]
mov byte [esp + 0x35], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x36], al
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x37], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x39], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x3a], al
mov eax, ebx
shr eax, 0x18
inc edx
mov dword [esp + 0x10], ecx
mov byte [esp + 0x34], cl
mov byte [esp + 0x38], bl
mov byte [esp + 0x3b], al
mov dword [esp + 0x14], edx
jmp 0x1014ecc2
mov edx, dword [esp + 0x14]
mov al, byte [esp + esi + 0x34]
inc esi
mov ecx, dword [esp + 0x18]
and esi, 7
xor al, byte [edi]
mov byte [edi + ecx], al
inc edi
mov ecx, dword [esp + 0x10]
test ebp, ebp
jne 0x1014ec53
test edx, edx
je 0x1014ed19
mov edx, dword [esp + 0x20]
mov eax, ecx
shr eax, 8
mov byte [edx + 1], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 2], al
mov eax, ebx
shr eax, 8
mov byte [edx + 5], al
mov eax, ebx
mov byte [edx], cl
shr ecx, 0x18
shr eax, 0x10
mov byte [edx + 4], bl
shr ebx, 0x18
mov byte [edx + 3], cl
mov byte [edx + 6], al
mov byte [edx + 7], bl
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101ebfaa
add esp, 0x30
ret
Function at 0x1014ed40
Capabilities:
Encode data using xor
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
mov eax, 8
call fcn.101ebae0
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
push 0x1048
push 0x10259cc0
push edi
call fcn.101eccd0
mov ebx, dword [esp + 0x30]
mov esi, 0x48
add esp, 0xc
mov eax, ebx
cmp dword [esp + 0x20], esi
cmovle esi, dword [esp + 0x20]
add esi, ebx
xor ebp, ebp
nop dword [eax]
movzx edx, byte [eax]
inc eax
cmp eax, esi
cmovae eax, ebx
shl edx, 8
movzx ecx, byte [eax]
inc eax
or edx, ecx
cmp eax, esi
cmovae eax, ebx
shl edx, 8
movzx ecx, byte [eax]
inc eax
or edx, ecx
cmp eax, esi
cmovae eax, ebx
shl edx, 8
movzx ecx, byte [eax]
inc eax
or edx, ecx
cmp eax, esi
cmovae eax, ebx
xor dword [edi + ebp*4], edx
inc ebp
cmp ebp, 0x12
jl 0x1014ed80
mov dword [esp + 0x10], 0
xor esi, esi
mov dword [esp + 0x14], 0
nop
lea eax, [esp + 0x10]
push edi
push eax
call fcn.1014f7b0
mov eax, dword [esp + 0x18]
add esp, 8
mov dword [edi + esi*4], eax
mov eax, dword [esp + 0x14]
mov dword [edi + esi*4 + 4], eax
add esi, 2
cmp esi, 0x12
jl 0x1014edd0
xor esi, esi
lea eax, [esp + 0x10]
push edi
push eax
call fcn.1014f7b0
mov eax, dword [esp + 0x18]
add esp, 8
mov dword [edi + esi*4 + 0x48], eax
mov eax, dword [esp + 0x14]
mov dword [edi + esi*4 + 0x4c], eax
add esi, 2
cmp esi, 0x400
jl 0x1014edf7
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret