Function at 0x4b0ac0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63202d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x6a6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00409430
lea eax, [ebp - 0x14]
xor esi, esi
lea ecx, [ebx + 4]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], esi
mov eax, dword [ebx + 0x18]
test al, 1
je 0x4b0b17
lea edi, [esi + 2]
jmp 0x4b0ce1
mov edi, dword [ebp + 8]
mov dword [ebp - 0x18], 0
test al, 2
jne 0x4b0b76
mov eax, dword [edi + 0xc]
xor edx, edx
xor eax, dword [edi + 4]
xor eax, dword [edi]
xor eax, dword [edi + 8]
div dword [ebx + 0x10]
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + edx*4]
lea eax, [eax + edx*4]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4b0b73
mov edx, dword [edi]
mov eax, dword [edi + 4]
nop word [eax + eax]
cmp dword [ecx + 4], edx
jne 0x4b0b6d
cmp dword [ecx + 8], eax
jne 0x4b0b6d
mov eax, dword [ecx + 0xc]
cmp eax, dword [edi + 8]
jne 0x4b0b6a
mov eax, dword [ecx + 0x10]
cmp eax, dword [edi + 0xc]
je 0x4b0ba3
mov eax, dword [edi + 4]
mov ecx, dword [ecx]
test ecx, ecx
jne 0x4b0b50
lea ecx, [ebx + 4]
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
cmp edx, eax
jb 0x4b0c87
cmp eax, 2
mov dword [ebp - 0x24], 2
lea ecx, [eax + eax]
cmovb ecx, dword [ebp - 0x24]
cmp ecx, edx
jae 0x4b0bad
mov edi, 3
jmp 0x4b0ce1
mov edi, 1
jmp 0x4b0ce1
push dword [ebx + 0x18]
mov eax, dword [ebx]
push ebx
push ecx
mov ecx, ebx
call dword [eax + 8]
mov ecx, eax
mov dword [ebp - 0x24], ecx
test ecx, ecx
je 0x4b0c9f
mov al, byte [ecx + 0x18]
not al
test al, 1
je 0x4b0c9f
cmp dword [ebx + 0x14], 0
je 0x4b0c59
cmp dword [ebx + 0x10], 0
mov dword [ebp - 0x18], 0
jbe 0x4b0c59
xor edx, edx
xor esi, esi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov eax, dword [ebx + 0x14]
mov edi, dword [edx + eax]
test edi, edi
je 0x4b0c34
nop
mov esi, dword [edi]
xor edx, edx
dec dword [ebx + 0xc]
mov eax, dword [edi + 0x10]
xor eax, dword [edi + 0xc]
xor eax, dword [edi + 8]
xor eax, dword [edi + 4]
div dword [ecx + 0x10]
mov eax, dword [ecx + 0x14]
lea ecx, [eax + edx*4]
mov eax, dword [ecx]
mov dword [edi], eax
mov dword [ecx], edi
mov edi, esi
mov ecx, dword [ebp - 0x24]
inc dword [ecx + 0xc]
test esi, esi
jne 0x4b0c00
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
mov eax, dword [ebx + 0x14]
add edx, 4
mov dword [ebp - 0x1c], edx
mov dword [esi + eax], 0
add esi, 4
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], eax
cmp eax, dword [ebx + 0x10]
jb 0x4b0bf4
mov edi, dword [ebp + 8]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 4]
mov ecx, dword [ebp - 0x24]
push 1
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [edi + 0xc]
lea ecx, [ebx + 4]
xor eax, dword [edi + 4]
xor edx, edx
xor eax, dword [edi]
xor eax, dword [edi + 8]
div dword [ebx + 0x10]
mov eax, dword [ebx + 0x14]
lea eax, [eax + edx*4]
mov dword [ebp - 0x18], eax
push ecx
push ecx
mov ecx, dword [ebx + 4]
call fcn.004b1ee0
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
jne 0x4b0ca9
lea edi, [eax + 2]
jmp 0x4b0ce1
mov esi, dword [ebp - 0x14]
mov edi, 2
jmp 0x4b0ce1
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [ebp - 0x18]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], ecx
mov al, byte [eax]
mov byte [esi + 0x14], al
xor esi, esi
mov eax, dword [ebp - 0x14]
mov ecx, dword [edx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
mov dword [edx], eax
inc dword [ebx + 0xc]
xor edi, edi
mov dword [ebp - 0x14], esi
test esi, esi
je 0x4b0cf3
push ecx
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
push eax
push esi
call fcn.004b1dd0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc