Function at 0x100cf5f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xc0
call fcn.101949d0
mov eax, dword [0x1029f280]
xor eax, esp
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xc4]
push ebx
mov dword [esp + 0x3c], eax
xor ebx, ebx
mov eax, dword [esp + 0xd8]
push ebp
mov ebp, dword [esp + 0xec]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], ebx
push esi
push edi
test eax, eax
jne 0x100cf662
call fcn.10069b90
mov dword [esp + 0x34], eax
test ebp, ebp
push eax
cmove ebp, eax
mov dword [esp + 0x18], ebp
call fcn.1006e860
add esp, 4
mov edi, eax
mov dword [esp + 0x28], edi
cmp dword [esp + 0xd8], ebx
jle 0x100cfcfe
mov esi, dword [esp + 0xe0]
test esi, esi
jle 0x100cfcfe
mov ecx, dword [esp + 0x3c]
cmp ecx, esi
jl 0x100cfcd7
lea eax, [edi*2 + 2]
cmp ecx, eax
jl 0x100cfcd7
mov ebp, ecx
push 0xcd
sub ebp, edi
dec ebp
push str.crypto_rsa_rsa_oaep.c
push ebp
mov dword [esp + 0x38], ebp
call fcn.10069eb0
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x100cf704
call fcn.10071f70
push str.RSA_padding_check_PKCS1_OAEP_mgf1
push 0xcf
push str.crypto_rsa_rsa_oaep.c
call fcn.10072070
push 0
push 0xc0100
push 4
call fcn.10072120
add esp, 0x18
jmp 0x100cfc83
push 0xd3
push str.crypto_rsa_rsa_oaep.c
push dword [esp + 0x44]
call fcn.10069eb0
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x20], ecx
test ecx, ecx
jne 0x100cf735
call fcn.10071f70
push str.RSA_padding_check_PKCS1_OAEP_mgf1
push 0xd5
jmp 0x100cf6e4
mov edx, dword [esp + 0xdc]
mov eax, dword [esp + 0x3c]
add edx, esi
add ecx, eax
mov dword [esp + 0x20], ecx
test eax, eax
jle 0x100cf780
mov ebx, eax
mov ebp, ecx
mov eax, esi
lea ecx, [esi - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
dec ebp
and ecx, eax
dec ecx
mov eax, ecx
and eax, 1
sub edx, eax
sub esi, eax
and cl, byte [edx]
mov byte [ebp], cl
sub ebx, 1
jne 0x100cf750
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
movzx ebx, byte [ecx]
lea esi, [ecx + 1]
push dword [esp + 0x14]
inc ecx
mov dword [esp + 0x1c], esi
add ecx, edi
lea eax, [esp + 0x50]
push ebp
push ecx
lea ebx, [ebx - 1]
mov dword [esp + 0x3c], ecx
push edi
shr ebx, 0x1f
push eax
neg ebx
call fcn.100cf420
add esp, 0x14
test eax, eax
jne 0x100cfc83
xor edx, edx
test edi, edi
jle 0x100cf8d5
cmp edi, 8
jb 0x100cf8bf
lea eax, [esi - 1]
lea ebp, [esp + 0x4c]
add eax, edi
cmp ebp, eax
lea ecx, [esp + edi + 0x4b]
mov ebp, dword [esp + 0x2c]
ja 0x100cf7e5
cmp ecx, esi
jae 0x100cf8bf
cmp edi, 0x40
jb 0x100cf881
mov eax, edi
and eax, 0x8000003f
jns 0x100cf7fc
dec eax
or eax, 0xffffffc0
inc eax
lea ebp, [esp + 0x4c]
mov ecx, edi
sub ebp, esi
sub ecx, eax
mov dword [esp + 0x44], ebp
lea eax, [esi + 0x20]
mov edi, dword [esp + 0x44]
lea ebp, [esp + 0x5c]
sub ebp, esi
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x38]
movups xmm0, xmmword [esp + edx + 0x4c]
lea eax, [eax + 0x40]
movups xmm1, xmmword [eax - 0x60]
xorps xmm1, xmm0
movups xmmword [esp + edx + 0x4c], xmm1
movups xmm0, xmmword [esp + edx + 0x5c]
movups xmm1, xmmword [eax - 0x50]
xorps xmm1, xmm0
movups xmmword [esp + edx + 0x5c], xmm1
add edx, 0x40
movups xmm0, xmmword [edi + eax - 0x40]
movups xmm1, xmmword [eax - 0x40]
xorps xmm1, xmm0
movups xmmword [edi + eax - 0x40], xmm1
movups xmm1, xmmword [eax - 0x30]
movups xmm0, xmmword [esi + eax - 0x40]
xorps xmm1, xmm0
movups xmmword [esi + eax - 0x40], xmm1
cmp edx, ecx
jl 0x100cf823
mov edi, dword [esp + 0x28]
mov eax, edi
mov esi, dword [esp + 0x18]
and al, 0x3f
cmp al, 8
jb 0x100cf8bb
mov eax, edi
and eax, reloc.WS2_32.dll_getsockopt
jns 0x100cf88f
dec eax
or eax, 0xfffffff8
inc eax
mov ecx, edi
sub ecx, eax
nop dword [eax]
nop word [eax + eax]
movq xmm1, qword [esi + edx]
movq xmm0, qword [esp + edx + 0x4c]
xorps xmm1, xmm0
movq qword [esp + edx + 0x4c], xmm1
add edx, 8
cmp edx, ecx
jl 0x100cf8a0
cmp edx, edi
jge 0x100cf8d5
lea eax, [esp + 0x4c]
sub esi, eax
lea ecx, [esp + 0x4c]
add ecx, edx
inc edx
mov al, byte [esi + ecx]
xor byte [ecx], al
cmp edx, edi
jl 0x100cf8c5
push dword [esp + 0x14]
lea eax, [esp + 0x50]
push edi
push eax
push ebp
push dword [esp + 0x20]
call fcn.100cf420
add esp, 0x14
test eax, eax
jne 0x100cfc83
xor edx, edx
test ebp, ebp
jle 0x100cfa14
mov ecx, dword [esp + 0x10]
cmp ebp, 8
jb 0x100cf9f0
mov esi, dword [esp + 0x30]
lea eax, [esi - 1]
add eax, ebp
cmp ecx, eax
ja 0x100cf925
lea eax, [ecx - 1]
add eax, ebp
cmp eax, esi
jae 0x100cf9f0
cmp ebp, 0x40
jb 0x100cf9a6
mov eax, ebp
and eax, 0x8000003f
jns 0x100cf938
dec eax
or eax, 0xffffffc0
inc eax
mov dword [esp + 0x14], ebp
add esi, 0x30
sub dword [esp + 0x14], eax
lea eax, [ecx + 0x10]
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x10]
nop
movups xmm0, xmmword [eax - 0x10]
add edx, 0x40
lea esi, [esi + 0x40]
lea eax, [eax + 0x40]
movups xmm1, xmmword [esi - 0x70]
xorps xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [ecx + eax - 0x40]
xorps xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [esi - 0x50]
xorps xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [eax - 0x20]
movups xmm0, xmmword [esi - 0x40]
xorps xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp edx, dword [esp + 0x14]
jl 0x100cf950
mov eax, ebp
and al, 0x3f
cmp al, 8
jb 0x100cf9ec
jmp 0x100cf9ac
mov ecx, esi
sub ecx, dword [esp + 0x10]
mov eax, ebp
and eax, reloc.WS2_32.dll_getsockopt
jns 0x100cf9ba
dec eax
or eax, 0xfffffff8
inc eax
mov esi, ebp
sub esi, eax
mov eax, dword [esp + 0x10]
add eax, edx
nop dword [eax]
nop dword [eax + eax]
movq xmm1, qword [ecx + eax]
lea eax, [eax + 8]
movq xmm0, qword [eax - 8]
add edx, 8
xorps xmm1, xmm0
movq qword [eax - 8], xmm1
cmp edx, esi
jl 0x100cf9d0
mov ecx, dword [esp + 0x10]
cmp edx, ebp
jge 0x100cfa14
mov edi, dword [esp + 0x30]
mov esi, ebp
sub edi, dword [esp + 0x10]
add ecx, edx
sub esi, edx
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub esi, 1
jne 0x100cfa02
mov edi, dword [esp + 0x28]
push 0
push dword [esp + 0x38]
lea eax, [esp + 0x94]
push 0
push eax
push dword [esp + 0xfc]
push dword [esp + 0x30]
call fcn.10067eb0
add esp, 0x18
test eax, eax
je 0x100cfc83
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x8c]
push edi
push eax
push esi
call fcn.10001390
mov edx, dword [esp + 0x34]
add esp, 0xc
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
neg ecx
and ebx, ecx
mov dword [esp + 0x14], ebx
xor ebx, ebx
cmp edx, ebp
jge 0x100cfac4
movzx esi, byte [edi + esi]
mov eax, ebx
mov edx, esi
not eax
xor edx, 1
dec edx
shr edx, 0x1f
neg edx
and eax, edx
or ebx, edx
mov dword [esp + 0x1c], eax
not eax
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
and ecx, edi
and eax, dword [esp + 0x24]
inc edi
or eax, ecx
mov dword [esp + 0x24], eax
lea eax, [esi - 1]
mov esi, dword [esp + 0x10]
shr eax, 0x1f
neg eax
or eax, ebx
and dword [esp + 0x14], eax
cmp edi, ebp
jl 0x100cfa74
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0xd8]
mov eax, ebp
sub eax, dword [esp + 0x24]
mov esi, ebp
dec eax
sub esi, edx
sub ecx, eax
mov dword [esp + 0x40], eax
xor ecx, eax
xor eax, dword [esp + 0xd8]
or ecx, eax
mov eax, dword [esp + 0xd8]
xor ecx, eax
lea edi, [esi - 1]
shr ecx, 0x1f
dec ecx
mov dword [esp + 0x34], edi
and ecx, ebx
mov ebx, dword [esp + 0x14]
and ebx, ecx
mov ecx, edi
sub ecx, eax
mov dword [esp + 0x14], ebx
xor ecx, eax
mov eax, edi
xor eax, dword [esp + 0xd8]
or ecx, eax
xor ecx, edi
shr ecx, 0x1f
neg ecx
mov dword [esp + 0x1c], ecx
not ecx
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
and eax, edi
and ecx, dword [esp + 0xd8]
mov edi, 1
or ecx, eax
mov dword [esp + 0x24], ecx
cmp dword [esp + 0x34], edi
jle 0x100cfbde
sub esi, dword [esp + 0x40]
inc edx
mov dword [esp + 0x44], edx
lea eax, [esi - 1]
mov dword [esp + 0x30], eax
nop
and eax, edi
mov esi, ebp
sub esi, edi
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
dec ecx
cmp edx, esi
jge 0x100cfbc6
mov eax, dword [esp + 0x10]
movzx ecx, cl
add eax, edx
mov ebp, ecx
mov dword [esp + 0x38], ecx
not ebp
sub esi, edx
nop dword [eax + eax]
mov dword [esp + 0x1c], ecx
lea eax, [eax + 1]
movzx ecx, byte [eax + edi - 1]
mov dword [esp + 0x18], ebp
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
and bl, cl
movzx ecx, byte [eax - 1]
and dl, cl
mov ecx, dword [esp + 0x38]
or dl, bl
mov byte [eax - 1], dl
sub esi, 1
jne 0x100cfb90
mov ebp, dword [esp + 0x2c]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x30]
add edi, edi
cmp edi, dword [esp + 0x34]
jl 0x100cfb60
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
xor esi, esi
test ecx, ecx
jle 0x100cfc51
mov ecx, dword [esp + 0x40]
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x40]
inc ebp
shr ecx, 0x1f
neg edi
mov dword [esp + 0x38], ecx
add ebp, edx
nop dword [eax]
mov eax, edi
lea ebp, [ebp + 1]
shr eax, 0x1f
inc edi
xor al, cl
or al, cl
neg al
movzx ecx, al
movzx eax, bl
and ecx, eax
movzx eax, byte [ebp - 1]
mov dword [esp + 0x1c], ecx
not ecx
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
and dl, al
mov eax, dword [esp + 0x48]
movzx eax, byte [eax + esi]
and cl, al
mov eax, dword [esp + 0x48]
or cl, dl
mov byte [eax + esi], cl
inc esi
mov ecx, dword [esp + 0x38]
cmp esi, dword [esp + 0x24]
jl 0x100cfc00
mov ebp, dword [esp + 0x2c]
call fcn.10071f70
push str.RSA_padding_check_PKCS1_OAEP_mgf1
push 0x13a
push str.crypto_rsa_rsa_oaep.c
call fcn.10072070
push 0
push 0x79
push 4
call fcn.10072120
mov eax, ebx
and eax, 1
push eax
call fcn.1007ff60
add esp, 0x1c
lea eax, [esp + 0x4c]
push 0x40
push eax
call fcn.10001320
push 0x13f
push str.crypto_rsa_rsa_oaep.c
push ebp
push dword [esp + 0x24]
call fcn.10069fb0
push 0x140
push str.crypto_rsa_rsa_oaep.c
push dword [esp + 0x5c]
push dword [esp + 0x44]
call fcn.10069fb0
mov dword [esp + 0x44], ebx
add esp, 0x28
not ebx
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x1c]
and ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x18]
or eax, ecx
jmp 0x100cfd01
call fcn.10071f70
push str.RSA_padding_check_PKCS1_OAEP_mgf1
push 0xc8
push str.crypto_rsa_rsa_oaep.c
call fcn.10072070
push 0
push 0x79
push 4
call fcn.10072120
add esp, 0x18
or eax, 0xffffffff
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10193ea5
add esp, 0xc0
ret