Function at 0x480b50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x9dd804]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x24]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x2c]
push esi
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x9c], 0
call fcn.00447630
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0xd4]
push eax
call fcn.0044b650
lea eax, [ebp - 0x13c]
push eax
call fcn.0044b650
lea eax, [ebp - 0x108]
push eax
call fcn.0044b650
push 0
push esi
push dword [ebp + 0x18]
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.0044b720
add esp, 0x24
test eax, eax
je 0x480df5
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0xd4]
push eax
call fcn.0044b5f0
add esp, 8
test eax, eax
je 0x480df5
mov esi, dword [ebp + 0x20]
lea eax, [ebp - 0xd4]
push esi
push dword [ebp - 0x8c]
push eax
call fcn.0044b930
add esp, 0xc
test eax, eax
je 0x480df5
push dword [ebp + 0x28]
lea eax, [ebp - 0xd4]
push dword [ebp - 0x90]
push eax
call fcn.0044b930
add esp, 0xc
test eax, eax
je 0x480df5
push dword [ebp + 0x30]
lea eax, [ebp - 0xd4]
push dword [ebp - 0x94]
push eax
call fcn.0044b930
add esp, 0xc
test eax, eax
je 0x480df5
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xd4]
push eax
call fcn.0044b680
add esp, 0xc
test eax, eax
je 0x480df5
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0xd4]
push eax
call fcn.0044b5f0
add esp, 8
test eax, eax
je 0x480df5
mov edi, dword [ebp + 0xc]
push dword [ebp - 0x98]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xd4]
push eax
call fcn.0044b930
add esp, 0xc
test eax, eax
je 0x480df5
cmp edi, dword [ebp - 0xa0]
jbe 0x480ceb
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.0044b5f0
add esp, 8
test eax, eax
je 0x480df5
push esi
push dword [ebp - 0x8c]
lea eax, [ebp - 0xd4]
push eax
call fcn.0044b930
add esp, 0xc
test eax, eax
je 0x480df5
push dword [ebp + 0x28]
lea eax, [ebp - 0xd4]
push dword [ebp - 0x90]
push eax
call fcn.0044b930
add esp, 0xc
test eax, eax
je 0x480df5
push dword [ebp + 0x30]
lea eax, [ebp - 0xd4]
push dword [ebp - 0x94]
push eax
call fcn.0044b930
add esp, 0xc
test eax, eax
je 0x480df5
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0xd4]
push eax
call fcn.0044b680
add esp, 0xc
test eax, eax
je 0x480df5
mov eax, dword [ebp - 0x88]
cmp eax, edi
cmova eax, edi
xor edx, edx
mov dword [ebp - 0x88], eax
test eax, eax
je 0x480da7
lea esi, [ebp - 0x84]
mov ecx, ebx
sub esi, ebx
nop
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
inc edx
mov eax, dword [ebp - 0x88]
cmp edx, eax
jb 0x480d90
mov esi, dword [ebp + 0x20]
add ebx, eax
sub edi, eax
je 0x480deb
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.0044b680
add esp, 0xc
test eax, eax
je 0x480df5
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0xd4]
push eax
call fcn.0044b5f0
add esp, 8
test eax, eax
jne 0x480ca4
jmp 0x480df5
mov dword [ebp - 0x9c], 1
lea eax, [ebp - 0xd4]
push eax
call fcn.0044b540
lea eax, [ebp - 0x13c]
push eax
call fcn.0044b540
lea eax, [ebp - 0x108]
push eax
call fcn.0044b540
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.0044d400
mov ecx, dword [ebp - 4]
add esp, 0x14
mov eax, dword [ebp - 0x9c]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00698575
mov esp, ebp
pop ebp
ret