Function at 0x10103560
Capabilities:
Encode data using xor

Disassembly:
jmp 0x10103560
mov eax, 0x5c
call fcn.101aa6d0
mov eax, dword [0x102745f0]
xor eax, esp
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x7c]
push esi
mov esi, dword [esp + 0x64]
push edi
mov edi, dword [esp + 0x7c]
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], 1
call sym.libcrypto_1_1.dll_EVP_MD_size
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jns 0x101035bb
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.101aa6fb
add esp, 0x5c
ret
push ebx
call sym.libcrypto_1_1.dll_HMAC_CTX_new
mov ebx, eax
mov dword [esp + 0xc], ebx
test ebx, ebx
je 0x10103615
test esi, esi
jne 0x101035d8
mov esi, 0x101dfbfe
xor ecx, ecx
jmp 0x101035ef
mov ecx, dword [esp + 0x70]
cmp ecx, 0xffffffff
jne 0x101035ef
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101035e6
sub ecx, edx
push 0
push edi
push ecx
push esi
push ebx
call sym.libcrypto_1_1.dll_HMAC_Init_ex
add esp, 0x14
test eax, eax
je 0x1010360c
call sym.libcrypto_1_1.dll_HMAC_CTX_new
mov edi, eax
test edi, edi
jne 0x10103629
push ebx
call sym.libcrypto_1_1.dll_HMAC_CTX_free
add esp, 4
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.101aa6fb
add esp, 0x5c
ret
mov ecx, dword [esp + 0x84]
push ebp
test ecx, ecx
je 0x1010377b
mov esi, dword [esp + 0x18]
mov edx, 1
cmp ecx, dword [esp + 0x1c]
mov ebp, ecx
cmovg ebp, dword [esp + 0x1c]
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x14], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x15], al
mov eax, edx
shr eax, 8
push ebx
push edi
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], dl
call sym.libcrypto_1_1.dll_HMAC_CTX_copy
add esp, 8
test eax, eax
je 0x101037c9
push dword [esp + 0x7c]
push dword [esp + 0x28]
push edi
call sym.libcrypto_1_1.dll_HMAC_Update
add esp, 0xc
test eax, eax
je 0x101037c9
push 4
lea eax, [esp + 0x18]
push eax
push edi
call sym.libcrypto_1_1.dll_HMAC_Update
add esp, 0xc
test eax, eax
je 0x101037c9
push 0
lea eax, [esp + 0x2c]
push eax
push edi
call sym.libcrypto_1_1.dll_HMAC_Final
add esp, 0xc
test eax, eax
je 0x101037c9
push ebp
lea eax, [esp + 0x2c]
push eax
push esi
call fcn.101aa710
mov ebx, 1
add esp, 0xc
cmp dword [esp + 0x80], ebx
jle 0x10103750
push dword [esp + 0x10]
push edi
call sym.libcrypto_1_1.dll_HMAC_CTX_copy
add esp, 8
test eax, eax
je 0x101037a2
push dword [esp + 0x1c]
lea eax, [esp + 0x2c]
push eax
push edi
call sym.libcrypto_1_1.dll_HMAC_Update
add esp, 0xc
test eax, eax
je 0x101037a2
push 0
lea eax, [esp + 0x2c]
push eax
push edi
call sym.libcrypto_1_1.dll_HMAC_Final
add esp, 0xc
test eax, eax
je 0x101037a2
test ebp, ebp
jle 0x10103746
mov eax, esi
lea esi, [esp + 0x28]
sub esi, dword [esp + 0x18]
mov edx, ebp
mov cl, byte [esi + eax]
xor byte [eax], cl
lea eax, [eax + 1]
dec edx
jne 0x10103737
mov esi, dword [esp + 0x18]
inc ebx
cmp ebx, dword [esp + 0x80]
jl 0x101036e4
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
sub ecx, ebp
inc edx
add esi, ebp
mov dword [esp + 0x88], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], esi
test ecx, ecx
jne 0x10103642
push edi
call sym.libcrypto_1_1.dll_HMAC_CTX_free
push ebx
call sym.libcrypto_1_1.dll_HMAC_CTX_free
add esp, 8
mov eax, 1
pop ebp
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.101aa6fb
add esp, 0x5c
ret
push edi
call sym.libcrypto_1_1.dll_HMAC_CTX_free
push dword [esp + 0x14]
call sym.libcrypto_1_1.dll_HMAC_CTX_free
add esp, 8
xor eax, eax
pop ebp
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.101aa6fb
add esp, 0x5c
ret
push edi
call sym.libcrypto_1_1.dll_HMAC_CTX_free
push ebx
call sym.libcrypto_1_1.dll_HMAC_CTX_free
mov ecx, dword [esp + 0x70]
add esp, 8
xor eax, eax
pop ebp
pop ebx
pop edi
pop esi
xor ecx, esp
call fcn.101aa6fb
add esp, 0x5c
ret