Function at 0x4a7190
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x536625
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 1
cmp dword [ebp + 0x18], 0
jne 0x4a71c4
mov byte [ebp - 0xd], 0
jmp 0x4a763b
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
push esi
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x4c], 0
push edi
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
mov byte [ebp - 4], 2
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov byte [ebp - 4], 3
xor edx, edx
mov byte [ebp - 0x24], 0xb8
mov esi, 0xf
mov byte [ebp - 0x23], 0xa1
mov byte [ebp - 0x22], 0xac
mov byte [ebp - 0x21], 0xac
mov byte [ebp - 0x20], 0xe0
mov byte [ebp - 0x1f], 0xfb
mov byte [ebp - 0x1e], 0xf7
mov byte [ebp - 0x1d], 0xd2
mov al, byte [ebp - 0x24]
mov dword [ebp - 0x1c], edx
mov al, byte [ebp + edx - 0x24]
mov ecx, edx
and ecx, esi
mov byte [ebp - 0xd], al
cmp ecx, esi
mov eax, 0xc58161d7
mov edx, 0x27f75b5d
cmovae ecx, esi
shl ecx, 2
call fcn.00521900
mov edx, dword [ebp - 0x1c]
mov cl, al
and cl, 0xf
lea eax, [edx - 0x29]
xor cl, al
xor cl, byte [ebp - 0xd]
mov byte [ebp + edx - 0x24], cl
inc edx
mov dword [ebp - 0x1c], edx
cmp edx, 8
jb 0x4a7246
lea edx, [ebp - 0x24]
lea ecx, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4a7290
mov edi, dword [ebp + 0x1c]
lea eax, [ebp - 0x24]
mov esi, dword [ebp + 0x18]
sub edx, ecx
push edx
cmp edi, 0x10
lea ecx, [ebp + 8]
push eax
cmovae ecx, dword [ebp + 8]
mov edx, esi
push 0
call fcn.004904a0
add esp, 0xc
cmp eax, 0xffffffff
je 0x4a72e9
mov edx, 7
lea ecx, [ebp + 8]
cmp esi, edx
cmovb edx, esi
cmp edi, 0x10
cmovae ecx, dword [ebp + 8]
sub esi, edx
lea eax, [esi + 1]
push eax
lea eax, [ecx + edx]
push eax
push ecx
call fcn.004fddc0
add esp, 0xc
mov dword [ebp + 0x18], esi
mov byte [ebp - 0x2d], 0x38
xor edx, edx
mov byte [ebp - 0x2c], 0x2f
mov esi, 0xf
mov byte [ebp - 0x2b], 0x2e
mov byte [ebp - 0x2a], 0x15
mov byte [ebp - 0x29], 0x17
mov byte [ebp - 0x28], 0x5a
mov byte [ebp - 0x27], 0x45
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x6c
mov al, byte [ebp - 0x2d]
mov dword [ebp - 0x1c], edx
nop word [eax + eax]
mov al, byte [ebp + edx - 0x2d]
mov ecx, edx
and ecx, esi
mov byte [ebp - 0xd], al
cmp ecx, esi
mov eax, 0x1925555d
mov edx, 0x83349529
cmovae ecx, esi
shl ecx, 2
call fcn.00521900
mov edx, dword [ebp - 0x1c]
mov cl, al
and cl, 0xf
lea eax, [edx + 0x5d]
xor cl, al
xor cl, byte [ebp - 0xd]
mov byte [ebp + edx - 0x2d], cl
inc edx
mov dword [ebp - 0x1c], edx
cmp edx, 9
jb 0x4a7320
lea edx, [ebp - 0x2d]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4a7365
mov edi, dword [ebp + 0x1c]
lea eax, [ebp - 0x2d]
mov esi, dword [ebp + 0x18]
sub edx, ecx
push edx
cmp edi, 0x10
lea ecx, [ebp + 8]
push eax
cmovae ecx, dword [ebp + 8]
mov edx, esi
push 0
call fcn.004904a0
add esp, 0xc
cmp eax, 0xffffffff
je 0x4a73be
mov edx, 8
lea ecx, [ebp + 8]
cmp esi, edx
cmovb edx, esi
cmp edi, 0x10
cmovae ecx, dword [ebp + 8]
sub esi, edx
lea eax, [esi + 1]
push eax
lea eax, [ecx + edx]
push eax
push ecx
call fcn.004fddc0
add esp, 0xc
mov dword [ebp + 0x18], esi
mov byte [ebp - 0xf], 0x6f
xor edx, edx
mov byte [ebp - 0xe], 0x4c
mov al, byte [ebp - 0xf]
mov dword [ebp - 0x1c], edx
nop
mov al, byte [ebp + edx - 0xf]
mov ecx, edx
and ecx, 0xf
mov byte [ebp - 0xd], al
cmp ecx, 0xf
mov eax, 0xf
mov edx, 0xffe320b4
cmovae ecx, eax
mov eax, 0xa3b47547
shl ecx, 2
call fcn.00521900
mov edx, dword [ebp - 0x1c]
mov cl, al
and cl, 0xf
lea eax, [edx + 0x47]
xor cl, al
xor cl, byte [ebp - 0xd]
mov byte [ebp + edx - 0xf], cl
inc edx
mov dword [ebp - 0x1c], edx
cmp edx, 2
jb 0x4a73d0
lea edx, [ebp - 0xf]
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4a7420
mov esi, dword [ebp + 0x18]
lea eax, [ebp - 0xf]
sub edx, ecx
cmp dword [ebp + 0x1c], 0x10
push edx
push eax
lea ecx, [ebp + 8]
mov edx, esi
cmovae ecx, dword [ebp + 8]
push 0
call fcn.004904a0
add esp, 0xc
mov edi, eax
cmp edi, 0xffffffff
lea eax, [ebp + 8]
cmove edi, esi
cmp esi, edi
mov ecx, edi
cmovb ecx, esi
cmp dword [ebp + 0x1c], 0x10
push ecx
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x60]
push eax
call fcn.0048a3c0
mov esi, dword [ebp + 0x18]
mov eax, esi
sub eax, edi
je 0x4a749b
mov ecx, dword [ebp - 0x50]
mov edx, esi
sub edx, ecx
cmp esi, ecx
jb 0x4a7669
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push edx
cmovae eax, dword [ebp + 8]
add eax, ecx
lea ecx, [ebp - 0x48]
push eax
call fcn.0048a3c0
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp + 0x30]
cmp dword [esi + 0x2c], 0xa
jne 0x4a753f
test edx, edx
je 0x4a753f
mov byte [ebp - 0x11], 0x7f
xor edx, edx
mov byte [ebp - 0x10], 0x4c
mov esi, 0xf
mov al, byte [ebp - 0x11]
mov dword [ebp - 0x1c], edx
mov al, byte [ebp + edx - 0x11]
mov ecx, edx
and ecx, esi
mov byte [ebp - 0xd], al
cmp ecx, esi
mov eax, 0xa3b47547
mov edx, 0xffe320b4
cmovae ecx, esi
shl ecx, 2
call fcn.00521900
mov edx, dword [ebp - 0x1c]
mov cl, al
and cl, 0xf
lea eax, [edx + 0x47]
xor cl, al
xor cl, byte [ebp - 0xd]
mov byte [ebp + edx - 0x11], cl
inc edx
mov dword [ebp - 0x1c], edx
cmp edx, 2
jb 0x4a74c8
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x11]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a7510
sub ecx, edx
lea eax, [ebp - 0x11]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.0048cd70
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
lea ecx, [ebp - 0x48]
push eax
call fcn.0048cd70
jmp 0x4a7558
lea ecx, [esi + 0x60]
lea eax, [ebp + 0x20]
cmp ecx, eax
je 0x4a7558
cmp dword [ebp + 0x34], 0x10
push edx
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.0048a3c0
cmp dword [ebp - 0x4c], 0x10
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0x50]
lea ecx, [esi + 0x30]
cmovae edx, dword [ebp - 0x60]
add eax, edx
cmp dword [ebp - 0x4c], 0x10
lea edx, [ebp - 0x60]
cmovae edx, dword [ebp - 0x60]
push eax
push edx
call fcn.004a7bd0
cmp dword [ebp - 0x34], 0x10
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x38]
cmovae edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x18]
add eax, edx
cmp dword [ebp - 0x34], 0x10
lea edx, [ebp - 0x48]
push eax
cmovae edx, dword [ebp - 0x48]
lea ecx, [ecx + 0x48]
push edx
call fcn.004a7bd0
mov byte [ebp - 0xd], 1
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x34]
pop edi
pop esi
cmp ecx, 0x10
jb 0x4a75e3
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a75d9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a766e
push ecx
push edx
call fcn.004e62c1
add esp, 8
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x4a7629
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a761f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a766e
push ecx
push edx
call fcn.004e62c1
add esp, 8
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0040b870
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.0040b870
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x30
call fcn.0048dc50
call fcn.005017c0
int3