Function at 0x10117430
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x68
call fcn.10021e20
mov eax, dword [0x10195170]
xor eax, esp
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x84]
push ebx
mov ebx, dword [esp + 0x7c]
push ebp
mov ebp, dword [esp + 0x74]
push esi
mov esi, dword [esp + 0x94]
push edi
mov edi, dword [esp + 0x80]
mov dword [esp + 0x20], eax
dec edi
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ecx
test ecx, ecx
jne 0x10117495
call fcn.100ccd20
mov ecx, eax
mov dword [esp + 0x24], eax
test esi, esi
push ecx
cmove esi, ecx
mov dword [esp + 0x2c], esi
call fcn.100c6da0
mov esi, eax
mov ecx, edi
add esp, 4
mov dword [esp + 0x1c], esi
lea eax, [esi + esi]
sub ecx, eax
mov dword [esp + 0x30], ecx
dec ecx
cmp ebx, ecx
jle 0x101174ea
push 0x3a
push str..crypto_rsa_rsa_oaep.c
push 0x6e
push 0xa0
push 4
call fcn.100bceb0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.10020a26
add esp, 0x68
ret
inc eax
cmp edi, eax
jge 0x1011751c
push 0x40
push str..crypto_rsa_rsa_oaep.c
push 0x78
push 0xa0
push 4
call fcn.100bceb0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.10020a26
add esp, 0x68
ret
mov ebx, dword [esp + 0x14]
push 0
push dword [esp + 0x28]
inc ebx
mov byte [ebp], 0
push 0
add ebx, esi
inc ebp
push ebx
push dword [esp + 0xa0]
mov dword [esp + 0x2c], ebp
push dword [esp + 0x40]
mov dword [esp + 0x2c], ebx
call fcn.100c34b0
add esp, 0x18
test eax, eax
je 0x10117746
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x10]
dec eax
push eax
lea eax, [ebx + esi]
push 0
push eax
call fcn.10021510
mov ecx, dword [esp + 0x1c]
mov eax, ebx
sub eax, ecx
sub eax, esi
push ecx
push dword [esp + 0x30]
add eax, edi
push eax
mov byte [eax - 1], 1
call fcn.10020ec0
push esi
push ebp
call fcn.100ba240
add esp, 0x20
test eax, eax
jle 0x10117746
push 0x55
sub edi, esi
push str..crypto_rsa_rsa_oaep.c
push edi
call fcn.100b0240
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x10], ebp
test ebp, ebp
jne 0x101175df
push 0x57
push str..crypto_rsa_rsa_oaep.c
push 0x41
push 0xa0
push 4
call fcn.100bceb0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.10020a26
add esp, 0x68
ret
push dword [esp + 0x28]
push esi
push dword [esp + 0x20]
push edi
push ebp
call fcn.10117280
add esp, 0x14
test eax, eax
js 0x1011773d
xor edx, edx
test edi, edi
jle 0x10117686
cmp edi, 0x10
jb 0x10117661
lea eax, [ebp - 1]
lea ecx, [ebx - 1]
add eax, edi
add ecx, edi
cmp ebx, eax
ja 0x1011761b
cmp ecx, ebp
jae 0x10117661
mov eax, edi
and eax, reloc.WS2_32.dll_ntohs
jns 0x10117629
dec eax
or eax, 0xfffffff0
inc eax
mov ecx, edi
mov esi, ebp
sub ecx, eax
sub esi, ebx
mov dword [esp + 0x20], esi
mov eax, ebx
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
nop
movdqu xmm1, xmmword [eax + ebp]
add edx, 0x10
lea eax, [eax + 0x10]
movdqu xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x10], xmm1
cmp edx, ecx
jl 0x10117640
mov ebp, dword [esp + 0x10]
cmp edx, edi
jge 0x10117686
lea ecx, [edx + ebx]
mov dword [esp + 0x1c], ebp
sub ebp, ebx
mov ebx, edi
sub ebx, edx
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
dec ebx
jne 0x10117672
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
push dword [esp + 0x28]
lea eax, [esp + 0x38]
push edi
push ebx
push esi
push eax
call fcn.10117280
add esp, 0x14
test eax, eax
js 0x1011773d
xor edx, edx
test esi, esi
jle 0x1011771c
mov ebx, dword [esp + 0x18]
cmp esi, 0x10
jb 0x101176fd
lea ecx, [ebx - 1]
lea eax, [esp + esi + 0x33]
add ecx, esi
cmp ebx, eax
ja 0x101176c6
lea eax, [esp + 0x34]
cmp ecx, eax
jae 0x101176fd
mov eax, esi
and eax, reloc.WS2_32.dll_ntohs
jns 0x101176d4
dec eax
or eax, 0xfffffff0
inc eax
mov ecx, esi
lea edi, [esp + 0x34]
sub ecx, eax
mov eax, ebx
sub edi, ebx
movdqu xmm0, xmmword [eax]
add edx, 0x10
lea eax, [eax + 0x10]
movdqu xmm1, xmmword [edi + eax - 0x10]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x10], xmm1
cmp edx, ecx
jl 0x101176e0
cmp edx, esi
jge 0x1011771c
lea edi, [esp + 0x34]
sub edi, ebx
lea ecx, [edx + ebx]
sub esi, edx
lea esp, [esp]
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
dec esi
jne 0x10117710
push ebp
call fcn.100b01c0
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.10020a26
add esp, 0x68
ret
push ebp
call fcn.100b01c0
add esp, 4
mov ecx, dword [esp + 0x74]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10020a26
add esp, 0x68
ret