Function at 0x59acd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x628960]
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.00530200
test esi, esi
push edi
cmove esi, edi
mov dword [ebp - 0x4c], esi
call fcn.005405c0
mov edi, eax
add esp, 8
mov dword [ebp - 0x60], edi
test edi, edi
js 0x59b0cc
mov eax, dword [ebp + 0x1c]
cmp eax, 0xffffffff
jne 0x59ad88
mov dword [ebp + 0x1c], edi
mov esi, dword [ebp - 0x50]
push dword [esi + 0x10]
call fcn.00513620
dec eax
and eax, 7
push esi
mov dword [ebp - 0x50], eax
call fcn.005449c0
mov ecx, dword [ebp - 0x50]
mov esi, eax
mov eax, 0xff
add esp, 8
shl eax, cl
test byte [ebx], al
je 0x59adb4
push 0x76
push str.F:Gitcurllookaside_opensslcrypto_rsa_rsa_pss.c
push 0x85
push 0x98
push 4
call fcn.005283a0
add esp, 0x14
jmp 0x59b0cc
cmp eax, 0xfffffffe
jne 0x59ad92
mov dword [ebp + 0x1c], eax
jmp 0x59ad3d
jge 0x59ad3d
push 0x6f
push str.F:Gitcurllookaside_opensslcrypto_rsa_rsa_pss.c
push 0x88
push 0x98
push 4
call fcn.005283a0
add esp, 0x14
jmp 0x59b0cc
test ecx, ecx
jne 0x59adbd
inc ebx
dec esi
mov dword [ebp - 0x5c], ebx
mov eax, dword [ebp + 0x1c]
add eax, 2
add eax, edi
cmp esi, eax
jge 0x59ade6
push 0x7e
push str.F:Gitcurllookaside_opensslcrypto_rsa_rsa_pss.c
push 0x6d
push 0x98
push 4
call fcn.005283a0
add esp, 0x14
jmp 0x59b0cc
cmp byte [ebx + esi - 1], 0xbc
je 0x59ae10
push 0x82
push str.F:Gitcurllookaside_opensslcrypto_rsa_rsa_pss.c
push 0x86
push 0x98
push 4
call fcn.005283a0
add esp, 0x14
jmp 0x59b0cc
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.00511fa0
add esp, 0xc
mov dword [ebp - 0x48], eax
test eax, eax
jne 0x59ae55
push 0x89
push str.F:Gitcurllookaside_opensslcrypto_rsa_rsa_pss.c
push 0x41
push 0x98
push 4
call fcn.005283a0
add esp, 0x14
jmp 0x59b0cc
push dword [ebp - 0x4c]
push edi
push ebx
push esi
push eax
call fcn.00592e60
add esp, 0x14
test eax, eax
js 0x59b0c1
xor eax, eax
test esi, esi
jle 0x59af1f
mov edx, dword [ebp - 0x48]
cmp esi, 0x20
jb 0x59aefb
mov ecx, dword [ebp - 0x5c]
lea eax, [ecx - 1]
add eax, esi
cmp edx, eax
ja 0x59ae93
lea eax, [edx - 1]
add eax, esi
cmp eax, ecx
jae 0x59aef9
mov eax, esi
and eax, 0x8000001f
jns 0x59aea1
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 0x59aec0
mov edi, dword [ebp - 0x60]
mov ebx, dword [ebp - 0x6c]
jmp 0x59aefb
xor eax, eax
cmp eax, esi
jge 0x59af1f
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 0x59af10
mov edi, dword [ebp - 0x60]
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x59af3b
mov ecx, 8
mov edx, 0xff
sub ecx, eax
mov eax, dword [ebp - 0x48]
sar edx, cl
and byte [eax], dl
jmp 0x59af3e
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x54]
xor esi, esi
cmp byte [eax], 0
jne 0x59af5b
lea edx, [ecx - 1]
jmp 0x59af50
cmp esi, edx
jge 0x59af5b
inc esi
cmp byte [esi + eax], 0
je 0x59af50
mov al, byte [esi + eax]
inc esi
cmp al, 1
je 0x59af86
push 0x94
push str.F:Gitcurllookaside_opensslcrypto_rsa_rsa_pss.c
push 0x87
push 0x98
push 4
call fcn.005283a0
add esp, 0x14
jmp 0x59b0c1
mov edx, dword [ebp + 0x1c]
test edx, edx
js 0x59afb8
mov eax, ecx
sub eax, esi
cmp eax, edx
je 0x59afb8
push 0x98
push str.F:Gitcurllookaside_opensslcrypto_rsa_rsa_pss.c
push 0x88
push 0x98
push 4
call fcn.005283a0
add esp, 0x14
jmp 0x59b0c1
push 0
push dword [ebp - 0x74]
lea eax, [ebp - 0x8c]
push eax
call fcn.0052fde0
add esp, 0xc
test eax, eax
je 0x59b0c1
push 8
lea eax, [ebp - 0x8c]
push 0x605f58
push eax
call fcn.0052ff90
add esp, 0xc
test eax, eax
je 0x59b0c1
push edi
push dword [ebp - 0x68]
lea eax, [ebp - 0x8c]
push eax
call fcn.0052ff90
add esp, 0xc
test eax, eax
je 0x59b0c1
mov eax, dword [ebp - 0x54]
sub eax, esi
je 0x59b032
push eax
mov eax, dword [ebp - 0x48]
add eax, esi
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.0052ff90
add esp, 0xc
test eax, eax
je 0x59b0c1
push 0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.0052fd30
add esp, 0xc
test eax, eax
je 0x59b0c1
lea ecx, [ebp - 0x44]
sub edi, 4
jb 0x59b064
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x59b069
add ecx, 4
add ebx, 4
sub edi, 4
jae 0x59b053
cmp edi, 0xfffffffc
je 0x59b0ba
mov al, byte [ecx]
cmp al, byte [ebx]
jne 0x59b096
cmp edi, 0xfffffffd
je 0x59b0ba
mov al, byte [ecx + 1]
cmp al, byte [ebx + 1]
jne 0x59b096
cmp edi, 0xfffffffe
je 0x59b0ba
mov al, byte [ecx + 2]
cmp al, byte [ebx + 2]
jne 0x59b096
cmp edi, 0xffffffff
je 0x59b0ba
mov al, byte [ecx + 3]
cmp al, byte [ebx + 3]
je 0x59b0ba
push 0xa6
push str.F:Gitcurllookaside_opensslcrypto_rsa_rsa_pss.c
push 0x68
push 0x98
push 4
call fcn.005283a0
add esp, 0x14
mov dword [ebp - 0x58], 0
jmp 0x59b0c1
mov dword [ebp - 0x58], 1
push dword [ebp - 0x48]
call fcn.00511f20
add esp, 4
lea eax, [ebp - 0x8c]
push eax
call fcn.0052ffa0
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, dword [ebp - 0x58]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004a0676
mov esp, ebp
pop ebp
ret