Function at 0x592fd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x628960]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x20]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x24]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
dec edi
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x50], ecx
test ecx, ecx
jne 0x593016
call fcn.00530320
mov ecx, eax
mov dword [ebp - 0x50], eax
test esi, esi
push ecx
cmove esi, ecx
mov dword [ebp - 0x64], esi
call fcn.005405c0
mov esi, eax
mov ecx, edi
add esp, 4
mov dword [ebp - 0x5c], esi
lea eax, [esi + esi]
sub ecx, eax
mov dword [ebp - 0x60], ecx
dec ecx
cmp ebx, ecx
jle 0x593066
push 0x3a
push str.F:Gitcurllookaside_opensslcrypto_rsa_rsa_oaep.c
push 0x6e
push 0xa0
push 4
call fcn.005283a0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a0676
mov esp, ebp
pop ebp
ret
inc eax
cmp edi, eax
jge 0x593096
push 0x40
push str.F:Gitcurllookaside_opensslcrypto_rsa_rsa_oaep.c
push 0x78
push 0xa0
push 4
call fcn.005283a0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a0676
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x4c]
push 0
push dword [ebp - 0x50]
lea ebx, [ecx + 1]
mov byte [ecx], 0
push 0
add ebx, esi
lea eax, [ecx + 1]
push ebx
push dword [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x68]
mov dword [ebp - 0x54], ebx
call fcn.0052fc70
add esp, 0x18
test eax, eax
je 0x5932fa
mov eax, dword [ebp - 0x60]
sub eax, dword [ebp - 0x48]
dec eax
push eax
lea eax, [ebx + esi]
push 0
push eax
call fcn.004a2440
mov ecx, dword [ebp - 0x48]
mov eax, ebx
sub eax, ecx
sub eax, esi
push ecx
push dword [ebp - 0x58]
add eax, edi
push eax
mov byte [eax - 1], 1
call fcn.004abb00
mov ebx, dword [ebp - 0x4c]
push esi
push ebx
call fcn.00528a80
add esp, 0x20
test eax, eax
jle 0x5932fa
push 0x55
sub edi, esi
push str.F:Gitcurllookaside_opensslcrypto_rsa_rsa_oaep.c
push edi
call fcn.00511fa0
add esp, 0xc
mov dword [ebp - 0x48], eax
test eax, eax
jne 0x59314d
push 0x57
push str.F:Gitcurllookaside_opensslcrypto_rsa_rsa_oaep.c
push 0x41
push 0xa0
push 4
call fcn.005283a0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a0676
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x64]
push esi
push ebx
push edi
push eax
call fcn.00592e60
add esp, 0x14
test eax, eax
js 0x5932ef
xor ebx, ebx
test edi, edi
jle 0x593215
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x48]
cmp edi, 0x20
jb 0x5931f7
lea eax, [edx - 1]
add eax, edi
cmp ecx, eax
ja 0x59318b
lea eax, [ecx - 1]
add eax, edi
cmp eax, edx
jae 0x5931f7
mov eax, edi
and eax, 0x8000001f
jns 0x593199
dec eax
or eax, 0xffffffe0
inc eax
mov dword [ebp - 0x50], edi
mov esi, edx
sub dword [ebp - 0x50], eax
sub esi, ecx
mov dword [ebp - 0x58], esi
mov eax, ecx
lea esi, [edx + 0x10]
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x60], esi
mov esi, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
jmp 0x5931c0
movdqu xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movdqu xmm1, xmmword [edx + eax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x20], xmm1
movdqu xmm1, xmmword [ecx + ebx]
add ebx, 0x20
movdqu xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x10], xmm1
cmp ebx, dword [ebp - 0x50]
jl 0x5931c0
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x54]
cmp ebx, edi
jge 0x593215
mov esi, edx
add ecx, ebx
sub esi, dword [ebp - 0x54]
mov edx, edi
sub edx, ebx
mov al, byte [ecx + esi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
dec edx
jne 0x593206
mov esi, dword [ebp - 0x5c]
push dword [ebp - 0x64]
lea eax, [ebp - 0x44]
push edi
push dword [ebp - 0x54]
push esi
push eax
call fcn.00592e60
add esp, 0x14
test eax, eax
js 0x5932ef
xor edx, edx
test esi, esi
jle 0x5932ce
mov ebx, dword [ebp - 0x4c]
cmp esi, 0x20
jb 0x5932b4
lea ecx, [ebx - 1]
lea eax, [ebp + esi - 0x45]
add ecx, esi
cmp ebx, eax
ja 0x593257
lea eax, [ebp - 0x44]
cmp ecx, eax
jae 0x5932b4
mov eax, esi
and eax, 0x8000001f
jns 0x593265
dec eax
or eax, 0xffffffe0
inc eax
mov ecx, esi
lea edi, [ebp - 0x44]
sub ecx, eax
lea esi, [ebp - 0x34]
sub edi, ebx
mov eax, ebx
sub esi, ebx
mov dword [ebp - 0x58], esi
mov esi, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x58]
mov edi, edi
movdqu xmm0, xmmword [eax]
add edx, 0x20
lea eax, [eax + 0x20]
movdqu xmm1, xmmword [edi + eax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x20], xmm1
movdqu xmm0, xmmword [eax - 0x10]
movdqu xmm1, xmmword [ebx + eax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x10], xmm1
cmp edx, ecx
jl 0x593280
mov ebx, dword [ebp - 0x4c]
cmp edx, esi
jge 0x5932ce
lea edi, [ebp - 0x44]
sub edi, ebx
lea ecx, [edx + ebx]
sub esi, edx
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
dec esi
jne 0x5932c2
push dword [ebp - 0x48]
call fcn.00511f20
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a0676
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x48]
call fcn.00511f20
add esp, 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a0676
mov esp, ebp
pop ebp
ret