Function at 0x458440
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x4aa74b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1e8
push ebx
push ebp
push esi
push edi
mov eax, ecx
mov dword [esp + 0x10], eax
xor ecx, ecx
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], ecx
xor edx, edx
mov dword [esp + 0xe0], ecx
mov dword [esp + 0x110], edx
mov dword [esp + 0xe4], ecx
mov dword [esp + 0x114], edx
mov dword [esp + 0xe8], ecx
mov dword [esp + 0x118], edx
mov dword [esp + 0xec], ecx
mov dword [esp + 0x11c], edx
mov dword [esp + 0x140], ecx
mov dword [esp + 0x170], edx
mov dword [esp + 0x144], ecx
mov dword [esp + 0x174], edx
mov dword [esp + 0x178], edx
mov dword [esp + 0x148], ecx
mov dword [esp + 0x14c], ecx
mov dword [esp + 0x17c], edx
mov byte [esp + 0xcc], dl
mov ebp, dword [esp + 0x208]
cmp dword [ebp + 0xcb0], 4
mov dword [esp + 0x200], edx
jne 0x458825
mov ebx, dword [esp + 0x20c]
mov ecx, dword [ebx + 0x15]
mov dword [esp + 0x14], ecx
lea esi, [ebx + 0x19]
mov ecx, 8
lea edi, [esp + 0x1b8]
rep movsd dword es:[edi], dword [esi]
cmp byte [eax + 0xd95], 1
jne 0x4585de
mov cl, byte [eax + 0xd94]
test cl, cl
jne 0x4585de
lea edx, [esp + 0x14]
mov ecx, dword [edx]
cmp ecx, dword [eax + 0xd70]
jne 0x458577
mov ecx, 8
lea edi, [eax + 0xd74]
lea esi, [esp + 0x1b8]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x4585de
push 1
call fcn.0044fd50
mov edi, dword [esp + 0x14]
mov esi, eax
mov eax, dword [esi + 0x10]
mov byte [eax], 0x23
add esp, 4
mov dword [esi + 0xc], 8
mov ecx, dword [ebp + 1]
push 1
sub esp, 8
mov dword [esi + 2], ecx
mov dx, word [ebp + 5]
mov eax, esp
mov dword [eax], ecx
mov ecx, edi
mov word [esi + 6], dx
mov word [eax + 4], dx
call fcn.004538f0
add edi, 0xdd0
mov ecx, edi
mov word [esi], ax
call fcn.00450e00
mov ecx, edi
mov dword [eax], esi
call fcn.00450e40
mov dword [ebp + 0xcb0], 2
jmp 0x458825
xor esi, esi
call fcn.0045afe0
mov dword [esp + esi + 0x18], eax
add esi, 4
cmp esi, 0x14
jl 0x4585e0
xor eax, eax
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0xd4], eax
xor edx, edx
mov dword [esp + 0x140], edx
mov dword [esp + 0xd8], eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x144], edx
mov dword [esp + 0xdc], eax
mov dword [esp + 0x148], edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0xe0], eax
xor ecx, ecx
mov dword [esp + 0x14c], edx
mov byte [esp + 0xcc], dl
mov dword [esp + 0xe4], eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x110], ecx
mov dword [esp + 0xe8], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x114], ecx
mov dword [esp + 0xec], eax
mov dword [esp + 0x118], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x170], eax
mov dword [esp + 0x11c], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x174], eax
mov dword [esp + 0x178], eax
mov dword [esp + 0x60], edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x17c], eax
mov dword [esp + 0x68], edx
mov ecx, 8
lea esi, [esp + 0x1b8]
lea edi, [esp + 0x6c]
lea eax, [esp + 0x8c]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [esp + 0x70]
push ecx
call fcn.00457250
lea edx, [esp + 0xb4]
push edx
lea eax, [esp + 0x78]
push eax
call fcn.00453f40
add esp, 0x10
lea ecx, [esp + 0x1d8]
push ecx
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x54]
call fcn.00457fe0
xor eax, eax
lea esp, [esp]
mov cl, byte [ebx + eax + 1]
xor cl, byte [esp + eax + 0x18]
mov byte [eax + ebp + 0x89c], cl
mov dl, byte [ebx + eax + 2]
xor dl, byte [esp + eax + 0x19]
mov byte [eax + ebp + 0x89d], dl
mov cl, byte [ebx + eax + 3]
xor cl, byte [esp + eax + 0x1a]
mov byte [eax + ebp + 0x89e], cl
mov dl, byte [ebx + eax + 4]
xor dl, byte [esp + eax + 0x1b]
mov byte [eax + ebp + 0x89f], dl
add eax, 4
cmp eax, 0x10
jl 0x458750
mov byte [ebp + 0x8ac], 1
inc ebx
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov dword [esp + 0x181], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x185], ecx
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0x191], ecx
mov byte [esp + 0x180], 0x10
mov dword [esp + 0x189], edx
mov dword [esp + 0x18d], eax
mov ecx, 8
lea esi, [esp + 0x1d8]
lea edi, [esp + 0x195]
rep movsd dword es:[edi], dword [esi]
call fcn.0044e940
push 0
push eax
push 0
push 0
sub esp, 8
mov edx, esp
push 0
inc ebp
mov eax, dword [ebp]
mov cx, word [ebp + 4]
push 6
mov dword [edx], eax
push 0
mov word [edx + 4], cx
mov ecx, dword [esp + 0x34]
push 0x1a8
lea edx, [esp + 0x1a8]
push edx
call fcn.00453b10
mov ecx, dword [esp + 0x1f8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1f4
ret 8