Function at 0x574e70
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x318
cmp dword [ebx + 0x20], 0x100000
push esi
push edi
mov edi, 0x40
mov dword [ebp - 0x48], 0x28
mov dword [ebp - 0x14], edi
mov dword [ebp - 8], 8
mov byte [ebp - 1], 1
jb 0x574ed3
push 0xa9
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_ssl_s3_cbc.c
push str.Assertion_failed:_data_plus_mac_plus_padding_size___1024__1024
call fcn.004aec90
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push dword [ebx + 8]
call fcn.004a3c50
push eax
call fcn.004a3e40
add esp, 8
cmp eax, 0x2a0
jg 0x574f98
je 0x574f69
cmp eax, 4
je 0x574f2e
cmp eax, 0x40
jne 0x574fad
lea eax, [ebp - 0x218]
push eax
call fcn.004a1b80
add esp, 4
test eax, eax
jle 0x575690
mov dword [ebp - 0x30], 0x575840
mov ecx, 0x14
mov dword [ebp - 0x10], 0x4a1bc0
jmp 0x57505c
lea eax, [ebp - 0x218]
push eax
call fcn.004a2c90
add esp, 4
test eax, eax
jle 0x575690
mov eax, 0x30
mov dword [ebp - 0x30], 0x5757c0
mov dword [ebp - 0x10], 0x4a2cd0
mov ecx, 0x10
mov dword [ebp - 0x48], eax
mov byte [ebp - 1], 0
jmp 0x575061
lea eax, [ebp - 0x218]
push eax
call fcn.004a2030
add esp, 4
test eax, eax
jle 0x575690
mov dword [ebp - 0x30], 0x5758e0
mov ecx, 0x20
mov dword [ebp - 0x10], 0x4a2090
jmp 0x57505c
sub eax, 0x2a1
je 0x575023
sub eax, 1
je 0x575008
sub eax, 1
je 0x574fdc
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x574fba
mov dword [eax], 0
push 0xea
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_ssl_s3_cbc.c
push str.Assertion_failed:_0
call fcn.004aec90
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea eax, [ebp - 0x218]
push eax
call fcn.004a1ce0
add esp, 4
test eax, eax
jle 0x575690
mov dword [ebp - 0x30], 0x5758e0
mov ecx, 0x1c
mov dword [ebp - 0x10], 0x4a2090
jmp 0x57505c
lea eax, [ebp - 0x218]
push eax
call fcn.0052ad20
add esp, 4
test eax, eax
jle 0x575690
mov ecx, edi
jmp 0x57503f
lea eax, [ebp - 0x218]
push eax
call fcn.0052a320
add esp, 4
test eax, eax
jle 0x575690
mov ecx, 0x30
mov edi, 0x80
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0x52add0
mov dword [ebp - 0x30], 0x5759d0
mov eax, 0x28
cmp byte [ebx + 0x2c], 0
mov esi, 0xd
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x3c], esi
je 0x575086
mov esi, dword [ebx + 0x28]
add esi, 0xb
mov dword [ebp - 0x28], 2
add esi, eax
mov dword [ebp - 0x3c], esi
jmp 0x575096
lea eax, [edi + 0xff]
xor edx, edx
add eax, ecx
div edi
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x20]
sub esi, ecx
mov ecx, dword [ebp - 8]
dec eax
add ecx, esi
xor edx, edx
add ecx, edi
add eax, ecx
mov ecx, dword [ebx + 0x1c]
div edi
add ecx, esi
xor edx, edx
mov esi, dword [ebp - 0x14]
xor edi, edi
mov dword [ebp - 0x38], eax
mov eax, ecx
div esi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 8]
add eax, ecx
mov dword [ebp - 0x44], edx
xor edx, edx
mov dword [ebp - 0x24], edi
div esi
mov edx, dword [ebp - 0x38]
xor ecx, ecx
cmp byte [ebx + 0x2c], cl
mov dword [ebp - 0x60], eax
setne cl
add ecx, dword [ebp - 0x28]
mov dword [ebp - 0xc], ecx
mov ecx, edx
sub ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xc]
cmp eax, edx
jae 0x5750fb
mov edi, ecx
imul edi, esi
cmp eax, edx
mov dword [ebp - 0x24], edi
sbb eax, eax
and eax, ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x2c]
shl eax, 3
cmp byte [ebx + 0x2c], 0
mov dword [ebp - 0x1c], eax
jne 0x5751f7
lea eax, [eax + esi*8]
push esi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x130]
push 0
push eax
call fcn.00594c60
mov eax, dword [ebx + 0x28]
add esp, 0xc
cmp eax, 0x80
jbe 0x575159
push 0x151
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_ssl_s3_cbc.c
push str.Assertion_failed:_mac_secret_length___sizeof_hmac_pad_
call fcn.004aec90
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push eax
push dword [ebx + 0x24]
lea eax, [ebp - 0x130]
push eax
call fcn.00594dc0
movaps xmm2, xmmword [str.6666666666666666_]
add esp, 0xc
xor eax, eax
nop word [eax + eax]
movups xmm0, xmmword [ebp + eax - 0x130]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [ebp + eax - 0x130], xmm1
movups xmm0, xmmword [ebp + eax - 0x120]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [ebp + eax - 0x120], xmm1
movups xmm0, xmmword [ebp + eax - 0x110]
movaps xmm1, xmm2
pxor xmm0, xmm2
movups xmmword [ebp + eax - 0x110], xmm0
movups xmm0, xmmword [ebp + eax - 0x100]
pxor xmm1, xmm0
movups xmmword [ebp + eax - 0x100], xmm1
add eax, 0x40
cmp eax, esi
jb 0x575180
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
add esp, 8
mov ecx, eax
shr ecx, 0x18
mov dword [ebp - 0x34], ecx
mov ecx, eax
shr ecx, 0x10
shr eax, 8
cmp byte [ebp - 1], 0
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], eax
je 0x575246
mov eax, dword [ebp - 8]
add eax, 0xfffffffc
push eax
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.00594c60
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x34]
mov byte [ebp + eax - 0x5c], cl
mov ecx, dword [ebp - 0x2c]
mov byte [ebp + eax - 0x5b], cl
mov ecx, dword [ebp - 0xc]
mov byte [ebp + eax - 0x5a], cl
mov ecx, dword [ebp - 0x1c]
mov byte [ebp + eax - 0x59], cl
jmp 0x575273
push dword [ebp - 8]
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.00594c60
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x34]
mov byte [ebp + eax - 0x5d], cl
mov ecx, dword [ebp - 0x2c]
mov byte [ebp + eax - 0x5e], cl
mov ecx, dword [ebp - 0xc]
mov byte [ebp + eax - 0x5f], cl
mov ecx, dword [ebp - 0x1c]
mov byte [ebp + eax - 0x60], cl
add esp, 0xc
test edi, edi
je 0x575399
cmp byte [ebx + 0x2c], 0
je 0x575320
mov eax, dword [ebp - 0x3c]
cmp eax, esi
jbe 0x575690
push dword [ebx + 0x14]
mov esi, eax
lea eax, [ebp - 0x218]
sub esi, dword [ebp - 0x14]
push eax
call dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
add eax, dword [ebx + 0x14]
push esi
push eax
lea eax, [ebp - 0x298]
push eax
call fcn.00594dc0
mov eax, dword [ebp - 0x14]
sub eax, esi
push eax
push dword [ebx + 0x18]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x298]
add eax, esi
push eax
call fcn.00594dc0
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
xor edx, edx
mov eax, edi
add esp, 0x28
div esi
lea ecx, [eax - 1]
cmp ecx, 1
jbe 0x575399
mov edi, dword [ebp - 0x38]
lea eax, [ecx - 1]
add edi, dword [ebx + 0x18]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x218]
push edi
push eax
call dword [ebp - 0x10]
add esp, 8
add edi, esi
sub dword [ebp - 0xc], 1
jne 0x575308
jmp 0x575396
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx + 8]
movq xmm0, qword [ecx]
mov dword [ebp - 0x290], eax
mov al, byte [ecx + 0xc]
mov byte [ebp - 0x28c], al
lea eax, [esi - 0xd]
push eax
push dword [ebx + 0x18]
lea eax, [ebp - 0x28b]
movq qword [ebp - 0x298], xmm0
push eax
call fcn.00594dc0
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [ebp - 0x10]
xor edx, edx
mov eax, edi
div esi
add esp, 0x14
cmp eax, 1
jbe 0x575399
mov edi, dword [ebx + 0x18]
add edi, 0xfffffff3
add edi, esi
dec eax
mov dword [ebp - 0xc], eax
nop
lea eax, [ebp - 0x218]
push edi
push eax
call dword [ebp - 0x10]
add esp, 8
add edi, esi
sub dword [ebp - 0xc], 1
jne 0x575380
mov edi, dword [ebp - 0x24]
push 0x40
lea eax, [ebp - 0xb0]
push 0
push eax
call fcn.00594c60
mov eax, dword [ebp - 0x28]
add esp, 0xc
mov edx, dword [ebp - 0x40]
add eax, edx
mov dword [ebp - 0x6c], eax
cmp edx, eax
ja 0x575606
mov ecx, dword [ebp - 0x44]
mov eax, ecx
shr eax, 0x1f
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x24], esi
lea eax, [ecx + 1]
mov dword [ebp - 0x28], ecx
neg dword [ebp - 0x28]
shr eax, 0x1f
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
sub dword [ebp - 0x24], eax
sub eax, esi
lea eax, [ebp + eax - 0x58]
mov dword [ebp - 0x44], eax
mov eax, dword [ebx + 0x18]
sub eax, dword [ebp - 0x3c]
mov dword [ebx + 0x18], eax
lea eax, [ebp - 0x318]
add eax, ecx
mov dword [ebp - 0x68], eax
nop
mov eax, edx
xor esi, esi
xor eax, dword [ebp - 0x5c]
lea edx, [eax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and dl, al
mov eax, dword [ebp - 0x40]
xor eax, dword [ebp - 0x60]
neg dl
mov dword [ebp - 0x2c], edx
lea ecx, [eax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and cl, al
neg cl
movsx eax, cl
mov dword [ebp - 0x38], ecx
movd xmm0, eax
mov al, cl
not al
punpcklbw xmm0, xmm0
mov byte [ebp - 0x1e], al
or al, dl
mov edx, dword [ebp - 0x28]
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
mov byte [ebp - 0x1d], al
mov eax, dword [ebp - 0x44]
movaps xmmword [ebp - 0x140], xmm0
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 1], 0
cmp edi, eax
jae 0x575477
mov eax, dword [ebx + 0x14]
mov al, byte [edi + eax]
jmp 0x575484
add eax, dword [ebx + 0x20]
cmp edi, eax
jae 0x575487
mov eax, dword [ebx + 0x18]
mov al, byte [eax + edi]
mov byte [ebp - 1], al
mov eax, dword [ebp - 0x64]
mov ecx, esi
shr ecx, 0x1f
inc edi
shr edx, 0x1f
xor dl, al
xor al, cl
or dl, al
mov eax, dword [ebp - 0x1c]
dec eax
xor dl, cl
shr eax, 0x1f
dec dl
xor al, byte [ebp - 0xc]
and dl, byte [ebp - 0x2c]
mov dword [ebp - 8], eax
mov al, byte [ebp - 0xc]
xor al, cl
or byte [ebp - 8], al
mov al, dl
xor byte [ebp - 8], cl
not al
mov ecx, dword [ebp - 8]
and dl, 0x80
and al, byte [ebp - 1]
dec cl
and cl, byte [ebp - 0x2c]
or al, dl
not cl
and cl, al
and cl, byte [ebp - 0x1d]
mov dword [ebp - 8], ecx
cmp esi, dword [ebp - 0x24]
jb 0x5754eb
mov edx, dword [ebp - 0x34]
mov cl, byte [ebp - 0x1e]
mov al, byte [ebp - 0x38]
and cl, byte [ebp - 8]
and al, byte [edx]
or cl, al
mov edx, dword [ebp - 0x1c]
inc esi
mov eax, dword [ebp - 0x68]
inc dword [ebp - 0x34]
mov byte [eax + edx], cl
inc edx
mov dword [ebp - 0x1c], edx
cmp esi, dword [ebp - 0x14]
jb 0x575464
lea eax, [ebp - 0x318]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [ebp - 0x10]
lea eax, [ebp - 0x318]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [ebp - 0x30]
mov edx, dword [ebp - 0x18]
add esp, 0x10
xor eax, eax
cmp edx, 0x40
jb 0x5755d5
movaps xmm2, xmmword [ebp - 0x140]
mov ecx, edx
and ecx, 0xffffffc0
nop dword [eax]
nop dword [eax + eax]
movups xmm0, xmmword [ebp + eax - 0xb0]
movups xmm1, xmmword [ebp + eax - 0x318]
pand xmm1, xmm2
por xmm1, xmm0
movups xmmword [ebp + eax - 0xb0], xmm1
movups xmm0, xmmword [ebp + eax - 0xa0]
movups xmm1, xmmword [ebp + eax - 0x308]
pand xmm1, xmm2
por xmm1, xmm0
movups xmmword [ebp + eax - 0xa0], xmm1
movups xmm0, xmmword [ebp + eax - 0x90]
movups xmm1, xmmword [ebp + eax - 0x2f8]
pand xmm1, xmm2
por xmm1, xmm0
movups xmmword [ebp + eax - 0x90], xmm1
movups xmm1, xmmword [ebp + eax - 0x2e8]
movups xmm0, xmmword [ebp + eax - 0x80]
pand xmm1, xmm2
por xmm1, xmm0
movups xmmword [ebp + eax - 0x80], xmm1
add eax, 0x40
cmp eax, ecx
jb 0x575550
cmp eax, edx
jae 0x5755f6
nop dword [eax]
mov cl, byte [ebp + eax - 0x318]
and cl, byte [ebp - 0x38]
or byte [ebp + eax - 0xb0], cl
inc eax
cmp eax, edx
jb 0x5755e0
mov edx, dword [ebp - 0x40]
inc edx
mov dword [ebp - 0x40], edx
cmp edx, dword [ebp - 0x6c]
jbe 0x575400
call fcn.004b83a0
mov esi, eax
test esi, esi
je 0x575687
push 0
push dword [ebx + 8]
call fcn.004a3c50
add esp, 4
push eax
push esi
call fcn.004b7eb0
add esp, 0xc
test eax, eax
jle 0x575687
cmp byte [ebx + 0x2c], 0
je 0x57569b
mov edi, dword [ebp - 0x48]
lea eax, [ebp - 0x130]
push edi
push 0x5c
push eax
call fcn.00594c60
push dword [ebx + 0x28]
push dword [ebx + 0x24]
push esi
call fcn.004b8050
add esp, 0x18
test eax, eax
jle 0x575687
push edi
lea eax, [ebp - 0x130]
push eax
push esi
call fcn.004b8050
add esp, 0xc
test eax, eax
jle 0x575687
push dword [ebp - 0x18]
lea eax, [ebp - 0xb0]
push eax
push esi
call fcn.004b8050
add esp, 0xc
test eax, eax
jg 0x575747
push esi
call fcn.004b8380
add esp, 4
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
movaps xmm2, xmmword [str.jjjjjjjjjjjjjjjj_]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
nop word [eax + eax]
movups xmm0, xmmword [ebp + ecx - 0x130]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [ebp + ecx - 0x130], xmm1
movups xmm0, xmmword [ebp + ecx - 0x120]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [ebp + ecx - 0x120], xmm1
movups xmm0, xmmword [ebp + ecx - 0x110]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [ebp + ecx - 0x110], xmm1
movups xmm0, xmmword [ebp + ecx - 0x100]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [ebp + ecx - 0x100], xmm1
add ecx, 0x40
cmp ecx, eax
jb 0x5756b0
push eax
lea eax, [ebp - 0x130]
push eax
push esi
call fcn.004b8050
add esp, 0xc
test eax, eax
jle 0x575687
push dword [ebp - 0x18]
lea eax, [ebp - 0xb0]
push eax
push esi
call fcn.004b8050
add esp, 0xc
test eax, eax
jle 0x575687
lea eax, [ebp - 0x70]
push eax
push dword [ebx + 0xc]
push esi
call fcn.004b7d50
add esp, 0xc
test eax, eax
je 0x575767
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x575767
mov eax, dword [ebp - 0x70]
mov dword [ecx], eax
push esi
call fcn.004b8380
add esp, 4
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret