Function at 0x4fdb10
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x11c
mov eax, dword [0x5d3070]
xor eax, esp
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x134]
xorps xmm0, xmm0
push ebx
mov ebx, dword [esp + 0x134]
push ebp
mov ebp, dword [esp + 0x134]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x140]
push esi
mov dword [esp + 0x4c], eax
mov esi, ecx
mov eax, dword [esp + 0x148]
push edi
mov edi, edx
mov dword [esp + 0x58], ebp
mov dword [esp + 0x44], eax
movups xmmword [esp + 0xa0], xmm0
mov dword [esp + 0xd8], 0
movups xmmword [esp + 0xb0], xmm0
mov dword [esp + 0xdc], 0
movups xmmword [esp + 0xc0], xmm0
movq qword [esp + 0xd0], xmm0
nop dword [eax]
mov eax, dword [ecx]
lea ecx, [ecx + 4]
inc dword [esp + eax*4 + 0xa0]
sub edx, 1
jne 0x4fdba0
cmp dword [esp + 0xa0], edi
jne 0x4fdbda
mov dword [ebp], edx
mov dword [ebx], edx
xor eax, eax
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0053f778
add esp, 0x11c
ret
mov eax, dword [ebx]
mov ecx, 1
cmp dword [esp + ecx*4 + 0xa0], 0
jne 0x4fdbf1
inc ecx
cmp ecx, 0xf
jbe 0x4fdbe1
cmp eax, ecx
mov dword [esp + 0x14], ecx
mov edx, 0xf
cmovb eax, ecx
nop
cmp dword [esp + edx*4 + 0xa0], 0
jne 0x4fdc0f
sub edx, 1
jne 0x4fdc00
cmp eax, edx
mov dword [esp + 0x30], edx
mov ebp, 1
cmova eax, edx
shl ebp, cl
mov dword [esp + 0x18], eax
mov dword [ebx], eax
cmp ecx, edx
jae 0x4fdc44
nop dword [eax]
sub ebp, dword [esp + ecx*4 + 0xa0]
js 0x4fdd6c
inc ecx
add ebp, ebp
cmp ecx, edx
jb 0x4fdc30
lea ebx, [edx*4]
mov eax, dword [esp + ebx + 0xa0]
sub ebp, eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x60], ebp
js 0x4fdd6c
add eax, ebp
xor ecx, ecx
mov dword [esp + ebx + 0xa0], eax
mov dword [esp + 0xe4], ecx
sub edx, 1
je 0x4fdc96
xor eax, eax
nop dword [eax + eax]
add ecx, dword [esp + eax + 0xa4]
lea eax, [eax + 4]
mov dword [esp + eax + 0xe4], ecx
sub edx, 1
jne 0x4fdc80
mov ebx, dword [esp + 0x44]
xor ecx, ecx
nop dword [eax]
mov edx, dword [esi]
lea esi, [esi + 4]
test edx, edx
je 0x4fdcbb
mov eax, dword [esp + edx*4 + 0xe0]
mov dword [ebx + eax*4], ecx
inc eax
mov dword [esp + edx*4 + 0xe0], eax
inc ecx
cmp ecx, edi
jb 0x4fdca0
mov ebx, dword [esp + 0x34]
xor edi, edi
or ecx, 0xffffffff
mov dword [esp + 0x24], edi
xor ebp, ebp
mov dword [esp + 0x10], ecx
xor esi, esi
mov dword [esp + 0x64], edi
mov eax, dword [esp + ebx + 0xe0]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x5c], eax
neg ebx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xe0], edi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x34], ebp
cmp eax, dword [esp + 0x30]
jg 0x4fdfae
lea eax, [esp + eax*4 + 0xa0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx]
test ecx, ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x10]
je 0x4fdf9a
mov eax, dword [esp + 0x28]
lea edx, [eax + 1]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x18]
nop dword [eax + eax]
dec dword [esp + 0x40]
dec eax
mov dword [esp + 0x28], eax
lea eax, [ebx + edx]
cmp dword [esp + 0x14], eax
jle 0x4fde6e
sub ebx, edx
mov ebp, ebx
jmp 0x4fdd7a
mov eax, 0xfffffffd
jmp 0x4fdbc1
mov ebp, dword [esp + 0x4c]
mov edi, dword [esp + 0x30]
mov ebx, eax
add ebp, edx
mov dword [esp + 0x48], ebx
inc ecx
mov dword [esp + 0x4c], ebp
sub edi, ebx
mov dword [esp + 0x10], ecx
cmp edi, edx
mov eax, 1
cmova edi, edx
mov edx, dword [esp + 0x14]
sub edx, ebx
mov ecx, edx
shl eax, cl
cmp eax, dword [esp + 0x40]
jbe 0x4fddd4
mov esi, dword [esp + 0x2c]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x28]
add eax, ecx
cmp edx, edi
jae 0x4fddd4
inc edx
cmp edx, edi
jae 0x4fddd4
mov ecx, dword [esi + 4]
lea esi, [esi + 4]
add eax, eax
cmp eax, ecx
jbe 0x4fddd4
inc edx
sub eax, ecx
cmp edx, edi
jb 0x4fddc1
mov edi, dword [esp + 0x50]
mov ecx, edx
mov esi, 1
shl esi, cl
mov eax, dword [edi]
lea ecx, [eax + esi]
cmp ecx, 0x5a0
ja 0x4fdfce
mov ebp, dword [esp + 0x54]
mov dword [edi], ecx
mov edi, dword [esp + 0x24]
lea ebp, [ebp + eax*8]
mov eax, dword [esp + 0x10]
mov ecx, eax
mov dword [esp + 0x34], ebp
mov dword [esp + eax*4 + 0x64], ebp
test ecx, ecx
je 0x4fde57
mov eax, dword [esp + 0x18]
mov byte [esp + 0x39], al
mov eax, dword [esp + 0x10]
mov byte [esp + 0x38], dl
mov edx, edi
mov dword [esp + ecx*4 + 0xe0], edi
mov ecx, dword [esp + 0x4c]
shr edx, cl
mov ecx, dword [esp + eax*4 + 0x60]
mov eax, ebp
sub eax, ecx
sar eax, 3
sub eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + edx*8], eax
mov eax, dword [esp + 0x20]
mov dword [ecx + edx*8 + 4], eax
mov ecx, dword [esp + 0x10]
jmp 0x4fde5d
mov eax, dword [esp + 0x58]
mov dword [eax], ebp
mov edx, dword [esp + 0x18]
lea eax, [ebx + edx]
cmp dword [esp + 0x14], eax
jg 0x4fdd76
mov edx, dword [esp + 0x14]
mov al, dl
mov ecx, dword [esp + 0x5c]
sub al, bl
mov byte [esp + 0x39], al
mov eax, dword [esp + 0x44]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
jb 0x4fde94
mov byte [esp + 0x38], 0xc0
jmp 0x4fdedc
mov ecx, dword [ecx]
mov eax, dword [esp + 0x130]
mov dword [esp + 0x20], ecx
cmp ecx, eax
jae 0x4fdeb7
cmp ecx, 0x100
sbb al, al
and al, 0xa0
add al, 0x60
mov byte [esp + 0x38], al
jmp 0x4fded7
sub ecx, eax
mov eax, dword [esp + 0x138]
mov al, byte [eax + ecx*4]
add al, 0x50
mov byte [esp + 0x38], al
mov eax, dword [esp + 0x134]
mov ecx, dword [eax + ecx*4]
mov dword [esp + 0x20], ecx
add dword [esp + 0x1c], 4
mov ecx, edx
mov eax, edi
sub ecx, ebx
mov edx, 1
shl edx, cl
mov ecx, ebx
shr eax, cl
cmp eax, esi
jae 0x4fdf25
mov ebx, dword [esp + 0x20]
lea ecx, [eax*8]
add ecx, ebp
lea edi, [edx*8]
mov ebp, dword [esp + 0x38]
nop dword [eax]
mov dword [ecx], ebp
add eax, edx
mov dword [ecx + 4], ebx
add ecx, edi
cmp eax, esi
jb 0x4fdf10
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov eax, 1
lea ecx, [ecx - 1]
shl eax, cl
test edi, eax
je 0x4fdf3f
xor edi, eax
shr eax, 1
test edi, eax
jne 0x4fdf37
mov edx, dword [esp + 0x18]
xor edi, eax
mov ecx, ebx
mov dword [esp + 0x24], edi
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x10]
dec eax
and eax, edi
cmp eax, dword [esp + ecx*4 + 0xe0]
je 0x4fdf86
dec ecx
sub ebx, edx
mov dword [esp + 0x10], ecx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
dec eax
and eax, edi
cmp eax, dword [esp + ecx*4 + 0xe0]
jne 0x4fdf62
mov dword [esp + 0x48], ebx
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x34]
test eax, eax
jne 0x4fdd50
mov eax, dword [esp + 0x14]
add dword [esp + 0x2c], 4
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x30]
jle 0x4fdd26
cmp dword [esp + 0x60], 0
je 0x4fdbbf
cmp dword [esp + 0x30], 1
je 0x4fdbbf
mov eax, 0xfffffffb
jmp 0x4fdbc1
mov eax, 0xfffffffc
jmp 0x4fdbc1