Function at 0x1003e5e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x7c
call fcn.100bf140
mov eax, dword [0x10116cb0]
xor eax, esp
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x84]
push ebx
mov ebx, dword [esp + 0x90]
push ebp
mov ebp, dword [esp + 0x88]
push esi
mov esi, dword [esp + 0x9c]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x2c]
push edi
mov edi, dword [esp + 0x98]
push eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x20], 0
call sym.LIBEAY32.dll_EVP_MD_CTX_init
test ebx, ebx
push edi
cmove ebx, edi
mov dword [esp + 0x1c], ebx
call sym.LIBEAY32.dll_EVP_MD_size
mov edi, eax
add esp, 8
test edi, edi
js 0x1003e88e
mov ebx, dword [esp + 0xa4]
cmp ebx, 0xffffffff
jne 0x1003e6b1
mov ebx, edi
mov dword [esp + 0xa4], ebx
push dword [ebp + 0x10]
call sym.LIBEAY32.dll_BN_num_bits
dec eax
and eax, 7
push ebp
mov dword [esp + 0x28], eax
call sym.LIBEAY32.dll_RSA_size
mov ecx, dword [esp + 0x28]
mov ebp, eax
mov eax, 0xff
add esp, 8
shl eax, cl
test byte [esi], al
je 0x1003e6da
push 0x76
push str..crypto_rsa_rsa_pss.c
push 0x85
push 0x95
push 4
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
jmp 0x1003e88e
cmp ebx, 0xfffffffe
jne 0x1003e6b8
jmp 0x1003e660
jge 0x1003e667
push 0x6f
push str..crypto_rsa_rsa_pss.c
push 0x88
push 0x95
push 4
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
jmp 0x1003e88e
test ecx, ecx
jne 0x1003e6e0
inc esi
dec ebp
lea eax, [edi + 2]
add eax, ebx
cmp ebp, eax
jge 0x1003e706
push 0x7e
push str..crypto_rsa_rsa_pss.c
push 0x6d
push 0x95
push 4
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
jmp 0x1003e88e
cmp byte [esi + ebp - 1], 0xbc
je 0x1003e730
push 0x82
push str..crypto_rsa_rsa_pss.c
push 0x86
push 0x95
push 4
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
jmp 0x1003e88e
sub ebp, edi
dec ebp
push 0x87
push str..crypto_rsa_rsa_pss.c
push ebp
lea ebx, [esi + ebp]
call sym.LIBEAY32.dll_CRYPTO_malloc
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1003e771
push 0x89
push str..crypto_rsa_rsa_pss.c
push 0x41
push 0x95
push 4
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
jmp 0x1003e88e
push dword [esp + 0x14]
push edi
push ebx
push ebp
push eax
call sym.LIBEAY32.dll_PKCS1_MGF1
add esp, 0x14
test eax, eax
js 0x1003e881
xor ecx, ecx
mov dword [esp + 0x18], ecx
test ebp, ebp
jle 0x1003e821
mov edx, dword [esp + 0x10]
cmp ebp, 0x10
jb 0x1003e807
lea eax, [ebp - 1]
mov dword [esp + 0x18], ecx
add eax, esi
cmp edx, eax
ja 0x1003e7b6
lea eax, [edx - 1]
add eax, ebp
cmp eax, esi
jae 0x1003e807
mov eax, ebp
and eax, reloc.WS2_32.dll_ntohs
jns 0x1003e7c4
dec eax
or eax, 0xfffffff0
inc eax
mov dword [esp + 0x14], ebp
mov ecx, esi
sub dword [esp + 0x14], eax
sub ecx, edx
mov dword [esp + 0x28], ecx
mov eax, edx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov edi, edi
movdqu xmm1, xmmword [edx + eax]
add ecx, 0x10
lea eax, [eax + 0x10]
movdqu xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x10], xmm1
cmp ecx, dword [esp + 0x14]
jl 0x1003e7e0
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
cmp ecx, ebp
jge 0x1003e821
add ecx, edx
sub esi, edx
mov edx, ebp
sub edx, dword [esp + 0x18]
mov al, byte [ecx + esi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
dec edx
jne 0x1003e815
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1003e83f
mov ecx, 8
mov edx, 0xff
sub ecx, eax
mov eax, dword [esp + 0x10]
sar edx, cl
and byte [eax], dl
jmp 0x1003e843
mov eax, dword [esp + 0x10]
xor esi, esi
cmp byte [eax], 0
jne 0x1003e85b
lea ecx, [ebp - 1]
lea ecx, [ecx]
cmp esi, ecx
jge 0x1003e85b
inc esi
cmp byte [esi + eax], 0
je 0x1003e850
mov al, byte [esi + eax]
inc esi
cmp al, 1
je 0x1003e8b5
push 0x94
push str..crypto_rsa_rsa_pss.c
push 0x87
push 0x95
push 4
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
mov ebp, dword [esp + 0x10]
push ebp
call sym.LIBEAY32.dll_CRYPTO_free
add esp, 4
lea eax, [esp + 0x30]
push eax
call sym.LIBEAY32.dll_EVP_MD_CTX_cleanup
mov ecx, dword [esp + 0x8c]
add esp, 4
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100bf100
add esp, 0x7c
ret
mov ecx, dword [esp + 0xa4]
test ecx, ecx
js 0x1003e8d9
mov eax, ebp
sub eax, esi
cmp eax, ecx
je 0x1003e8d9
push 0x98
push str..crypto_rsa_rsa_pss.c
push 0x88
jmp 0x1003e872
push 0
push dword [esp + 0x30]
lea eax, [esp + 0x38]
push eax
call sym.LIBEAY32.dll_EVP_DigestInit_ex
add esp, 0xc
test eax, eax
je 0x1003e881
push 8
lea eax, [esp + 0x34]
push 0x100c9480
push eax
call sym.LIBEAY32.dll_EVP_DigestUpdate
add esp, 0xc
test eax, eax
je 0x1003e881
push edi
push dword [esp + 0x28]
lea eax, [esp + 0x38]
push eax
call sym.LIBEAY32.dll_EVP_DigestUpdate
add esp, 0xc
test eax, eax
je 0x1003e881
sub ebp, esi
je 0x1003e94a
push ebp
mov ebp, dword [esp + 0x14]
lea eax, [esi + ebp]
push eax
lea eax, [esp + 0x38]
push eax
call sym.LIBEAY32.dll_EVP_DigestUpdate
add esp, 0xc
test eax, eax
je 0x1003e885
jmp 0x1003e94e
mov ebp, dword [esp + 0x10]
push 0
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x38]
push eax
call sym.LIBEAY32.dll_EVP_DigestFinal_ex
add esp, 0xc
test eax, eax
je 0x1003e885
lea ecx, [esp + 0x48]
sub edi, 4
jb 0x1003e984
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x1003e989
add ecx, 4
add ebx, 4
sub edi, 4
jae 0x1003e973
cmp edi, 0xfffffffc
je 0x1003e9de
mov al, byte [ecx]
cmp al, byte [ebx]
jne 0x1003e9b6
cmp edi, 0xfffffffd
je 0x1003e9de
mov al, byte [ecx + 1]
cmp al, byte [ebx + 1]
jne 0x1003e9b6
cmp edi, 0xfffffffe
je 0x1003e9de
mov al, byte [ecx + 2]
cmp al, byte [ebx + 2]
jne 0x1003e9b6
cmp edi, 0xffffffff
je 0x1003e9de
mov al, byte [ecx + 3]
cmp al, byte [ebx + 3]
je 0x1003e9de
push 0xa6
push str..crypto_rsa_rsa_pss.c
push 0x68
push 0x95
push 4
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
mov dword [esp + 0x1c], 0
jmp 0x1003e885
mov dword [esp + 0x1c], 1
jmp 0x1003e885