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

Disassembly:
mov eax, 0xc8
call fcn.1008ba80
push ebx
push ebp
push esi
lea eax, [ecx + 0x54]
lea esi, [ecx + 0x14]
mov ecx, dword [esi + 0x3c]
push edi
lea ebp, [esp + 0x58]
lea edi, [esp + 0x98]
xor ebx, ebx
sub ebp, eax
sub edi, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
sub esi, eax
mov edx, dword [eax]
mov ecx, dword [esp + 0xdc]
movzx ecx, byte [ebx + ecx]
mov dword [eax + ebp - 0x40], edx
xor edx, ecx
mov dword [eax + ebp], ecx
xor ecx, dword [esp + 0x10]
mov dword [edi + eax], edx
mov edx, dword [ecx*4 + str._.C]
xor dword [esi + eax], edx
mov ecx, dword [esi + eax]
add ebx, 1
add eax, 4
cmp ebx, 0x10
mov dword [esp + 0x10], ecx
jl 0x10032e02
xor ecx, ecx
xor edx, edx
nop
xor eax, eax
jmp 0x10032e50
mov ecx, dword [ecx*4 + str._.C]
xor dword [esp + eax*4 + 0x18], ecx
mov ecx, dword [esp + eax*4 + 0x18]
mov ecx, dword [ecx*4 + str._.C]
xor dword [esp + eax*4 + 0x1c], ecx
mov ecx, dword [esp + eax*4 + 0x1c]
mov ecx, dword [ecx*4 + str._.C]
xor dword [esp + eax*4 + 0x20], ecx
mov ecx, dword [esp + eax*4 + 0x20]
mov ecx, dword [ecx*4 + str._.C]
xor dword [esp + eax*4 + 0x24], ecx
mov ecx, dword [esp + eax*4 + 0x24]
mov ecx, dword [ecx*4 + str._.C]
xor dword [esp + eax*4 + 0x28], ecx
mov ecx, dword [esp + eax*4 + 0x28]
mov ecx, dword [ecx*4 + str._.C]
xor dword [esp + eax*4 + 0x2c], ecx
mov ecx, dword [esp + eax*4 + 0x2c]
mov ecx, dword [ecx*4 + str._.C]
xor dword [esp + eax*4 + 0x30], ecx
mov ecx, dword [esp + eax*4 + 0x30]
mov ecx, dword [ecx*4 + str._.C]
xor dword [esp + eax*4 + 0x34], ecx
mov ecx, dword [esp + eax*4 + 0x34]
add eax, 8
cmp eax, 0x30
jl 0x10032e50
add ecx, edx
add edx, 1
and ecx, 0xff
cmp edx, 0x12
jl 0x10032e40
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x18]
push 0xc0
mov ecx, 0x10
lea esi, [esp + 0x1c]
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.1001e800
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc8
ret
Function at 0x100334b0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x30
call fcn.1008ba80
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
push ebx
mov ebx, dword [esp + 0x40]
lea ecx, [ebx - 1]
cmp ecx, 0x7f
push edi
mov edi, dword [esp + 0x4c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x48]
ja 0x10033676
mov edx, dword [edi]
mov ecx, dword [edi + 4]
push ebp
push esi
push eax
mov dword [esp + 0x20], edx
mov edx, dword [edi + 8]
mov dword [esp + 0x24], ecx
mov ecx, dword [edi + 0xc]
push edi
push edi
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
call fcn.10033f80
lea eax, [ebx + 7]
cdq
and edx, 7
add eax, edx
mov ebp, eax
add esp, 0xc
sar ebp, 3
cmp dword [esp + 0x58], 0
je 0x10033557
test ebp, ebp
jle 0x100335a4
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x14]
mov edx, edi
lea esi, [esp + 0x2c]
sub edx, ecx
sub esi, ecx
sub ebx, ecx
lea esp, [esp]
mov al, byte [edx + ecx]
xor al, byte [ecx]
add ecx, 1
sub ebp, 1
mov byte [esi + ecx - 1], al
mov byte [ebx + ecx - 1], al
jne 0x10033540
jmp 0x100335a0
xor esi, esi
test ebp, ebp
jle 0x100335a4
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x2c]
mov ecx, eax
sub edx, eax
mov eax, dword [esp + 0x14]
mov ebx, edi
sub ebx, ecx
sub eax, ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
jmp 0x10033584
mov ebx, dword [esp + 0x18]
lea ecx, [esp + esi + 0x2c]
mov al, byte [edx + ecx]
mov bl, byte [ebx + ecx]
xor bl, al
mov byte [ecx], al
mov eax, dword [esp + 0x14]
add esi, 1
cmp esi, ebp
mov byte [eax + ecx], bl
jl 0x10033580
mov ebx, dword [esp + 0x4c]
mov ecx, ebx
and ecx, 0x80000007
jns 0x100335b3
dec ecx
or ecx, 0xfffffff8
inc ecx
mov eax, ebx
cdq
and edx, 7
add eax, edx
sar eax, 3
test ecx, ecx
mov dword [esp + 0x14], ecx
jne 0x100335f6
mov ecx, dword [esp + eax + 0x1c]
mov edx, dword [esp + eax + 0x20]
lea eax, [esp + eax + 0x1c]
mov dword [edi], ecx
mov ecx, dword [eax + 8]
mov dword [edi + 4], edx
mov edx, dword [eax + 0xc]
pop esi
mov dword [edi + 8], ecx
pop ebp
mov dword [edi + 0xc], edx
pop edi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.1007a730
add esp, 0x30
ret
mov dl, 8
sub dl, cl
mov byte [esp + 0x13], dl
add edi, 1
lea esi, [esp + eax + 0x1d]
mov ebp, 4
lea ebx, [ebx]
movzx edx, byte [esi - 1]
mov al, byte [esi]
shl dl, cl
movzx ecx, byte [esp + 0x13]
mov bl, al
shr bl, cl
mov ecx, dword [esp + 0x14]
shl al, cl
movzx ecx, byte [esp + 0x13]
or dl, bl
mov byte [edi - 1], dl
mov dl, byte [esi + 1]
mov bl, dl
shr bl, cl
mov ecx, dword [esp + 0x14]
shl dl, cl
movzx ecx, byte [esp + 0x13]
or al, bl
mov byte [edi], al
mov al, byte [esi + 2]
mov bl, al
shr bl, cl
movzx ecx, byte [esp + 0x13]
or dl, bl
mov byte [edi + 1], dl
movzx edx, byte [esi + 3]
shr dl, cl
mov ecx, dword [esp + 0x14]
shl al, cl
add esi, 4
add edi, 4
or dl, al
sub ebp, 1
mov byte [edi - 2], dl
jne 0x10033610
pop esi
pop ebp
mov ecx, dword [esp + 0x34]
pop edi
pop ebx
xor ecx, esp
call fcn.1007a730
add esp, 0x30
ret
Function at 0x10033d30
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0x10]
push ebx
push eax
push ecx
call fcn.10033830
add esp, 0xc
test eax, eax
jl 0x10033f7a
mov edx, dword [ebx + 0xf0]
add edx, edx
push esi
add edx, edx
xor esi, esi
test edx, edx
push edi
jle 0x10033dad
lea ecx, [ebx + edx*4 + 8]
lea eax, [ebx + 8]
push ebp
lea ebx, [ebx]
mov ebp, dword [ecx - 8]
mov edi, dword [eax - 8]
mov dword [eax - 8], ebp
mov ebp, dword [ecx - 4]
mov dword [ecx - 8], edi
mov edi, dword [eax - 4]
mov dword [eax - 4], ebp
mov ebp, dword [ecx]
mov dword [ecx - 4], edi
mov edi, dword [eax]
mov dword [eax], ebp
mov ebp, dword [ecx + 4]
mov dword [ecx], edi
mov edi, dword [eax + 4]
mov dword [eax + 4], ebp
mov dword [ecx + 4], edi
add esi, 4
sub edx, 4
add eax, 0x10
sub ecx, 0x10
cmp esi, edx
jl 0x10033d70
pop ebp
mov edx, 1
cmp dword [ebx + 0xf0], edx
jle 0x10033f76
lea eax, [ebx + 2]
mov ecx, dword [eax + 0xe]
movzx edi, byte [eax + 0xf]
mov edi, dword [edi*4 + 0x100b3a28]
add eax, 0x10
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x100b3a28]
and esi, 0xff
mov esi, dword [esi*4 + 0x100b4628]
and edi, 0xff
xor esi, dword [edi*4 + 0x100b4e28]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x100b3a28]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x100b5228]
movzx ecx, byte [eax]
mov ecx, dword [ecx*4 + 0x100b3a28]
movzx edi, byte [eax + 3]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x100b4a28]
mov ecx, dword [eax + 2]
mov dword [eax - 2], esi
mov edi, dword [edi*4 + 0x100b3a28]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x100b3a28]
and esi, 0xff
mov esi, dword [esi*4 + 0x100b4628]
and edi, 0xff
xor esi, dword [edi*4 + 0x100b4e28]
movzx edi, byte [eax + 4]
mov edi, dword [edi*4 + 0x100b3a28]
and edi, 0xff
xor esi, dword [edi*4 + 0x100b4a28]
movzx edi, byte [eax + 7]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x100b3a28]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x100b5228]
mov ecx, dword [eax + 6]
mov dword [eax + 2], esi
mov edi, dword [edi*4 + 0x100b3a28]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x100b3a28]
and esi, 0xff
mov esi, dword [esi*4 + 0x100b4628]
and edi, 0xff
xor esi, dword [edi*4 + 0x100b4e28]
movzx edi, byte [eax + 8]
mov edi, dword [edi*4 + 0x100b3a28]
and edi, 0xff
xor esi, dword [edi*4 + 0x100b4a28]
movzx edi, byte [eax + 0xb]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x100b3a28]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x100b5228]
mov ecx, dword [eax + 0xa]
mov dword [eax + 6], esi
mov edi, dword [edi*4 + 0x100b3a28]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x100b3a28]
and esi, 0xff
mov esi, dword [esi*4 + 0x100b4628]
and edi, 0xff
xor esi, dword [edi*4 + 0x100b4e28]
movzx edi, byte [eax + 0xc]
mov edi, dword [edi*4 + 0x100b3a28]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x100b3a28]
and edi, 0xff
xor esi, dword [edi*4 + 0x100b4a28]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x100b5228]
add edx, 1
mov dword [eax + 0xa], esi
cmp edx, dword [ebx + 0xf0]
jl 0x10033dc1
pop edi
xor eax, eax
pop esi
pop ebx
ret
Function at 0x10035560
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.1008ba80
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
xor edx, edx
push ebp
push esi
mov esi, dword [eax]
push edi
mov edi, dword [esp + 0x4c]
mov dh, byte [edi + 1]
lea eax, [edi + 1]
mov dword [esp + 0x28], eax
add eax, 1
mov dword [esp + 0x18], ecx
movzx ecx, byte [edi]
or ecx, edx
movzx edx, byte [eax]
add eax, 1
shl edx, 0x10
or ecx, edx
movzx edx, byte [eax]
add eax, 1
shl edx, 0x18
or ecx, edx
movzx edx, byte [eax]
add eax, 1
xor ebx, ebx
mov bh, byte [eax]
add eax, 1
mov ebp, dword [esp + 0x40]
mov byte [esp + 0x2c], cl
mov dword [esp + 0x10], 0
or edx, ebx
xor ebx, ebx
mov bh, byte [eax + 1]
mov bl, byte [eax]
mov eax, ecx
shr eax, 8
mov byte [esp + 0x2d], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x2e], al
shl ebx, 0x10
or edx, ebx
mov ebx, ecx
shr ecx, 0x18
mov byte [esp + 0x2f], cl
mov ecx, edx
mov eax, edx
mov dword [esp + 0x20], edx
mov byte [esp + 0x30], dl
shr ecx, 8
shr eax, 0x10
shr edx, 0x18
cmp dword [esp + 0x44], 0
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x31], cl
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
je 0x1003573f
sub dword [esp + 0x18], 1
test esi, esi
jne 0x1003569b
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.10034a40
mov ebx, dword [esp + 0x24]
mov eax, ebx
shr eax, 8
mov ecx, ebx
shr ecx, 0x10
mov edx, ebx
shr edx, 0x18
mov byte [esp + 0x35], al
mov eax, dword [esp + 0x28]
mov byte [esp + 0x36], cl
mov byte [esp + 0x37], dl
mov ecx, eax
mov edx, eax
mov byte [esp + 0x38], al
shr ecx, 8
shr edx, 0x10
shr eax, 0x18
add esp, 8
add dword [esp + 0x10], 1
mov byte [esp + 0x2c], bl
mov byte [esp + 0x31], cl
mov byte [esp + 0x32], dl
mov byte [esp + 0x33], al
mov cl, byte [esp + esi + 0x2c]
mov eax, dword [esp + 0x3c]
xor cl, byte [eax]
add esi, 1
mov byte [ebp], cl
add eax, 1
add ebp, 1
and esi, 7
cmp dword [esp + 0x18], 0
mov dword [esp + 0x3c], eax
jne 0x10035637
cmp dword [esp + 0x10], 0
je 0x10035726
mov eax, dword [esp + 0x28]
mov byte [edi], bl
mov edx, ebx
shr edx, 8
mov byte [eax], dl
add eax, 1
mov ecx, ebx
shr ecx, 0x10
mov byte [eax], cl
mov ecx, dword [esp + 0x20]
add eax, 1
shr ebx, 0x18
mov byte [eax], bl
mov byte [eax + 1], cl
add eax, 1
add eax, 1
mov edx, ecx
shr edx, 8
mov byte [eax], dl
add eax, 1
mov edx, ecx
shr edx, 0x10
mov byte [eax], dl
shr ecx, 0x18
mov byte [eax + 1], cl
mov eax, dword [esp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.1007a730
add esp, 0x28
ret
mov ecx, dword [esp + 0x14]
pop edi
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.1007a730
add esp, 0x28
ret
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
pop edi
mov dword [edx], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1007a730
add esp, 0x28
ret
Function at 0x10035760
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 8]
cmp eax, 0x80
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov byte [edi], 0
jle 0x1003577a
mov eax, 0x80
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jle 0x1003578a
cmp ecx, 0x400
jle 0x1003578f
mov ecx, 0x400
test eax, eax
jle 0x100357ae
mov esi, dword [esp + 0x18]
push ebp
mov edx, edi
sub esi, edi
mov ebp, eax
mov edi, edi
mov bl, byte [esi + edx]
mov byte [edx], bl
add edx, 1
sub ebp, 1
jne 0x100357a0
pop ebp
cmp eax, 0x80
movzx edx, byte [edi + eax - 1]
jge 0x100357e0
mov esi, edi
sub esi, eax
mov edi, edi
movzx ebx, byte [esi + eax]
add ebx, edx
and ebx, 0xff
movzx edx, byte [ebx + 0x100d7878]
mov byte [eax + edi], dl
add eax, 1
cmp eax, 0x80
jl 0x100357c0
lea edx, [ecx + 7]
neg ecx
sar edx, 3
mov eax, 0x80
and ecx, 7
sub eax, edx
lea esi, [eax + edi]
mov ebx, 0xff
sar ebx, cl
movzx ecx, byte [esi]
and ebx, ecx
test eax, eax
movzx ecx, byte [ebx + 0x100d7878]
mov byte [esi], cl
je 0x1003582a
mov edi, edi
movzx ebx, byte [esi + edx - 1]
sub esi, 1
xor ebx, ecx
movzx ecx, byte [ebx + 0x100d7878]
sub eax, 1
test eax, eax
mov byte [esi], cl
jne 0x10035810
lea ecx, [edi + 0xfc]
lea eax, [edi + 0x7e]
mov esi, 0x40
xor edx, edx
mov dh, byte [eax + 1]
sub ecx, 4
sub eax, 2
mov dl, byte [eax + 2]
and edx, 0xffff
sub esi, 1
mov dword [ecx + 4], edx
jne 0x10035838
pop edi
pop esi
pop ebx
ret
Function at 0x1003a0a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.1008ba80
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
xor edx, edx
push ebp
push esi
mov esi, dword [eax]
push edi
mov edi, dword [esp + 0x4c]
mov dh, byte [edi + 1]
lea eax, [edi + 1]
mov dword [esp + 0x28], eax
add eax, 1
mov dword [esp + 0x18], ecx
movzx ecx, byte [edi]
or ecx, edx
movzx edx, byte [eax]
add eax, 1
shl edx, 0x10
or ecx, edx
movzx edx, byte [eax]
add eax, 1
shl edx, 0x18
or ecx, edx
movzx edx, byte [eax]
add eax, 1
xor ebx, ebx
mov bh, byte [eax]
add eax, 1
mov ebp, dword [esp + 0x40]
mov byte [esp + 0x2c], cl
mov dword [esp + 0x10], 0
or edx, ebx
xor ebx, ebx
mov bh, byte [eax + 1]
mov bl, byte [eax]
mov eax, ecx
shr eax, 8
mov byte [esp + 0x2d], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x2e], al
shl ebx, 0x10
or edx, ebx
mov ebx, ecx
shr ecx, 0x18
mov byte [esp + 0x2f], cl
mov ecx, edx
mov eax, edx
mov dword [esp + 0x20], edx
mov byte [esp + 0x30], dl
shr ecx, 8
shr eax, 0x10
shr edx, 0x18
cmp dword [esp + 0x44], 0
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x31], cl
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
je 0x1003a281
sub dword [esp + 0x18], 1
test esi, esi
jne 0x1003a1dd
mov ecx, dword [esp + 0x24]
push 1
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.10037910
mov ebx, dword [esp + 0x28]
mov eax, ebx
shr eax, 8
mov ecx, ebx
shr ecx, 0x10
mov edx, ebx
shr edx, 0x18
mov byte [esp + 0x39], al
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x3a], cl
mov byte [esp + 0x3b], dl
mov ecx, eax
mov edx, eax
mov byte [esp + 0x3c], al
shr ecx, 8
shr edx, 0x10
shr eax, 0x18
add esp, 0xc
add dword [esp + 0x10], 1
mov byte [esp + 0x2c], bl
mov byte [esp + 0x31], cl
mov byte [esp + 0x32], dl
mov byte [esp + 0x33], al
mov cl, byte [esp + esi + 0x2c]
mov eax, dword [esp + 0x3c]
xor cl, byte [eax]
add esi, 1
mov byte [ebp], cl
add eax, 1
add ebp, 1
and esi, 7
cmp dword [esp + 0x18], 0
mov dword [esp + 0x3c], eax
jne 0x1003a177
cmp dword [esp + 0x10], 0
je 0x1003a268
mov eax, dword [esp + 0x28]
mov byte [edi], bl
mov edx, ebx
shr edx, 8
mov byte [eax], dl
add eax, 1
mov ecx, ebx
shr ecx, 0x10
mov byte [eax], cl
mov ecx, dword [esp + 0x20]
add eax, 1
shr ebx, 0x18
mov byte [eax], bl
mov byte [eax + 1], cl
add eax, 1
add eax, 1
mov edx, ecx
shr edx, 8
mov byte [eax], dl
add eax, 1
mov edx, ecx
shr edx, 0x10
mov byte [eax], dl
shr ecx, 0x18
mov byte [eax + 1], cl
mov eax, dword [esp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.1007a730
add esp, 0x28
ret
mov ecx, dword [esp + 0x14]
pop edi
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.1007a730
add esp, 0x28
ret
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
pop edi
mov dword [edx], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1007a730
add esp, 0x28
ret
Function at 0x1004b220
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x28
call fcn.1008ba80
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
mov ebp, dword [esp + 0x38]
add ebp, 0xffffffff
lea edx, [ebp - 0x29]
cmp ebx, edx
push edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
jle 0x1004b287
push 0x2d
push str..crypto_rsa_rsa_oaep.c
push 0x6e
push 0x79
push 4
call fcn.100129f0
add esp, 0x14
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.1007a730
add esp, 0x28
ret
cmp ebp, 0x29
jge 0x1004b2b5
push 0x33
push str..crypto_rsa_rsa_oaep.c
push 0x78
push 0x79
push 4
call fcn.100129f0
add esp, 0x14
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.1007a730
add esp, 0x28
ret
push 0x37
lea eax, [ebp - 0x14]
push str..crypto_rsa_rsa_oaep.c
push eax
mov dword [esp + 0x18], eax
call fcn.10014f10
add esp, 0xc
test eax, eax
mov dword [esp + 0x10], eax
jne 0x1004b2fd
push 0x3a
push str..crypto_rsa_rsa_oaep.c
push 0x41
push 0x79
push 4
call fcn.100129f0
add esp, 0x14
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.1007a730
add esp, 0x28
ret
push esi
mov byte [edi], 0
lea esi, [edi + 1]
push 0
add edi, 0x15
call fcn.100194a0
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x58]
push 0
push edi
push eax
push ecx
call fcn.1001ee50
mov edx, ebp
sub edx, ebx
sub edx, 0x29
push edx
lea eax, [edi + 0x14]
push 0
push eax
call fcn.10081610
mov edx, dword [esp + 0x3c]
mov ecx, edi
sub ecx, ebx
add ebp, ecx
push ebx
mov byte [ebp - 0x15], 1
push edx
add ebp, 0xffffffec
push ebp
call fcn.10086400
push 0x14
push esi
call fcn.10019320
add esp, 0x38
test eax, eax
jg 0x1004b371
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.1007a730
add esp, 0x28
ret
call fcn.100194a0
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
push eax
push 0x14
push esi
push ebx
push ebp
call fcn.1004b0e0
add esp, 0x14
test ebx, ebx
jle 0x1004b3a3
mov eax, edi
sub ebp, edi
mov ecx, ebx
mov dl, byte [eax + ebp]
xor byte [eax], dl
add eax, 1
sub ecx, 1
jne 0x1004b396
call fcn.100194a0
push eax
push ebx
push edi
lea eax, [esp + 0x2c]
push 0x14
push eax
call fcn.1004b0e0
lea ecx, [esp + 0x34]
lea edi, [esp + 0x35]
lea ebp, [esp + 0x36]
lea edx, [esp + 0x37]
sub ecx, esi
sub edi, esi
sub ebp, esi
sub edx, esi
lea ebx, [esp + 0x38]
add esp, 0x14
sub ebx, esi
mov eax, esi
mov dword [esp + 0x10], ebx
mov esi, 4
movzx ebx, byte [ecx + eax]
xor byte [eax], bl
movzx ebx, byte [edi + eax]
xor byte [eax + 1], bl
movzx ebx, byte [eax + ebp]
xor byte [eax + 2], bl
movzx ebx, byte [edx + eax]
xor byte [eax + 3], bl
mov ebx, dword [esp + 0x10]
movzx ebx, byte [ebx + eax]
xor byte [eax + 4], bl
add eax, 5
sub esi, 1
jne 0x1004b3e3
mov ecx, dword [esp + 0x14]
push ecx
call fcn.100150c0
mov ecx, dword [esp + 0x38]
add esp, 4
lea eax, [esi + 1]
pop esi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.1007a730
add esp, 0x28
ret
Function at 0x1004baa0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x1004bb70
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x1004bac1
cmp al, 0x6b
jne 0x1004bb70
cmp al, 0x6b
lea edx, [ecx + 1]
jne 0x1004bb31
add esi, 0xfffffffd
xor ecx, ecx
test esi, esi
jle 0x1004bae5
mov al, byte [edx]
add edx, 1
cmp al, 0xba
je 0x1004bae5
cmp al, 0xbb
jne 0x1004bb0e
add ecx, 1
cmp ecx, esi
jl 0x1004bad1
sub esi, ecx
test ecx, ecx
jne 0x1004bb34
push 0x8a
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.100129f0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push 0x81
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.100129f0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + edx], 0xcc
je 0x1004bb5d
push 0x93
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.100129f0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
mov eax, dword [esp + 8]
push esi
push edx
push eax
call fcn.10086400
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x72
push str..crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.100129f0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
Function at 0x10057ef0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
mov ebx, dword [esp + 0x10]
cmp ecx, dword [ebx + 4]
push esi
push edi
jge 0x10057f09
mov edi, ebx
mov ebx, eax
jmp 0x10057f0b
mov edi, eax
mov eax, dword [edi + 4]
mov esi, dword [esp + 0x10]
cmp eax, dword [esi + 8]
jle 0x10057f21
push eax
push esi
call fcn.1001da90
add esp, 8
xor eax, eax
cmp dword [ebx + 4], eax
jle 0x10057f3f
mov edx, dword [edi]
mov ecx, dword [ebx]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [esi]
mov dword [ecx + eax*4], edx
add eax, 1
cmp eax, dword [ebx + 4]
jl 0x10057f28
cmp eax, dword [edi + 4]
jge 0x10057f56
mov edx, dword [edi]
mov edx, dword [edx + eax*4]
mov ecx, dword [esi]
mov dword [ecx + eax*4], edx
add eax, 1
cmp eax, dword [edi + 4]
jl 0x10057f44
mov edi, dword [edi + 4]
test edi, edi
mov dword [esi + 4], edi
jle 0x10057f81
mov eax, dword [esi]
lea eax, [eax + edi*4 - 4]
or ecx, 0xffffffff
lea esp, [esp]
mov edx, dword [eax]
sub eax, 4
test edx, edx
jne 0x10057f81
add dword [esi + 4], ecx
cmp dword [esi + 4], edx
jg 0x10057f70
pop edi
pop esi
mov eax, 1
pop ebx
ret

Function at 0x1005d030
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
push esi
test ecx, ecx
je 0x1005d0ad
mov esi, dword [ebp + 8]
test esi, esi
je 0x1005d0ad
xor eax, eax
lea ebx, [ebx]
mov byte [eax + esi], al
inc eax
cmp eax, 0x100
jl 0x1005d050
push ebx
push edi
mov dword [ebp - 4], 0
xor edi, edi
mov eax, edi
mov bl, byte [edi + esi]
cdq
idiv dword [ebp - 8]
movzx eax, byte [edx + ecx]
add eax, dword [ebp - 4]
movzx ecx, bl
add ecx, eax
and ecx, 0x800000ff
jns 0x1005d08b
dec ecx
or ecx, 0xffffff00
inc ecx
mov al, byte [ecx + esi]
mov byte [edi + esi], al
inc edi
mov dword [ebp - 4], ecx
mov byte [ecx + esi], bl
mov ecx, dword [ebp - 0xc]
cmp edi, 0x100
jl 0x1005d066
pop edi
pop ebx
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1005d0c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov dword [ebp - 0x10c], edx
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x114], edx
push esi
mov esi, dword [ebp + 0x10]
test eax, eax
je 0x1005d1e1
test ecx, ecx
je 0x1005d1e1
test esi, esi
je 0x1005d1e1
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push eax
call fcn.1005d030
add esp, 4
test eax, eax
je 0x1005d1e1
mov eax, dword [ebp - 0x10c]
push ebx
push edi
xor edi, edi
xor ebx, ebx
test eax, eax
jle 0x1005d1c5
sub dword [ebp - 0x108], esi
mov dword [ebp - 0x110], eax
inc edi
and edi, 0x800000ff
jns 0x1005d154
dec edi
or edi, 0xffffff00
inc edi
mov dl, byte [ebp + edi - 0x104]
movzx eax, dl
add ebx, eax
and ebx, 0x800000ff
jns 0x1005d170
dec ebx
or ebx, 0xffffff00
inc ebx
movzx eax, byte [ebp + ebx - 0x104]
mov byte [ebp + edi - 0x104], al
mov byte [ebp + ebx - 0x104], dl
movzx ecx, byte [ebp + edi - 0x104]
movzx eax, dl
add ecx, eax
and ecx, 0x800000ff
jns 0x1005d1a3
dec ecx
or ecx, 0xffffff00
inc ecx
movzx eax, byte [ebp + ecx - 0x104]
mov ecx, dword [ebp - 0x108]
xor al, byte [ecx + esi]
mov byte [esi], al
inc esi
dec dword [ebp - 0x110]
jne 0x1005d143
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x114]
pop edi
pop ebx
pop esi
mov dword [ecx], eax
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007a730
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.1007a730
mov esp, ebp
pop ebp
ret