Function at 0x480830
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 0x50b5bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x48
push esi
push edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 1
mov edi, dword [ebx + 0x18]
test edi, edi
jne 0x48087b
mov byte [ebp - 0x11], 0
jmp 0x480bc2
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 3
xor ecx, ecx
mov dword [ebp - 0x25], 0xeee9e8f3
mov dword [ebp - 0x21], 0x8e8fa5
mov byte [ebp - 0x1d], 1
lea eax, [ecx - 0x65]
xor byte [ebp + ecx - 0x25], al
inc ecx
cmp ecx, 7
jb 0x4808c2
lea edx, [ebp - 0x25]
mov byte [ebp - 0x1d], 0
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4808e0
mov esi, dword [ebx + 0x1c]
lea eax, [ebp - 0x25]
sub edx, ecx
cmp esi, 0x10
push edx
push eax
lea ecx, [ebx + 8]
mov edx, edi
cmovae ecx, dword [ebx + 8]
push 0
call fcn.0046bbf0
add esp, 0xc
cmp eax, 0xffffffff
je 0x480939
mov edx, 7
lea ecx, [ebx + 8]
cmp edi, edx
cmovb edx, edi
cmp esi, 0x10
cmovae ecx, dword [ebx + 8]
sub edi, edx
lea eax, [edi + 1]
push eax
lea eax, [ecx + edx]
push eax
push ecx
call fcn.004df290
mov esi, dword [ebx + 0x1c]
add esp, 0xc
mov dword [ebx + 0x18], edi
mov dword [ebp - 0x26], 0xeee9e8f3
xor ecx, ecx
mov dword [ebp - 0x22], 0x8d8e9aec
mov word [ebp - 0x1e], 0x100
nop
lea eax, [ecx - 0x65]
xor byte [ebp + ecx - 0x26], al
inc ecx
cmp ecx, 8
jb 0x480950
lea edx, [ebp - 0x26]
mov byte [ebp - 0x1d], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x480967
sub edx, ecx
lea eax, [ebp - 0x26]
push edx
cmp esi, 0x10
lea ecx, [ebx + 8]
push eax
cmovae ecx, dword [ebx + 8]
mov edx, edi
push 0
call fcn.0046bbf0
add esp, 0xc
cmp eax, 0xffffffff
je 0x4809bd
mov edx, 8
lea ecx, [ebx + 8]
cmp edi, edx
cmovb edx, edi
cmp esi, 0x10
cmovae ecx, dword [ebx + 8]
sub edi, edx
lea eax, [edi + 1]
push eax
lea eax, [ecx + edx]
push eax
push ecx
call fcn.004df290
mov esi, dword [ebx + 0x1c]
add esp, 0xc
mov dword [ebx + 0x18], edi
lea edx, [ebp - 0x17]
mov word [ebp - 0x17], 0x2f
mov byte [ebp - 0x15], 0
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4809d0
sub edx, ecx
lea eax, [ebp - 0x17]
push edx
cmp esi, 0x10
lea ecx, [ebx + 8]
push eax
cmovae ecx, dword [ebx + 8]
mov edx, edi
push 0
call fcn.0046bbf0
add esp, 0xc
mov esi, edi
cmp eax, 0xffffffff
cmovne esi, eax
lea eax, [ebx + 8]
cmp edi, esi
mov ecx, esi
cmovb ecx, edi
cmp dword [ebx + 0x1c], 0x10
push ecx
cmovae eax, dword [ebx + 8]
lea ecx, [ebp - 0x58]
push eax
call fcn.00466160
mov edi, dword [ebx + 0x18]
mov eax, edi
sub eax, esi
je 0x480a47
mov ecx, dword [ebp - 0x48]
mov edx, edi
sub edx, ecx
cmp edi, ecx
jb 0x480c4c
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
push edx
cmovae eax, dword [ebx + 8]
add eax, ecx
lea ecx, [ebp - 0x40]
push eax
call fcn.00466160
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x30]
cmp dword [edx + 0x2c], 0xa
jne 0x480ac7
test ecx, ecx
je 0x480ac7
lea eax, [ebp - 0x17]
mov word [ebp - 0x17], 0x3f
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x15], 0
call fcn.00466290
cmp dword [ebx + 0x34], 0x10
lea ecx, [ebx + 0x20]
mov edx, dword [ebp - 0x30]
cmovae ecx, dword [ebx + 0x20]
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebx + 0x30]
sub eax, edx
mov dword [ebp - 0x18], edx
push edi
push ecx
cmp edi, eax
ja 0x480ab5
cmp dword [ebp - 0x2c], 0x10
lea esi, [ebp - 0x40]
lea eax, [edx + edi]
cmovae esi, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
lea eax, [esi + edx]
push eax
call fcn.004df290
mov ecx, dword [ebp - 0x18]
lea eax, [esi + edi]
add esp, 0xc
mov byte [eax + ecx], 0
jmp 0x480ae2
mov byte [ebp - 0x18], 0
lea ecx, [ebp - 0x40]
push dword [ebp - 0x18]
push edi
call fcn.0046c3b0
jmp 0x480ae2
add edx, 0x60
lea eax, [ebx + 0x20]
cmp edx, eax
je 0x480ae2
cmp dword [ebx + 0x34], 0x10
push ecx
cmovae eax, dword [ebx + 0x20]
mov ecx, edx
push eax
call fcn.00466160
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x48]
add ecx, 0x30
cmp dword [ebp - 0x44], 0x10
cmovae edx, dword [ebp - 0x58]
add eax, edx
cmp dword [ebp - 0x44], 0x10
lea edx, [ebp - 0x58]
cmovae edx, dword [ebp - 0x58]
push eax
push edx
call fcn.00480c60
cmp dword [ebp - 0x2c], 0x10
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x30]
cmovae edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x1c]
add eax, edx
cmp dword [ebp - 0x2c], 0x10
lea edx, [ebp - 0x40]
push eax
cmovae edx, dword [ebp - 0x40]
lea ecx, [ecx + 0x48]
push edx
call fcn.00480c60
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 0x11], 1
cmp ecx, 0x10
jb 0x480b6a
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x480b60
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x480c51
push ecx
push edx
call fcn.004dd831
add esp, 8
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp ecx, 0x10
jb 0x480bb0
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x480ba6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x480c51
push ecx
push edx
call fcn.004dd831
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0x10
jb 0x480bf2
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x480be8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x480c51
push ecx
push edx
call fcn.004dd831
add esp, 8
mov ecx, dword [ebx + 0x34]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xf
mov byte [ebx + 8], 0
cmp ecx, 0x10
jb 0x480c34
mov edx, dword [ebx + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x480c2a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x480c51
push ecx
push edx
call fcn.004dd831
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x11]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x30
call fcn.00469b40
call fcn.004e2ad0
int3