joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001700
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 + 0x8000c]
xor edi, edi
push edi
mov ecx, 0x80000
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 0x10001787
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call edi
cmp eax, 0x2733
je 0x100018b5
push 0x100
push 0
push 0x10125238
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + 0x100139e0]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10125238], cl
inc eax
cmp eax, 0x100
jb 0x10001760
call edi
push eax
push 0x10125238
jmp 0x10001900
add dword [esi + 0x8000c], eax
mov eax, dword [esi + 0x8000c]
cmp eax, 4
jl 0x100018b5
lea esp, [esp]
mov al, byte [esi + edi + 0xc]
lea edx, [esi + 0xc]
cmp al, 0xc1
jne 0x100017b6
movzx ebx, byte [edi + esi + 0xd]
mov cl, byte [edi + esi + 0xf]
jmp 0x100017d5
cmp al, 0xc2
jne 0x100018ef
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 0x100018be
cmp ebx, 0x80000
jg 0x100018be
cmp ebx, dword [esi + 0x8000c]
jg 0x1000188c
cmp al, 0xc1
jne 0x10001828
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 0x10001854
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 0x1000180e
jmp 0x10001854
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 0x10001854
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 0x1000183c
mov al, byte [ecx]
mov edx, dword [esi + 0x100014]
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 + 0x8000c], ebx
add esp, 0xc
add edi, ebx
cmp dword [esi + 0x8000c], 0
jg 0x100017a0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
jle 0x100018b5
mov eax, dword [esi + 0x8000c]
test eax, eax
jle 0x100018b5
mov ecx, 0x80000
sub ecx, edi
cmp eax, ecx
jg 0x100018b5
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.1000d310
push eax
push 0
mov ecx, 0x1011a678
call fcn.10004f40
add esp, 0x14
call fcn.10001670
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.1000d310
push eax
push 0
mov ecx, 0x1011a678
call fcn.10004f40
add esp, 0xc
call fcn.10001670
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001920
Capabilities:
Encode data using xor
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8000c
call fcn.10010bb0
mov eax, dword [0x1001a018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x1011a4e4
mov esi, ecx
mov edi, edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x1001a4cc], 0xffffffff
je 0x10001a45
cmp byte [0x1011a500], 0
je 0x10001a45
push esi
lea eax, [ebp - 0x80008]
push edi
push eax
call sub.MSVCR100.dll_memcpy
mov al, byte [ebp - 0x80008]
add esp, 0xc
cmp al, 0xc1
jne 0x100019ab
mov cl, byte [ebp - 0x80006]
lea edi, [esi - 3]
xor eax, eax
test edi, edi
jle 0x10001a08
mov dl, byte [ebp + eax - 0x80005]
xor dl, 0xa0
sub dl, cl
mov byte [ebp + eax - 0x80005], dl
inc eax
cmp eax, edi
jl 0x10001991
jmp 0x10001a08
cmp al, 0xc3
jne 0x100019da
mov cl, byte [ebp - 0x80003]
lea edi, [esi - 6]
xor eax, eax
test edi, edi
jle 0x10001a08
mov edi, edi
mov dl, byte [ebp + eax - 0x80002]
xor dl, 0xa0
sub dl, cl
mov byte [ebp + eax - 0x80002], dl
inc eax
cmp eax, edi
jl 0x100019c0
jmp 0x10001a08
mov cl, byte [ebp - 0x80005]
lea edi, [esi - 4]
xor eax, eax
test edi, edi
jle 0x10001a08
lea esp, [esp]
mov dl, byte [ebp + eax - 0x80004]
xor dl, 0xa0
sub dl, cl
mov byte [ebp + eax - 0x80004], dl
inc eax
cmp eax, edi
jl 0x100019f0
mov eax, dword [0x1011a4d8]
test eax, eax
jle 0x10001a9e
lea ecx, [eax + esi]
cmp ecx, 0x80000
jle 0x10001a63
mov eax, 7
push ecx
call fcn.1000d310
push eax
push 0
mov ecx, 0x1011a678
call fcn.10004f40
add esp, 0xc
mov esi, 0x1001a4c8
call fcn.10001670
push 0x1011a4e4
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.100101b4
mov esp, ebp
pop ebp
ret
push esi
lea ecx, [ebp - 0x80008]
push ecx
lea edx, [eax + 0x1009a4d8]
push edx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
add dword [0x1011a4d8], esi
push 0x1011a4e4
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.100101b4
mov esp, ebp
pop ebp
ret
xor edi, edi
test esi, esi
jle 0x10001a80
mov ebx, dword [sym.imp.WS2_32.dll_send]
mov ecx, dword [0x1001a4cc]
push 0
push esi
lea eax, [ebp + edi - 0x80008]
push eax
push ecx
call ebx
cmp eax, 0xffffffff
je 0x10001acd
sub esi, eax
add edi, eax
test esi, esi
jg 0x10001aaa
jmp 0x10001a80
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call ebx
cmp eax, 0x2733
jne 0x10001b0b
mov eax, dword [0x1011a4d8]
lea ecx, [eax + esi]
cmp ecx, 0x80000
jle 0x10001af6
mov eax, 8
jmp 0x10001a25
push esi
lea edx, [ebp + edi - 0x80008]
push edx
lea eax, [eax + 0x1009a4d8]
push eax
jmp 0x10001a72
call ebx
push eax
mov eax, 9
jmp 0x10001a26
Function at 0x10001b20
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 0x10001b79
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 0x10001b89
sub dword [esi + 0x100010], eax
add edi, eax
cmp dword [esi + 0x100010], 0
jg 0x10001b49
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 0x10001bc2
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 0x10125238
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
jmp 0x10001be0
mov cl, byte [eax + 0x10013fe0]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10125238], cl
inc eax
cmp eax, 0x100
jb 0x10001be0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x10125238
push 0
mov ecx, 0x1011a678
call fcn.10004f40
add esp, 0xc
call fcn.10001670
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 0x10002360
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 0x10125238
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 + 0x10125238], cl
inc eax
cmp eax, 0x100
jb 0x10002380
mov esi, dword [ebp + 8]
movzx edx, word [esi + 6]
movzx eax, byte [esi + 8]
push edx
push eax
push 0x10125238
push 0
mov ecx, 0x1011a678
call fcn.10004f40
movzx ecx, word [esi + 6]
add esp, 0x10
cmp byte [esi + 8], 0
mov dword [0x1011feec], ecx
mov dword [ebp - 8], 0
jbe 0x10002565
mov edi, dword [0x1011a630]
lea eax, [esi + 0xa]
mov esi, dword [0x1011a62c]
mov dword [ebp - 4], eax
cmp eax, edi
jae 0x100024ad
cmp esi, eax
ja 0x100024ad
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 [0x1011a634]
jne 0x10002486
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 0x10002576
mov edx, dword [0x1011a634]
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 0x10002486
mov edx, eax
shr edx, 1
mov esi, 0x38e38e3
sub esi, edx
cmp esi, eax
jae 0x10002467
xor eax, eax
jmp 0x10002469
add eax, edx
cmp eax, ecx
jae 0x1000246f
mov eax, ecx
push eax
mov ecx, 0x1011a62c
call fcn.100031e0
mov edi, dword [0x1011a630]
mov esi, dword [0x1011a62c]
lea edx, [ebx + ebx*8]
lea eax, [esi + edx*8]
test edi, edi
je 0x100024a5
mov ecx, 0x12
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [0x1011a630]
mov esi, dword [0x1011a62c]
mov eax, dword [ebp - 4]
jmp 0x10002540
mov ebx, dword [0x1011a634]
cmp edi, ebx
jne 0x10002527
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 0x10002576
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 0x10002524
mov edx, eax
shr edx, 1
mov esi, 0x38e38e3
sub esi, edx
cmp esi, eax
jae 0x10002505
xor eax, eax
jmp 0x10002507
add eax, edx
cmp eax, ecx
jae 0x1000250d
mov eax, ecx
push eax
mov ecx, 0x1011a62c
call fcn.100031e0
mov edi, dword [0x1011a630]
mov esi, dword [0x1011a62c]
mov eax, dword [ebp - 4]
test edi, edi
je 0x10002540
mov ecx, 0x12
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [0x1011a630]
mov esi, dword [0x1011a62c]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 8]
add edi, 0x48
mov dword [0x1011a630], 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 0x100023e8
pop edi
pop esi
mov dword [0x1011fedc], 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 0x10002590
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 0x10125238
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
nop
mov cl, byte [eax + 0x100151e0]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10125238], cl
inc eax
cmp eax, 0x100
jb 0x100025b0
mov esi, dword [ebp + 8]
movzx edx, word [esi + 6]
movzx eax, byte [esi + 8]
push edx
push eax
push 0x10125238
push 0
mov ecx, 0x1011a678
call fcn.10004f40
movzx ecx, word [esi + 6]
add esp, 0x10
cmp byte [esi + 8], 0
mov dword [0x1011fef0], ecx
mov dword [ebp - 8], 0
jbe 0x10002789
mov ebx, dword [0x1011a640]
lea ecx, [esi + 0xa]
mov esi, dword [0x1011a63c]
mov dword [ebp - 4], ecx
cmp ecx, ebx
jae 0x100026c8
cmp esi, ecx
ja 0x100026c8
sub ecx, esi
mov eax, 0x3e0f83e1
imul ecx
sar edx, 6
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp ebx, dword [0x1011a644]
jne 0x100026b4
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 0x1000279a
mov edx, dword [0x1011a644]
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 0x100026b4
mov edx, eax
shr edx, 1
mov esi, 0xf83e0f
sub esi, edx
cmp esi, eax
jae 0x10002695
xor eax, eax
jmp 0x10002697
add eax, edx
cmp eax, ecx
jae 0x1000269d
mov eax, ecx
push eax
mov ecx, 0x1011a63c
call fcn.100032d0
mov ebx, dword [0x1011a640]
mov esi, dword [0x1011a63c]
imul edi, edi, 0x108
add edi, esi
test ebx, ebx
je 0x1000275b
mov esi, edi
jmp 0x10002746
mov edi, dword [0x1011a644]
cmp ebx, edi
jne 0x1000273f
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 0x1000279a
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 0x1000273f
mov edx, eax
shr edx, 1
mov esi, 0xf83e0f
sub esi, edx
cmp esi, eax
jae 0x10002720
xor eax, eax
jmp 0x10002722
add eax, edx
cmp eax, ecx
jae 0x10002728
mov eax, ecx
push eax
mov ecx, 0x1011a63c
call fcn.100032d0
mov ebx, dword [0x1011a640]
mov esi, dword [0x1011a63c]
test ebx, ebx
je 0x1000275b
mov esi, dword [ebp - 4]
mov edi, ebx
mov ecx, 0x42
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [0x1011a640]
mov esi, dword [0x1011a63c]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
add ebx, 0x108
mov dword [0x1011a640], 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 0x10002618
pop edi
pop esi
mov dword [0x1011fee0], 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 0x100027b0
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 0x10125238
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 + 0x10125238], cl
inc eax
cmp eax, 0x100
jb 0x100027d0
mov esi, dword [ebp + 8]
movzx edx, word [esi + 6]
movzx eax, byte [esi + 8]
push edx
push eax
push 0x10125238
push 0
mov ecx, 0x1011a678
call fcn.10004f40
movzx ecx, word [esi + 6]
add esp, 0x10
cmp byte [esi + 8], 0
mov dword [0x1011fef4], ecx
mov dword [ebp - 8], 0
jbe 0x100029aa
mov ebx, dword [0x1011a650]
lea ecx, [esi + 0xa]
mov esi, dword [0x1011a64c]
mov dword [ebp - 4], ecx
cmp ecx, ebx
jae 0x100028e8
cmp esi, ecx
ja 0x100028e8
sub ecx, esi
mov eax, 0x7d8c42b3
imul ecx
sar edx, 7
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp ebx, dword [0x1011a654]
jne 0x100028d4
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 0x100029bb
mov edx, dword [0x1011a654]
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 0x100028d4
mov edx, eax
shr edx, 1
mov esi, 0xfb1885
sub esi, edx
cmp esi, eax
jae 0x100028b5
xor eax, eax
jmp 0x100028b7
add eax, edx
cmp eax, ecx
jae 0x100028bd
mov eax, ecx
push eax
mov ecx, 0x1011a64c
call fcn.100033c0
mov ebx, dword [0x1011a650]
mov esi, dword [0x1011a64c]
imul edi, edi, 0x105
add edi, esi
test ebx, ebx
je 0x1000297c
mov esi, edi
jmp 0x10002966
mov edi, dword [0x1011a654]
cmp ebx, edi
jne 0x1000295f
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 0x100029bb
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 0x1000295f
mov edx, eax
shr edx, 1
mov esi, 0xfb1885
sub esi, edx
cmp esi, eax
jae 0x10002940
xor eax, eax
jmp 0x10002942
add eax, edx
cmp eax, ecx
jae 0x10002948
mov eax, ecx
push eax
mov ecx, 0x1011a64c
call fcn.100033c0
mov ebx, dword [0x1011a650]
mov esi, dword [0x1011a64c]
test ebx, ebx
je 0x1000297c
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 [0x1011a650]
mov esi, dword [0x1011a64c]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
add ebx, 0x105
mov dword [0x1011a650], 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 0x10002838
pop edi
pop esi
mov dword [0x1011fee4], 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 0x100029d0
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 0x10125238
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 + 0x10125238], cl
inc eax
cmp eax, 0x100
jb 0x100029f0
mov esi, dword [ebp + 8]
movzx edx, word [esi + 6]
movzx eax, byte [esi + 8]
push edx
push eax
push 0x10125238
push 0
mov ecx, 0x1011a678
call fcn.10004f40
movzx ecx, word [esi + 6]
add esp, 0x10
cmp byte [esi + 8], 0
mov dword [0x1011fef8], ecx
mov dword [ebp - 8], 0
jbe 0x10002bda
mov edi, dword [0x1011a660]
lea eax, [esi + 0xa]
mov esi, dword [0x1011a65c]
mov dword [ebp - 4], eax
cmp eax, edi
jae 0x10002b21
cmp esi, eax
ja 0x10002b21
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 [0x1011a664]
jne 0x10002af6
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 0x10002beb
mov edx, dword [0x1011a664]
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 0x10002af6
mov edx, eax
shr edx, 1
mov esi, 0x3f03f03
sub esi, edx
cmp esi, eax
jae 0x10002ad7
xor eax, eax
jmp 0x10002ad9
add eax, edx
cmp eax, ecx
jae 0x10002adf
mov eax, ecx
push eax
mov ecx, 0x1011a65c
call fcn.100034b0
mov edi, dword [0x1011a660]
mov esi, dword [0x1011a65c]
mov eax, ebx
shl eax, 6
add eax, esi
add eax, ebx
test edi, edi
je 0x10002b19
mov ecx, 0x10
mov esi, eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [0x1011a660]
mov esi, dword [0x1011a65c]
mov eax, dword [ebp - 4]
jmp 0x10002bb5
mov ebx, dword [0x1011a664]
cmp edi, ebx
jne 0x10002b9b
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 0x10002beb
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 0x10002b98
mov edx, eax
shr edx, 1
mov esi, 0x3f03f03
sub esi, edx
cmp esi, eax
jae 0x10002b79
xor eax, eax
jmp 0x10002b7b
add eax, edx
cmp eax, ecx
jae 0x10002b81
mov eax, ecx
push eax
mov ecx, 0x1011a65c
call fcn.100034b0
mov edi, dword [0x1011a660]
mov esi, dword [0x1011a65c]
mov eax, dword [ebp - 4]
test edi, edi
je 0x10002bb5
mov ecx, 0x10
mov esi, eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [0x1011a660]
mov esi, dword [0x1011a65c]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 8]
add edi, 0x41
mov dword [0x1011a660], 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 0x10002a58
pop edi
pop esi
mov dword [0x1011fee8], 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 0x10002c00
Capabilities:
Encode data using xor

