Function at 0x1011ae40
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x74
call fcn.101bea50
mov eax, dword [0x102f8384]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x94]
push ebx
mov ebx, dword [esp + 0x84]
push ebp
mov ebp, dword [esp + 0x90]
dec ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x84]
push esi
mov esi, dword [esp + 0xa4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x90]
push edi
mov dword [esp + 0x28], eax
xor edi, edi
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x3c], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], ebx
mov dword [esp + 0x1c], 0
test ecx, ecx
jne 0x1011aecc
call fcn.100e0ff0
mov ecx, eax
mov dword [esp + 0x18], eax
test esi, esi
push ecx
cmove esi, ecx
mov dword [esp + 0x38], esi
call fcn.10056170
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
test esi, esi
jg 0x1011af24
call fcn.1004b6c0
push str.ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex
push 0x51
push str.crypto_rsa_rsa_oaep.c
call fcn.1004b7c0
push 0
push 0xb5
push 4
call fcn.1004b870
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.101bdc82
add esp, 0x74
ret
lea ecx, [esi + esi]
mov eax, ebx
sub eax, ecx
mov dword [esp + 0x24], eax
dec eax
cmp ebp, eax
jle 0x1011af6d
call fcn.1004b6c0
push str.ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex
push 0x57
push str.crypto_rsa_rsa_oaep.c
call fcn.1004b7c0
push 0
push 0x6e
push 4
call fcn.1004b870
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.101bdc82
add esp, 0x74
ret
lea eax, [ecx + 1]
cmp ebx, eax
jge 0x1011afad
call fcn.1004b6c0
push str.ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex
push 0x5c
push str.crypto_rsa_rsa_oaep.c
call fcn.1004b7c0
push 0
push 0x78
push 4
call fcn.1004b870
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.101bdc82
add esp, 0x74
ret
mov eax, dword [esp + 0x10]
push 0
push dword [esp + 0x1c]
lea ebp, [eax + 1]
mov byte [eax], 0
push 0
add ebp, esi
lea ebx, [eax + 1]
push ebp
push dword [esp + 0xb0]
mov dword [esp + 0x24], ebx
push dword [esp + 0x50]
call fcn.10056d00
add esp, 0x18
test eax, eax
je 0x1011b307
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x2c]
dec eax
push eax
lea eax, [esi + ebp]
push 0
push eax
call fcn.101c06d0
mov edx, dword [esp + 0x38]
mov eax, ebp
sub eax, edx
sub eax, esi
add eax, dword [esp + 0x3c]
push edx
push dword [esp + 0x38]
push eax
mov byte [eax - 1], 1
call fcn.101c0150
push 0
push esi
push ebx
push dword [esp + 0x38]
call fcn.100a9340
add esp, 0x28
test eax, eax
jle 0x1011b307
mov edi, dword [esp + 0x30]
push 0x72
sub edi, esi
push str.crypto_rsa_rsa_oaep.c
push edi
mov dword [esp + 0x30], edi
call fcn.1004b3d0
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x1011b07c
call fcn.1004b6c0
push str.ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex
push 0x74
push str.crypto_rsa_rsa_oaep.c
call fcn.1004b7c0
push 0
push 0xc0100
push 4
call fcn.1004b870
add esp, 0x18
jmp 0x1011b307
push dword [esp + 0x34]
push esi
push ebx
push edi
push eax
call fcn.1011a530
add esp, 0x14
test eax, eax
js 0x1011b307
xor edx, edx
test edi, edi
jle 0x1011b1c7
cmp edi, 8
jb 0x1011b1a4
mov ecx, dword [esp + 0x1c]
lea eax, [ecx - 1]
add eax, edi
cmp ebp, eax
ja 0x1011b0c1
lea eax, [ebp - 1]
add eax, edi
cmp eax, ecx
jae 0x1011b1a4
cmp edi, 0x40
jb 0x1011b158
mov eax, edi
and eax, 0x8000003f
jns 0x1011b0d8
dec eax
or eax, 0xffffffc0
inc eax
mov dword [esp + 0x18], edi
sub dword [esp + 0x18], eax
lea eax, [ecx + 0x30]
sub ecx, ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], ecx
lea eax, [ebp + 0x10]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x28]
nop dword [eax + eax]
movups xmm0, xmmword [eax - 0x10]
add edx, 0x40
lea ecx, [ecx + 0x40]
lea eax, [eax + 0x40]
movups xmm1, xmmword [ecx - 0x70]
xorps xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [esi + eax - 0x40]
xorps xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [ecx - 0x50]
xorps xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [eax - 0x20]
movups xmm0, xmmword [ecx - 0x40]
xorps xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp edx, dword [esp + 0x18]
jl 0x1011b100
mov esi, dword [esp + 0x20]
mov eax, edi
and al, 0x3f
cmp al, 8
jb 0x1011b1a0
mov eax, edi
and eax, reloc.WS2_32.dll_getsockopt
jns 0x1011b166
dec eax
or eax, 0xfffffff8
inc eax
mov esi, dword [esp + 0x1c]
mov ecx, edi
sub ecx, eax
sub esi, ebp
mov dword [esp + 0x14], esi
lea eax, [edx + ebp]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
nop
movq xmm1, qword [eax + ebx]
lea eax, [eax + 8]
movq xmm0, qword [eax - 8]
add edx, 8
xorps xmm1, xmm0
movq qword [eax - 8], xmm1
cmp edx, ecx
jl 0x1011b180
mov ebx, dword [esp + 0x10]
cmp edx, edi
jge 0x1011b1c7
mov esi, dword [esp + 0x1c]
lea ecx, [edx + ebp]
mov ebx, edi
sub esi, ebp
sub ebx, edx
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub ebx, 1
jne 0x1011b1b1
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
push dword [esp + 0x34]
lea eax, [esp + 0x44]
push edi
push ebp
push esi
push eax
call fcn.1011a530
add esp, 0x14
test eax, eax
js 0x1011b307
xor edx, edx
cmp esi, 8
jb 0x1011b2e4
lea ecx, [ebx - 1]
lea eax, [esp + esi + 0x3f]
add ecx, esi
cmp ebx, eax
ja 0x1011b207
lea eax, [esp + 0x40]
cmp ecx, eax
jae 0x1011b2e4
cmp esi, 0x40
jb 0x1011b29a
mov eax, esi
and eax, 0x8000003f
jns 0x1011b21e
dec eax
or eax, 0xffffffc0
inc eax
mov ecx, esi
lea ebp, [esp + 0x40]
sub ecx, eax
lea esi, [esp + 0x50]
sub ebp, ebx
lea eax, [ebx + 0x20]
sub esi, ebx
lea edi, [esp + 0x40]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
movups xmm0, xmmword [eax - 0x20]
lea eax, [eax + 0x40]
movups xmm1, xmmword [edi + edx]
xorps xmm1, xmm0
movups xmmword [eax - 0x60], xmm1
movups xmm0, xmmword [eax - 0x50]
movups xmm1, xmmword [esp + edx + 0x50]
add edx, 0x40
xorps xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [eax + ebp - 0x40]
xorps xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [ebx + eax - 0x40]
xorps xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
cmp edx, ecx
jl 0x1011b241
mov edi, dword [esp + 0x24]
mov eax, esi
mov ebx, dword [esp + 0x10]
and al, 0x3f
cmp al, 8
jb 0x1011b2e0
mov eax, esi
and eax, reloc.WS2_32.dll_getsockopt
jns 0x1011b2a8
dec eax
or eax, 0xfffffff8
inc eax
mov ecx, esi
sub ecx, eax
lea eax, [edx + ebx]
lea ebx, [esp + 0x40]
sub ebx, dword [esp + 0x10]
nop word [eax + eax]
movq xmm0, qword [eax]
lea eax, [eax + 8]
movq xmm1, qword [eax + ebx - 8]
add edx, 8
xorps xmm1, xmm0
movq qword [eax - 8], xmm1
cmp edx, ecx
jl 0x1011b2c0
mov ebx, dword [esp + 0x10]
cmp edx, esi
jge 0x1011b2ff
lea ecx, [edx + ebx]
lea ebx, [esp + 0x40]
sub ebx, dword [esp + 0x10]
sub esi, edx
mov al, byte [ecx + ebx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub esi, 1
jne 0x1011b2f1
mov dword [esp + 0x38], 1
lea eax, [esp + 0x40]
push 0x40
push eax
call fcn.1004f4b0
push 0x89
push str.crypto_rsa_rsa_oaep.c
push edi
push dword [esp + 0x30]
call fcn.1004b4d0
mov ecx, dword [esp + 0x98]
add esp, 0x18
mov eax, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101bdc82
add esp, 0x74
ret