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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, eax
mov eax, dword [esi + 0x200c]
xor edi, edi
push edi
mov ecx, 0x2000
sub ecx, eax
push ecx
lea edx, [eax + esi + 0xc]
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x100016b7
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call edi
cmp eax, 0x2733
je 0x100017e5
push 0x100
push 0
push 0x10025070
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + 0x100108f0]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10025070], cl
inc eax
cmp eax, 0x100
jb 0x10001690
call edi
push eax
push 0x10025070
jmp 0x10001830
add dword [esi + 0x200c], eax
mov eax, dword [esi + 0x200c]
cmp eax, 4
jl 0x100017e5
lea esp, [esp]
mov al, byte [esi + edi + 0xc]
lea edx, [esi + 0xc]
cmp al, 0xc1
jne 0x100016e6
movzx ebx, byte [edi + esi + 0xd]
mov cl, byte [edi + esi + 0xf]
jmp 0x10001705
cmp al, 0xc2
jne 0x1000181f
movzx ecx, byte [edi + esi + 0xd]
shl cx, 8
movzx ebx, cx
movzx ecx, byte [edi + esi + 0xe]
or ebx, ecx
mov cl, byte [edi + esi + 0x10]
cmp ebx, 4
jl 0x100017ee
cmp ebx, 0x2000
jg 0x100017ee
cmp ebx, dword [esi + 0x200c]
jg 0x100017bc
cmp al, 0xc1
jne 0x10001758
mov dl, byte [edi + esi + 0xe]
mov byte [ebp - 4], dl
lea edx, [ebx - 3]
xor eax, eax
lea ecx, [edi + esi + 0xf]
test edx, edx
jle 0x10001784
mov dl, byte [ecx + eax]
add dl, byte [ebp - 4]
lea ecx, [edi + esi + 0xf]
xor dl, 0xa0
mov byte [ecx + eax], dl
inc eax
lea edx, [ebx - 3]
cmp eax, edx
jl 0x1000173e
jmp 0x10001784
mov cl, byte [edi + esi + 0xf]
lea edx, [ebx - 4]
xor eax, eax
mov byte [ebp - 4], cl
lea ecx, [edi + esi + 0x10]
test edx, edx
jle 0x10001784
mov dl, byte [ecx + eax]
add dl, byte [ebp - 4]
lea ecx, [edi + esi + 0x10]
xor dl, 0xa0
mov byte [ecx + eax], dl
inc eax
lea edx, [ebx - 4]
cmp eax, edx
jl 0x1000176c
mov al, byte [ecx]
mov edx, dword [esi + 0x4014]
mov byte [ebp - 8], al
mov ecx, dword [ebp - 8]
push ebx
lea eax, [esi + edi + 0xc]
push eax
push ecx
call edx
sub dword [esi + 0x200c], ebx
add esp, 0xc
add edi, ebx
cmp dword [esi + 0x200c], 0
jg 0x100016d0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
jle 0x100017e5
mov eax, dword [esi + 0x200c]
test eax, eax
jle 0x100017e5
mov ecx, 0x2000
sub ecx, edi
cmp eax, ecx
jg 0x100017e5
push eax
lea eax, [edi + esi + 0xc]
push eax
push edx
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx ecx, cl
push ecx
movzx edx, al
push ebx
push edx
mov eax, 6
call fcn.1000ae00
push eax
push 0
mov ecx, 0x1001a440
call fcn.10005240
add esp, 0x14
call fcn.100015a0
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, byte [edi + esi + 0xc]
push eax
mov eax, 5
call fcn.1000ae00
push eax
push 0
mov ecx, 0x1001a440
call fcn.10005240
add esp, 0xc
call fcn.100015a0
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001850
Capabilities:
Encode data using xor
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x200c
call fcn.1000e430
mov eax, dword [0x10016018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x1001a2ac
mov esi, ecx
mov edi, edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10016294], 0xffffffff
je 0x10001945
cmp byte [0x1001a2c8], 0
je 0x10001945
push esi
lea eax, [ebp - 0x2008]
push edi
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
xor eax, eax
cmp byte [ebp - 0x2008], 0xc1
jne 0x100018da
mov cl, byte [ebp - 0x2006]
lea edi, [esi - 3]
test edi, edi
jle 0x10001908
lea esp, [esp]
mov dl, byte [ebp + eax - 0x2005]
xor dl, 0xa0
sub dl, cl
mov byte [ebp + eax - 0x2005], dl
inc eax
cmp eax, edi
jl 0x100018c0
jmp 0x10001908
mov cl, byte [ebp - 0x2005]
lea edi, [esi - 4]
test edi, edi
jle 0x10001908
jmp 0x100018f0
mov dl, byte [ebp + eax - 0x2004]
xor dl, 0xa0
sub dl, cl
mov byte [ebp + eax - 0x2004], dl
inc eax
cmp eax, edi
jl 0x100018f0
mov eax, dword [0x1001a2a0]
test eax, eax
jle 0x1000199e
lea ecx, [eax + esi]
cmp ecx, 0x2000
jle 0x10001963
mov eax, 7
push ecx
call fcn.1000ae00
push eax
push 0
mov ecx, 0x1001a440
call fcn.10005240
add esp, 0xc
mov esi, 0x10016290
call fcn.100015a0
push 0x1001a2ac
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.1000da7b
mov esp, ebp
pop ebp
ret
push esi
lea ecx, [ebp - 0x2008]
push ecx
lea edx, [eax + 0x100182a0]
push edx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
add dword [0x1001a2a0], esi
push 0x1001a2ac
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.1000da7b
mov esp, ebp
pop ebp
ret
xor edi, edi
test esi, esi
jle 0x10001980
mov ebx, dword [sym.imp.WS2_32.dll_send]
mov ecx, dword [0x10016294]
push 0
push esi
lea eax, [ebp + edi - 0x2008]
push eax
push ecx
call ebx
cmp eax, 0xffffffff
je 0x100019cd
sub esi, eax
add edi, eax
test esi, esi
jg 0x100019aa
jmp 0x10001980
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call ebx
cmp eax, 0x2733
jne 0x10001a0b
mov eax, dword [0x1001a2a0]
lea ecx, [eax + esi]
cmp ecx, 0x2000
jle 0x100019f6
mov eax, 8
jmp 0x10001925
push esi
lea edx, [ebp + edi - 0x2008]
push edx
lea eax, [eax + 0x100182a0]
push eax
jmp 0x10001972
call ebx
push eax
mov eax, 9
jmp 0x10001926
Function at 0x10001a20
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 + 0x401c]
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edi, edi
cmp dword [esi + 0x4010], edi
jle 0x10001a79
lea ebx, [esi + 0x2010]
mov eax, dword [esi + 0x4010]
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 0x10001a89
sub dword [esi + 0x4010], eax
add edi, eax
cmp dword [esi + 0x4010], 0
jg 0x10001a49
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 0x10001ac2
mov eax, dword [esi + 0x4010]
push eax
lea ecx, [edi + esi + 0x2010]
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 0x10025070
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
jmp 0x10001ae0
mov cl, byte [eax + 0x10010ef0]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10025070], cl
inc eax
cmp eax, 0x100
jb 0x10001ae0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x10025070
push 0
mov ecx, 0x1001a440
call fcn.10005240
add esp, 0xc
call fcn.100015a0
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 0x10001e90
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 0x10001ef0
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 0x10001ed6
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.1000da70
add esp, 4
mov dword [esi + 4], eax
test eax, eax
jne 0x10001ef7
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 0x10001eea
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10001f30
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
call fcn.10001e90
test al, al
jne 0x10001f45
pop esi
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [esi + 8]
cmp edi, 8
jae 0x10001f56
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 4]
mov eax, 0x100136f0
mov ecx, 8
sub edx, eax
push ebx
jmp 0x10001f70
mov ebx, dword [edx + eax]
cmp ebx, dword [eax]
jne 0x1000204b
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x10001f70
add edi, 0xfffffff8
xor ecx, ecx
test edi, edi
jle 0x10001fdd
nop
mov eax, dword [esi + 4]
lea edi, [eax + ecx + 8]
mov eax, 0x38e38e39
mul ecx
shr edx, 3
lea edx, [edx + edx*8]
add edx, edx
add edx, edx
mov eax, ecx
sub eax, edx
movsx edx, byte [eax + 0x1001a684]
and edx, 0xf
mov al, byte [edx + 0x100136f8]
sub byte [edi], al
mov edx, dword [esi + 4]
lea eax, [edx + ecx + 8]
mov edx, ecx
and edx, 0xf
mov dl, byte [edx + 0x100136f8]
xor byte [eax], dl
mov eax, dword [esi + 8]
inc ecx
sub eax, 8
cmp ecx, eax
jl 0x10001f90
lea edi, [esi + 0xc]
call dword [sym.imp.MSVCR100.dll_rand]
cdq
mov ecx, 0x3e8
idiv ecx
push edx
push 0x10013708
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 0x1000204b
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 0x10002054
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 0x10002070
Capabilities:
Delete file