Disassembly:
push ecx
push 0x100
push 0
push 0x10125238
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
jmp 0x10002c20
mov cl, byte [eax + str.r_jj]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10125238], cl
inc eax
cmp eax, 0x100
jb 0x10002c20
movzx edx, byte [esi + 4]
push edx
push 0x10125238
push 0
mov ecx, 0x1011a678
call fcn.10004f40
movzx eax, byte [esi + 4]
add esp, 0xc
cmp eax, 0xa
ja case.default.0x10002c5c
jmp dword [eax*4 + 0x10002ccc]
mov ecx, 0xe
jmp 0x10002cae
mov ecx, 0xf
jmp 0x10002cae
mov ecx, 0x10
jmp 0x10002cae
mov ecx, 0x11
jmp 0x10002cae
mov ecx, 0x12
jmp 0x10002cae
mov ecx, 0x13
jmp 0x10002cae
mov ecx, 0x14
jmp 0x10002cae
mov ecx, 0x16
jmp 0x10002cae
mov ecx, 0x18
jmp 0x10002cae
mov ecx, 0x19
jmp 0x10002cae
mov ecx, 0x15
push 0x1388
call fcn.10005440
push eax
push 2
mov eax, 0x1011f990
call fcn.1000d0a0
add esp, 0xc
pop ecx
ret

