Function at 0x58dd10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x617960]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x8c]
push edi
mov edi, dword [ebp + 0x10]
push eax
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], 0
call fcn.00523230
test esi, esi
push edi
cmove esi, edi
mov dword [ebp - 0x4c], esi
call fcn.00533610
mov edi, eax
add esp, 8
mov dword [ebp - 0x60], edi
test edi, edi
js 0x58e10c
mov eax, dword [ebp + 0x1c]
cmp eax, 0xffffffff
jne 0x58ddc8
mov dword [ebp + 0x1c], edi
mov esi, dword [ebp - 0x50]
push dword [esi + 0x10]
call fcn.00506670
dec eax
and eax, 7
push esi
mov dword [ebp - 0x50], eax
call fcn.00537a00
mov ecx, dword [ebp - 0x50]
mov esi, eax
mov eax, 0xff
add esp, 8
shl eax, cl
test byte [ebx], al
je 0x58ddf4
push 0x76
push str.F:Gitcurllookaside_opensslcrypto_rsa_rsa_pss.c
push 0x85
push 0x98
push 4
call fcn.0051b3a0
add esp, 0x14
jmp 0x58e10c
cmp eax, 0xfffffffe
jne 0x58ddd2
mov dword [ebp + 0x1c], eax
jmp 0x58dd7d
jge 0x58dd7d
push 0x6f
push str.F:Gitcurllookaside_opensslcrypto_rsa_rsa_pss.c
push 0x88
push 0x98
push 4
call fcn.0051b3a0
add esp, 0x14
jmp 0x58e10c
test ecx, ecx
jne 0x58ddfd
inc ebx
dec esi
mov dword [ebp - 0x5c], ebx
mov eax, dword [ebp + 0x1c]
add eax, 2
add eax, edi
cmp esi, eax
jge 0x58de26
push 0x7e
push str.F:Gitcurllookaside_opensslcrypto_rsa_rsa_pss.c
push 0x6d
push 0x98
push 4
call fcn.0051b3a0
add esp, 0x14
jmp 0x58e10c
cmp byte [ebx + esi - 1], 0xbc
je 0x58de50
push 0x82
push str.F:Gitcurllookaside_opensslcrypto_rsa_rsa_pss.c
push 0x86
push 0x98
push 4
call fcn.0051b3a0
add esp, 0x14
jmp 0x58e10c
sub esi, edi
dec esi
push 0x87
push str.F:Gitcurllookaside_opensslcrypto_rsa_rsa_pss.c
add ebx, esi
mov dword [ebp - 0x54], esi
push esi
mov dword [ebp - 0x6c], ebx
call fcn.00504ff0
add esp, 0xc
mov dword [ebp - 0x48], eax
test eax, eax
jne 0x58de95
push 0x89
push str.F:Gitcurllookaside_opensslcrypto_rsa_rsa_pss.c
push 0x41
push 0x98
push 4
call fcn.0051b3a0
add esp, 0x14
jmp 0x58e10c
push dword [ebp - 0x4c]
push edi
push ebx
push esi
push eax
call fcn.00585e90
add esp, 0x14
test eax, eax
js 0x58e101
xor eax, eax
test esi, esi
jle 0x58df5f
mov edx, dword [ebp - 0x48]
cmp esi, 0x20
jb 0x58df3b
mov ecx, dword [ebp - 0x5c]
lea eax, [ecx - 1]
add eax, esi
cmp edx, eax
ja 0x58ded3
lea eax, [edx - 1]
add eax, esi
cmp eax, ecx
jae 0x58df39
mov eax, esi
and eax, 0x8000001f
jns 0x58dee1
dec eax
or eax, 0xffffffe0
inc eax
mov dword [ebp - 0x4c], esi
sub dword [ebp - 0x4c], eax
mov eax, ecx
sub eax, edx
mov dword [ebp - 0x70], eax
lea eax, [ecx + 0x10]
mov edi, dword [ebp - 0x70]
mov ecx, edx
mov dword [ebp - 0x64], eax
xor eax, eax
mov ebx, dword [ebp - 0x64]
mov edi, edi
movdqu xmm0, xmmword [ecx]
lea ecx, [ecx + 0x20]
movdqu xmm1, xmmword [edi + ecx - 0x20]
pxor xmm1, xmm0
movdqu xmmword [ecx - 0x20], xmm1
movdqu xmm1, xmmword [ebx + eax]
add eax, 0x20
movdqu xmm0, xmmword [ecx - 0x10]
pxor xmm1, xmm0
movdqu xmmword [ecx - 0x10], xmm1
cmp eax, dword [ebp - 0x4c]
jl 0x58df00
mov edi, dword [ebp - 0x60]
mov ebx, dword [ebp - 0x6c]
jmp 0x58df3b
xor eax, eax
cmp eax, esi
jge 0x58df5f
mov edi, dword [ebp - 0x5c]
lea ecx, [eax + edx]
sub edi, edx
sub esi, eax
lea esp, [esp]
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
dec esi
jne 0x58df50
mov edi, dword [ebp - 0x60]
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x58df7b
mov ecx, 8
mov edx, 0xff
sub ecx, eax
mov eax, dword [ebp - 0x48]
sar edx, cl
and byte [eax], dl
jmp 0x58df7e
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x54]
xor esi, esi
cmp byte [eax], 0
jne 0x58df9b
lea edx, [ecx - 1]
jmp 0x58df90
cmp esi, edx
jge 0x58df9b
inc esi
cmp byte [esi + eax], 0
je 0x58df90
mov al, byte [esi + eax]
inc esi
cmp al, 1
je 0x58dfc6
push 0x94
push str.F:Gitcurllookaside_opensslcrypto_rsa_rsa_pss.c
push 0x87
push 0x98
push 4
call fcn.0051b3a0
add esp, 0x14
jmp 0x58e101
mov edx, dword [ebp + 0x1c]
test edx, edx
js 0x58dff8
mov eax, ecx
sub eax, esi
cmp eax, edx
je 0x58dff8
push 0x98
push str.F:Gitcurllookaside_opensslcrypto_rsa_rsa_pss.c
push 0x88
push 0x98
push 4
call fcn.0051b3a0
add esp, 0x14
jmp 0x58e101
push 0
push dword [ebp - 0x74]
lea eax, [ebp - 0x8c]
push eax
call fcn.00522e10
add esp, 0xc
test eax, eax
je 0x58e101
push 8
lea eax, [ebp - 0x8c]
push 0x5f7e58
push eax
call fcn.00522fc0
add esp, 0xc
test eax, eax
je 0x58e101
push edi
push dword [ebp - 0x68]
lea eax, [ebp - 0x8c]
push eax
call fcn.00522fc0
add esp, 0xc
test eax, eax
je 0x58e101
mov eax, dword [ebp - 0x54]
sub eax, esi
je 0x58e072
push eax
mov eax, dword [ebp - 0x48]
add eax, esi
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00522fc0
add esp, 0xc
test eax, eax
je 0x58e101
push 0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00522d60
add esp, 0xc
test eax, eax
je 0x58e101
lea ecx, [ebp - 0x44]
sub edi, 4
jb 0x58e0a4
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x58e0a9
add ecx, 4
add ebx, 4
sub edi, 4
jae 0x58e093
cmp edi, 0xfffffffc
je 0x58e0fa
mov al, byte [ecx]
cmp al, byte [ebx]
jne 0x58e0d6
cmp edi, 0xfffffffd
je 0x58e0fa
mov al, byte [ecx + 1]
cmp al, byte [ebx + 1]
jne 0x58e0d6
cmp edi, 0xfffffffe
je 0x58e0fa
mov al, byte [ecx + 2]
cmp al, byte [ebx + 2]
jne 0x58e0d6
cmp edi, 0xffffffff
je 0x58e0fa
mov al, byte [ecx + 3]
cmp al, byte [ebx + 3]
je 0x58e0fa
push 0xa6
push str.F:Gitcurllookaside_opensslcrypto_rsa_rsa_pss.c
push 0x68
push 0x98
push 4
call fcn.0051b3a0
add esp, 0x14
mov dword [ebp - 0x58], 0
jmp 0x58e101
mov dword [ebp - 0x58], 1
push dword [ebp - 0x48]
call fcn.00504f70
add esp, 4
lea eax, [ebp - 0x8c]
push eax
call fcn.00522fd0
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, dword [ebp - 0x58]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0049355b
mov esp, ebp
pop ebp
ret