Function at 0x10026640
Capabilities:
Encrypt data using openssl rsa

Disassembly:
sub esp, 0x14
push ebx
push ebp
xor ebp, ebp
push esi
push edi
mov edi, dword [esp + 0x28]
cmp edi, ebp
mov esi, 0x2711
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], ebp
je 0x100268cb
mov eax, dword [esp + 0x2c]
cmp eax, ebp
je 0x100268cb
mov ebx, dword [esp + 0x30]
cmp ebx, ebp
je 0x100268cb
cmp dword [eax], ebp
je 0x100268cb
mov ecx, dword [esp + 0x34]
push ecx
push ebx
push eax
push edi
call fcn.100263a0
add esp, 0x10
cmp eax, ebp
jne 0x100266ac
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret
mov eax, dword [edi]
cmp eax, ebp
jne 0x100266cb
lea edx, [esp + 0x14]
push edx
call fcn.10025e10
mov esi, eax
add esp, 4
cmp esi, ebp
jne 0x100268ba
jmp 0x100266cf
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
mov edx, dword [esi]
mov edi, dword [eax + 4]
lea ecx, [esp + 0x1c]
push ecx
push ebx
push edx
push edi
mov dword [esp + 0x2c], ebp
call fcn.10031040
add esp, 0x10
test eax, eax
jne 0x10026831
push ebp
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
push 1
push 0x30
push edi
call fcn.1001fe20
mov esi, eax
add esp, 0x18
cmp esi, ebp
jne 0x100268ba
mov edx, dword [esp + 0x10]
mov eax, 9
cmp dword [edx + 0x10], eax
jne 0x100268b5
mov edx, dword [edx + 0xc]
mov ecx, 0x10049328
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x1002674c
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x10026734
cmp eax, ebp
je 0x100267a9
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x1002679b
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, ebp
je 0x100267a9
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x1002679b
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, ebp
je 0x100267a9
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x1002679b
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, ebp
je 0x100267a9
movzx esi, byte [edx]
movzx edx, byte [ecx]
sub esi, edx
je 0x100267a9
cmp esi, ebp
mov eax, 1
jg 0x100267ab
or eax, 0xffffffff
jmp 0x100267ab
xor eax, eax
cmp eax, ebp
jne 0x100268b5
push ebp
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
push 3
push 0x30
push edi
call fcn.1001fe20
mov esi, eax
add esp, 0x18
cmp esi, ebp
jne 0x100268ba
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x10]
lea edx, [esp + 0x20]
push edx
mov edx, dword [eax + 0xc]
sub ecx, 1
push ecx
add edx, 1
push edx
push edi
call fcn.10030e00
mov esi, eax
add esp, 0x10
cmp esi, ebp
jne 0x100268ba
push ebp
push edi
call fcn.10020250
add esp, 8
test eax, eax
jne 0x100268a1
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
add dword [eax], ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
xor esi, esi
pop edi
mov dword [ecx], eax
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov eax, dword [esi]
lea edx, [esp + 0x20]
push edx
push ebx
push eax
push edi
call fcn.10030e00
mov esi, eax
add esp, 0x10
cmp esi, ebp
jne 0x100268ba
push 4
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
push 0x10
push 0x10
push edi
call fcn.1001fe20
mov esi, eax
add esp, 0x18
cmp esi, ebp
jne 0x100268ba
push 4
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0x11
push 0x10
push edi
call fcn.1001fe20
mov esi, eax
add esp, 0x18
cmp esi, ebp
jne 0x100268ba
push ebp
push edi
call fcn.10020250
add esp, 8
test eax, eax
jne 0x100268a1
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
add dword [eax], edx
xor esi, esi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
pop edi
mov dword [ecx], eax
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov esi, 0x2711
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x100268cb
push eax
call fcn.10025e80
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret