Function at 0x55e447
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 0x814628
mov dword [esp + 4], 0
mov dword [esp], 0x6ecc37
call fcn.0055d269
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call 0x814568
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.0055258d
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jns 0x55e4cd
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call 0x8146e0
mov dword [ebp - 0x20], 0
mov eax, 0x2c
jmp 0x55ea70
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call 0x8146e0
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.0055d110
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 7
je 0x55e502
mov eax, dword [ebp - 0x28]
jmp 0x55ea70
mov eax, dword [ebp - 0x2c]
mov al, byte [eax]
cmp al, 0x32
je 0x55e527
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call 0x8146e0
mov dword [ebp - 0x2c], 0
mov eax, 0x1d
jmp 0x55ea70
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xc], eax
add dword [ebp - 0xc], 4
jmp 0x55e536
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
test al, al
je 0x55e556
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
movsx eax, al
mov dword [esp], eax
call fcn.00593638
xor eax, 1
test al, al
jne 0x55e533
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
test al, al
jne 0x55e57b
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call 0x8146e0
mov dword [ebp - 0x2c], 0
mov eax, 0x1c
jmp 0x55ea70
mov dword [ebp - 0x14], 0
jmp 0x55e5a3
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.00593638
test al, al
jne 0x55e584
cmp dword [ebp - 0x14], 4
je 0x55e5df
cmp dword [ebp - 0x14], 6
je 0x55e5df
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call 0x8146e0
mov dword [ebp - 0x2c], 0
mov eax, 0x1c
jmp 0x55ea70
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
test al, al
je 0x55e5f7
mov eax, dword [ebp - 0xc]
lea edx, [eax + 1]
mov dword [ebp - 0xc], edx
mov al, byte [eax]
cmp al, 0x2c
je 0x55e613
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call 0x8146e0
mov dword [ebp - 0x2c], 0
mov eax, 0x1c
jmp 0x55ea70
mov dword [ebp - 0x18], 0
jmp 0x55e63b
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.00593638
test al, al
jne 0x55e61c
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
test al, al
je 0x55e667
mov eax, dword [ebp - 0xc]
lea edx, [eax + 1]
mov dword [ebp - 0xc], edx
mov al, byte [eax]
cmp al, 0x2c
je 0x55e683
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call 0x8146e0
mov dword [ebp - 0x2c], 0
mov eax, 0x1c
jmp 0x55ea70
cmp dword [ebp - 0x18], 0x10
jle 0x55e6a5
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call 0x8146e0
mov dword [ebp - 0x2c], 0
mov eax, 0x1c
jmp 0x55ea70
cmp dword [ebp - 0x14], 4
jne 0x55e6b1
cmp dword [ebp - 0x18], 4
jne 0x55e6bd
cmp dword [ebp - 0x14], 6
jne 0x55e6d9
cmp dword [ebp - 0x18], 0x10
je 0x55e6d9
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call 0x8146e0
mov dword [ebp - 0x2c], 0
mov eax, 0x1c
jmp 0x55ea70
mov dword [ebp - 0x10], 0
jmp 0x55e75c
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 0x10]
add eax, edx
mov byte [eax], 0
jmp 0x55e71b
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.00593638
test al, al
jne 0x55e6ef
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
cmp al, 0x2c
jne 0x55e73d
inc dword [ebp - 0xc]
jmp 0x55e759
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call 0x8146e0
mov dword [ebp - 0x2c], 0
mov eax, 0x1c
jmp 0x55ea70
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jl 0x55e6e2
mov dword [ebp - 0x1c], 0
jmp 0x55e790
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.00593638
test al, al
jne 0x55e771
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
test al, al
je 0x55e7bc
mov eax, dword [ebp - 0xc]
lea edx, [eax + 1]
mov dword [ebp - 0xc], edx
mov al, byte [eax]
cmp al, 0x2c
je 0x55e7d8
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call 0x8146e0
mov dword [ebp - 0x2c], 0
mov eax, 0x1c
jmp 0x55ea70
cmp dword [ebp - 0x1c], 2
jle 0x55e7fa
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call 0x8146e0
mov dword [ebp - 0x2c], 0
mov eax, 0x1c
jmp 0x55ea70
mov byte [ebp - 0x3e], 0
jmp 0x55e81e
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.00593638
test al, al
jne 0x55e800
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
test al, al
je 0x55e84a
mov eax, dword [ebp - 0xc]
lea edx, [eax + 1]
mov dword [ebp - 0xc], edx
mov al, byte [eax]
cmp al, 0x2c
je 0x55e866
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call 0x8146e0
mov dword [ebp - 0x2c], 0
mov eax, 0x1c
jmp 0x55ea70
mov byte [ebp - 0x3d], 0
jmp 0x55e88a
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.00593638
test al, al
jne 0x55e86c
cmp dword [ebp - 0x14], 4
jne 0x55e97c
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 0x55e904
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.00562676
mov dword [esp + 4], eax
mov dword [esp], 0x6ecc3c
call fcn.005741dd
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x55e92a
mov al, byte [ebp - 0x3e]
and eax, 0xff
mov dword [esp + 4], eax
mov dword [esp], 0x6ecc4e
call fcn.005741dd
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x55e950
mov al, byte [ebp - 0x3d]
and eax, 0xff
mov dword [esp + 4], eax
mov dword [esp], 0x6ecc60
call fcn.005741dd
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x55ea59
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov dword [esp], 0x6ecc72
call fcn.005741dd
jmp 0x55ea59
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 0x814638
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 0x55e9ea
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.00562676
mov dword [esp + 4], eax
mov dword [esp], 0x6ecc3c
call fcn.005741dd
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x55ea10
mov al, byte [ebp - 0x3e]
and eax, 0xff
mov dword [esp + 4], eax
mov dword [esp], 0x6ecc4e
call fcn.005741dd
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x55ea36
mov al, byte [ebp - 0x3d]
and eax, 0xff
mov dword [esp + 4], eax
mov dword [esp], 0x6ecc60
call fcn.005741dd
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x55ea59
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov dword [esp], 0x6ecc72
call fcn.005741dd
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call 0x8146e0
mov dword [ebp - 0x2c], 0
mov eax, 7
leave
ret