Function at 0x4b94c0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e58fd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
mov eax, dword [0x4fb614]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x48], eax
mov esi, dword [ebx + 8]
call fcn.004b8800
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
test al, al
jne 0x4b9522
mov eax, 0xffffffee
jmp 0x4b9927
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x60]
call eax
mov dword [ebp - 0x5c], edx
mov edi, eax
mov dword [ebp - 0x60], edi
test edx, edx
jne 0x4b975a
mov dword [ebp - 0x54], edx
mov dword [ebp - 4], 5
mov ecx, esi
mov eax, dword [esi]
push edx
push edx
push edx
mov eax, dword [eax + 0x1c]
call eax
push edi
call fcn.004cf500
mov ecx, dword [esi]
add esp, 4
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], eax
mov edx, dword [ecx + 0x30]
lea ecx, [ebp - 0x60]
push ecx
push eax
mov ecx, esi
call edx
test al, al
jne 0x4b973d
push 0x20
mov byte [ebp - 4], 5
call fcn.004aa4a0
mov edx, eax
mov dword [ebp - 0x34], 0x11
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0x1f
mov dword [ebp - 0x44], edx
mov edi, 0x4f52b0
mov esi, 0x11
movups xmmword [edx], xmm0
mov word [edx + 0x10], 0
movsx ecx, byte [edx]
add ecx, 0xc8b19e
sub edi, edx
mov eax, ecx
lea edx, [edx + 1]
imul ecx, ecx, 0xc9f5
shr eax, 0xb
xor al, byte [edi + edx - 1]
mov byte [edx - 1], al
add ecx, 0xa31589f
sub esi, 1
jne 0x4b95b5
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x70]
call fcn.004b7340
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x2c], esi
push 0x30
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 8
call fcn.004aa4a0
mov edx, eax
mov dword [ebp - 0x18], 0x2f
mov dword [ebp - 0x1c], 0x24
lea eax, [ebp - 0x2c]
xorps xmm0, xmm0
movups xmmword [edx], xmm0
movups xmmword [edx + 0x10], xmm0
mov dword [edx + 0x20], esi
mov byte [edx + 0x24], 0
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0x2c], edx
jb 0x4b9632
movsx ecx, byte [edx]
jmp 0x4b9638
movsx ecx, byte [eax]
lea edx, [ebp - 0x2c]
mov edi, 0x4f55c0
add ecx, 0xc8b19e
sub edi, edx
mov esi, 0x24
nop word [eax + eax]
mov eax, ecx
lea edx, [edx + 1]
imul ecx, ecx, 0xdcf5
shr eax, 0xb
xor al, byte [edi + edx - 1]
mov byte [edx - 1], al
add ecx, 0xa31589f
sub esi, 1
jne 0x4b9650
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x4c]
push dword [ebp - 0x48]
cmovae edx, dword [ebp - 0x2c]
push 0x83
mov dword [ebp - 0x4c], 0xfffffff5
call fcn.004bd480
mov edx, dword [ebp - 0x18]
add esp, 8
mov esi, dword [eax]
cmp edx, 0x10
jb 0x4b96cf
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4b96c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b9947
push edx
push ecx
call fcn.004cf4f2
add esp, 8
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x70], 0x4efc60
test eax, eax
je 0x4b96f8
push eax
call fcn.004d427b
add esp, 4
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x4b972c
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4b9722
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b9947
push edx
push ecx
call fcn.004cf4f2
add esp, 8
mov edi, dword [ebp - 0x50]
push edi
call fcn.004cf4b8
add esp, 4
jmp 0x4b9925
mov ecx, dword [ebp - 0x48]
push edi
mov edi, dword [ebp - 0x50]
push edi
call fcn.004b9960
push edi
mov esi, eax
call fcn.004cf4b8
add esp, 4
jmp 0x4b9925
mov dword [ebp - 0x44], 0
mov eax, 0xf
mov byte [ebp - 0x44], 0
xorps xmm0, xmm0
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], 0xe
movq qword [ebp - 0x44], xmm0
lea edx, [ebp - 0x44]
mov dword [ebp - 0x3c], 0
lea esi, [eax - 1]
mov word [ebp - 0x38], 0
mov edi, 0x4f51b8
mov byte [ebp - 0x36], 0
movsx ecx, byte [ecx]
add ecx, 0xb96f54
sub edi, edx
nop word [eax + eax]
mov eax, ecx
lea edx, [edx + 1]
imul ecx, ecx, 0xc6f5
shr eax, 9
xor al, byte [edx + edi - 1]
mov byte [edx - 1], al
add ecx, 0x96afadd
sub esi, 1
jne 0x4b97b0
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x70]
call fcn.004b7340
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x2c], esi
push 0x30
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 2
call fcn.004aa4a0
mov edx, eax
mov dword [ebp - 0x18], 0x2f
mov dword [ebp - 0x1c], 0x24
lea eax, [ebp - 0x2c]
xorps xmm0, xmm0
movups xmmword [edx], xmm0
movups xmmword [edx + 0x10], xmm0
mov dword [edx + 0x20], esi
mov byte [edx + 0x24], 0
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0x2c], edx
jb 0x4b9834
movsx ecx, byte [edx]
jmp 0x4b983a
movsx ecx, byte [eax]
lea edx, [ebp - 0x2c]
mov edi, 0x4f5620
add ecx, 0xb96f54
sub edi, edx
mov esi, 0x24
nop dword [eax]
mov eax, ecx
lea edx, [edx + 1]
imul ecx, ecx, 0xdcf5
shr eax, 9
xor al, byte [edi + edx - 1]
mov byte [edx - 1], al
add ecx, 0x96afadd
sub esi, 1
jne 0x4b9850
mov byte [ebp - 4], 4
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x48]
push dword [ebp - 0x4c]
cmovae edx, dword [ebp - 0x2c]
push 0x79
mov dword [ebp - 0x48], 0xfffffff1
call fcn.004bd480
mov edx, dword [ebp - 0x18]
add esp, 8
mov esi, dword [eax]
cmp edx, 0x10
jb 0x4b98cc
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4b98c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b994c
push edx
push ecx
call fcn.004cf4f2
add esp, 8
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x70], 0x4efc60
test eax, eax
je 0x4b98f5
push eax
call fcn.004d427b
add esp, 4
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x4b9925
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4b991b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b994c
push edx
push ecx
call fcn.004cf4f2
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004cf4aa
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.004d4192
call fcn.004d4192
int3