Function at 0x5a1680
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x290
mov esi, dword [ebp + 8]
mov eax, dword [0x754040]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor edi, edi
dec edi
lea ebx, [ebp - 0x28]
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x10], edi
pcmpeqd xmm0, xmm0
movdqu xmmword [ebx], xmm0
push ebx
call fcn.0050f5c0
add esp, 4
mov eax, dword [ebp + 0x10]
add eax, 0x400
push eax
push ebx
call fcn.0050f5e0
add esp, 8
test eax, eax
je 0x5a177f
mov eax, dword [ebp + 0xc]
lea ebx, [ebp - 0x30]
mov dword [ebx], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 4], eax
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edi
pcmpeqd xmm0, xmm0
movdqu xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x60], edi
movdqu xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x78], edi
movdqu xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x90], edi
movdqu xmmword [ebp - 0xa0], xmm0
push 0x20000010
push ebx
push ebx
call fcn.0050f380
add esp, 0xc
test eax, eax
je 0x5a1752
lea esi, [ebp - 0x58]
push 0x20000010
push esi
lea eax, [ebp - 0x28]
push eax
call fcn.0050f8c0
add esp, 0xc
test eax, eax
jne 0x5a1788
xor eax, eax
mov esi, dword [ebp + 8]
mov byte [esi], al
mov byte [esi + 0xc], al
lea ebx, [ebp - 0x28]
push ebx
call fcn.0050f640
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00550b46
mov eax, esi
add esp, 0x290
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov byte [esi], al
mov byte [esi + 0xc], al
jmp 0x5a175f
push ebx
push esi
call fcn.005a12d0
add esp, 8
test al, al
je 0x5a1752
lea eax, [ebp - 0x38]
push 0xa0000000
push eax
push ebx
call fcn.0050f380
add esp, 0xc
test eax, eax
je 0x5a1752
lea ebx, [ebp - 0x70]
push 0xa0000000
push ebx
push esi
call fcn.0050f8c0
add esp, 0xc
test eax, eax
je 0x5a1752
push 0x20000010
lea eax, [ebp - 0x38]
push eax
push eax
call fcn.0050f380
add esp, 0xc
test eax, eax
je 0x5a1752
lea esi, [ebp - 0x88]
push 0x20000010
push esi
push ebx
call fcn.0050f8c0
add esp, 0xc
test eax, eax
je 0x5a1752
lea eax, [ebp - 0x38]
push eax
push esi
call fcn.005a12d0
add esp, 8
test al, al
je 0x5a1752
lea eax, [ebp - 0x38]
push eax
push esi
call fcn.005a12d0
add esp, 8
test al, al
je 0x5a1752
lea eax, [ebp - 0x38]
push eax
push esi
call fcn.005a12d0
add esp, 8
test al, al
je 0x5a1752
lea eax, [ebp - 0x40]
push 0xa0000000
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0050f380
add esp, 0xc
test eax, eax
je 0x5a1752
lea eax, [ebp - 0xa0]
push 0xa0000000
push eax
push esi
call fcn.0050f8c0
add esp, 0xc
test eax, eax
je 0x5a1752
mov dword [ebp - 0xa8], edi
mov esi, edi
mov dword [ebp - 0xa4], edi
mov edi, dword [ebp - 0x3c]
test edi, edi
je 0x5a18c8
lea ebx, [ebp - 0xa8]
push 0x20000010
push ebx
lea eax, [ebp - 0x40]
push eax
call fcn.005e8250
add esp, 0xc
test eax, eax
je 0x5a18c8
cmp dword [ebp - 0x3c], 0
je 0x5a18da
push dword [ebp - 0xa4]
push dword [ebp - 0xa8]
lea eax, [ebp - 0xa0]
push eax
call fcn.0050fb20
add esp, 0xc
test eax, eax
jne 0x5a188d
xor eax, eax
mov ecx, dword [ebp + 8]
mov byte [ecx], al
mov byte [ecx + 0xc], al
mov esi, dword [ebp + 8]
jmp 0x5a175c
test edi, edi
je 0x5a18c8
pcmpeqd xmm0, xmm0
lea ebx, [ebp - 0xb8]
movdqu xmmword [ebx], xmm0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.005a1330
add esp, 0xc
cmp byte [ebx + 0xc], 0
jne 0x5a1920
push dword [ebp - 0xa4]
push dword [ebp - 0xa8]
lea eax, [ebp - 0xa0]
push eax
call fcn.0050fb20
add esp, 0xc
test eax, eax
je 0x5a18c8
lea ecx, [ebp - 0xd0]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], esi
pcmpeqd xmm0, xmm0
movdqu xmmword [ecx], xmm0
mov dword [ebp - 0xd4], esi
mov dword [ebp - 0xd8], esi
movdqu xmmword [ebp - 0xe8], xmm0
mov dword [ebp - 0xec], esi
mov dword [ebp - 0xf0], esi
movdqu xmmword [ebp - 0x100], xmm0
mov dword [ebp - 0x104], esi
mov dword [ebp - 0x108], esi
movdqu xmmword [ebp - 0x118], xmm0
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x120], esi
movdqu xmmword [ebp - 0x130], xmm0
mov dword [ebp - 0x134], esi
mov dword [ebp - 0x138], esi
movdqu xmmword [ebp - 0x148], xmm0
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x150], esi
movdqu xmmword [ebp - 0x160], xmm0
mov dword [ebp - 0x164], esi
mov dword [ebp - 0x168], esi
movdqu xmmword [ebp - 0x178], xmm0
mov dword [ebp - 0x17c], esi
mov dword [ebp - 0x180], esi
movdqu xmmword [ebp - 0x190], xmm0
mov dword [ebp - 0x194], esi
mov dword [ebp - 0x198], esi
movdqu xmmword [ebp - 0x1a8], xmm0
mov dword [ebp - 0x1ac], esi
mov dword [ebp - 0x1b0], esi
movdqu xmmword [ebp - 0x1c0], xmm0
mov dword [ebp - 0x1c4], esi
mov dword [ebp - 0x1c8], esi
movdqu xmmword [ebp - 0x1d8], xmm0
mov dword [ebp - 0x1dc], esi
mov dword [ebp - 0x1e0], esi
movdqu xmmword [ebp - 0x1f0], xmm0
mov dword [ebp - 0x1f4], esi
mov dword [ebp - 0x1f8], esi
movdqu xmmword [ebp - 0x208], xmm0
mov dword [ebp - 0x20c], esi
mov dword [ebp - 0x210], esi
movdqu xmmword [ebp - 0x220], xmm0
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x228], esi
movdqu xmmword [ebp - 0x238], xmm0
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x240], esi
movdqu xmmword [ebp - 0x250], xmm0
mov dword [ebp - 0x254], esi
mov dword [ebp - 0x258], esi
movdqu xmmword [ebp - 0x268], xmm0
mov dword [ebp - 0x26c], esi
mov dword [ebp - 0x270], esi
movdqu xmmword [ebp - 0x280], xmm0
xor eax, eax
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x288], eax
push 0x20000010
push ecx
lea eax, [ebp - 0xa0]
push eax
call fcn.0050f8c0
add esp, 0xc
test eax, eax
je 0x5a18c8
lea edi, [ebp - 0xe8]
push 0x20000010
push edi
lea eax, [ebp - 0xd0]
push eax
call fcn.0050f8c0
add esp, 0xc
test eax, eax
je 0x5a18c8
lea ebx, [ebp - 0x100]
push 0xa0000000
push ebx
push edi
call fcn.0050f8c0
add esp, 0xc
test eax, eax
je 0x5a18c8
push 0
push 2
push ebx
call fcn.005e8600
add esp, 0xc
test eax, eax
je 0x5a18c8
push 0
push 1
push edi
call fcn.005e8600
add esp, 0xc
test eax, eax
je 0x5a18c8
lea eax, [ebp - 0x130]
push 0x20000010
mov ebx, eax
push eax
push edi
call fcn.0050f8c0
add esp, 0xc
test eax, eax
je 0x5a18c8
lea eax, [ebp - 0x148]
push 6
push eax
push ebx
call fcn.0050f8c0
add esp, 0xc
test eax, eax
je 0x5a18c8
push 9
push 0x6d8580
lea eax, [ebp - 0x148]
push eax
call fcn.0050fb20
add esp, 0xc
test eax, eax
je 0x5a18c8
lea eax, [ebp - 0x268]
push 5
push eax
push ebx
call fcn.0050f8c0
add esp, 0xc
test eax, eax
je 0x5a18c8
push str.Dummy_issuer
push edi
call fcn.005a11b0
add esp, 8
test al, al
je 0x5a18c8
lea esi, [ebp - 0x160]
push 0x20000010
push esi
push edi
call fcn.0050f8c0
add esp, 0xc
test eax, eax
je 0x5a18c8
lea eax, [ebp - 0x178]
push 0x17
push eax
push esi
call fcn.0050f8c0
add esp, 0xc
test eax, eax
je 0x5a18c8
push 0xd
push str.130101100000Z
lea eax, [ebp - 0x178]
push eax
call fcn.0050fb20
add esp, 0xc
test eax, eax
je 0x5a18c8
lea eax, [ebp - 0x190]
push 0x17
push eax
push esi
call fcn.0050f8c0
add esp, 0xc
test eax, eax
je 0x5a18c8
push 0xd
push str.130401100000Z
lea eax, [ebp - 0x190]
push eax
call fcn.0050fb20
add esp, 0xc
test eax, eax
je 0x5a18c8
push str.Dummy_certificate
push edi
call fcn.005a11b0
add esp, 8
test al, al
je 0x5a18c8
lea eax, [ebp - 0x118]
push 0x20000010
push eax
push edi
call fcn.0050f8c0
add esp, 0xc
test eax, eax
je 0x5a18c8
lea eax, [ebp - 0x1a8]
push 0x20000010
mov esi, eax
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.0050f8c0
add esp, 0xc
test eax, eax
je 0x5a18c8
lea eax, [ebp - 0x250]
push 6
push eax
push esi
call fcn.0050f8c0
add esp, 0xc
test eax, eax
je 0x5a18c8
push 7
push 0x6d8589
lea eax, [ebp - 0x250]
push eax
call fcn.0050fb20
add esp, 0xc
test eax, eax
je 0x5a18c8
push 6
lea eax, [ebp - 0x250]
push eax
push esi
call fcn.0050f8c0
add esp, 0xc
test eax, eax
je 0x5a18c8
push 8
push 0x6d8590
lea eax, [ebp - 0x250]
push eax
call fcn.0050fb20
add esp, 0xc
test eax, eax
je 0x5a18c8
lea esi, [ebp - 0x1c0]
push 3
push esi
lea eax, [ebp - 0x118]
push eax
call fcn.0050f8c0
add esp, 0xc
test eax, eax
je 0x5a18c8
push 1
push 0x6ce375
push esi
call fcn.0050fb20
add esp, 0xc
test eax, eax
je 0x5a18c8
push 0x41
push 0x6d85a1
push esi
call fcn.0050fb20
add esp, 0xc
test eax, eax
je 0x5a18c8
lea esi, [ebp - 0x1d8]
push 0xa0000003
push esi
push edi
call fcn.0050f8c0
add esp, 0xc
test eax, eax
je 0x5a18c8
lea edi, [ebp - 0x1f0]
push 0x20000010
push edi
push esi
call fcn.0050f8c0
add esp, 0xc
test eax, eax
je 0x5a18c8
lea esi, [ebp - 0x208]
push 0x20000010
push esi
push edi
call fcn.0050f8c0
add esp, 0xc
test eax, eax
je 0x5a18c8
push 6
lea eax, [ebp - 0x250]
push eax
push esi
call fcn.0050f8c0
add esp, 0xc
test eax, eax
je 0x5a18c8
push 0xb
push 0x6d8575
lea eax, [ebp - 0x250]
push eax
call fcn.0050fb20
add esp, 0xc
test eax, eax
je 0x5a18c8
lea edi, [ebp - 0x220]
push 1
push edi
push esi
call fcn.0050f8c0
add esp, 0xc
test eax, eax
je 0x5a18c8
push 1
push 0x6ce375
push edi
call fcn.0050fb20
add esp, 0xc
test eax, eax
je 0x5a18c8
lea edi, [ebp - 0x238]
push 4
push edi
push esi
call fcn.0050f8c0
add esp, 0xc
test eax, eax
je 0x5a18c8
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push edi
call fcn.0050fb20
add esp, 0xc
test eax, eax
je 0x5a18c8
push 0x20000010
push ebx
lea eax, [ebp - 0xd0]
push eax
call fcn.0050f8c0
add esp, 0xc
test eax, eax
je 0x5a18c8
push 6
lea eax, [ebp - 0x148]
push eax
push ebx
call fcn.0050f8c0
add esp, 0xc
test eax, eax
je 0x5a18c8
push 9
push 0x6d8598
lea eax, [ebp - 0x148]
push eax
call fcn.0050fb20
add esp, 0xc
test eax, eax
je 0x5a18c8
push 5
lea eax, [ebp - 0x268]
push eax
push ebx
call fcn.0050f8c0
add esp, 0xc
test eax, eax
je 0x5a18c8
lea edi, [ebp - 0x280]
push 3
push edi
lea eax, [ebp - 0xd0]
push eax
call fcn.0050f8c0
add esp, 0xc
test eax, eax
je 0x5a18c8
push 2
push 0x6d1950
push edi
call fcn.0050fb20
add esp, 0xc
test eax, eax
je 0x5a18c8
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.005a12d0
add esp, 8
test al, al
je 0x5a18c8
cmp dword [ebp - 0x34], 0
jne 0x5a18c8
lea eax, [ebp - 0x288]
lea ecx, [ebp - 0x284]
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
call fcn.0050f660
add esp, 0xc
test eax, eax
je 0x5a18c8
xor eax, eax
lea edi, [ebp - 0x294]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x288]
mov esi, eax
neg esi
and esi, 7
add eax, esi
mov ecx, edi
push eax
call fcn.004eece0
mov eax, dword [ebp - 0x284]
mov edx, dword [ebp - 0x288]
lea ebx, [eax + edx]
mov ecx, edi
push edx
push ebx
push eax
push dword [edi]
lea eax, [ebp - 0x298]
push eax
call fcn.004f22f0
lea eax, [ebp - 0x299]
mov byte [eax], 0
mov ecx, edi
push eax
push esi
push dword [edi + 4]
lea eax, [ebp - 0x298]
push eax
call fcn.004f20e0
push dword [ebp - 0x284]
call fcn.0050c560
add esp, 4
mov eax, dword [edi]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
mov eax, dword [edi + 8]
mov dword [ecx + 8], eax
mov byte [ecx + 0xc], 1
jmp 0x5a18d2