Function at 0x100e5050
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x6c
call fcn.101aa130
mov eax, dword [0x102a1e64]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x80]
push ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x74]
push ebp
mov dword [esp + 8], eax
xor ebp, ebp
mov eax, dword [esp + 0x7c]
push esi
mov esi, dword [esp + 0x88]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], 0
call fcn.1007d200
mov dword [esp + 0x14], eax
test eax, eax
je 0x100e5565
test esi, esi
mov eax, ebx
push edi
cmovne eax, esi
push ebx
mov dword [esp + 0x18], eax
call fcn.100830f0
mov edi, eax
add esp, 4
mov dword [esp + 0x28], edi
test edi, edi
js 0x100e5564
mov ebx, dword [esp + 0x94]
cmp ebx, 0xffffffff
jne 0x100e5148
mov ebx, edi
mov dword [esp + 0x94], ebx
mov eax, dword [esp + 0x10]
push dword [eax + 0x14]
call fcn.10090ee0
push dword [esp + 0x14]
lea esi, [eax - 1]
and esi, 7
mov dword [esp + 0x2c], esi
call fcn.100e2630
mov edx, dword [esp + 0x24]
mov ecx, esi
mov dword [esp + 0x18], eax
add esp, 8
mov eax, 0xff
shl eax, cl
test byte [edx], al
je 0x100e5179
call fcn.10086800
push str.RSA_verify_PKCS1_PSS_mgf1
push 0x4d
push str.crypto_rsa_rsa_pss.c
call fcn.10086900
push 0
push 0x85
push 4
call fcn.100869b0
add esp, 0x18
jmp 0x100e5564
cmp ebx, 0xfffffffc
jge 0x100e50e5
call fcn.10086800
push str.RSA_verify_PKCS1_PSS_mgf1
push 0x46
push str.crypto_rsa_rsa_pss.c
call fcn.10086900
push 0
push 0x88
push 4
call fcn.100869b0
add esp, 0x18
jmp 0x100e5564
mov eax, dword [esp + 0x10]
lea ecx, [edx + 1]
test esi, esi
cmovne ecx, edx
lea edx, [eax - 1]
mov dword [esp + 0x1c], ecx
cmovne edx, eax
lea eax, [edi + 2]
cmp edx, eax
jge 0x100e51a4
call fcn.10086800
push str.RSA_verify_PKCS1_PSS_mgf1
push 0x55
jmp 0x100e51fa
mov esi, edx
sub esi, edi
lea eax, [esi - 2]
cmp ebx, 0xfffffffd
jne 0x100e51ea
mov dword [esp + 0x94], eax
cmp byte [edx + ecx - 1], 0xbc
je 0x100e5217
call fcn.10086800
push str.RSA_verify_PKCS1_PSS_mgf1
push 0x5f
push str.crypto_rsa_rsa_pss.c
call fcn.10086900
push 0
push 0x86
push 4
call fcn.100869b0
add esp, 0x18
jmp 0x100e5564
cmp ebx, eax
jle 0x100e51b7
call fcn.10086800
push str.RSA_verify_PKCS1_PSS_mgf1
push 0x5b
push str.crypto_rsa_rsa_pss.c
call fcn.10086900
push 0
push 0x6d
push 4
call fcn.100869b0
add esp, 0x18
jmp 0x100e5564
dec esi
push 0x64
push str.crypto_rsa_rsa_pss.c
push esi
mov dword [esp + 0x1c], esi
lea ebx, [ecx + esi]
call fcn.1007e760
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x100e5260
call fcn.10086800
push str.RSA_verify_PKCS1_PSS_mgf1
push 0x66
push str.crypto_rsa_rsa_pss.c
call fcn.10086900
push ebp
push 0xc0100
push 4
call fcn.100869b0
add esp, 0x18
jmp 0x100e5564
push dword [esp + 0x14]
push edi
push ebx
push esi
push ebp
call fcn.100e3d30
add esp, 0x14
test eax, eax
js 0x100e5564
xor edx, edx
test esi, esi
jle 0x100e5392
cmp esi, 8
jb 0x100e536e
mov ecx, dword [esp + 0x1c]
lea eax, [ecx - 1]
add eax, esi
cmp ebp, eax
ja 0x100e52a5
lea eax, [ebp - 1]
add eax, esi
cmp eax, ecx
jae 0x100e536e
cmp esi, 0x40
jb 0x100e532e
mov eax, esi
and eax, 0x8000003f
jns 0x100e52bc
dec eax
or eax, 0xffffffc0
inc eax
mov edi, esi
sub edi, eax
lea eax, [ecx + 0x30]
mov dword [esp + 0x14], eax
sub ecx, ebp
mov dword [esp + 0x2c], edi
lea eax, [ebp + 0x10]
mov edi, dword [esp + 0x14]
movups xmm0, xmmword [eax - 0x10]
add edx, 0x40
lea edi, [edi + 0x40]
lea eax, [eax + 0x40]
movups xmm1, xmmword [edi - 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 [edi - 0x50]
xorps xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [eax - 0x20]
movups xmm0, xmmword [edi - 0x40]
xorps xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp edx, dword [esp + 0x2c]
jl 0x100e52d4
mov edi, dword [esp + 0x28]
mov eax, esi
and al, 0x3f
cmp al, 8
jb 0x100e536e
jmp 0x100e5330
sub ecx, ebp
mov eax, esi
and eax, reloc.WS2_32.dll_getsockopt
jns 0x100e533e
dec eax
or eax, 0xfffffff8
inc eax
mov dword [esp + 0x14], esi
sub dword [esp + 0x14], eax
lea eax, [edx + ebp]
nop dword [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, dword [esp + 0x14]
jl 0x100e5350
cmp edx, esi
jge 0x100e5392
mov edi, dword [esp + 0x1c]
lea ecx, [edx + ebp]
sub edi, ebp
sub esi, edx
nop dword [eax]
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub esi, 1
jne 0x100e5380
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x100e53ab
mov ecx, 8
sub ecx, eax
mov eax, 0xff
sar eax, cl
and byte [ebp], al
mov ecx, dword [esp + 0x10]
xor esi, esi
cmp byte [ebp], 0
jne 0x100e53cb
lea eax, [ecx - 1]
nop word [eax + eax]
cmp esi, eax
jge 0x100e53cb
inc esi
cmp byte [esi + ebp], 0
je 0x100e53c0
mov al, byte [esi + ebp]
inc esi
cmp al, 1
je 0x100e53ff
call fcn.10086800
push str.RSA_verify_PKCS1_PSS_mgf1
push 0x71
push str.crypto_rsa_rsa_pss.c
call fcn.10086900
push 0
push 0x87
push 4
call fcn.100869b0
add esp, 0x18
jmp 0x100e5564
mov eax, dword [esp + 0x94]
cmp eax, 0xfffffffe
je 0x100e5455
cmp eax, 0xfffffffc
je 0x100e5455
sub ecx, esi
mov dword [esp + 0x24], ecx
cmp ecx, eax
je 0x100e5455
call fcn.10086800
push str.RSA_verify_PKCS1_PSS_mgf1
push 0x77
push str.crypto_rsa_rsa_pss.c
call fcn.10086900
push dword [esp + 0x30]
mov eax, dword [esp + 0xa4]
push eax
push str.expected:__d_retrieved:__d
push 0x88
push 4
call fcn.100869b0
add esp, 0x20
jmp 0x100e5564
push 0
push dword [esp + 0x34]
push dword [esp + 0x20]
call fcn.1007cbd0
add esp, 0xc
test eax, eax
je 0x100e5564
push 8
push 0x1020c3d4
push dword [esp + 0x20]
call fcn.1007cc10
add esp, 0xc
test eax, eax
je 0x100e5564
push edi
push dword [esp + 0x38]
push dword [esp + 0x20]
call fcn.1007cc10
add esp, 0xc
test eax, eax
je 0x100e5564
mov eax, dword [esp + 0x10]
sub eax, esi
je 0x100e54c4
push eax
lea eax, [esi + ebp]
push eax
push dword [esp + 0x20]
call fcn.1007cc10
add esp, 0xc
test eax, eax
je 0x100e5564
push 0
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x20]
call fcn.1007caa0
add esp, 0xc
test eax, eax
je 0x100e5564
lea ecx, [esp + 0x38]
sub edi, 4
jb 0x100e54f9
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x100e54fe
add ecx, 4
add ebx, 4
sub edi, 4
jae 0x100e54e8
cmp edi, 0xfffffffc
je 0x100e555c
mov al, byte [ecx]
cmp al, byte [ebx]
jne 0x100e552b
cmp edi, 0xfffffffd
je 0x100e555c
mov al, byte [ecx + 1]
cmp al, byte [ebx + 1]
jne 0x100e552b
cmp edi, 0xfffffffe
je 0x100e555c
mov al, byte [ecx + 2]
cmp al, byte [ebx + 2]
jne 0x100e552b
cmp edi, 0xffffffff
je 0x100e555c
mov al, byte [ecx + 3]
cmp al, byte [ebx + 3]
je 0x100e555c
call fcn.10086800
push str.RSA_verify_PKCS1_PSS_mgf1
push 0x87
push str.crypto_rsa_rsa_pss.c
call fcn.10086900
push 0
push 0x68
push 4
call fcn.100869b0
add esp, 0x18
mov dword [esp + 0x20], 0
jmp 0x100e5564
mov dword [esp + 0x20], 1
pop edi
push 0x8e
push str.crypto_rsa_rsa_pss.c
push ebp
call fcn.1007e7a0
push dword [esp + 0x20]
call fcn.1007d170
mov ecx, dword [esp + 0x84]
add esp, 0x10
mov eax, dword [esp + 0x1c]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101a966e
add esp, 0x6c
ret