Function at 0x10002d00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x1001a018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
cmp dword [0x1011ff10], 1
push edi
je 0x10002da8
mov ecx, dword [0x1011a62c]
mov dword [0x1011fed8], ebx
mov dword [0x1011fedc], ebx
mov dword [0x1011fee0], ebx
mov dword [0x1011fee4], ebx
mov dword [0x1011fee8], ebx
mov dword [0x1011feec], ebx
mov dword [0x1011fef0], ebx
mov dword [0x1011fef4], ebx
mov dword [0x1011fef8], ebx
cmp ecx, dword [0x1011a630]
je 0x10002d6c
mov dword [0x1011a630], ecx
mov ecx, dword [0x1011a63c]
cmp ecx, dword [0x1011a640]
je 0x10002d80
mov dword [0x1011a640], ecx
mov ecx, dword [0x1011a64c]
cmp ecx, dword [0x1011a650]
je 0x10002d94
mov dword [0x1011a650], ecx
mov ecx, dword [0x1011a65c]
cmp ecx, dword [0x1011a660]
je 0x10002da8
mov dword [0x1011a660], ecx
mov dword [0x1011f6f4], ebx
mov dword [0x1011f6fc], ebx
mov word [ebp - 0x3c], 0x38c1
call dword [sym.imp.MSVCR100.dll_rand]
and eax, 0x800000ff
jns 0x10002dce
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [0x1011f6e4]
mov edx, dword [str.1.7.0]
mov byte [ebp - 0x3a], al
mov eax, dword [0x1011ff10]
mov dword [ebp - 0x38], eax
mov eax, dword [0x10016804]
mov byte [ebp - 0x39], bl
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
call fcn.1000d250
push 0x100
mov esi, eax
push ebx
mov ecx, 9
lea edi, [ebp - 0x28]
push 0x10125238
rep movsd dword es:[edi], dword [esi]
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + 0x100154e0]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10125238], cl
inc eax
cmp eax, 0x100
jb 0x10002e20
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x28]
push edx
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x30]
push eax
push ecx
push edx
push 0x10125238
push ebx
mov ecx, 0x1011a678
call fcn.10004f40
movzx ecx, byte [ebp - 0x3b]
add esp, 0x18
lea edx, [ebp - 0x3c]
call fcn.10001920
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100101b4
mov esp, ebp
pop ebp
ret
Function at 0x100039a0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [0x1011fe64]
test eax, eax
je 0x10003a13
mov ecx, dword [eax]
cmp ecx, dword [0x1011fe78]
jne 0x100039bf
mov dl, byte [0x1011fe7c]
cmp dl, byte [eax + 4]
je 0x10003a13
push 0x100
push 0
push 0x10125238
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
jmp 0x100039e0
mov cl, byte [eax + 0x100144e0]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10125238], cl
inc eax
cmp eax, 0x100
jb 0x100039e0
push 0x10125238
push 0
mov ecx, 0x1011a678
call fcn.10004f40
add esp, 8
call fcn.1000ccc0
mov eax, dword [0x1011fe60]
test eax, eax
je 0x10003a83
mov edx, dword [eax]
cmp edx, dword [0x1011fe70]
jne 0x10003a31
mov cl, byte [0x1011fe74]
cmp cl, byte [eax + 4]
je 0x10003a83
push 0x100
push 0
push 0x10125238
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
jmp 0x10003a50
mov dl, byte [eax + 0x100145e0]
sub dl, 0x1b
xor dl, 0xc
mov byte [eax + 0x10125238], dl
inc eax
cmp eax, 0x100
jb 0x10003a50
push 0x10125238
push 0
mov ecx, 0x1011a678
call fcn.10004f40
add esp, 8
call fcn.1000ccc0
mov eax, dword [0x1011fe5c]
test eax, eax
je 0x10003ac0
mov ecx, dword [eax]
cmp ecx, dword [0x1011fe68]
jne 0x10003aa1
mov dl, byte [0x1011fe6c]
cmp dl, byte [eax + 4]
je 0x10003ac0
mov eax, 0x11
call fcn.1000d310
push eax
push 0
mov ecx, 0x1011a678
call fcn.10004f40
add esp, 8
call fcn.1000ccc0
pop ecx
ret