Function at 0x4d9d4b
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [esp + 8], 0x18
mov dword [esp + 4], 0
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call 0x78ff2c
mov dword [esp + 4], 0
mov dword [esp], 0x6ecc37
call fcn.004d8b6d
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call 0x78fe6c
fld1
fchs
fstp qword [esp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004cde91
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jns 0x4d9dd1
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call 0x78ffe4
mov dword [ebp - 0x20], 0
mov eax, 0x2c
jmp 0x4da374
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call 0x78ffe4
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004d8a14
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 7
je 0x4d9e06
mov eax, dword [ebp - 0x28]
jmp 0x4da374
mov eax, dword [ebp - 0x2c]
mov al, byte [eax]
cmp al, 0x32
je 0x4d9e2b
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call 0x78ffe4
mov dword [ebp - 0x2c], 0
mov eax, 0x1d
jmp 0x4da374
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xc], eax
add dword [ebp - 0xc], 4
jmp 0x4d9e3a
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
test al, al
je 0x4d9e5a
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
movsx eax, al
mov dword [esp], eax
call fcn.0050ef3c
xor eax, 1
test al, al
jne 0x4d9e37
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
test al, al
jne 0x4d9e7f
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call 0x78ffe4
mov dword [ebp - 0x2c], 0
mov eax, 0x1c
jmp 0x4da374
mov dword [ebp - 0x14], 0
jmp 0x4d9ea7
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
movsx eax, al
lea ecx, [eax - 0x30]
mov edx, dword [ebp - 0x14]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
add eax, ecx
mov dword [ebp - 0x14], eax
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
movsx eax, al
mov dword [esp], eax
call fcn.0050ef3c
test al, al
jne 0x4d9e88
cmp dword [ebp - 0x14], 4
je 0x4d9ee3
cmp dword [ebp - 0x14], 6
je 0x4d9ee3
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call 0x78ffe4
mov dword [ebp - 0x2c], 0
mov eax, 0x1c
jmp 0x4da374
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
test al, al
je 0x4d9efb
mov eax, dword [ebp - 0xc]
lea edx, [eax + 1]
mov dword [ebp - 0xc], edx
mov al, byte [eax]
cmp al, 0x2c
je 0x4d9f17
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call 0x78ffe4
mov dword [ebp - 0x2c], 0
mov eax, 0x1c
jmp 0x4da374
mov dword [ebp - 0x18], 0
jmp 0x4d9f3f
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
movsx eax, al
lea ecx, [eax - 0x30]
mov edx, dword [ebp - 0x18]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
add eax, ecx
mov dword [ebp - 0x18], eax
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
movsx eax, al
mov dword [esp], eax
call fcn.0050ef3c
test al, al
jne 0x4d9f20
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
test al, al
je 0x4d9f6b
mov eax, dword [ebp - 0xc]
lea edx, [eax + 1]
mov dword [ebp - 0xc], edx
mov al, byte [eax]
cmp al, 0x2c
je 0x4d9f87
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call 0x78ffe4
mov dword [ebp - 0x2c], 0
mov eax, 0x1c
jmp 0x4da374
cmp dword [ebp - 0x18], 0x10
jle 0x4d9fa9
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call 0x78ffe4
mov dword [ebp - 0x2c], 0
mov eax, 0x1c
jmp 0x4da374
cmp dword [ebp - 0x14], 4
jne 0x4d9fb5
cmp dword [ebp - 0x18], 4
jne 0x4d9fc1
cmp dword [ebp - 0x14], 6
jne 0x4d9fdd
cmp dword [ebp - 0x18], 0x10
je 0x4d9fdd
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call 0x78ffe4
mov dword [ebp - 0x2c], 0
mov eax, 0x1c
jmp 0x4da374
mov dword [ebp - 0x10], 0
jmp 0x4da060
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 0x10]
add eax, edx
mov byte [eax], 0
jmp 0x4da01f
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
mov cl, al
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 0x10]
add eax, edx
mov dl, byte [eax]
mov al, dl
shl eax, 2
add eax, edx
add eax, eax
add eax, ecx
lea edx, [eax - 0x30]
lea ecx, [ebp - 0x3c]
mov eax, dword [ebp - 0x10]
add eax, ecx
mov byte [eax], dl
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
movsx eax, al
mov dword [esp], eax
call fcn.0050ef3c
test al, al
jne 0x4d9ff3
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
cmp al, 0x2c
jne 0x4da041
inc dword [ebp - 0xc]
jmp 0x4da05d
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call 0x78ffe4
mov dword [ebp - 0x2c], 0
mov eax, 0x1c
jmp 0x4da374
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jl 0x4d9fe6
mov dword [ebp - 0x1c], 0
jmp 0x4da094
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
movsx eax, al
lea ecx, [eax - 0x30]
mov edx, dword [ebp - 0x1c]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
add eax, ecx
mov dword [ebp - 0x1c], eax
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
movsx eax, al
mov dword [esp], eax
call fcn.0050ef3c
test al, al
jne 0x4da075
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
test al, al
je 0x4da0c0
mov eax, dword [ebp - 0xc]
lea edx, [eax + 1]
mov dword [ebp - 0xc], edx
mov al, byte [eax]
cmp al, 0x2c
je 0x4da0dc
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call 0x78ffe4
mov dword [ebp - 0x2c], 0
mov eax, 0x1c
jmp 0x4da374
cmp dword [ebp - 0x1c], 2
jle 0x4da0fe
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call 0x78ffe4
mov dword [ebp - 0x2c], 0
mov eax, 0x1c
jmp 0x4da374
mov byte [ebp - 0x3e], 0
jmp 0x4da122
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
mov cl, al
mov dl, byte [ebp - 0x3e]
mov al, dl
shl eax, 2
add eax, edx
add eax, eax
add eax, ecx
sub eax, 0x30
mov byte [ebp - 0x3e], al
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
movsx eax, al
mov dword [esp], eax
call fcn.0050ef3c
test al, al
jne 0x4da104
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
test al, al
je 0x4da14e
mov eax, dword [ebp - 0xc]
lea edx, [eax + 1]
mov dword [ebp - 0xc], edx
mov al, byte [eax]
cmp al, 0x2c
je 0x4da16a
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call 0x78ffe4
mov dword [ebp - 0x2c], 0
mov eax, 0x1c
jmp 0x4da374
mov byte [ebp - 0x3d], 0
jmp 0x4da18e
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
mov cl, al
mov dl, byte [ebp - 0x3d]
mov al, dl
shl eax, 2
add eax, edx
add eax, eax
add eax, ecx
sub eax, 0x30
mov byte [ebp - 0x3d], al
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
movsx eax, al
mov dword [esp], eax
call fcn.0050ef3c
test al, al
jne 0x4da170
cmp dword [ebp - 0x14], 4
jne 0x4da280
mov eax, dword [ebp + 0xc]
mov dword [eax], 2
mov eax, dword [ebp + 0xc]
lea edx, [eax + 4]
mov eax, dword [ebp - 0x3c]
mov dword [edx], eax
mov al, byte [ebp - 0x3e]
and eax, 0xff
shl eax, 8
xor edx, edx
mov dx, ax
mov al, byte [ebp - 0x3d]
and eax, 0xff
add edx, eax
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x4da208
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.004ddf7a
mov dword [esp + 4], eax
mov dword [esp], 0x6ecc3c
call fcn.004efae1
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x4da22e
mov al, byte [ebp - 0x3e]
and eax, 0xff
mov dword [esp + 4], eax
mov dword [esp], 0x6ecc4e
call fcn.004efae1
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x4da254
mov al, byte [ebp - 0x3d]
and eax, 0xff
mov dword [esp + 4], eax
mov dword [esp], 0x6ecc60
call fcn.004efae1
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x4da35d
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov dword [esp], 0x6ecc72
call fcn.004efae1
jmp 0x4da35d
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x17
mov eax, dword [ebp + 0xc]
lea edx, [eax + 4]
mov dword [esp + 8], 0x10
lea eax, [ebp - 0x3c]
mov dword [esp + 4], eax
mov dword [esp], edx
call 0x78ff3c
mov al, byte [ebp - 0x3e]
and eax, 0xff
shl eax, 8
xor edx, edx
mov dx, ax
mov al, byte [ebp - 0x3d]
and eax, 0xff
add edx, eax
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x4da2ee
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.004ddf7a
mov dword [esp + 4], eax
mov dword [esp], 0x6ecc3c
call fcn.004efae1
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x4da314
mov al, byte [ebp - 0x3e]
and eax, 0xff
mov dword [esp + 4], eax
mov dword [esp], 0x6ecc4e
call fcn.004efae1
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x4da33a
mov al, byte [ebp - 0x3d]
and eax, 0xff
mov dword [esp + 4], eax
mov dword [esp], 0x6ecc60
call fcn.004efae1
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x4da35d
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov dword [esp], 0x6ecc72
call fcn.004efae1
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call 0x78ffe4
mov dword [ebp - 0x2c], 0
mov eax, 7
leave
ret