Function at 0x4a91b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e461e
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x4fb614]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xf0]
push dword [ebp + 0x10]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x84], eax
call fcn.004b6c80
mov eax, 0xf
mov dword [ebp - 0x18], 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
lea edx, [ebp - 0x28]
movsx ecx, byte [ecx]
lea esi, [eax - 4]
mov edi, 0x4efab8
add ecx, 0xa10577
sub edi, edx
nop word [eax + eax]
mov eax, ecx
lea edx, [edx + 1]
imul ecx, ecx, 0xc3f5
shr eax, 0xa
xor al, byte [edi + edx - 1]
mov byte [edx - 1], al
add ecx, 0x82d9aa4
sub esi, 1
jne 0x4a9240
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xe0]
call fcn.004b7340
lea ecx, [ebp - 0xf0]
push ecx
push eax
lea ecx, [ebp - 0x98]
call fcn.004b65c0
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], 0x4efc60
test eax, eax
je 0x4a929f
push eax
call fcn.004d427b
add esp, 4
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4a92d3
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a92c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a99d9
push edx
push ecx
call fcn.004cf4f2
add esp, 8
mov eax, dword [ebp - 0xec]
test eax, eax
je 0x4a92e6
push eax
call fcn.004d427b
add esp, 4
mov esi, dword [ebp - 0x84]
cmp dword [esi + 4], 1
ja 0x4a9322
mov eax, dword [ebp - 0xa0]
movups xmm0, xmmword [ebp - 0x98]
mov dword [eax], 0x4efc60
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
movups xmmword [eax], xmm0
jmp 0x4a99bc
push 2
call fcn.004d4296
push 2
mov dword [ebp - 0x64], eax
mov word [eax], 0x22
mov esi, dword [esi + 8]
mov dword [ebp - 0x80], esi
call fcn.004d4296
mov edx, eax
mov dword [ebp - 0x7c], 0x4efc60
add esp, 8
mov dword [ebp - 0x60], edx
mov word [edx], 0x22
mov eax, dword [esi + 0x1c]
add eax, 2
mov dword [ebp - 0x70], eax
lea esi, [eax + 1]
mov dword [ebp - 0x74], esi
je 0x4a9419
test esi, esi
jne 0x4a937c
xor ecx, ecx
mov eax, edx
xor edi, edi
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x78], edi
jmp 0x4a93a0
push esi
call fcn.004d4296
mov edx, dword [ebp - 0x60]
mov ecx, eax
mov edi, ecx
mov dword [ebp - 0x68], ecx
add esp, 4
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x78], edi
mov eax, edx
cmp byte [edx], 0
je 0x4a93a6
nop dword [eax]
inc eax
cmp byte [eax], 0
jne 0x4a93a0
sub eax, edx
inc eax
push eax
push edx
push ecx
call fcn.004d1d90
mov eax, dword [ebp - 0x80]
add esp, 0xc
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x4a93e7
mov edx, dword [ebp - 0x68]
mov eax, ecx
inc edx
cmp byte [ecx], 0
je 0x4a93d6
nop dword [eax]
inc eax
cmp byte [eax], 0
jne 0x4a93d0
sub eax, ecx
inc eax
push eax
push ecx
push edx
call fcn.004d1d90
mov eax, dword [ebp - 0x80]
add esp, 0xc
mov eax, dword [eax + 0x1c]
mov ecx, dword [ebp - 0x64]
inc eax
mov edx, dword [ebp - 0x68]
add edx, eax
mov eax, ecx
cmp byte [ecx], 0
je 0x4a9406
nop word [eax + eax]
inc eax
cmp byte [eax], 0
jne 0x4a9400
sub eax, ecx
inc eax
push eax
push ecx
push edx
call fcn.004d1d90
mov edx, dword [ebp - 0x60]
add esp, 0xc
jmp 0x4a9426
xor edi, edi
xor esi, esi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], esi
push edx
call fcn.004d427b
push dword [ebp - 0x64]
call fcn.004d427b
mov ecx, dword [ebp - 0x84]
add esp, 8
mov dword [ebp - 0x9c], 2
cmp dword [ecx + 4], 2
jbe 0x4a978a
mov dword [ebp - 0xc8], 2
mov dword [ebp - 0xc4], 1
mov dword [ebp - 0xb0], 0x4efc60
mov dword [ebp - 0xd0], 0x4efc60
mov dword [ebp - 0x80], 0x20
push 2
call fcn.004d4296
add esp, 4
mov dword [ebp - 0xcc], eax
mov word [eax], 0x22
mov eax, dword [ebp - 0x84]
xor edx, edx
mov dword [ebp - 0x40], edx
mov eax, dword [eax + 8]
add eax, dword [ebp - 0x80]
mov dword [ebp - 0x60], eax
mov eax, 0xf
mov dword [ebp - 0x30], 2
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x40]
movsx ecx, byte [ecx]
lea edx, [ebp - 0x40]
mov edi, dword [ebp - 0x78]
add ecx, 0xb1ce62
mov esi, dword [ebp - 0x74]
mov eax, ecx
shr eax, 5
xor al, 0x53
mov dword [ebp - 0x5c], edi
mov byte [edx], al
imul eax, ecx, 0xbaf5
add eax, 0x907ce93
shr eax, 5
xor al, 0x10
mov byte [edx + 1], al
mov eax, edx
cmp dword [ebp - 0x2c], 0x10
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x64], eax
setae byte [ebp - 0x69]
mov dword [ebp - 0x88], edx
jb 0x4a9524
mov dword [ebp - 0x64], edx
test edx, edx
jne 0x4a9524
xor eax, eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa8], eax
jmp 0x4a9568
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xa4], eax
lea ecx, [eax + 1]
mov dword [ebp - 0xa8], ecx
test ecx, ecx
je 0x4a9548
push ecx
call fcn.004d4296
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
push dword [ebp - 0x64]
mov dword [ebp - 0x68], ecx
push ecx
mov dword [ebp - 0xac], ecx
call fcn.004d1d90
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov ecx, dword [ebp - 0x68]
mov byte [ecx + eax], 0
lea eax, [ebp - 0xd0]
push eax
push dword [ebp - 0x60]
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x100]
call fcn.004b6680
cmp dword [ebp - 0x70], 0
mov dword [ebp - 0x60], eax
jne 0x4a9677
test edi, edi
jne 0x4a95d5
mov esi, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], ecx
test esi, esi
je 0x4a95c8
push esi
call fcn.004d4296
mov edi, eax
mov eax, dword [ebp - 0x60]
push esi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x78], edi
push dword [eax + 4]
push edi
call fcn.004d1d90
add esp, 0x10
jmp 0x4a96f7
xor edi, edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x78], edi
jmp 0x4a96f7
cmp dword [eax + 4], 0
jne 0x4a95f9
push edi
call fcn.004d427b
xor edi, edi
add esp, 4
xor esi, esi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
jmp 0x4a96f7
mov ecx, dword [eax + 0xc]
lea eax, [ecx + 1]
cmp eax, esi
jbe 0x4a965b
sub ecx, esi
inc ecx
test esi, esi
je 0x4a9639
lea eax, [ecx + esi]
mov dword [ebp - 0x64], eax
cmp esi, eax
je 0x4a9634
test eax, eax
jne 0x4a9628
push edi
call fcn.004d427b
mov esi, dword [ebp - 0x64]
add esp, 4
xor edi, edi
jmp 0x4a9652
push eax
push edi
call fcn.004d42a1
add esp, 8
mov edi, eax
mov esi, dword [ebp - 0x64]
jmp 0x4a9652
lea esi, [ecx + 1]
test esi, esi
jne 0x4a9644
xor edi, edi
jmp 0x4a964f
push esi
call fcn.004d4296
add esp, 4
mov edi, eax
mov byte [edi], 0
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x78], edi
mov ecx, dword [ebp - 0x60]
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x70], eax
inc eax
push eax
push dword [ecx + 4]
push edi
call fcn.004d1d90
add esp, 0xc
jmp 0x4a96f7
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4a96f7
test esi, esi
je 0x4a96b0
add eax, esi
mov dword [ebp - 0x64], eax
cmp esi, eax
je 0x4a96ab
test eax, eax
jne 0x4a969f
push edi
call fcn.004d427b
mov esi, dword [ebp - 0x64]
add esp, 4
xor edi, edi
jmp 0x4a96c9
push eax
push edi
call fcn.004d42a1
add esp, 8
mov edi, eax
mov esi, dword [ebp - 0x64]
jmp 0x4a96c9
lea esi, [eax + 1]
test esi, esi
jne 0x4a96bb
xor edi, edi
jmp 0x4a96c6
push esi
call fcn.004d4296
add esp, 4
mov edi, eax
mov byte [edi], 0
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x70]
add eax, edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x74], esi
mov ecx, dword [edx + 0xc]
inc ecx
mov dword [ebp - 0x78], edi
push ecx
push dword [edx + 4]
push eax
call fcn.004d1d90
mov eax, dword [ebp - 0x60]
add esp, 0xc
mov ecx, dword [ebp - 0x70]
add ecx, dword [eax + 0xc]
mov dword [ebp - 0x70], ecx
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x100], 0x4efc60
test eax, eax
je 0x4a9714
push eax
call fcn.004d427b
add esp, 4
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x4a9724
push eax
call fcn.004d427b
add esp, 4
cmp byte [ebp - 0x69], 0
je 0x4a975c
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a9752
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a99d9
push ecx
push edx
call fcn.004cf4f2
add esp, 8
push dword [ebp - 0xcc]
call fcn.004d427b
mov eax, dword [ebp - 0x9c]
add esp, 4
mov ecx, dword [ebp - 0x84]
inc eax
add dword [ebp - 0x80], 0x10
mov dword [ebp - 0x9c], eax
cmp eax, dword [ecx + 4]
jb 0x4a9480
mov eax, 0xf
mov dword [ebp - 0x48], 0xe
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x58]
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
movq qword [ebp - 0x58], xmm0
lea edx, [ebp - 0x58]
mov word [ebp - 0x4c], 0
mov eax, 0x4efac4
mov byte [ebp - 0x4a], 0
mov esi, 0xe
movsx ecx, byte [ecx]
mov edi, dword [ebp - 0x78]
add ecx, 0xb66245
sub eax, edx
mov dword [ebp - 0x5c], edi
mov edi, eax
mov eax, ecx
lea edx, [edx + 1]
imul ecx, ecx, 0xc6f5
shr eax, 0xb
xor al, byte [edi + edx - 1]
mov byte [edx - 1], al
add ecx, 0x943511a
sub esi, 1
jne 0x4a97d5
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.004b7340
lea edx, [ebp - 0x7c]
mov esi, eax
lea ecx, [ebp - 0x110]
call fcn.004ad4f0
push eax
push esi
lea ecx, [ebp - 0xc0]
call fcn.004b65c0
mov edi, dword [ebp - 0x8c]
mov eax, dword [ebp - 0xbc]
test edi, edi
jne 0x4a9848
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x98]
call fcn.004b73d0
jmp 0x4a9902
mov esi, dword [ebp - 0xb4]
test esi, esi
je 0x4a9908
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x4a98bc
lea edi, [esi + eax]
cmp eax, edi
jne 0x4a987b
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x90], edi
mov edi, dword [ebp - 0x8c]
jmp 0x4a98de
test edi, edi
jne 0x4a989d
push dword [ebp - 0x94]
call fcn.004d427b
add esp, 4
mov dword [ebp - 0x90], edi
mov edi, dword [ebp - 0x8c]
xor ecx, ecx
jmp 0x4a98de
push edi
push dword [ebp - 0x94]
call fcn.004d42a1
mov dword [ebp - 0x90], edi
add esp, 8
mov edi, dword [ebp - 0x8c]
mov ecx, eax
jmp 0x4a98de
lea eax, [esi + 1]
test eax, eax
jne 0x4a98c7
xor ecx, ecx
jmp 0x4a98d5
push eax
call fcn.004d4296
mov ecx, eax
add esp, 4
lea eax, [esi + 1]
mov dword [ebp - 0x90], eax
mov byte [ecx], 0
lea eax, [esi + 1]
mov dword [ebp - 0x94], ecx
push eax
push dword [ebp - 0xbc]
lea eax, [ecx + edi]
push eax
call fcn.004d1d90
add esp, 0xc
add edi, esi
mov dword [ebp - 0x8c], edi
mov eax, dword [ebp - 0xbc]
mov edi, dword [ebp - 0x5c]
test eax, eax
je 0x4a9918
push eax
call fcn.004d427b
add esp, 4
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x110], 0x4efc60
test eax, eax
je 0x4a9935
push eax
call fcn.004d427b
add esp, 4
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x120], 0x4efc60
test eax, eax
je 0x4a9952
push eax
call fcn.004d427b
add esp, 4
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x4a9982
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a9978
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a99de
push edx
push ecx
call fcn.004cf4f2
add esp, 8
mov esi, dword [ebp - 0xa0]
movups xmm0, xmmword [ebp - 0x98]
mov dword [esi], 0x4efc60
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
movups xmmword [esi], xmm0
test edi, edi
je 0x4a99ba
push edi
call fcn.004d427b
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cf4aa
mov esp, ebp
pop ebp
ret 0xc
call fcn.004d4192
call fcn.004d4192
int3