Function at 0x4e1900
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x6c
call fcn.005ae090
mov eax, dword [0x665ec0]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x70]
push ebx
mov ebx, dword [esp + 0x84]
push ebp
push esi
mov esi, dword [esp + 0x88]
xor ebp, ebp
push edi
mov edi, dword [esp + 0x88]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], 0
call fcn.00478cb0
mov dword [esp + 0x18], eax
test eax, eax
je 0x4e1e04
test esi, esi
mov eax, edi
push edi
cmovne eax, esi
mov dword [esp + 0x18], eax
call fcn.00463e20
mov edi, eax
add esp, 4
mov dword [esp + 0x24], edi
test edi, edi
js 0x4e1e04
mov esi, dword [esp + 0x94]
cmp esi, 0xffffffff
jne 0x4e19fc
mov esi, edi
mov dword [esp + 0x94], esi
mov eax, dword [esp + 0x10]
push dword [eax + 0x14]
call fcn.0046f7f0
push dword [esp + 0x14]
dec eax
and eax, 7
mov dword [esp + 0x34], eax
call fcn.004bdec0
mov edx, dword [esp + 0x34]
add esp, 8
mov dword [esp + 0x10], eax
mov ecx, edx
mov eax, 0xff
shl eax, cl
test byte [ebx], al
je 0x4e1a2d
call fcn.004648b0
push str.RSA_verify_PKCS1_PSS_mgf1
push 0x4d
push str.crypto_rsa_rsa_pss.c
call fcn.004649b0
push 0
push 0x85
push 4
call fcn.00464ac0
add esp, 0x18
jmp 0x4e1e04
cmp esi, 0xfffffffc
jge 0x4e199b
call fcn.004648b0
push str.RSA_verify_PKCS1_PSS_mgf1
push 0x46
push str.crypto_rsa_rsa_pss.c
call fcn.004649b0
push 0
push 0x88
push 4
call fcn.00464ac0
add esp, 0x18
jmp 0x4e1e04
test edx, edx
jne 0x4e1a36
inc ebx
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x10]
test edx, edx
lea ecx, [eax - 1]
cmovne ecx, eax
lea eax, [edi + 2]
cmp ecx, eax
jge 0x4e1a72
call fcn.004648b0
push str.RSA_verify_PKCS1_PSS_mgf1
push 0x55
push str.crypto_rsa_rsa_pss.c
call fcn.004649b0
push 0
push 0x6d
push 4
call fcn.00464ac0
add esp, 0x18
jmp 0x4e1e04
mov edx, ecx
sub edx, edi
lea eax, [edx - 2]
cmp esi, 0xfffffffd
jne 0x4e1ab8
mov dword [esp + 0x94], eax
cmp byte [ecx + ebx - 1], 0xbc
je 0x4e1aca
call fcn.004648b0
push str.RSA_verify_PKCS1_PSS_mgf1
push 0x5f
push str.crypto_rsa_rsa_pss.c
call fcn.004649b0
push 0
push 0x86
push 4
call fcn.00464ac0
add esp, 0x18
jmp 0x4e1e04
cmp esi, eax
jle 0x4e1a85
call fcn.004648b0
push str.RSA_verify_PKCS1_PSS_mgf1
push 0x5b
jmp 0x4e1a55
lea esi, [edx - 1]
push 0x64
push str.crypto_rsa_rsa_pss.c
push esi
mov dword [esp + 0x28], esi
add ebx, esi
call fcn.0045ef50
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x4e1e04
push dword [esp + 0x14]
push edi
push ebx
push esi
push ebp
call fcn.004e0630
add esp, 0x14
test eax, eax
js 0x4e1e04
xor edx, edx
test esi, esi
jle 0x4e1c32
cmp esi, 8
jb 0x4e1c10
mov ecx, dword [esp + 0x20]
lea eax, [ecx - 1]
add eax, esi
cmp ebp, eax
ja 0x4e1b32
lea eax, [ebp - 1]
add eax, esi
cmp eax, ecx
jae 0x4e1c10
cmp esi, 0x40
jb 0x4e1bbf
mov eax, esi
and eax, 0x8000003f
jns 0x4e1b49
dec eax
or eax, 0xffffffc0
inc eax
mov edi, esi
sub edi, eax
lea eax, [ebp + 0x10]
mov dword [esp + 0x10], edi
mov edi, ecx
sub edi, ebp
mov dword [esp + 0x14], edi
lea edi, [ecx + 0x30]
mov esi, 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 [esi + 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 [edi - 0x40]
movups xmm0, xmmword [eax - 0x20]
xorps xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp edx, dword [esp + 0x10]
jl 0x4e1b63
mov esi, dword [esp + 0x1c]
mov eax, esi
mov edi, dword [esp + 0x24]
and al, 0x3f
cmp al, 8
jb 0x4e1c10
mov eax, esi
and eax, reloc.WS2_32.dll_getsockopt
jns 0x4e1bcd
dec eax
or eax, 0xfffffff8
inc eax
mov dword [esp + 0x10], esi
sub dword [esp + 0x10], eax
sub ecx, ebp
mov dword [esp + 0x14], ecx
lea eax, [edx + ebp]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
nop word [eax + eax]
movq xmm1, qword [edi + eax]
lea eax, [eax + 8]
movq xmm0, qword [eax - 8]
add edx, 8
xorps xmm1, xmm0
movq qword [eax - 8], xmm1
cmp edx, ecx
jl 0x4e1bf0
mov edi, dword [esp + 0x24]
cmp edx, esi
jge 0x4e1c32
mov edi, dword [esp + 0x20]
lea ecx, [edx + ebp]
sub edi, ebp
sub esi, edx
nop
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub esi, 1
jne 0x4e1c20
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4e1c4b
mov ecx, 8
sub ecx, eax
mov eax, 0xff
sar eax, cl
and byte [ebp], al
mov ecx, dword [esp + 0x1c]
xor esi, esi
cmp byte [ebp], 0
jne 0x4e1c6b
lea eax, [ecx - 1]
nop word [eax + eax]
cmp esi, eax
jge 0x4e1c6b
inc esi
cmp byte [esi + ebp], 0
je 0x4e1c60
mov al, byte [esi + ebp]
inc esi
cmp al, 1
je 0x4e1c9f
call fcn.004648b0
push str.RSA_verify_PKCS1_PSS_mgf1
push 0x6f
push str.crypto_rsa_rsa_pss.c
call fcn.004649b0
push 0
push 0x87
push 4
call fcn.00464ac0
add esp, 0x18
jmp 0x4e1e04
mov eax, dword [esp + 0x94]
cmp eax, 0xfffffffe
je 0x4e1cf5
cmp eax, 0xfffffffc
je 0x4e1cf5
sub ecx, esi
mov dword [esp + 0x14], ecx
cmp ecx, eax
je 0x4e1cf5
call fcn.004648b0
push str.RSA_verify_PKCS1_PSS_mgf1
push 0x75
push str.crypto_rsa_rsa_pss.c
call fcn.004649b0
push dword [esp + 0x20]
mov eax, dword [esp + 0xa4]
push eax
push str.expected:__d_retrieved:__d
push 0x88
push 4
call fcn.00464ac0
add esp, 0x20
jmp 0x4e1e04
push 0
push dword [esp + 0x34]
push dword [esp + 0x20]
call fcn.00478650
add esp, 0xc
test eax, eax
je 0x4e1e04
push 8
push 0x621114
push dword [esp + 0x20]
call fcn.00478690
add esp, 0xc
test eax, eax
je 0x4e1e04
push edi
push dword [esp + 0x38]
push dword [esp + 0x20]
call fcn.00478690
add esp, 0xc
test eax, eax
je 0x4e1e04
mov eax, dword [esp + 0x1c]
sub eax, esi
je 0x4e1d64
push eax
lea eax, [esi + ebp]
push eax
push dword [esp + 0x20]
call fcn.00478690
add esp, 0xc
test eax, eax
je 0x4e1e04
push 0
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x20]
call fcn.00478460
add esp, 0xc
test eax, eax
je 0x4e1e04
lea ecx, [esp + 0x38]
sub edi, 4
jb 0x4e1d99
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x4e1d9e
add ecx, 4
add ebx, 4
sub edi, 4
jae 0x4e1d88
cmp edi, 0xfffffffc
je 0x4e1dfc
mov al, byte [ecx]
cmp al, byte [ebx]
jne 0x4e1dcb
cmp edi, 0xfffffffd
je 0x4e1dfc
mov al, byte [ecx + 1]
cmp al, byte [ebx + 1]
jne 0x4e1dcb
cmp edi, 0xfffffffe
je 0x4e1dfc
mov al, byte [ecx + 2]
cmp al, byte [ebx + 2]
jne 0x4e1dcb
cmp edi, 0xffffffff
je 0x4e1dfc
mov al, byte [ecx + 3]
cmp al, byte [ebx + 3]
je 0x4e1dfc
call fcn.004648b0
push str.RSA_verify_PKCS1_PSS_mgf1
push 0x85
push str.crypto_rsa_rsa_pss.c
call fcn.004649b0
push 0
push 0x68
push 4
call fcn.00464ac0
add esp, 0x18
mov dword [esp + 0x28], 0
jmp 0x4e1e04
mov dword [esp + 0x28], 1
push 0x8c
push str.crypto_rsa_rsa_pss.c
push ebp
call fcn.0045efe0
push dword [esp + 0x24]
call fcn.00478c20
mov ecx, dword [esp + 0x88]
add esp, 0x10
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005ae073
add esp, 0x6c
ret