Function at 0x4b8950
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 0x4e5891
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x108
mov eax, dword [0x4fb614]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov esi, dword [ebx + 8]
mov dword [ebp - 0xa0], esi
call fcn.004b8800
xorps xmm0, xmm0
mov dword [ebp - 0xe8], 0x4f0058
movlpd qword [ebp - 0xe0], xmm0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0x4efc60
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
cmp dword [esi + 0xc], 0
jne 0x4b8a33
mov dword [ebp - 4], 2
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0xe8], 0x4f0058
call fcn.004c99c0
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], 0x4efc60
test eax, eax
je 0x4b8a29
push eax
call fcn.004d427b
add esp, 4
mov eax, 0xfffffff9
jmp 0x4b93e9
mov ecx, esi
call fcn.004c5860
test al, al
jne 0x4b8c76
mov dword [ebp - 0x4c], 0
push 0x20
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], al
mov byte [ebp - 4], 1
call fcn.004aa4a0
mov edx, eax
mov dword [ebp - 0x3c], 0x10
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0x1f
mov dword [ebp - 0x4c], edx
mov edi, 0x4f56a0
mov esi, 0x10
movups xmmword [edx], xmm0
mov byte [edx + 0x10], 0
movsx ecx, byte [edx]
add ecx, 0x858df2
sub edi, edx
nop word [eax + eax]
mov eax, ecx
lea edx, [edx + 1]
imul ecx, ecx, 0xc8f5
shr eax, 4
xor al, byte [edi + edx - 1]
mov byte [edx - 1], al
add ecx, 0x6c888e3
sub esi, 1
jne 0x4b8aa0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0xb4]
call fcn.004b7340
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x34], esi
push 0x30
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov byte [ebp - 4], 5
call fcn.004aa4a0
mov edx, eax
mov dword [ebp - 0x20], 0x2f
mov dword [ebp - 0x24], 0x24
lea eax, [ebp - 0x34]
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 - 0x20], 0x10
mov dword [ebp - 0x34], edx
jb 0x4b8b23
movsx ecx, byte [edx]
jmp 0x4b8b29
movsx ecx, byte [eax]
lea edx, [ebp - 0x34]
mov edi, 0x4f5560
add ecx, 0x858df2
sub edi, edx
mov esi, 0x24
nop dword [eax + eax]
mov eax, ecx
lea edx, [edx + 1]
imul ecx, ecx, 0xdcf5
shr eax, 4
xor al, byte [edi + edx - 1]
mov byte [edx - 1], al
add ecx, 0x6c888e3
sub esi, 1
jne 0x4b8b40
push dword [ebp - 0xa0]
mov byte [ebp - 4], 7
lea edx, [ebp - 0x34]
cmp dword [ebp - 0x20], 0x10
lea ecx, [ebp - 0x98]
push dword [ebp - 0x9c]
cmovae edx, dword [ebp - 0x34]
push 0x57
mov dword [ebp - 0x98], 0xfffffffd
call fcn.004bd220
add esp, 0xc
mov esi, dword [eax]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x4b8bcf
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4b8bc5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b9409
push edx
push ecx
call fcn.004cf4f2
add esp, 8
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov dword [ebp - 0xb4], 0x4efc60
test eax, eax
je 0x4b8bfe
push eax
call fcn.004d427b
add esp, 4
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x4b8c36
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4b8c2c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b9409
push edx
push ecx
call fcn.004cf4f2
add esp, 8
mov dword [ebp - 4], 8
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0xe8], 0x4f0058
call fcn.004c99c0
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], 0x4efc60
test ecx, ecx
je 0x4b8c6f
push ecx
call fcn.004d427b
add esp, 4
mov eax, esi
jmp 0x4b93e9
push ecx
push 0
push esi
lea ecx, [ebp - 0xe8]
call fcn.004c93b0
test al, al
jne 0x4b8e90
mov dword [ebp - 0x4c], 0
push 0x20
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], al
mov byte [ebp - 4], 1
call fcn.004aa4a0
mov ecx, eax
mov dword [ebp - 0x3c], 0x15
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0x1f
mov dword [ebp - 0x4c], ecx
mov edi, 0x4f54c0
mov esi, 0x15
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov word [ecx + 0x14], 0
movsx edx, byte [ecx]
add edx, 0x8a21d5
sub edi, ecx
nop dword [eax + eax]
mov eax, edx
lea ecx, [ecx + 1]
imul edx, edx, 0xcdf5
shr eax, 0xa
xor al, byte [edi + ecx - 1]
mov byte [ecx - 1], al
add edx, 0x7040b6a
sub esi, 1
jne 0x4b8cf0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0xb4]
call fcn.004b7340
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x34], esi
push 0x30
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov byte [ebp - 4], 0xb
call fcn.004aa4a0
mov edx, eax
mov dword [ebp - 0x20], 0x2f
mov dword [ebp - 0x24], 0x24
lea eax, [ebp - 0x34]
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 - 0x20], 0x10
mov dword [ebp - 0x34], edx
jb 0x4b8d73
movsx ecx, byte [edx]
jmp 0x4b8d79
movsx ecx, byte [eax]
lea edx, [ebp - 0x34]
mov edi, 0x4f5590
add ecx, 0x8a21d5
sub edi, edx
mov esi, 0x24
nop dword [eax + eax]
mov eax, ecx
lea edx, [edx + 1]
imul ecx, ecx, 0xdcf5
shr eax, 0xa
xor al, byte [edi + edx - 1]
mov byte [edx - 1], al
add ecx, 0x7040b6a
sub esi, 1
jne 0x4b8d90
push dword [ebp - 0xa0]
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x34]
cmp dword [ebp - 0x20], 0x10
lea ecx, [ebp - 0x9c]
push dword [ebp - 0x98]
cmovae edx, dword [ebp - 0x34]
push 0x5a
mov dword [ebp - 0x9c], 0xffffffea
call fcn.004bd220
mov edx, dword [ebp - 0x20]
add esp, 0xc
mov esi, dword [eax]
cmp edx, 0x10
jb 0x4b8e1b
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4b8e11
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b940e
push edx
push ecx
call fcn.004cf4f2
add esp, 8
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov dword [ebp - 0xb4], 0x4efc60
test eax, eax
je 0x4b8e4a
push eax
call fcn.004d427b
add esp, 4
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x4b8e7e
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4b8e74
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b940e
push edx
push ecx
call fcn.004cf4f2
add esp, 8
lea ecx, [ebp - 0xe8]
call fcn.004c9340
mov eax, esi
jmp 0x4b93e9
lea ecx, [ebp - 0xe8]
call fcn.004b9f40
mov dword [ebp - 0xa4], eax
test eax, eax
jns 0x4b8fdc
push ecx
push 0xf
lea ecx, [ebp - 0x64]
call fcn.004aa330
cmp dword [ebp - 0x50], 0x10
lea eax, [ebp - 0x64]
jb 0x4b8ec5
mov edx, dword [ebp - 0x64]
movsx ecx, byte [edx]
jmp 0x4b8ecb
movsx ecx, byte [eax]
lea edx, [ebp - 0x64]
mov edi, 0x4f52f0
add ecx, 0x903c59
sub edi, edx
mov esi, 0xf
nop dword [eax]
mov eax, ecx
lea edx, [edx + 1]
imul ecx, ecx, 0xc7f5
shr eax, 9
xor al, byte [edi + edx - 1]
mov byte [edx - 1], al
add ecx, 0x753641e
sub esi, 1
jne 0x4b8ee0
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0xb4]
call fcn.004b7340
mov dword [ebp - 0x98], eax
push ecx
push 0x24
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xf
call fcn.004aa330
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
jb 0x4b8f35
mov edx, dword [ebp - 0x34]
movsx ecx, byte [edx]
jmp 0x4b8f3b
movsx ecx, byte [eax]
lea edx, [ebp - 0x34]
mov edi, 0x4f56e0
add ecx, 0x903c59
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 [edx + edi - 1]
mov byte [edx - 1], al
add ecx, 0x753641e
sub esi, 1
jne 0x4b8f50
push ecx
push dword [ebp - 0xa0]
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0x34]
cmp dword [ebp - 0x20], 0x10
push dword [ebp - 0x98]
cmovae edx, dword [ebp - 0x34]
push ecx
lea ecx, [ebp - 0xa4]
call fcn.004bd320
add esp, 0x10
lea ecx, [ebp - 0x34]
mov esi, dword [eax]
call fcn.004aa2e0
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], 0x4efc60
test ecx, ecx
je 0x4b8fc2
push ecx
call fcn.004d427b
add esp, 4
lea ecx, [ebp - 0x64]
call fcn.004aa2e0
lea ecx, [ebp - 0xe8]
call fcn.004c9340
mov eax, esi
jmp 0x4b93e9
lea eax, [ebp - 0xe8]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.004b94c0
mov esi, eax
mov dword [ebp - 0xa4], esi
test esi, esi
jns 0x4b9308
mov eax, dword [0x4fdaa8]
push ecx
push 0x24
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x9c], eax
call fcn.004aa330
cmp dword [ebp - 0x50], 0x10
lea eax, [ebp - 0x64]
jb 0x4b9028
mov edx, dword [ebp - 0x64]
movsx ecx, byte [edx]
jmp 0x4b902e
movsx ecx, byte [eax]
lea edx, [ebp - 0x64]
mov edi, 0x4f5190
add ecx, 0x9f7ea3
sub edi, edx
mov esi, 0x24
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, 0x819c1e0
sub esi, 1
jne 0x4b9040
cmp dword [ebp - 0x50], 0x10
lea eax, [ebp - 0x64]
push 0x4f45fc
cmovae eax, dword [ebp - 0x64]
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x98], eax
call fcn.004b7220
push 0x4f5184
lea ecx, [ebp - 0x2c]
call fcn.004b7220
mov eax, dword [ebp - 0xa4]
add eax, 0x25
cmp eax, 0x27
ja case.0x4b90a0.36
jmp dword [eax*4 + 0x4b9414]
mov eax, 0x4f64b0
jmp 0x4b91f2
mov eax, 0x4f64a4
jmp 0x4b91f2
mov eax, 0x4f64cc
jmp 0x4b91f2
mov eax, 0x4f64c4
jmp 0x4b91f2
mov eax, 0x4f64e0
jmp 0x4b91f2
mov eax, 0x4f64d0
jmp 0x4b91f2
mov eax, 0x4f6504
jmp 0x4b91f2
mov eax, 0x4f64f4
jmp 0x4b91f2
mov eax, 0x4f6524
jmp 0x4b91f2
mov eax, 0x4f6510
jmp 0x4b91f2
mov eax, 0x4f6548
jmp 0x4b91f2
mov eax, 0x4f6534
jmp 0x4b91f2
mov eax, 0x4f6568
jmp 0x4b91f2
mov eax, 0x4f6558
jmp 0x4b91f2
mov eax, 0x4f6584
jmp 0x4b91f2
mov eax, 0x4f6574
jmp 0x4b91f2
mov eax, 0x4f65a4
jmp 0x4b91f2
mov eax, 0x4f6594
jmp 0x4b91f2
mov eax, 0x4f65bc
jmp 0x4b91f2
mov eax, 0x4f65ac
jmp 0x4b91f2
mov eax, 0x4f65dc
jmp 0x4b91f2
mov eax, 0x4f65cc
jmp 0x4b91f2
mov eax, 0x4f65fc
jmp 0x4b91f2
mov eax, 0x4f65f0
jmp 0x4b91f2
mov eax, 0x4f6618
jmp 0x4b91f2
mov eax, 0x4f660c
jmp 0x4b91f2
mov eax, 0x4f663c
jmp 0x4b91f2
mov eax, 0x4f6628
jmp 0x4b91f2
mov eax, 0x4f6654
jmp 0x4b91f2
mov eax, 0x4f6644
jmp 0x4b91f2
mov eax, 0x4f6670
jmp 0x4b91f2
mov eax, 0x4f6660
jmp 0x4b91f2
mov eax, 0x4f6684
jmp 0x4b91f2
mov eax, 0x4f667c
jmp 0x4b91f2
mov eax, 0x4f66a4
jmp 0x4b91f2
mov eax, 0x4f6690
jmp 0x4b91f2
mov eax, 0x4f66c0
jmp 0x4b91f2
mov eax, 0x4f66b0
jmp 0x4b91f2
mov eax, 0x4f66d0
push eax
lea ecx, [ebp - 0x44]
call fcn.004b7220
push 0x4f5188
lea ecx, [ebp - 0xb4]
call fcn.004b7220
push ecx
push 0x10
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x1b
call fcn.004aa330
cmp dword [ebp - 0x68], 0x10
lea eax, [ebp - 0x7c]
jb 0x4b922b
mov edx, dword [ebp - 0x7c]
movsx ecx, byte [edx]
jmp 0x4b9231
movsx ecx, byte [eax]
lea edx, [ebp - 0x7c]
mov edi, 0x4f5230
add ecx, 0x9f7ea3
sub edi, edx
mov esi, 0x10
mov eax, ecx
lea edx, [edx + 1]
imul ecx, ecx, 0xc8f5
shr eax, 0xb
xor al, byte [edi + edx - 1]
mov byte [edx - 1], al
add ecx, 0x819c1e0
sub esi, 1
jne 0x4b9243
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x11c]
call fcn.004b7340
lea ecx, [ebp - 0xf8]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0xb4]
push ecx
push dword [ebp - 0xa0]
lea ecx, [ebp - 0x10c]
push eax
call fcn.004b6a00
push ecx
push esi
mov byte [ebp - 4], 0x1e
mov ecx, dword [ebp - 0x9c]
push 0x68
push dword [ebp - 0x98]
push dword [eax + 4]
call fcn.004c3d30
lea ecx, [ebp - 0x10c]
call fcn.004b73b0
lea ecx, [ebp - 0x11c]
call fcn.004b73b0
lea ecx, [ebp - 0x7c]
call fcn.004aa2e0
lea ecx, [ebp - 0xb4]
call fcn.004b73b0
lea ecx, [ebp - 0x44]
call fcn.004b73b0
lea ecx, [ebp - 0x2c]
call fcn.004b73b0
lea ecx, [ebp - 0xf8]
call fcn.004b73b0
lea ecx, [ebp - 0x64]
call fcn.004aa2e0
mov esi, dword [ebp - 0xa4]
lea ecx, [ebp - 0xe8]
call fcn.004c9340
mov eax, esi
jmp 0x4b93e9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004cf4aa
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.004d4192
call fcn.004d4192
nop
out 0x91, al
dec ebx
add ch, ch
xchg ecx, eax
dec ebx
add ch, ch
xchg ecx, eax
dec ebx
add bh, bl
xchg ecx, eax
dec ebx
add al, bl
xchg ecx, eax
dec ebx
add cl, dl
xchg ecx, eax
dec ebx
add dl, cl
xchg ecx, eax
dec ebx
add bl, al
xchg ecx, eax
dec ebx
add byte [ecx + edx*4 - 0x6e4affb5], bh
dec ebx
add byte [esi - 0x58ffb46f], ch
xchg ecx, eax
dec ebx
add byte [eax - 0x66ffb46f], ah
xchg ecx, eax
dec ebx
add byte [edx - 0x74ffb46f], dl
xchg ecx, eax
dec ebx
add byte [ecx + edx*4 - 0x6e82ffb5], al
dec ebx
add byte [esi - 0x6f], dh
dec ebx
add byte [edi - 0x6f], ch
dec ebx
add byte [ebp - 0x6f], ah
dec ebx
add byte [ebx - 0x6f], bl
dec ebx
add byte [ecx - 0x6f], dl
dec ebx
add byte [edi - 0x6f], al
dec ebx
add byte [0x33004b91], bh
xchg ecx, eax
dec ebx
add byte [ecx], ch
xchg ecx, eax
dec ebx
add byte [edi], bl
xchg ecx, eax
dec ebx
add byte [0xb004b91], dl
xchg ecx, eax
dec ebx
add byte [ecx], al
xchg ecx, eax
dec ebx
add bh, dh
nop
dec ebx
add ch, ch
nop
dec ebx
add bl, ah
nop
dec ebx
add cl, bl
nop
dec ebx
add bh, cl
nop
dec ebx
add ch, al
nop
dec ebx
add byte [ebx - 0x4effb470], bh
nop
dec ebx
add byte [edi - 0x33ffb470], ah
int3