Function at 0x5925a0
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 [0x742040]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor edi, edi
dec edi
lea ebx, [ebp - 0x2c]
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x10], edi
pcmpeqd xmm0, xmm0
movdqu xmmword [ebx], xmm0
push ebx
call fcn.004fa550
add esp, 4
mov eax, dword [ebp + 0x10]
add eax, 0x400
push eax
push ebx
call fcn.004fa570
add esp, 8
test eax, eax
je 0x59269f
mov eax, dword [ebp + 0xc]
lea ebx, [ebp - 0x34]
mov dword [ebx], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 4], eax
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edi
pcmpeqd xmm0, xmm0
movdqu xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x64], edi
movdqu xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
movdqu xmmword [ebp - 0x8c], xmm0
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x94], edi
movdqu xmmword [ebp - 0xa4], xmm0
push 0x20000010
push ebx
push ebx
call fcn.004fa320
add esp, 0xc
test eax, eax
je 0x592672
lea esi, [ebp - 0x5c]
push 0x20000010
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.004fa850
add esp, 0xc
test eax, eax
jne 0x5926a8
xor eax, eax
mov esi, dword [ebp + 8]
mov byte [esi], al
mov byte [esi + 0xc], al
lea ebx, [ebp - 0x2c]
push ebx
call fcn.004fa5d0
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005412b6
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 0x59267f
push ebx
push esi
call fcn.005921f0
add esp, 8
test al, al
je 0x592672
lea eax, [ebp - 0x3c]
push 0xa0000000
push eax
push ebx
call fcn.004fa320
add esp, 0xc
test eax, eax
je 0x592672
lea ebx, [ebp - 0x74]
push 0xa0000000
push ebx
push esi
call fcn.004fa850
add esp, 0xc
test eax, eax
je 0x592672
push 0x20000010
lea eax, [ebp - 0x3c]
push eax
push eax
call fcn.004fa320
add esp, 0xc
test eax, eax
je 0x592672
lea esi, [ebp - 0x8c]
push 0x20000010
push esi
push ebx
call fcn.004fa850
add esp, 0xc
test eax, eax
je 0x592672
lea eax, [ebp - 0x3c]
push eax
push esi
call fcn.005921f0
add esp, 8
test al, al
je 0x592672
lea eax, [ebp - 0x3c]
push eax
push esi
call fcn.005921f0
add esp, 8
test al, al
je 0x592672
lea eax, [ebp - 0x3c]
push eax
push esi
call fcn.005921f0
add esp, 8
test al, al
je 0x592672
lea eax, [ebp - 0x44]
push 0xa0000000
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004fa320
add esp, 0xc
test eax, eax
je 0x592672
lea eax, [ebp - 0xa4]
push 0xa0000000
push eax
push esi
call fcn.004fa850
add esp, 0xc
test eax, eax
je 0x592672
mov dword [ebp - 0xac], edi
mov esi, edi
mov dword [ebp - 0xa8], edi
mov edi, dword [ebp - 0x40]
test edi, edi
je 0x5927e8
lea ebx, [ebp - 0xac]
push 0x20000010
push ebx
lea eax, [ebp - 0x44]
push eax
call fcn.005d7b30
add esp, 0xc
test eax, eax
je 0x5927e8
cmp dword [ebp - 0x40], 0
je 0x5927fa
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
lea eax, [ebp - 0xa4]
push eax
call fcn.004faab0
add esp, 0xc
test eax, eax
jne 0x5927ad
xor eax, eax
mov ecx, dword [ebp + 8]
mov byte [ecx], al
mov byte [ecx + 0xc], al
mov esi, dword [ebp + 8]
jmp 0x59267c
test edi, edi
je 0x5927e8
pcmpeqd xmm0, xmm0
lea ebx, [ebp - 0xbc]
movdqu xmmword [ebx], xmm0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00592250
add esp, 0xc
cmp byte [ebx + 0xc], 0
jne 0x592840
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
lea eax, [ebp - 0xa4]
push eax
call fcn.004faab0
add esp, 0xc
test eax, eax
je 0x5927e8
lea ecx, [ebp - 0xd4]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], esi
pcmpeqd xmm0, xmm0
movdqu xmmword [ecx], xmm0
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xdc], esi
movdqu xmmword [ebp - 0xec], xmm0
mov dword [ebp - 0xf0], esi
mov dword [ebp - 0xf4], esi
movdqu xmmword [ebp - 0x104], xmm0
mov dword [ebp - 0x108], esi
mov dword [ebp - 0x10c], esi
movdqu xmmword [ebp - 0x11c], xmm0
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x124], esi
movdqu xmmword [ebp - 0x134], xmm0
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x13c], esi
movdqu xmmword [ebp - 0x14c], xmm0
mov dword [ebp - 0x150], esi
mov dword [ebp - 0x154], esi
movdqu xmmword [ebp - 0x164], xmm0
mov dword [ebp - 0x168], esi
mov dword [ebp - 0x16c], esi
movdqu xmmword [ebp - 0x17c], xmm0
mov dword [ebp - 0x180], esi
mov dword [ebp - 0x184], esi
movdqu xmmword [ebp - 0x194], xmm0
mov dword [ebp - 0x198], esi
mov dword [ebp - 0x19c], esi
movdqu xmmword [ebp - 0x1ac], xmm0
mov dword [ebp - 0x1b0], esi
mov dword [ebp - 0x1b4], esi
movdqu xmmword [ebp - 0x1c4], xmm0
mov dword [ebp - 0x1c8], esi
mov dword [ebp - 0x1cc], esi
movdqu xmmword [ebp - 0x1dc], xmm0
mov dword [ebp - 0x1e0], esi
mov dword [ebp - 0x1e4], esi
movdqu xmmword [ebp - 0x1f4], xmm0
mov dword [ebp - 0x1f8], esi
mov dword [ebp - 0x1fc], esi
movdqu xmmword [ebp - 0x20c], xmm0
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x214], esi
movdqu xmmword [ebp - 0x224], xmm0
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x22c], esi
movdqu xmmword [ebp - 0x23c], xmm0
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x244], esi
movdqu xmmword [ebp - 0x254], xmm0
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x25c], esi
movdqu xmmword [ebp - 0x26c], xmm0
mov dword [ebp - 0x270], esi
mov dword [ebp - 0x274], esi
movdqu xmmword [ebp - 0x284], xmm0
xor eax, eax
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x28c], eax
push 0x20000010
push ecx
lea eax, [ebp - 0xa4]
push eax
call fcn.004fa850
add esp, 0xc
test eax, eax
je 0x5927e8
lea edi, [ebp - 0xec]
push 0x20000010
push edi
lea eax, [ebp - 0xd4]
push eax
call fcn.004fa850
add esp, 0xc
test eax, eax
je 0x5927e8
lea ebx, [ebp - 0x104]
push 0xa0000000
push ebx
push edi
call fcn.004fa850
add esp, 0xc
test eax, eax
je 0x5927e8
push 0
push 2
push ebx
call fcn.005d7ee0
add esp, 0xc
test eax, eax
je 0x5927e8
push 0
push 1
push edi
call fcn.005d7ee0
add esp, 0xc
test eax, eax
je 0x5927e8
lea eax, [ebp - 0x134]
push 0x20000010
mov ebx, eax
push eax
push edi
call fcn.004fa850
add esp, 0xc
test eax, eax
je 0x5927e8
lea eax, [ebp - 0x14c]
push 6
push eax
push ebx
call fcn.004fa850
add esp, 0xc
test eax, eax
je 0x5927e8
push 9
push 0x6c9290
lea eax, [ebp - 0x14c]
push eax
call fcn.004faab0
add esp, 0xc
test eax, eax
je 0x5927e8
lea eax, [ebp - 0x26c]
push 5
push eax
push ebx
call fcn.004fa850
add esp, 0xc
test eax, eax
je 0x5927e8
push str.Dummy_issuer
push edi
call fcn.005920d0
add esp, 8
test al, al
je 0x5927e8
lea esi, [ebp - 0x164]
push 0x20000010
push esi
push edi
call fcn.004fa850
add esp, 0xc
test eax, eax
je 0x5927e8
lea eax, [ebp - 0x17c]
push 0x17
push eax
push esi
call fcn.004fa850
add esp, 0xc
test eax, eax
je 0x5927e8
push 0xd
push str.130101100000Z
lea eax, [ebp - 0x17c]
push eax
call fcn.004faab0
add esp, 0xc
test eax, eax
je 0x5927e8
lea eax, [ebp - 0x194]
push 0x17
push eax
push esi
call fcn.004fa850
add esp, 0xc
test eax, eax
je 0x5927e8
push 0xd
push str.130401100000Z
lea eax, [ebp - 0x194]
push eax
call fcn.004faab0
add esp, 0xc
test eax, eax
je 0x5927e8
push str.Dummy_certificate
push edi
call fcn.005920d0
add esp, 8
test al, al
je 0x5927e8
lea eax, [ebp - 0x11c]
push 0x20000010
push eax
push edi
call fcn.004fa850
add esp, 0xc
test eax, eax
je 0x5927e8
lea eax, [ebp - 0x1ac]
push 0x20000010
mov esi, eax
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.004fa850
add esp, 0xc
test eax, eax
je 0x5927e8
lea eax, [ebp - 0x254]
push 6
push eax
push esi
call fcn.004fa850
add esp, 0xc
test eax, eax
je 0x5927e8
push 7
push 0x6c9299
lea eax, [ebp - 0x254]
push eax
call fcn.004faab0
add esp, 0xc
test eax, eax
je 0x5927e8
push 6
lea eax, [ebp - 0x254]
push eax
push esi
call fcn.004fa850
add esp, 0xc
test eax, eax
je 0x5927e8
push 8
push 0x6c92a0
lea eax, [ebp - 0x254]
push eax
call fcn.004faab0
add esp, 0xc
test eax, eax
je 0x5927e8
lea esi, [ebp - 0x1c4]
push 3
push esi
lea eax, [ebp - 0x11c]
push eax
call fcn.004fa850
add esp, 0xc
test eax, eax
je 0x5927e8
push 1
push 0x6bd682
push esi
call fcn.004faab0
add esp, 0xc
test eax, eax
je 0x5927e8
push 0x41
push 0x6c92b1
push esi
call fcn.004faab0
add esp, 0xc
test eax, eax
je 0x5927e8
lea esi, [ebp - 0x1dc]
push 0xa0000003
push esi
push edi
call fcn.004fa850
add esp, 0xc
test eax, eax
je 0x5927e8
lea edi, [ebp - 0x1f4]
push 0x20000010
push edi
push esi
call fcn.004fa850
add esp, 0xc
test eax, eax
je 0x5927e8
lea esi, [ebp - 0x20c]
push 0x20000010
push esi
push edi
call fcn.004fa850
add esp, 0xc
test eax, eax
je 0x5927e8
push 6
lea eax, [ebp - 0x254]
push eax
push esi
call fcn.004fa850
add esp, 0xc
test eax, eax
je 0x5927e8
push 0xb
push 0x6c9285
lea eax, [ebp - 0x254]
push eax
call fcn.004faab0
add esp, 0xc
test eax, eax
je 0x5927e8
lea edi, [ebp - 0x224]
push 1
push edi
push esi
call fcn.004fa850
add esp, 0xc
test eax, eax
je 0x5927e8
push 1
push 0x6bd682
push edi
call fcn.004faab0
add esp, 0xc
test eax, eax
je 0x5927e8
lea edi, [ebp - 0x23c]
push 4
push edi
push esi
call fcn.004fa850
add esp, 0xc
test eax, eax
je 0x5927e8
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push edi
call fcn.004faab0
add esp, 0xc
test eax, eax
je 0x5927e8
push 0x20000010
push ebx
lea eax, [ebp - 0xd4]
push eax
call fcn.004fa850
add esp, 0xc
test eax, eax
je 0x5927e8
push 6
lea eax, [ebp - 0x14c]
push eax
push ebx
call fcn.004fa850
add esp, 0xc
test eax, eax
je 0x5927e8
push 9
push 0x6c92a8
lea eax, [ebp - 0x14c]
push eax
call fcn.004faab0
add esp, 0xc
test eax, eax
je 0x5927e8
push 5
lea eax, [ebp - 0x26c]
push eax
push ebx
call fcn.004fa850
add esp, 0xc
test eax, eax
je 0x5927e8
lea edi, [ebp - 0x284]
push 3
push edi
lea eax, [ebp - 0xd4]
push eax
call fcn.004fa850
add esp, 0xc
test eax, eax
je 0x5927e8
push 2
push 0x6c1934
push edi
call fcn.004faab0
add esp, 0xc
test eax, eax
je 0x5927e8
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.005921f0
add esp, 8
test al, al
je 0x5927e8
cmp dword [ebp - 0x38], 0
jne 0x5927e8
lea eax, [ebp - 0x28c]
lea ecx, [ebp - 0x288]
push eax
push ecx
lea eax, [ebp - 0x2c]
push eax
call fcn.004fa5f0
add esp, 0xc
test eax, eax
je 0x5927e8
xor eax, eax
lea edi, [ebp - 0x298]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x28c]
mov ebx, eax
neg ebx
and ebx, 7
add eax, ebx
mov ecx, edi
push eax
call fcn.004dbc60
mov eax, dword [ebp - 0x288]
mov edx, dword [ebp - 0x28c]
lea esi, [eax + edx]
mov ecx, edi
push edx
push esi
push eax
push dword [edi]
lea eax, [ebp - 0x14]
push eax
call fcn.004df0c0
lea eax, [ebp - 0x299]
mov byte [eax], 0
mov ecx, edi
push eax
push ebx
push dword [edi + 4]
lea esi, [ebp - 0x14]
push esi
call fcn.004deec0
push dword [ebp - 0x288]
call fcn.004f7480
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
xor eax, eax
mov dword [edi + 8], eax
mov dword [edi + 4], eax
mov dword [edi], eax
mov byte [ecx + 0xc], 1
mov dword [esi], edi
lea ecx, [ebp - 0x14]
call fcn.004d4610
jmp 0x5927f2