Function at 0x48c1e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x79e2d0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x82f184]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], 0
mov eax, 2
mov dword [ebp - 0x18], eax
xor ecx, ecx
mov dword [ebp - 0x14], 0xcc00ca
mov dword [ebp - 0x10], 0xba
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x14], ax
inc ecx
mov eax, dword [ebp - 0x18]
cmp ecx, eax
jb 0x48c230
xor ecx, ecx
mov word [ebp + eax*2 - 0x14], cx
lea ecx, [ebp - 0x14]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48c250
sub ecx, edx
lea eax, [ebp + 0xc]
mov edx, dword [ebp + 0x1c]
sar ecx, 1
cmp dword [ebp + 0x20], 8
cmovae eax, dword [ebp + 0xc]
cmp edx, ecx
jne 0x48c301
push edx
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.004090d0
add esp, 0xc
test eax, eax
jne 0x48c301
movaps xmm0, xmmword [0x7e3520]
mov eax, 0xe
mov dword [ebp - 0x20], eax
xor ecx, ecx
movups xmmword [ebp - 0x1c], xmm0
nop dword [eax]
lea eax, [ecx - 0x48]
xor byte [ebp + ecx - 0x1c], al
inc ecx
mov eax, dword [ebp - 0x20]
cmp ecx, eax
jb 0x48c2a0
mov byte [ebp + eax - 0x1c], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x30], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48c2d0
sub ecx, edx
lea eax, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00407ab0
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.00405660
lea ecx, [ebp - 0x40]
call fcn.00407a10
jmp 0x48c4ca
mov eax, 2
mov dword [ebp - 0x14], 0xd700dd
mov dword [ebp - 0x18], eax
xor ecx, ecx
mov dword [ebp - 0x10], 0xba
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x14], ax
inc ecx
mov eax, dword [ebp - 0x18]
cmp ecx, eax
jb 0x48c320
xor ecx, ecx
mov word [ebp + eax*2 - 0x14], cx
lea ecx, [ebp - 0x14]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48c340
sub ecx, edx
lea eax, [ebp + 0xc]
mov edx, dword [ebp + 0x1c]
sar ecx, 1
cmp dword [ebp + 0x20], 8
cmovae eax, dword [ebp + 0xc]
cmp edx, ecx
jne 0x48c3f0
push edx
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.004090d0
add esp, 0xc
test eax, eax
jne 0x48c3f0
mov dword [ebp - 0x20], 7
xor ecx, ecx
mov dword [ebp - 0x1c], 0xd700fd
mov dword [ebp - 0x18], 0xd700dd
mov dword [ebp - 0x14], 0xce00d5
mov dword [ebp - 0x10], 0xbf00d6
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x1c], ax
inc ecx
mov eax, dword [ebp - 0x20]
cmp ecx, eax
jb 0x48c3a0
xor ecx, ecx
mov word [ebp + eax*2 - 0x1c], cx
xor eax, eax
mov dword [esi + 0x10], ecx
lea ecx, [ebp - 0x1c]
mov dword [esi + 0x14], 7
lea edx, [ecx + 2]
mov word [esi], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48c3d0
sub ecx, edx
lea eax, [ebp - 0x1c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004044f0
jmp 0x48c4ca
mov eax, 2
mov dword [ebp - 0x14], 0xca00dd
mov dword [ebp - 0x18], eax
xor ecx, ecx
mov dword [ebp - 0x10], 0xba
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x14], ax
inc ecx
mov eax, dword [ebp - 0x18]
cmp ecx, eax
jb 0x48c410
xor ecx, ecx
mov word [ebp + eax*2 - 0x14], cx
lea ecx, [ebp - 0x14]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48c430
sub ecx, edx
lea eax, [ebp + 0xc]
mov edx, dword [ebp + 0x1c]
sar ecx, 1
cmp dword [ebp + 0x20], 8
cmovae eax, dword [ebp + 0xc]
cmp edx, ecx
jne 0x48c497
push edx
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.004090d0
add esp, 0xc
test eax, eax
jne 0x48c497
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 8
mov dword [ebp - 0x20], 0xca00fd
mov dword [ebp - 0x1c], 0xda00ca
mov dword [ebp - 0x18], 0xc04af
mov dword [ebp - 0x14], 0xd300d1
mov dword [ebp - 0x10], 0xc0
call fcn.00403e20
jmp 0x48c4c2
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x1c], 0xd700fd
mov dword [ebp - 0x18], 0xd700dd
mov dword [ebp - 0x14], 0xce00d5
mov dword [ebp - 0x10], 0xbf00d6
call fcn.00403e20
push eax
mov ecx, esi
call fcn.004040b0
lea ecx, [ebp + 0xc]
call fcn.00404490
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret