Function at 0x48d260
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x79fa90
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x831184]
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], 0xdf00db
mov dword [ebp - 0x10], 0xab
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x14], ax
inc ecx
mov eax, dword [ebp - 0x18]
cmp ecx, eax
jb 0x48d2b0
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 0x48d2d0
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 0x48d381
push edx
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.004090d0
add esp, 0xc
test eax, eax
jne 0x48d381
movaps xmm0, xmmword [str.y_nz__1a_bc_fe]
mov eax, 0xe
mov dword [ebp - 0x20], eax
xor ecx, ecx
movups xmmword [ebp - 0x1c], xmm0
nop dword [eax]
lea eax, [ecx - 0x57]
xor byte [ebp + ecx - 0x1c], al
inc ecx
mov eax, dword [ebp - 0x20]
cmp ecx, eax
jb 0x48d320
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 0x48d350
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 0x48d54a
mov eax, 2
mov dword [ebp - 0x14], 0xc400cc
mov dword [ebp - 0x18], eax
xor ecx, ecx
mov dword [ebp - 0x10], 0xab
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x14], ax
inc ecx
mov eax, dword [ebp - 0x18]
cmp ecx, eax
jb 0x48d3a0
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 0x48d3c0
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 0x48d470
push edx
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.004090d0
add esp, 0xc
test eax, eax
jne 0x48d470
mov dword [ebp - 0x20], 7
xor ecx, ecx
mov dword [ebp - 0x1c], 0xc400ec
mov dword [ebp - 0x18], 0xc000cc
mov dword [ebp - 0x14], 0xdd00c4
mov dword [ebp - 0x10], 0xb000c7
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x1c], ax
inc ecx
mov eax, dword [ebp - 0x20]
cmp ecx, eax
jb 0x48d420
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 0x48d450
sub ecx, edx
lea eax, [ebp - 0x1c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004044f0
jmp 0x48d54a
mov eax, 2
mov dword [ebp - 0x14], 0xd900cc
mov dword [ebp - 0x18], eax
xor ecx, ecx
mov dword [ebp - 0x10], 0xab
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x14], ax
inc ecx
mov eax, dword [ebp - 0x18]
cmp ecx, eax
jb 0x48d490
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 0x48d4b0
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 0x48d517
push edx
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.004090d0
add esp, 0xc
test eax, eax
jne 0x48d517
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 8
mov dword [ebp - 0x20], 0xd900ec
mov dword [ebp - 0x1c], 0xcd00db
mov dword [ebp - 0x18], 0x1f04be
mov dword [ebp - 0x14], 0xdc00c0
mov dword [ebp - 0x10], 0xb1
call fcn.00403e20
jmp 0x48d542
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x1c], 0xc400ec
mov dword [ebp - 0x18], 0xc000cc
mov dword [ebp - 0x14], 0xdd00c4
mov dword [ebp - 0x10], 0xb000c7
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