joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100018f0
Capabilities:
Encode data using xor
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8000c
call fcn.1000fc40
mov eax, dword [0x10019018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x1011906c
mov esi, ecx
mov edi, edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10019054], 0xffffffff
je 0x100019e5
cmp byte [0x10119088], 0
je 0x100019e5
push esi
lea eax, [ebp - 0x80008]
push edi
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
xor eax, eax
cmp byte [ebp - 0x80008], 0xc1
jne 0x1000197a
mov cl, byte [ebp - 0x80006]
lea edi, [esi - 3]
test edi, edi
jle 0x100019a8
lea esp, [esp]
mov dl, byte [ebp + eax - 0x80005]
xor dl, 0xa0
sub dl, cl
mov byte [ebp + eax - 0x80005], dl
inc eax
cmp eax, edi
jl 0x10001960
jmp 0x100019a8
mov cl, byte [ebp - 0x80005]
lea edi, [esi - 4]
test edi, edi
jle 0x100019a8
jmp 0x10001990
mov dl, byte [ebp + eax - 0x80004]
xor dl, 0xa0
sub dl, cl
mov byte [ebp + eax - 0x80004], dl
inc eax
cmp eax, edi
jl 0x10001990
mov eax, dword [0x10119060]
test eax, eax
jle 0x10001a3e
lea ecx, [eax + esi]
cmp ecx, 0x80000
jle 0x10001a03
mov eax, 7
push ecx
call fcn.1000c610
push eax
push 0
mov ecx, 0x10119200
call fcn.10005510
add esp, 0xc
mov esi, 0x10019050
call fcn.10001640
push 0x1011906c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f292
mov esp, ebp
pop ebp
ret
push esi
lea ecx, [ebp - 0x80008]
push ecx
lea edx, [eax + 0x10099060]
push edx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
add dword [0x10119060], esi
push 0x1011906c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.1000f292
mov esp, ebp
pop ebp
ret
xor edi, edi
test esi, esi
jle 0x10001a20
mov ebx, dword [sym.imp.WS2_32.dll_send]
mov ecx, dword [0x10019054]
push 0
push esi
lea eax, [ebp + edi - 0x80008]
push eax
push ecx
call ebx
cmp eax, 0xffffffff
je 0x10001a6d
sub esi, eax
add edi, eax
test esi, esi
jg 0x10001a4a
jmp 0x10001a20
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call ebx
cmp eax, 0x2733
jne 0x10001aab
mov eax, dword [0x10119060]
lea ecx, [eax + esi]
cmp ecx, 0x80000
jle 0x10001a96
mov eax, 8
jmp 0x100019c5
push esi
lea edx, [ebp + edi - 0x80008]
push edx
lea eax, [eax + 0x10099060]
push eax
jmp 0x10001a12
call ebx
push eax
mov eax, 9
jmp 0x100019c6
Function at 0x10001ac0
Capabilities:
Encode data using xor
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, eax
push edi
lea ebx, [esi + 0x10001c]
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edi, edi
cmp dword [esi + 0x100010], edi
jle 0x10001b19
lea ebx, [esi + 0x80010]
mov eax, dword [esi + 0x100010]
mov edx, dword [esi + 4]
push 0
push eax
lea ecx, [ebx + edi]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x10001b29
sub dword [esi + 0x100010], eax
add edi, eax
cmp dword [esi + 0x100010], 0
jg 0x10001ae9
mov ebx, dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x10001b62
mov eax, dword [esi + 0x100010]
push eax
lea ecx, [edi + esi + 0x80010]
push ecx
push ebx
call dword [sym.imp.MSVCR100.dll_memmove]
mov edx, dword [ebp - 4]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x100
push 0
push 0x10124638
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
jmp 0x10001b80
mov cl, byte [eax + 0x10012f80]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10124638], cl
inc eax
cmp eax, 0x100
jb 0x10001b80
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x10124638
push 0
mov ecx, 0x10119200
call fcn.10005510
add esp, 0xc
call fcn.10001640
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10001cc0
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
push 0x10012554
push esi
call dword [sym.imp.MSVCR100.dll_fopen]
push 0x10012554
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_fopen_s]
add esp, 0x14
test eax, eax
je 0x10001cf4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.MSVCR100.dll_fseek]
push edi
mov edi, dword [ebp - 4]
push 2
push 0
push edi
call ebx
push edi
call dword [sym.imp.MSVCR100.dll_ftell]
push 0
push 0
push edi
mov esi, eax
call ebx
push esi
call fcn.1000f280
mov ecx, dword [ebp - 4]
push ecx
push esi
mov ebx, eax
push 1
push ebx
call dword [sym.imp.MSVCR100.dll_fread]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 0x34
call fcn.10001d90
or edi, 0xffffffff
xor eax, eax
test esi, esi
jle 0x10001d6d
jmp 0x10001d50
movzx ecx, byte [eax + ebx]
mov edx, edi
and edx, 0xff
xor ecx, edx
shr edi, 8
xor edi, dword [ecx*4 + 0x1011ec58]
inc eax
cmp eax, esi
jl 0x10001d50
push ebx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov eax, edi
pop edi
pop ebx
not eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10001d90
Capabilities:
Hash data using crc32b

