Function at 0x4092d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x820171
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x190
mov eax, dword [0x93bf44]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x154], edx
mov edi, ecx
mov eax, dword [edi + 4]
sub eax, dword [edi]
mov dword [ebp - 0x144], eax
lea esi, [eax + 1]
push esi
call fcn.00490e72
push esi
push 0
push eax
mov dword [ebp - 0x150], eax
call fcn.006ce550
mov esi, dword [ebp - 0x144]
push esi
push dword [edi]
mov edi, dword [ebp - 0x150]
push edi
call fcn.006cdfd0
push 0x1e0
mov dword [ebp - 0x17c], 0x20
mov dword [ebp - 0x178], 8
mov dword [ebp - 0x174], 0xe
mov dword [ebp - 0x168], 0x78
call fcn.00490e72
mov ecx, eax
mov dword [ebp - 0x170], 1
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x16c], 0
mov dword [ebp - 4], 0
movups xmm0, xmmword [0x8fd8f0]
mov eax, dword [0x8fd910]
mov dword [ebp - 0x180], eax
lea eax, [ebp - 0x1a0]
movups xmmword [ebp - 0x1a0], xmm0
push 0x20
movups xmm0, xmmword [0x8fd900]
push eax
push ecx
movups xmmword [ebp - 0x190], xmm0
movups xmm0, xmmword [0x8fd914]
movups xmmword [ebp - 0x38], xmm0
movups xmm0, xmmword [0x8fd924]
movups xmmword [ebp - 0x28], xmm0
call fcn.006cdfd0
mov eax, dword [ebp - 0x164]
add esp, 0x2c
mov edx, 8
add eax, 0x22
mov ecx, dword [eax - 6]
mov dword [ebp - 0x148], ecx
mov dword [eax - 2], ecx
mov ecx, edx
and ecx, 0x80000007
jns 0x409420
dec ecx
or ecx, 0xfffffff8
add ecx, 1
jne 0x40947b
mov ecx, dword [ebp - 0x148]
ror ecx, 8
mov dword [eax - 2], ecx
movzx ecx, cl
movzx ecx, byte [ecx + 0x8fb990]
mov byte [eax - 2], cl
movzx ecx, byte [eax - 1]
movzx ecx, byte [ecx + 0x8fb990]
mov byte [eax - 1], cl
movzx ecx, byte [eax]
movzx ecx, byte [ecx + 0x8fb990]
mov byte [eax], cl
movzx ecx, byte [eax + 1]
movzx ecx, byte [ecx + 0x8fb990]
mov byte [eax + 1], cl
mov ecx, edx
test ecx, ecx
jns 0x40946c
add ecx, 7
sar ecx, 3
mov ecx, dword [ecx*4 + 0x8fb254]
xor dword [eax - 2], ecx
jmp 0x4094c9
mov ecx, edx
and ecx, 0x80000003
jns 0x40948c
dec ecx
or ecx, 0xfffffffc
add ecx, 1
jne 0x4094d2
mov ecx, dword [ebp - 0x148]
movzx ecx, cl
movzx ecx, byte [ecx + 0x8fb990]
mov byte [eax - 2], cl
movzx ecx, byte [eax - 1]
movzx ecx, byte [ecx + 0x8fb990]
mov byte [eax - 1], cl
movzx ecx, byte [eax]
movzx ecx, byte [ecx + 0x8fb990]
mov byte [eax], cl
movzx ecx, byte [eax + 1]
movzx ecx, byte [ecx + 0x8fb990]
mov byte [eax + 1], cl
mov ecx, dword [eax - 2]
mov dword [ebp - 0x148], ecx
mov ecx, dword [eax - 0x22]
inc edx
xor ecx, dword [ebp - 0x148]
mov dword [eax - 2], ecx
add eax, 4
cmp edx, 0x78
jl 0x409403
test esi, esi
jle 0x409546
lea eax, [esi - 1]
add edi, 8
shr eax, 4
inc eax
mov dword [ebp - 0x148], eax
nop
movups xmm1, xmmword [edi - 8]
lea esi, [edi - 8]
push esi
lea ecx, [ebp - 0x17c]
call fcn.00403240
mov eax, dword [ebp - 0x38]
lea edi, [edi + 0x10]
xor dword [esi], eax
mov eax, dword [ebp - 0x34]
xor dword [edi - 0x14], eax
mov eax, dword [ebp - 0x30]
xor dword [edi - 0x10], eax
mov eax, dword [ebp - 0x2c]
xor dword [edi - 0xc], eax
sub dword [ebp - 0x148], 1
movups xmmword [ebp - 0x38], xmm1
jne 0x409500
mov esi, dword [ebp - 0x144]
mov edi, dword [ebp - 0x150]
movzx eax, byte [edi + esi - 1]
sub esi, eax
mov dword [ebp - 0x14c], 0x8fd828
mov dword [ebp - 0x144], esi
mov dword [ebp - 0x148], 0
push 0x38
mov byte [ebp - 4], 1
call fcn.00490e3a
add esp, 4
mov esi, eax
mov dword [ebp - 0x148], esi
push 0x38
mov dword [esi + 0x20], 0
push 0x8fd81c
mov dword [esi + 0x24], 0
push esi
mov dword [esi + 0x28], 0
call fcn.006ca1e0
test eax, eax
je 0x4095b7
push 0x38
push esi
call fcn.005c2556
add esp, 8
xor esi, esi
xor edi, edi
jmp 0x4096d3
push dword [ebp - 0x154]
mov eax, dword [ebp - 0x144]
lea ecx, [ebp - 0x160]
add eax, edi
mov dword [ebp - 0x160], 0
push eax
push edi
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x158], 0
call fcn.00409730
push 0x101
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.006ce550
mov eax, dword [ebp - 0x15c]
add esp, 0xc
mov ecx, dword [ebp - 0x160]
sub eax, ecx
je 0x409679
mov dword [esi + 4], eax
mov dword [esi], ecx
nop
push 0
lea eax, [ebp - 0x140]
mov dword [esi + 0x10], 0x100
push esi
mov dword [esi + 0xc], eax
call fcn.006c88d0
mov edi, eax
cmp edi, 0xfffffffc
jl 0x409649
cmp edi, 0xfffffffd
jle 0x4096b5
cmp edi, 2
je 0x4096b0
push dword [ebp - 0x154]
lea eax, [ebp - 0x40]
sub eax, dword [esi + 0x10]
push eax
lea eax, [ebp - 0x140]
push eax
mov eax, dword [ebp - 0x154]
mov ecx, eax
push dword [eax + 4]
call fcn.004070a0
cmp dword [esi + 0x10], 0
je 0x409620
mov ecx, dword [ebp - 0x160]
xor edi, edi
xor eax, eax
test edi, edi
sete al
mov dword [ebp - 0x144], eax
test ecx, ecx
je 0x4096cd
mov edx, dword [ebp - 0x158]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x4096c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40971f
jmp 0x4096c3
mov edi, 0xfffffffd
push esi
call fcn.006ca0b0
mov ecx, dword [ebp - 0x160]
jmp 0x40967b
push edx
push ecx
call fcn.005c2556
add esp, 8
mov edi, dword [ebp - 0x144]
mov eax, dword [ebp - 0x150]
push eax
call fcn.004263e0
add esp, 4
test esi, esi
je 0x4096f1
push 0x38
push esi
call fcn.005c2556
add esp, 8
push dword [ebp - 0x164]
call fcn.004263e0
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005c234a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.006d14a9
int3