Function at 0x5ea970
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x10
test eax, eax
jne 0x5ea98f
push 0x1b
push str..pkcs_1_oaep_encode.c
push str.msg___NULL
call fcn.005e9ed0
add esp, 0xc
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x5ea9ab
push 0x1c
push str..pkcs_1_oaep_encode.c
push str.out___NULL
call fcn.005e9ed0
add esp, 0xc
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x5ea9c7
push 0x1d
push str..pkcs_1_oaep_encode.c
push str.outlen___NULL
call fcn.005e9ed0
add esp, 0xc
push esi
mov esi, dword [esp + 0x34]
push esi
call fcn.005e8740
add esp, 4
test eax, eax
jne 0x5eaca1
mov eax, dword [esp + 0x30]
push eax
call fcn.005eacb0
add esp, 4
test eax, eax
jne 0x5eaca1
mov eax, dword [esp + 0x28]
imul esi, esi, 0x64
mov ecx, eax
and cl, 7
neg cl
push ebx
mov ebx, dword [esi + 0x9704e8]
push ebp
push edi
sbb ecx, ecx
neg ecx
shr eax, 3
add ecx, eax
mov esi, ecx
push esi
mov dword [esp + 0x20], esi
call dword [0x6b4928]
push esi
mov edi, eax
call dword [0x6b4928]
mov ebp, eax
push esi
mov dword [esp + 0x24], ebp
call dword [0x6b4928]
add esp, 0xc
test edi, edi
mov dword [esp + 0x14], eax
je 0x5eac79
test ebp, ebp
je 0x5eac6b
test eax, eax
je 0x5eac6b
mov eax, dword [esp + 0x28]
mov ebp, closesocket
sub ebp, ebx
shl ebp, 1
lea edx, [esi + ebp]
cmp eax, edx
jbe 0x5eaa72
mov esi, 0x16
jmp 0x5eac24
mov eax, dword [esp + 0x2c]
test eax, eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], esi
push edi
je 0x5eaa91
mov edx, dword [esp + 0x38]
push edx
push eax
mov eax, dword [esp + 0x50]
push eax
jmp 0x5eaa99
mov edx, dword [esp + 0x48]
push 0
push edi
push edx
call fcn.005eb3d0
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x5eac24
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x1c]
sub ebp, edx
add ebp, esi
mov eax, ebx
mov dword [esp + 0x10], eax
je 0x5eaad1
mov ecx, ebp
mov byte [eax + edi], 0
mov eax, dword [esp + 0x10]
inc eax
dec ecx
mov dword [esp + 0x10], eax
jne 0x5eaac1
mov byte [eax + edi], 1
mov ecx, dword [esp + 0x10]
inc ecx
test edx, edx
mov dword [esp + 0x10], ecx
je 0x5eab02
mov ebp, edx
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov cl, byte [eax]
mov byte [edx + edi], cl
mov edx, dword [esp + 0x10]
inc edx
inc eax
dec ebp
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], eax
jne 0x5eaae4
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
push ecx
push ebx
shl eax, 5
push edx
call dword [eax + 0x96fb70]
add esp, 0xc
cmp eax, ebx
je 0x5eab2b
mov esi, 9
jmp 0x5eac24
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x14]
sub esi, ebx
lea ebp, [esi - 1]
push ebp
push eax
push ecx
push ebx
push edx
call fcn.005eb230
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x5eac24
test ebp, ebp
jbe 0x5eab6a
mov esi, dword [esp + 0x18]
mov eax, edi
sub esi, edi
mov ecx, ebp
mov dl, byte [esi + eax]
xor byte [eax], dl
inc eax
dec ecx
jne 0x5eab61
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
push ebx
push eax
push ecx
push ebp
push edi
call fcn.005eb230
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x5eac24
test ebx, ebx
jbe 0x5eaba9
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
sub esi, eax
mov ecx, ebx
lea esp, [esp]
mov dl, byte [esi + eax]
xor byte [eax], dl
inc eax
dec ecx
jne 0x5eaba0
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
cmp ecx, dword [esp + 0x1c]
jae 0x5eabbc
mov esi, 6
jmp 0x5eac24
mov esi, dword [esp + 0x44]
xor eax, eax
mov dword [esp + 0x10], eax
mov byte [esi], al
mov edx, dword [esp + 0x10]
inc edx
cmp ebx, eax
mov dword [esp + 0x10], edx
jbe 0x5eabf1
mov edx, dword [esp + 0x14]
mov cl, byte [eax + edx]
mov edx, dword [esp + 0x10]
mov byte [edx + esi], cl
mov ecx, dword [esp + 0x10]
inc ecx
inc eax
cmp eax, ebx
mov dword [esp + 0x10], ecx
jb 0x5eabd5
xor eax, eax
test ebp, ebp
jbe 0x5eac18
jmp 0x5eac00
mov cl, byte [eax + edi]
mov edx, dword [esp + 0x10]
mov byte [edx + esi], cl
mov ebx, dword [esp + 0x10]
inc ebx
inc eax
cmp eax, ebp
mov dword [esp + 0x10], ebx
jb 0x5eac00
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
mov dword [ecx], eax
xor esi, esi
mov edx, dword [esp + 0x1c]
push edx
push edi
call fcn.005e8700
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
push ebx
push ebp
call fcn.005e8700
push ebx
mov ebx, dword [esp + 0x2c]
push ebx
call fcn.005e8700
push ebp
call dword [0x6b4930]
push ebx
call dword [0x6b4930]
push edi
call dword [0x6b4930]
add esp, 0x24
pop edi
pop ebp
pop ebx
mov eax, esi
pop esi
add esp, 0x10
ret
push edi
call dword [0x6b4930]
mov eax, dword [esp + 0x18]
add esp, 4
test ebp, ebp
je 0x5eac8b
push ebp
call dword [0x6b4930]
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
je 0x5eac99
push eax
call dword [0x6b4930]
add esp, 4
pop edi
pop ebp
mov eax, 0xd
pop ebx
pop esi
add esp, 0x10
ret