Function at 0x4a85c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d798d
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x5080e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], ecx
push 0x3c38
call fcn.004b9b3a
push 0x3c38
mov edi, eax
push 0
push edi
mov dword [ebp - 0x54], edi
call fcn.004bc0b0
mov dword [ebp - 0x5c], edi
push 0x3c38
push 0x553108
push edi
mov dword [ebp - 4], 0
call fcn.004bbb30
or eax, 0xffffffff
mov dword [ebp - 0x44], 2
sub eax, edi
lea ebx, [edi + 2]
mov dword [ebp - 0x4c], eax
add esp, 0x1c
mov eax, 1
sub eax, edi
mov dword [ebp - 0x50], eax
mov eax, 0xfffffffe
sub eax, edi
mov edi, eax
nop dword [eax]
lea esi, [ebx + edi]
mov eax, 0x4ec4ec4f
mul esi
mov ecx, esi
shr edx, 2
imul eax, edx, 0xd
sub ecx, eax
mov al, byte [ecx + 0x4fe0b8]
xor byte [ebx - 2], al
mov eax, 0x4ec4ec4f
mov ecx, dword [ebp - 0x4c]
lea ecx, [ebx + ecx]
mul ecx
mov ecx, esi
shr edx, 2
imul eax, edx, 0xd
sub ecx, eax
mov al, byte [ecx + 0x4fe0b9]
mov ecx, esi
xor byte [ebx - 1], al
mov eax, 0x4ec4ec4f
mul dword [ebp - 0x44]
add dword [ebp - 0x44], 4
shr edx, 2
imul eax, edx, 0xd
sub ecx, eax
mov al, byte [ecx + 0x4fe0ba]
xor byte [ebx], al
mov eax, 0x4ec4ec4f
mov ecx, dword [ebp - 0x50]
lea ecx, [ebx + ecx]
mul ecx
lea ebx, [ebx + 4]
shr edx, 2
imul eax, edx, 0xd
sub esi, eax
mov al, byte [esi + 0x4fe0bb]
xor byte [ebx - 3], al
lea eax, [ebx + edi]
cmp eax, 0x3c38
jb 0x4a8650
mov edi, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x58]
mov ecx, ebx
push 0x3c38
push edi
call fcn.004a9730
test al, al
jne 0x4a86f8
xor bl, bl
jmp 0x4a8800
push ebx
lea ecx, [ebp - 0x28]
call fcn.00448120
lea eax, [ebx + 0x18]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x40]
call fcn.00448120
mov byte [ebp - 4], 2
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x40]
cmovae edx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 0x10
cmovae ecx, dword [ebp - 0x40]
call fcn.004a9020
mov edx, dword [ebp - 0x2c]
mov byte [ebx + 0x34], al
cmp edx, 0x10
jb 0x4a8767
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a875d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a8827
push edx
push ecx
call fcn.004b9b73
add esp, 8
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push edx
call 0x5683e0
cmp byte [ebx + 0x34], 0
je 0x4a87bc
push 0xb
push 0x4fe0c8
push 0x4fe0d4
lea ecx, [ebp - 0x38]
call fcn.00444d50
push 0
push 0x100
push 3
push 0
push 0
push 0xc01200a0
push eax
call 0xce6367
xor bl, bl
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4a87ee
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a87e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a8827
push edx
push ecx
call fcn.004b9b73
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push edi
call fcn.004b9938
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b992a
mov esp, ebp
pop ebp
ret
call fcn.004bd9aa
int3