Disassembly:
push edi
lea edi, [esi + 0xc]
mov ecx, 0x10013720
mov eax, edi
jmp 0x10002080
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100020a0
test dl, dl
je 0x1000209c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100020a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10002080
xor eax, eax
jmp 0x100020a5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100020dc
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x100020dc
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 0x10002510
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 0x10025070
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 + 0x10025070], cl
inc eax
cmp eax, 0x100
jb 0x10002530
mov esi, dword [ebp + 8]
movzx edx, word [esi + 6]
movzx eax, byte [esi + 8]
push edx
push eax
push 0x10025070
push 0
mov ecx, 0x1001a440
call fcn.10005240
movzx ecx, word [esi + 6]
add esp, 0x10
cmp byte [esi + 8], 0
mov dword [0x1001fc60], ecx
mov dword [ebp - 8], 0
jbe 0x10002715
mov edi, dword [0x1001a3f8]
lea eax, [esi + 0xa]
mov esi, dword [0x1001a3f4]
mov dword [ebp - 4], eax
cmp eax, edi
jae 0x1000265d
cmp esi, eax
ja 0x1000265d
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 [0x1001a3fc]
jne 0x10002636
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 0x10002726
mov edx, dword [0x1001a3fc]
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 0x10002636
mov edx, eax
shr edx, 1
mov esi, 0x38e38e3
sub esi, edx
cmp esi, eax
jae 0x10002617
xor eax, eax
jmp 0x10002619
add eax, edx
cmp eax, ecx
jae 0x1000261f
mov eax, ecx
push eax
mov ecx, 0x1001a3f4
call fcn.10003290
mov edi, dword [0x1001a3f8]
mov esi, dword [0x1001a3f4]
lea edx, [ebx + ebx*8]
lea eax, [esi + edx*8]
test edi, edi
je 0x10002655
mov ecx, 0x12
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [0x1001a3f8]
mov esi, dword [0x1001a3f4]
mov eax, dword [ebp - 4]
jmp 0x100026f0
mov ebx, dword [0x1001a3fc]
cmp edi, ebx
jne 0x100026d7
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 0x10002726
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 0x100026d4
mov edx, eax
shr edx, 1
mov esi, 0x38e38e3
sub esi, edx
cmp esi, eax
jae 0x100026b5
xor eax, eax
jmp 0x100026b7
add eax, edx
cmp eax, ecx
jae 0x100026bd
mov eax, ecx
push eax
mov ecx, 0x1001a3f4
call fcn.10003290
mov edi, dword [0x1001a3f8]
mov esi, dword [0x1001a3f4]
mov eax, dword [ebp - 4]
test edi, edi
je 0x100026f0
mov ecx, 0x12
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [0x1001a3f8]
mov esi, dword [0x1001a3f4]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 8]
add edi, 0x48
mov dword [0x1001a3f8], 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 0x10002598
pop edi
pop esi
mov dword [0x1001fc50], 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 0x10002740
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 0x10025070
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
nop
mov cl, byte [eax + 0x100120f0]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10025070], cl
inc eax
cmp eax, 0x100
jb 0x10002760
mov esi, dword [ebp + 8]
movzx edx, word [esi + 6]
movzx eax, byte [esi + 8]
push edx
push eax
push 0x10025070
push 0
mov ecx, 0x1001a440
call fcn.10005240
movzx ecx, word [esi + 6]
add esp, 0x10
cmp byte [esi + 8], 0
mov dword [0x1001fc64], ecx
mov dword [ebp - 8], 0
jbe 0x10002939
mov ebx, dword [0x1001a408]
lea ecx, [esi + 0xa]
mov esi, dword [0x1001a404]
mov dword [ebp - 4], ecx
cmp ecx, ebx
jae 0x10002878
cmp esi, ecx
ja 0x10002878
sub ecx, esi
mov eax, 0x3e0f83e1
imul ecx
sar edx, 6
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp ebx, dword [0x1001a40c]
jne 0x10002864
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 0x1000294a
mov edx, dword [0x1001a40c]
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 0x10002864
mov edx, eax
shr edx, 1
mov esi, 0xf83e0f
sub esi, edx
cmp esi, eax
jae 0x10002845
xor eax, eax
jmp 0x10002847
add eax, edx
cmp eax, ecx
jae 0x1000284d
mov eax, ecx
push eax
mov ecx, 0x1001a404
call fcn.10003380
mov ebx, dword [0x1001a408]
mov esi, dword [0x1001a404]
imul edi, edi, 0x108
add edi, esi
test ebx, ebx
je 0x1000290b
mov esi, edi
jmp 0x100028f6
mov edi, dword [0x1001a40c]
cmp ebx, edi
jne 0x100028ef
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 0x1000294a
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 0x100028ef
mov edx, eax
shr edx, 1
mov esi, 0xf83e0f
sub esi, edx
cmp esi, eax
jae 0x100028d0
xor eax, eax
jmp 0x100028d2
add eax, edx
cmp eax, ecx
jae 0x100028d8
mov eax, ecx
push eax
mov ecx, 0x1001a404
call fcn.10003380
mov ebx, dword [0x1001a408]
mov esi, dword [0x1001a404]
test ebx, ebx
je 0x1000290b
mov esi, dword [ebp - 4]
mov edi, ebx
mov ecx, 0x42
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [0x1001a408]
mov esi, dword [0x1001a404]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
add ebx, 0x108
mov dword [0x1001a408], 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 0x100027c8
pop edi
pop esi
mov dword [0x1001fc54], 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 0x10002960
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 0x10025070
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 + 0x10025070], cl
inc eax
cmp eax, 0x100
jb 0x10002980
mov esi, dword [ebp + 8]
movzx edx, word [esi + 6]
movzx eax, byte [esi + 8]
push edx
push eax
push 0x10025070
push 0
mov ecx, 0x1001a440
call fcn.10005240
movzx ecx, word [esi + 6]
add esp, 0x10
cmp byte [esi + 8], 0
mov dword [0x1001fc68], ecx
mov dword [ebp - 8], 0
jbe 0x10002b5a
mov ebx, dword [0x1001a418]
lea ecx, [esi + 0xa]
mov esi, dword [0x1001a414]
mov dword [ebp - 4], ecx
cmp ecx, ebx
jae 0x10002a98
cmp esi, ecx
ja 0x10002a98
sub ecx, esi
mov eax, 0x7d8c42b3
imul ecx
sar edx, 7
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp ebx, dword [0x1001a41c]
jne 0x10002a84
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 0x10002b6b
mov edx, dword [0x1001a41c]
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 0x10002a84
mov edx, eax
shr edx, 1
mov esi, 0xfb1885
sub esi, edx
cmp esi, eax
jae 0x10002a65
xor eax, eax
jmp 0x10002a67
add eax, edx
cmp eax, ecx
jae 0x10002a6d
mov eax, ecx
push eax
mov ecx, 0x1001a414
call fcn.10003470
mov ebx, dword [0x1001a418]
mov esi, dword [0x1001a414]
imul edi, edi, 0x105
add edi, esi
test ebx, ebx
je 0x10002b2c
mov esi, edi
jmp 0x10002b16
mov edi, dword [0x1001a41c]
cmp ebx, edi
jne 0x10002b0f
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 0x10002b6b
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 0x10002b0f
mov edx, eax
shr edx, 1
mov esi, 0xfb1885
sub esi, edx
cmp esi, eax
jae 0x10002af0
xor eax, eax
jmp 0x10002af2
add eax, edx
cmp eax, ecx
jae 0x10002af8
mov eax, ecx
push eax
mov ecx, 0x1001a414
call fcn.10003470
mov ebx, dword [0x1001a418]
mov esi, dword [0x1001a414]
test ebx, ebx
je 0x10002b2c
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 [0x1001a418]
mov esi, dword [0x1001a414]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
add ebx, 0x105
mov dword [0x1001a418], 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 0x100029e8
pop edi
pop esi
mov dword [0x1001fc58], 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 0x10002b80
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 0x10025070
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 + 0x10025070], cl
inc eax
cmp eax, 0x100
jb 0x10002ba0
mov esi, dword [ebp + 8]
movzx edx, word [esi + 6]
movzx eax, byte [esi + 8]
push edx
push eax
push 0x10025070
push 0
mov ecx, 0x1001a440
call fcn.10005240
movzx ecx, word [esi + 6]
add esp, 0x10
cmp byte [esi + 8], 0
mov dword [0x1001fc6c], ecx
mov dword [ebp - 8], 0
jbe 0x10002d8a
mov edi, dword [0x1001a428]
lea eax, [esi + 0xa]
mov esi, dword [0x1001a424]
mov dword [ebp - 4], eax
cmp eax, edi
jae 0x10002cd1
cmp esi, eax
ja 0x10002cd1
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 [0x1001a42c]
jne 0x10002ca6
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 0x10002d9b
mov edx, dword [0x1001a42c]
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 0x10002ca6
mov edx, eax
shr edx, 1
mov esi, 0x3f03f03
sub esi, edx
cmp esi, eax
jae 0x10002c87
xor eax, eax
jmp 0x10002c89
add eax, edx
cmp eax, ecx
jae 0x10002c8f
mov eax, ecx
push eax
mov ecx, 0x1001a424
call fcn.10003560
mov edi, dword [0x1001a428]
mov esi, dword [0x1001a424]
mov eax, ebx
shl eax, 6
add eax, esi
add eax, ebx
test edi, edi
je 0x10002cc9
mov ecx, 0x10
mov esi, eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [0x1001a428]
mov esi, dword [0x1001a424]
mov eax, dword [ebp - 4]
jmp 0x10002d65
mov ebx, dword [0x1001a42c]
cmp edi, ebx
jne 0x10002d4b
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 0x10002d9b
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 0x10002d48
mov edx, eax
shr edx, 1
mov esi, 0x3f03f03
sub esi, edx
cmp esi, eax
jae 0x10002d29
xor eax, eax
jmp 0x10002d2b
add eax, edx
cmp eax, ecx
jae 0x10002d31
mov eax, ecx
push eax
mov ecx, 0x1001a424
call fcn.10003560
mov edi, dword [0x1001a428]
mov esi, dword [0x1001a424]
mov eax, dword [ebp - 4]
test edi, edi
je 0x10002d65
mov ecx, 0x10
mov esi, eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [0x1001a428]
mov esi, dword [0x1001a424]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 8]
add edi, 0x41
mov dword [0x1001a428], 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 0x10002c08
pop edi
pop esi
mov dword [0x1001fc5c], 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