Function at 0x420b92
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x294
mov eax, dword [0x5107c0]
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 0x71b783a4
push 0xab01bf67
push 0x54fa44d3
mov edi, ecx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x30], eax
call fcn.004017ae
mov ecx, dword [edi + 0x5c]
add esp, 0xc
push eax
call fcn.00442453
test eax, eax
je 0x420c58
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [edi + 0x5c]
push eax
call fcn.00443c4e
mov ebp, eax
test ebp, ebp
je 0x420c54
cmp dword [esp + 0x14], ebx
jbe 0x420c4d
push ebp
call fcn.00424b90
pop ecx
cmp eax, 0x42444944
jne 0x420c4d
lea esi, [ebp + 0x28]
push esi
call fcn.00424b90
add esi, 4
mov dword [edi + 0x1b0], eax
push esi
call fcn.00424bb3
mov dword [edi + 0x1b8], eax
lea eax, [esi + 8]
push eax
mov dword [edi + 0x1bc], edx
call fcn.00424bb3
add esp, 0xc
mov dword [edi + 0x1c0], eax
mov dword [edi + 0x1c4], edx
push ebp
call fcn.0040746c
pop ecx
mov ebp, dword [esp + 0x10]
lea eax, [esp + 0x24]
push eax
call fcn.0046db9a
pop ecx
push ebx
push 0x5b75fd37
push 0x81c3c1f0
push 0x7e383a52
call fcn.004017ae
mov ecx, dword [edi + 0x5c]
add esp, 0xc
push eax
call fcn.00442453
test eax, eax
je 0x420ccd
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [edi + 0x5c]
push eax
call fcn.00443c4e
mov esi, eax
test esi, esi
je 0x420ccd
cmp dword [esp + 0x14], ebx
jbe 0x420cc6
push dword [esp + 0x14]
push esi
push ebp
call fcn.0046dbc2
push ebp
call fcn.0046dade
push 0x10
lea eax, [ebp + 0x58]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0046dbc2
add esp, 0x1c
push esi
call fcn.0040746c
pop ecx
cmp dword [edi + 0x70], 0x16
je 0x420ceb
cmp dword [edi + 0x70], 0xb
je 0x420ceb
push ebx
push 0xe8a9cf65
push 0x321ff3be
push 0xcde4083c
jmp 0x420cfb
push ebx
push 0x37d04a7
push 0xd9cb387c
push 0x2630c3e0
call fcn.004017ae
mov ecx, dword [edi + 0x5c]
add esp, 0xc
push eax
call fcn.00442453
test eax, eax
je 0x420ea8
mov eax, dword [eax]
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
mov ebp, ebx
test eax, eax
je 0x420e84
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp byte [eax + 0xc], bl
jne 0x420d4a
cmp dword [eax + 0x2c], edx
jb 0x420d4a
ja 0x420d42
cmp dword [eax + 0x28], ecx
jbe 0x420d4a
mov ecx, dword [eax + 0x28]
mov ebp, eax
mov edx, dword [eax + 0x2c]
mov eax, dword [eax + 4]
test eax, eax
jne 0x420d31
test ebp, ebp
je 0x420e84
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.004439e2
test al, al
je 0x420ea6
test byte [esi], 0xc0
je 0x420e1d
cmp byte [edi + 0x82], bl
jne 0x420e1d
cmp byte [edi + 0x81], bl
je 0x420e1d
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.0042ec38
push 0x7f0
push esi
push esi
lea eax, [esp + 0x2a4]
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.0042cfcd
add esp, 0x1c
add esi, 0x800
dec edi
jne 0x420db5
mov esi, dword [esp + 0x10]
xor ebx, ebx
push dword [esp + 0x18]
lea eax, [esp + 0x28]
push esi
push eax
call fcn.0046dbc2
lea eax, [esp + 0x30]
push eax
call fcn.0046dade
push esi
call fcn.0040746c
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 + 0x4f1ddc]
xor byte [esp + ebx + 0x290], al
inc ebx
cmp ebx, 0x10
jl 0x420e51
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 0x420ea6
push 0xb8b4ab81
push 0x6202975e
push 0x9df96cae
call fcn.004017ae
push eax
push 1
push dword [edi + 0x60]
call fcn.0041a053
add esp, 0x18
mov eax, ebp
mov ecx, dword [esp + 0x2a0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b35e5
add esp, 0x294
ret 8