Function at 0x574f60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b723c
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
push edi
mov eax, dword [0x5fa040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
mov eax, dword [edi + 0xf6c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
shl eax, 3
test byte [ebp + 8], 0x80
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 0
je 0x575003
push 2
lea ecx, [ebp - 0x3c]
call fcn.005778f0
mov esi, eax
mov edx, 4
mov ecx, esi
shl edx, cl
lea ecx, [ebp - 0x3c]
push edx
call fcn.005778f0
mov ecx, eax
mov dword [ebp - 0x18], ecx
cmp esi, 1
jne 0x574ff0
cmp ecx, 0x10
jae 0x574ff0
push 4
lea ecx, [ebp - 0x3c]
call fcn.005778f0
mov ecx, dword [ebp - 0x18]
or ecx, 0xfffffff0
shl ecx, 4
or ecx, eax
mov dword [ebp - 0x18], ecx
test ecx, ecx
jne 0x575000
mov ecx, edi
call fcn.00574eb0
mov ecx, dword [ebp - 0x18]
jmp 0x57500c
dec ecx
jmp 0x575009
mov ecx, dword [edi + 0xfbc]
mov dword [ebp - 0x18], ecx
mov eax, dword [edi + 0xfa4]
mov dword [ebp - 0x30], eax
cmp ecx, eax
ja 0x5756fc
mov dword [edi + 0xfbc], ecx
jne 0x575128
cmp ecx, 0x2000
ja 0x5756fc
push 0x2c
call fcn.00587dd8
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov edx, dword [edi + 0xfa8]
cmp dword [edi + 0xfa4], edx
jne 0x57510e
cmp edx, 0x7fffffff
jae 0x575711
mov eax, edx
mov ecx, SysReAllocString
shr eax, 2
sub ecx, edx
inc eax
cmp eax, ecx
cmovbe ecx, eax
add ecx, edx
mov eax, ecx
mov dword [ebp - 0x20], ecx
mov ecx, 4
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.0058813f
mov ecx, dword [edi + 0xfa4]
add esp, 4
mov dword [ebp + 0xc], eax
test ecx, ecx
je 0x5750ee
shl ecx, 2
push ecx
push dword [edi + 0xfa0]
push eax
call fcn.0058aed0
add esp, 0xc
push dword [edi + 0xfa0]
call fcn.00588148
mov eax, dword [ebp + 0xc]
add esp, 4
mov dword [edi + 0xfa0], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 0xfa8], eax
mov ecx, dword [edi + 0xfa4]
lea eax, [ecx + 1]
mov dword [edi + 0xfa4], eax
mov eax, dword [edi + 0xfa0]
mov dword [eax + ecx*4], esi
jmp 0x575137
mov eax, dword [edi + 0xfa0]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x14], eax
inc dword [eax + 0x28]
cmp dword [edi + 0xfb8], 0
je 0x575179
mov edx, dword [edi + 0xfb0]
xor ecx, ecx
mov esi, dword [edi + 0xfac]
xor eax, eax
test edx, edx
je 0x575169
mov edi, edx
mov edx, dword [esi + eax*4]
test edx, edx
je 0x575161
mov dword [esi + ecx*4], edx
inc ecx
inc eax
cmp eax, edi
jb 0x575156
mov edi, dword [ebp - 0x24]
mov dword [edi + 0xfb0], ecx
mov dword [edi + 0xfb8], 0
cmp dword [edi + 0xfb0], 0x2000
ja 0x5756fc
push 0x38
call fcn.00587dd8
mov esi, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 1
push dword [esi + 0x1c]
mov dword [esi + 0x20], 0
call fcn.00588148
push 0x40
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
call fcn.0058813f
push 0x40
push 0
push eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], 0x40
mov dword [esi + 0x20], 0x40
call fcn.0058ad30
mov dword [ebp - 4], 0xffffffff
add esp, 0x18
mov edx, dword [edi + 0xfb4]
cmp dword [edi + 0xfb0], edx
jne 0x575282
cmp edx, 0x7fffffff
jae 0x575711
mov eax, edx
mov ecx, SysReAllocString
shr eax, 2
sub ecx, edx
inc eax
cmp eax, ecx
cmovbe ecx, eax
add ecx, edx
mov eax, ecx
mov dword [ebp - 0x20], ecx
mov ecx, 4
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.0058813f
mov ecx, dword [edi + 0xfb0]
add esp, 4
mov dword [ebp + 0xc], eax
test ecx, ecx
je 0x575262
shl ecx, 2
push ecx
push dword [edi + 0xfac]
push eax
call fcn.0058aed0
add esp, 0xc
push dword [edi + 0xfac]
call fcn.00588148
mov eax, dword [ebp + 0xc]
add esp, 4
mov dword [edi + 0xfac], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 0xfb4], eax
mov ecx, dword [edi + 0xfb0]
push 2
lea eax, [ecx + 1]
mov dword [edi + 0xfb0], eax
mov eax, dword [edi + 0xfac]
mov dword [eax + ecx*4], esi
lea ecx, [ebp - 0x3c]
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x34], eax
call fcn.005778f0
mov esi, eax
mov edx, 4
mov ecx, esi
shl edx, cl
lea ecx, [ebp - 0x3c]
push edx
call fcn.005778f0
mov ecx, eax
mov dword [ebp + 0xc], ecx
cmp esi, 1
jne 0x5752e2
cmp ecx, 0x10
jae 0x5752e2
push 4
lea ecx, [ebp - 0x3c]
call fcn.005778f0
mov ecx, dword [ebp + 0xc]
or ecx, 0xfffffff0
shl ecx, 4
or ecx, eax
mov edx, dword [ebp + 8]
lea esi, [ecx + 0x102]
mov eax, dword [edi + 0x4c]
test dl, 0x40
cmove esi, ecx
mov ecx, dword [ebp - 0x1c]
add eax, esi
mov dword [ebp - 0x20], esi
and eax, 0x3fffff
mov dword [ecx + 0x28], eax
test dl, 0x20
je 0x575359
push 2
lea ecx, [ebp - 0x3c]
call fcn.005778f0
mov esi, eax
mov edx, 4
mov ecx, esi
shl edx, cl
lea ecx, [ebp - 0x3c]
push edx
call fcn.005778f0
mov ecx, eax
mov dword [ebp + 0xc], ecx
cmp esi, 1
jne 0x57534b
cmp ecx, 0x10
jae 0x57534b
push 4
lea ecx, [ebp - 0x3c]
call fcn.005778f0
mov ecx, dword [ebp + 0xc]
or ecx, 0xfffffff0
shl ecx, 4
or ecx, eax
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x20]
mov dword [edx + 0x24], ecx
mov ecx, dword [ebp - 0x1c]
jmp 0x57535c
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x24]
mov dword [ecx + 0x2c], eax
mov eax, dword [edi + 0x50]
cmp eax, dword [edi + 0x4c]
je 0x57537a
sub eax, dword [edi + 0x4c]
and eax, 0x3fffff
cmp eax, esi
ja 0x57537a
mov al, 1
jmp 0x57537c
xor al, al
test byte [ebp + 8], 0x10
xorps xmm0, xmm0
mov byte [ecx + 0x30], al
movups xmmword [ecx], xmm0
movq qword [ecx + 0x10], xmm0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0xc], 0x3c000
mov eax, dword [ecx + 0x2c]
mov dword [ecx + 0x10], eax
mov eax, dword [edx + 0x28]
mov dword [ecx + 0x14], eax
je 0x575436
push 7
lea ecx, [ebp - 0x3c]
call fcn.005778f0
mov edi, dword [ebp - 0x1c]
mov edx, eax
xor ecx, ecx
mov dword [ebp - 0x2c], edx
mov eax, 1
mov dword [ebp + 0xc], ecx
mov dword [ebp - 0x20], eax
nop dword [eax]
test edx, eax
je 0x575425
push 2
lea ecx, [ebp - 0x3c]
call fcn.005778f0
mov esi, eax
mov edx, 4
mov ecx, esi
shl edx, cl
lea ecx, [ebp - 0x3c]
push edx
call fcn.005778f0
mov ecx, eax
mov dword [ebp - 0x28], ecx
cmp esi, 1
jne 0x575416
cmp ecx, 0x10
jae 0x575416
push 4
lea ecx, [ebp - 0x3c]
call fcn.005778f0
mov ecx, dword [ebp - 0x28]
or ecx, 0xfffffff0
shl ecx, 4
or ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x2c]
mov dword [edi + eax*4], ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 0xc]
inc ecx
rol eax, 1
mov dword [ebp + 0xc], ecx
mov dword [ebp - 0x20], eax
cmp ecx, 7
jb 0x5753d0
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x30]
mov byte [ebp + 0xf], 1
cmp dword [ebp - 0x18], eax
jne 0x5755a6
push 2
lea ecx, [ebp - 0x3c]
call fcn.005778f0
mov esi, eax
mov edx, 4
mov ecx, esi
shl edx, cl
lea ecx, [ebp - 0x3c]
push edx
call fcn.005778f0
cmp esi, 1
mov dword [ebp + 0xc], eax
mov esi, eax
jne 0x575485
cmp esi, 0x10
jae 0x575485
push 4
lea ecx, [ebp - 0x3c]
call fcn.005778f0
or esi, 0xfffffff0
shl esi, 4
or esi, eax
cmp esi, 0x10000
jae 0x5756fc
test esi, esi
je 0x5756fc
mov dword [ebp + 0xc], 0
push 8
lea ecx, [ebp - 0x3c]
call fcn.005778f0
mov edx, dword [ebp + 0xc]
mov ecx, dword [edi + 0xf70]
mov byte [edx + ecx], al
inc edx
mov dword [ebp + 0xc], edx
cmp edx, esi
jb 0x5754a0
mov edx, dword [edi + 0xf70]
xor cl, cl
mov edi, dword [ebp - 0x14]
xor eax, eax
mov byte [ebp + 0xf], 0
mov dword [ebp - 0x18], edx
mov byte [edi + 4], 0
mov dword [edi], 0xffffffff
cmp esi, 0x20
jb 0x575552
mov ecx, esi
mov dword [ebp - 0x18], edx
and ecx, 0xffffffe0
xorps xmm1, xmm1
mov dword [ebp - 0x2c], ecx
xorps xmm2, xmm2
lea ecx, [edx + 0x10]
mov dword [ebp - 0x30], ecx
mov cl, al
mov edi, dword [ebp - 0x30]
mov byte [ebp + 0xf], cl
mov ecx, edx
movups xmm0, xmmword [eax + ecx]
xorps xmm1, xmm0
movups xmm0, xmmword [edi + eax]
add eax, 0x20
xorps xmm2, xmm0
cmp eax, dword [ebp - 0x2c]
jb 0x575502
mov edi, dword [ebp - 0x14]
xorps xmm1, xmm2
movaps xmm0, xmm1
psrldq xmm0, 8
xorps xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
xorps xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 2
xorps xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 1
xorps xmm1, xmm0
movd ecx, xmm1
cmp eax, esi
jae 0x57555a
xor cl, byte [edx + eax]
inc eax
cmp eax, esi
jb 0x575552
test cl, cl
jne 0x5755a6
mov eax, dword [ebp - 0x18]
mov edx, eax
or eax, 0xffffffff
mov byte [edi + 4], 1
push esi
mov ecx, eax
mov byte [ebp + 0xf], 1
call fcn.0044a290
xor edx, edx
not eax
xor ecx, ecx
nop dword [eax]
mov edi, 0x5c5adc
cmp dword [ecx + edi], eax
mov edi, dword [ebp - 0x14]
jne 0x575599
cmp dword [ecx + 0x5c5ad8], esi
je 0x57566e
add ecx, 0xc
inc edx
cmp ecx, 0x48
jb 0x575580
mov byte [edi + 4], 0
test byte [ebp + 8], 8
mov edi, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
mov eax, dword [edi + 8]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [ecx + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [ecx + 0x18], eax
mov eax, dword [edi + 0x2c]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ecx + 0x20], 0
mov eax, dword [eax + 0x28]
mov dword [ecx + 0x2c], eax
je 0x5756e6
push 2
lea ecx, [ebp - 0x3c]
call fcn.005778f0
mov esi, eax
mov eax, 4
mov ecx, esi
shl eax, cl
lea ecx, [ebp - 0x3c]
push eax
call fcn.005778f0
mov ecx, eax
mov dword [ebp + 8], ecx
cmp esi, 1
jne 0x575639
cmp ecx, 0x10
jae 0x575639
push 4
lea ecx, [ebp - 0x3c]
call fcn.005778f0
mov ecx, dword [ebp + 8]
or ecx, 0xfffffff0
shl ecx, 4
or ecx, eax
mov dword [ebp + 8], ecx
cmp ecx, 0x1fc0
ja 0x5756fc
lea esi, [ecx + 0x40]
cmp dword [edi + 0x20], esi
jae 0x5756bb
cmp esi, dword [edi + 0x24]
jbe 0x5756b8
cmp esi, 0x7fffffff
jbe 0x575681
mov dword [ebp + 0xc], 0x7e5
lea eax, [ebp + 0xc]
push 0x5f79a8
jmp 0x575720
mov dword [edi], edx
test edx, edx
js 0x5755a2
mov byte [ebp + 0xf], 1
jmp 0x5755a6
push esi
call fcn.0058813f
mov ecx, dword [edi + 0x20]
add esp, 4
mov dword [ebp - 0x30], eax
test ecx, ecx
je 0x5756a1
push ecx
push dword [edi + 0x1c]
push eax
call fcn.0058aed0
add esp, 0xc
push dword [edi + 0x1c]
call fcn.00588148
mov eax, dword [ebp - 0x30]
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [edi + 0x1c], eax
mov dword [edi + 0x24], esi
mov dword [edi + 0x20], esi
mov eax, dword [edi + 0x1c]
xor esi, esi
mov dword [ebp - 0x30], eax
test ecx, ecx
je 0x5756e6
mov edi, dword [ebp + 8]
nop word [eax + eax]
push 8
lea ecx, [ebp - 0x3c]
call fcn.005778f0
mov ecx, dword [ebp - 0x30]
mov byte [ecx + esi + 0x40], al
inc esi
cmp esi, edi
jb 0x5756d0
mov al, byte [ebp + 0xf]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov dword [ebp + 8], 0x7e5
lea eax, [ebp + 8]
push 0x5f79a8
push eax
call fcn.0058acc1
int3