Disassembly:
push esi
xor edx, edx
push edi
xor eax, eax
test dl, 1
je 0x10001da0
mov eax, 0x80
mov ecx, edx
shr ecx, 1
test cl, 1
je 0x10001dac
or eax, 0x40
shr ecx, 1
test cl, 1
je 0x10001db6
or eax, 0x20
shr ecx, 1
test cl, 1
je 0x10001dc0
or eax, 0x10
shr ecx, 1
test cl, 1
je 0x10001dca
or eax, 8
shr ecx, 1
test cl, 1
je 0x10001dd4
or eax, 4
shr ecx, 1
test cl, 1
je 0x10001dde
or eax, 2
test cl, 2
je 0x10001de6
or eax, 1
shl eax, 0x18
mov ecx, eax
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
xor esi, esi
mov dword [edx*4 + 0x1011ec58], ecx
mov eax, ecx
lea ecx, [esi + 0x1f]
nop
test al, 1
je 0x10001ead
mov edi, 1
shl edi, cl
or esi, edi
dec ecx
shr eax, 1
cmp ecx, 0xffffffff
jg 0x10001ea0
mov dword [edx*4 + 0x1011ec58], esi
inc edx
cmp edx, 0xff
jle 0x10001d94
pop edi
pop esi
ret

Function at 0x10002140
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push 0
push 0x20
push 3
push 0
push 1
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x100021a0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x10002186
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [esi + 4], 0
mov ecx, dword [esi + 8]
push ecx
call fcn.1000f280
add esp, 4
mov dword [esi + 4], eax
test eax, eax
jne 0x100021a7
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 8]
push 0
lea edx, [ebp - 4]
push edx
push ecx
push eax
push edi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
test eax, eax
je 0x1000219a
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x100021e0
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
call fcn.10002140
test al, al
jne 0x100021f5
pop esi
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [esi + 8]
cmp edi, 8
jae 0x10002206
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 4]
mov eax, 0x10015780
mov ecx, 8
sub edx, eax
push ebx
jmp 0x10002220
mov ebx, dword [edx + eax]
cmp ebx, dword [eax]
jne 0x100022f1
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x10002220
add edi, 0xfffffff8
xor eax, eax
test edi, edi
jle 0x10002283
nop
mov ecx, dword [esi + 4]
mov edx, eax
and edx, 0x1f
movsx edx, byte [edx + 0x10119444]
and edx, 0xf
movzx edx, byte [edx + 0x10015788]
sub byte [ecx + eax + 8], dl
lea ecx, [ecx + eax + 8]
mov ecx, dword [esi + 4]
mov edx, eax
and edx, 0xf
movzx edx, byte [edx + 0x10015788]
xor byte [ecx + eax + 8], dl
lea ecx, [ecx + eax + 8]
mov ecx, dword [esi + 8]
inc eax
sub ecx, 8
cmp eax, ecx
jl 0x10002240
lea edi, [esi + 0xc]
call dword [sym.imp.MSVCR100.dll_rand]
cdq
mov ecx, 0x3e8
idiv ecx
push edx
push 0x10015798
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0x102
push 2
push 0
push 7
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x100022f1
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push 0
lea edx, [ebp - 4]
push edx
sub eax, 8
push eax
add ecx, 8
push ecx
push edi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
test eax, eax
jne 0x100022fa
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10002310
Capabilities:
Delete file

Disassembly:
push edi
lea edi, [esi + 0xc]
mov ecx, 0x100157b0
mov eax, edi
jmp 0x10002320
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10002340
test dl, dl
je 0x1000233c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10002340
add eax, 2
add ecx, 2
test dl, dl
jne 0x10002320
xor eax, eax
jmp 0x10002345
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000237c
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x1000237c
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
push 0x100
push 0
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call sub.MSVCR100.dll_memset
add esp, 0x10
pop edi
ret
Function at 0x10002920
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 0x100
push 0
push 0x10124638
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
nop
mov cl, byte [eax + str.r_jc]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10124638], cl
inc eax
cmp eax, 0x100
jb 0x10002940
mov esi, dword [ebp + 8]
movzx edx, word [esi + 6]
movzx eax, byte [esi + 8]
push edx
push eax
push 0x10124638
push 0
mov ecx, 0x10119200
call fcn.10005510
movzx ecx, word [esi + 6]
add esp, 0x10
cmp byte [esi + 8], 0
mov dword [0x1011f1e0], ecx
mov dword [ebp - 8], 0
jbe 0x10002b25
mov edi, dword [0x101191b8]
lea eax, [esi + 0xa]
mov esi, dword [0x101191b4]
mov dword [ebp - 4], eax
cmp eax, edi
jae 0x10002a6d
cmp esi, eax
ja 0x10002a6d
mov ecx, eax
sub ecx, esi
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
cmp edi, dword [0x101191bc]
jne 0x10002a46
mov ecx, edi
sub ecx, esi
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0x38e38e2
ja 0x10002b36
mov edx, dword [0x101191bc]
sub edx, esi
mov eax, 0x38e38e39
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc ecx
add eax, edx
cmp ecx, eax
jbe 0x10002a46
mov edx, eax
shr edx, 1
mov esi, 0x38e38e3
sub esi, edx
cmp esi, eax
jae 0x10002a27
xor eax, eax
jmp 0x10002a29
add eax, edx
cmp eax, ecx
jae 0x10002a2f
mov eax, ecx
push eax
mov ecx, 0x101191b4
call fcn.100037e0
mov edi, dword [0x101191b8]
mov esi, dword [0x101191b4]
lea edx, [ebx + ebx*8]
lea eax, [esi + edx*8]
test edi, edi
je 0x10002a65
mov ecx, 0x12
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [0x101191b8]
mov esi, dword [0x101191b4]
mov eax, dword [ebp - 4]
jmp 0x10002b00
mov ebx, dword [0x101191bc]
cmp edi, ebx
jne 0x10002ae7
mov ecx, edi
sub ecx, esi
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0x38e38e2
ja 0x10002b36
mov edx, ebx
sub edx, esi
mov eax, 0x38e38e39
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc ecx
add eax, edx
cmp ecx, eax
jbe 0x10002ae4
mov edx, eax
shr edx, 1
mov esi, 0x38e38e3
sub esi, edx
cmp esi, eax
jae 0x10002ac5
xor eax, eax
jmp 0x10002ac7
add eax, edx
cmp eax, ecx
jae 0x10002acd
mov eax, ecx
push eax
mov ecx, 0x101191b4
call fcn.100037e0
mov edi, dword [0x101191b8]
mov esi, dword [0x101191b4]
mov eax, dword [ebp - 4]
test edi, edi
je 0x10002b00
mov ecx, 0x12
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [0x101191b8]
mov esi, dword [0x101191b4]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 8]
add edi, 0x48
mov dword [0x101191b8], edi
movzx edx, byte [edx + 8]
inc ecx
add eax, 0x48
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
cmp ecx, edx
jl 0x100029a8
pop edi
pop esi
mov dword [0x1011f1d0], 1
pop ebx
mov esp, ebp
pop ebp
ret
push str.vector_T__too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
int3
Function at 0x10002b50
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 0x100
push 0
push 0x10124638
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
nop
mov cl, byte [eax + 0x10014180]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10124638], cl
inc eax
cmp eax, 0x100
jb 0x10002b70
mov esi, dword [ebp + 8]
movzx edx, word [esi + 6]
movzx eax, byte [esi + 8]
push edx
push eax
push 0x10124638
push 0
mov ecx, 0x10119200
call fcn.10005510
movzx ecx, word [esi + 6]
add esp, 0x10
cmp byte [esi + 8], 0
mov dword [0x1011f1e4], ecx
mov dword [ebp - 8], 0
jbe 0x10002d49
mov ebx, dword [0x101191c8]
lea ecx, [esi + 0xa]
mov esi, dword [0x101191c4]
mov dword [ebp - 4], ecx
cmp ecx, ebx
jae 0x10002c88
cmp esi, ecx
ja 0x10002c88
sub ecx, esi
mov eax, 0x3e0f83e1
imul ecx
sar edx, 6
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp ebx, dword [0x101191cc]
jne 0x10002c74
mov ecx, ebx
sub ecx, esi
mov eax, 0x3e0f83e1
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0xf83e0e
ja 0x10002d5a
mov edx, dword [0x101191cc]
sub edx, esi
mov eax, 0x3e0f83e1
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
inc ecx
add eax, edx
cmp ecx, eax
jbe 0x10002c74
mov edx, eax
shr edx, 1
mov esi, 0xf83e0f
sub esi, edx
cmp esi, eax
jae 0x10002c55
xor eax, eax
jmp 0x10002c57
add eax, edx
cmp eax, ecx
jae 0x10002c5d
mov eax, ecx
push eax
mov ecx, 0x101191c4
call fcn.100038d0
mov ebx, dword [0x101191c8]
mov esi, dword [0x101191c4]
imul edi, edi, 0x108
add edi, esi
test ebx, ebx
je 0x10002d1b
mov esi, edi
jmp 0x10002d06
mov edi, dword [0x101191cc]
cmp ebx, edi
jne 0x10002cff
mov ecx, ebx
sub ecx, esi
mov eax, 0x3e0f83e1
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0xf83e0e
ja 0x10002d5a
mov edx, edi
sub edx, esi
mov eax, 0x3e0f83e1
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
inc ecx
add eax, edx
cmp ecx, eax
jbe 0x10002cff
mov edx, eax
shr edx, 1
mov esi, 0xf83e0f
sub esi, edx
cmp esi, eax
jae 0x10002ce0
xor eax, eax
jmp 0x10002ce2
add eax, edx
cmp eax, ecx
jae 0x10002ce8
mov eax, ecx
push eax
mov ecx, 0x101191c4
call fcn.100038d0
mov ebx, dword [0x101191c8]
mov esi, dword [0x101191c4]
test ebx, ebx
je 0x10002d1b
mov esi, dword [ebp - 4]
mov edi, ebx
mov ecx, 0x42
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [0x101191c8]
mov esi, dword [0x101191c4]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
add ebx, 0x108
mov dword [0x101191c8], ebx
movzx edx, byte [edx + 8]
inc eax
add ecx, 0x108
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
cmp eax, edx
jl 0x10002bd8
pop edi
pop esi
mov dword [0x1011f1d4], 1
pop ebx
mov esp, ebp
pop ebp
ret
push str.vector_T__too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
int3
Function at 0x10002d70
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 0x100
push 0
push 0x10124638
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
nop
mov cl, byte [eax + str.r_j_]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10124638], cl
inc eax
cmp eax, 0x100
jb 0x10002d90
mov esi, dword [ebp + 8]
movzx edx, word [esi + 6]
movzx eax, byte [esi + 8]
push edx
push eax
push 0x10124638
push 0
mov ecx, 0x10119200
call fcn.10005510
movzx ecx, word [esi + 6]
add esp, 0x10
cmp byte [esi + 8], 0
mov dword [0x1011f1e8], ecx
mov dword [ebp - 8], 0
jbe 0x10002f6a
mov ebx, dword [0x101191d8]
lea ecx, [esi + 0xa]
mov esi, dword [0x101191d4]
mov dword [ebp - 4], ecx
cmp ecx, ebx
jae 0x10002ea8
cmp esi, ecx
ja 0x10002ea8
sub ecx, esi
mov eax, 0x7d8c42b3
imul ecx
sar edx, 7
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp ebx, dword [0x101191dc]
jne 0x10002e94
mov ecx, ebx
sub ecx, esi
mov eax, 0x7d8c42b3
imul ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0xfb1884
ja 0x10002f7b
mov edx, dword [0x101191dc]
sub edx, esi
mov eax, 0x7d8c42b3
imul edx
sar edx, 7
mov eax, edx
shr eax, 0x1f
inc ecx
add eax, edx
cmp ecx, eax
jbe 0x10002e94
mov edx, eax
shr edx, 1
mov esi, 0xfb1885
sub esi, edx
cmp esi, eax
jae 0x10002e75
xor eax, eax
jmp 0x10002e77
add eax, edx
cmp eax, ecx
jae 0x10002e7d
mov eax, ecx
push eax
mov ecx, 0x101191d4
call fcn.100039c0
mov ebx, dword [0x101191d8]
mov esi, dword [0x101191d4]
imul edi, edi, 0x105
add edi, esi
test ebx, ebx
je 0x10002f3c
mov esi, edi
jmp 0x10002f26
mov edi, dword [0x101191dc]
cmp ebx, edi
jne 0x10002f1f
mov ecx, ebx
sub ecx, esi
mov eax, 0x7d8c42b3
imul ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0xfb1884
ja 0x10002f7b
mov edx, edi
sub edx, esi
mov eax, 0x7d8c42b3
imul edx
sar edx, 7
mov eax, edx
shr eax, 0x1f
inc ecx
add eax, edx
cmp ecx, eax
jbe 0x10002f1f
mov edx, eax
shr edx, 1
mov esi, 0xfb1885
sub esi, edx
cmp esi, eax
jae 0x10002f00
xor eax, eax
jmp 0x10002f02
add eax, edx
cmp eax, ecx
jae 0x10002f08
mov eax, ecx
push eax
mov ecx, 0x101191d4
call fcn.100039c0
mov ebx, dword [0x101191d8]
mov esi, dword [0x101191d4]
test ebx, ebx
je 0x10002f3c
mov esi, dword [ebp - 4]
mov edi, ebx
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ebx, dword [0x101191d8]
mov esi, dword [0x101191d4]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
add ebx, 0x105
mov dword [0x101191d8], ebx
movzx edx, byte [edx + 8]
inc eax
add ecx, 0x105
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
cmp eax, edx
jl 0x10002df8
pop edi
pop esi
mov dword [0x1011f1d8], 1
pop ebx
mov esp, ebp
pop ebp
ret
push str.vector_T__too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
int3
Function at 0x10002f90
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 0x100
push 0
push 0x10124638
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
nop
mov cl, byte [eax + str.r_jv]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10124638], cl
inc eax
cmp eax, 0x100
jb 0x10002fb0
mov esi, dword [ebp + 8]
movzx edx, word [esi + 6]
movzx eax, byte [esi + 8]
push edx
push eax
push 0x10124638
push 0
mov ecx, 0x10119200
call fcn.10005510
movzx ecx, word [esi + 6]
add esp, 0x10
cmp byte [esi + 8], 0
mov dword [0x1011f1ec], ecx
mov dword [ebp - 8], 0
jbe 0x1000319a
mov edi, dword [0x101191e8]
lea eax, [esi + 0xa]
mov esi, dword [0x101191e4]
mov dword [ebp - 4], eax
cmp eax, edi
jae 0x100030e1
cmp esi, eax
ja 0x100030e1
mov ecx, eax
sub ecx, esi
mov eax, 0x7e07e07f
imul ecx
sar edx, 5
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
cmp edi, dword [0x101191ec]
jne 0x100030b6
mov ecx, edi
sub ecx, esi
mov eax, 0x7e07e07f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0x3f03f02
ja 0x100031ab
mov edx, dword [0x101191ec]
sub edx, esi
mov eax, 0x7e07e07f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
inc ecx
add eax, edx
cmp ecx, eax
jbe 0x100030b6
mov edx, eax
shr edx, 1
mov esi, 0x3f03f03
sub esi, edx
cmp esi, eax
jae 0x10003097
xor eax, eax
jmp 0x10003099
add eax, edx
cmp eax, ecx
jae 0x1000309f
mov eax, ecx
push eax
mov ecx, 0x101191e4
call fcn.10003ab0
mov edi, dword [0x101191e8]
mov esi, dword [0x101191e4]
mov eax, ebx
shl eax, 6
add eax, esi
add eax, ebx
test edi, edi
je 0x100030d9
mov ecx, 0x10
mov esi, eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [0x101191e8]
mov esi, dword [0x101191e4]
mov eax, dword [ebp - 4]
jmp 0x10003175
mov ebx, dword [0x101191ec]
cmp edi, ebx
jne 0x1000315b
mov ecx, edi
sub ecx, esi
mov eax, 0x7e07e07f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0x3f03f02
ja 0x100031ab
mov edx, ebx
sub edx, esi
mov eax, 0x7e07e07f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
inc ecx
add eax, edx
cmp ecx, eax
jbe 0x10003158
mov edx, eax
shr edx, 1
mov esi, 0x3f03f03
sub esi, edx
cmp esi, eax
jae 0x10003139
xor eax, eax
jmp 0x1000313b
add eax, edx
cmp eax, ecx
jae 0x10003141
mov eax, ecx
push eax
mov ecx, 0x101191e4
call fcn.10003ab0
mov edi, dword [0x101191e8]
mov esi, dword [0x101191e4]
mov eax, dword [ebp - 4]
test edi, edi
je 0x10003175
mov ecx, 0x10
mov esi, eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [0x101191e8]
mov esi, dword [0x101191e4]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 8]
add edi, 0x41
mov dword [0x101191e8], edi
movzx edx, byte [edx + 8]
inc ecx
add eax, 0x41
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
cmp ecx, edx
jl 0x10003018
pop edi
pop esi
mov dword [0x1011f1dc], 1
pop ebx
mov esp, ebp
pop ebp
ret
push str.vector_T__too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
int3