Function at 0x4286a6
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x294
mov eax, dword [0x518450]
xor eax, esp
mov dword [esp + 0x290], eax
mov eax, dword [esp + 0x29c]
push ebx
push ebp
mov ebp, dword [esp + 0x2a0]
xor ebx, ebx
push esi
push edi
push ebx
push 0xcc264fd8
push 0xe8487fa
push 0x4e98055a
mov edi, ecx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x30], eax
call fcn.00401daa
mov ecx, dword [edi + 0x5c]
add esp, 0xc
push eax
call fcn.0044572d
test eax, eax
je 0x42876c
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [edi + 0x5c]
push eax
call fcn.00446f99
mov ebp, eax
test ebp, ebp
je 0x428768
cmp dword [esp + 0x14], ebx
jbe 0x428761
push ebp
call fcn.0040671b
pop ecx
cmp eax, 0x42444944
jne 0x428761
lea esi, [ebp + 0x28]
push esi
call fcn.0040671b
add esi, 4
mov dword [edi + 0x1b0], eax
push esi
call fcn.0042c690
mov dword [edi + 0x1b8], eax
lea eax, [esi + 8]
push eax
mov dword [edi + 0x1bc], edx
call fcn.0042c690
add esp, 0xc
mov dword [edi + 0x1c0], eax
mov dword [edi + 0x1c4], edx
push ebp
call fcn.0040507c
pop ecx
mov ebp, dword [esp + 0x10]
lea eax, [esp + 0x24]
push eax
call fcn.00473e9c
pop ecx
push ebx
push 0x5af8deaa
push 0x985a168c
push 0xd846943a
call fcn.00401daa
mov ecx, dword [edi + 0x5c]
add esp, 0xc
push eax
call fcn.0044572d
test eax, eax
je 0x4287e1
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [edi + 0x5c]
push eax
call fcn.00446f99
mov esi, eax
test esi, esi
je 0x4287e1
cmp dword [esp + 0x14], ebx
jbe 0x4287da
push dword [esp + 0x14]
push esi
push ebp
call fcn.00473ec4
push ebp
call fcn.00473de0
push 0x10
lea eax, [ebp + 0x58]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00473ec4
add esp, 0x1c
push esi
call fcn.0040507c
pop ecx
cmp dword [edi + 0x70], 0x16
je 0x4287ff
cmp dword [edi + 0x70], 0xb
je 0x4287ff
push ebx
push 0x4cd6a358
push 0x8e746b62
push 0xce68e9b4
jmp 0x42880f
push ebx
push 0x441375db
push 0x86b1bde1
push 0xc6ad3f29
call fcn.00401daa
mov ecx, dword [edi + 0x5c]
add esp, 0xc
push eax
call fcn.0044572d
test eax, eax
je 0x4289bc
mov eax, dword [eax]
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
mov ebp, ebx
test eax, eax
je 0x428998
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp byte [eax + 0xc], bl
jne 0x42885e
cmp dword [eax + 0x2c], edx
jb 0x42885e
ja 0x428856
cmp dword [eax + 0x28], ecx
jbe 0x42885e
mov ecx, dword [eax + 0x28]
mov ebp, eax
mov edx, dword [eax + 0x2c]
mov eax, dword [eax + 4]
test eax, eax
jne 0x428845
test ebp, ebp
je 0x428998
push 0x10000
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [edi + 0x5c]
mov esi, eax
lea eax, [esp + 0x18]
mov dword [esp + 0x10], esi
push eax
push 0x10000
push esi
push ebx
push ebx
push ebp
call fcn.00446d2d
test al, al
je 0x4289ba
test byte [esi], 0xc0
je 0x428931
cmp byte [edi + 0x82], bl
jne 0x428931
cmp byte [edi + 0x81], bl
je 0x428931
push 0x20
lea ebx, [edi + 0x1dc]
add esi, 0x10
pop edi
lea eax, [esp + 0x8c]
mov dword [esp + 0x290], 0xddf8a00b
push ebx
push eax
mov dword [esp + 0x29c], 0xb31fa6fe
mov dword [esp + 0x2a0], 0x569fdfd8
mov dword [esp + 0x2a4], 0x780f056a
call fcn.00439f75
push 0x7f0
push esi
push esi
lea eax, [esp + 0x2a4]
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.0043830a
add esp, 0x1c
add esi, 0x800
dec edi
jne 0x4288c9
mov esi, dword [esp + 0x10]
xor ebx, ebx
push dword [esp + 0x18]
lea eax, [esp + 0x28]
push esi
push eax
call fcn.00473ec4
lea eax, [esp + 0x30]
push eax
call fcn.00473de0
push esi
call fcn.0040507c
lea esi, [esp + 0x90]
add esp, 0x14
lea edi, [esp + 0x290]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov al, byte [ebx + 0x4f9f2c]
xor byte [esp + ebx + 0x290], al
inc ebx
cmp ebx, 0x10
jl 0x428965
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x290]
mov dword [ecx + 0xac], eax
mov eax, dword [esp + 0x294]
mov dword [ecx + 0xb0], eax
jmp 0x4289ba
push 0x161b3bd5
push 0xd4b9f3eb
push 0x94a5710f
call fcn.00401daa
push eax
push 1
push dword [edi + 0x60]
call fcn.0042040f
add esp, 0x18
mov eax, ebp
mov ecx, dword [esp + 0x2a0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b9a6c
add esp, 0x294
ret 8