Function at 0x408c20
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x44fa81
mov eax, dword fs:[0]
push eax
mov eax, 0x1274
call fcn.00443040
mov eax, dword [0x459800]
xor eax, esp
mov dword [esp + 0x1270], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x459800]
xor eax, esp
push eax
lea eax, [esp + 0x1288]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1298]
xor ebp, ebp
mov esi, ecx
cmp edi, ebp
je 0x40909d
push 0xe02
call fcn.00433c40
push eax
call fcn.00414190
push 0x452434
call fcn.00414190
mov eax, dword [esi + 0x7ea4]
or word [esi + 0x57a4], 0x40
add esp, 8
push ebp
add eax, 7
push ebp
push eax
mov ecx, esi
call fcn.0041d690
push ebp
push 0x73
mov ecx, esi
call fcn.00407cf0
push 2
push ebp
push ebp
mov ecx, esi
call fcn.0041d690
mov ecx, esi
call fcn.0041cdf0
mov ebx, eax
push edx
push ebx
push edi
mov ecx, esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], edx
call fcn.00406d10
mov edi, eax
push 0x14
lea ecx, [esi + 0x64c8]
mov dword [esp + 0x129c], edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call fcn.00408bd0
push ebp
push 0x4523f4
push ebp
mov ecx, 0x4000
or word [esi + 0x64d0], cx
push ebp
push ebp
mov ecx, esi
call fcn.00408410
push ebp
push ebp
push ebp
mov ecx, esi
call fcn.0041d690
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ebp
mov ebp, edi
shl ebp, 9
push ebp
mov dword [esp + 0x48], ebp
call fcn.00443137
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
jne 0x408d56
test ebp, ebp
je 0x408d56
mov ecx, 0x463e7c
call fcn.00418ae0
mov eax, dword [esp + 0x38]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
push ebp
push 0
push eax
mov dword [esp + 0x129c], 0
call fcn.00443580
add esp, 0xc
cmp dword [esp + 0x18], 0
mov dword [esp + 0x2c], 0xfffffff
jl 0x408f82
jg 0x408d98
test ebx, ebx
jbe 0x408f82
jmp 0x408d98
mov ebx, dword [esp + 0x14]
call fcn.00439570
xor ebp, ebp
cmp dword [esp + 0x18], ebp
jg 0x408dd4
jl 0x408daf
cmp ebx, 0x200
jae 0x408dd4
mov edx, 0x200
sub edx, ebx
push edx
lea eax, [esp + ebx + 0x88]
push ebp
push eax
mov edi, ebx
call fcn.00443580
add esp, 0xc
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
jmp 0x408de8
add ebx, 0xfffffe00
adc dword [esp + 0x18], 0xffffffff
mov edi, 0x200
mov dword [esp + 0x14], ebx
push edi
lea ecx, [esp + 0x88]
push ecx
mov ecx, esi
call fcn.0041d9a0
mov eax, dword [esp + 0x20]
shl eax, 9
add eax, dword [esp + 0x38]
mov ecx, eax
neg ecx
lea edi, [esp + ecx + 0x84]
lea ebp, [esp + ecx + 0x85]
lea edx, [esp + ecx + 0x86]
lea ecx, [esp + ecx + 0x87]
mov dword [esp + 0x48], ecx
mov ecx, 0x80
lea esp, [esp]
movzx ebx, byte [edi + eax]
xor byte [eax], bl
movzx ebx, byte [eax + ebp]
xor byte [eax + 1], bl
movzx ebx, byte [edx + eax]
xor byte [eax + 2], bl
mov ebx, dword [esp + 0x48]
movzx ebx, byte [ebx + eax]
xor byte [eax + 3], bl
add eax, 4
sub ecx, 1
jne 0x408e30
push 0x200
lea edx, [esp + 0x88]
push edx
push 0xffffffffffffffff
call fcn.00414b70
mov ecx, dword [esp + 0x1c]
mov byte [esp + ecx + 0x284], al
inc ecx
shr eax, 8
mov byte [esp + ecx + 0x284], al
inc ecx
mov dword [esp + 0x1c], ecx
cmp ecx, 0x1000
jne 0x408ef2
push esi
lea ecx, [esp + 0x70]
call fcn.00435d10
push 2
xor ebx, ebx
push ebx
push ebx
mov ecx, esi
mov byte [esp + 0x129c], 1
call fcn.0041d690
push 0x1000
lea eax, [esp + 0x288]
push eax
mov ecx, esi
call fcn.0041d770
mov edx, dword [esp + 0x2c]
push 0x1000
lea ecx, [esp + 0x288]
push ecx
push edx
call fcn.00414b70
lea ecx, [esp + 0x6c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x1290], bl
call fcn.00435d40
jmp 0x408ef4
xor ebx, ebx
mov edi, dword [esp + 0x24]
mov eax, edi
and eax, 0xff
xor ecx, ecx
or eax, ecx
jne 0x408f43
mov eax, dword [esi + 0x13c8]
cmp byte [eax + 0x3938], cl
jne 0x408f43
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
push ecx
push edx
push ebx
push 0x200
push eax
push edi
call fcn.00443830
push edx
push eax
call fcn.004388f0
push eax
push str._b_b_b_b_3d__
call fcn.00414190
add esp, 8
mov eax, dword [esp + 0x20]
add edi, 1
adc dword [esp + 0x28], ebx
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x1298]
inc eax
mov dword [esp + 0x20], eax
cmp eax, edi
jb 0x408f66
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x18], ebx
jg 0x408d94
jl 0x408f7e
mov ebx, dword [esp + 0x14]
test ebx, ebx
ja 0x408d98
mov ebp, dword [esp + 0x44]
push 2
push 0
push 0
mov ecx, esi
call fcn.0041d690
mov ebx, dword [esp + 0x1c]
push ebx
lea ecx, [esp + 0x288]
push ecx
mov ecx, esi
call fcn.0041d770
mov eax, dword [esp + 0x2c]
push ebx
lea edx, [esp + 0x288]
push edx
push eax
call fcn.00414b70
mov ecx, dword [esp + 0x38]
push ebp
push ecx
mov ecx, esi
mov ebx, eax
call fcn.0041d770
push ebp
mov ebp, dword [esp + 0x3c]
push ebp
push ebx
call fcn.00414b70
mov edx, dword [esp + 0x34]
not eax
push 0
mov dword [esi + 0x64e0], eax
mov eax, dword [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.0041d690
push 0
lea ecx, [esp + 0x50]
call fcn.0042e640
push 8
push str.Protect
lea ecx, [esp + 0x54]
mov byte [esp + 0x1298], 2
call fcn.0042e510
push edi
lea ecx, [esp + 0x50]
call fcn.0042e450
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
push ecx
push ebx
lea ecx, [esp + 0x54]
call fcn.0042e4e0
lea edx, [esi + 0x70f8]
push edx
lea ecx, [esp + 0x50]
call fcn.0042e7d0
push 0
push 0x4523f4
shl edi, 8
push 0
add edi, ebx
add edi, edi
push edi
push 0
mov ecx, esi
call fcn.00408410
push 2
push 0
push 0
mov ecx, esi
call fcn.0041d690
mov eax, dword [esi + 0x13c8]
cmp byte [eax + 0x3938], 0
jne 0x40907f
push str._b_b_b_b
call fcn.00414190
add esp, 4
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1290], 0
call fcn.0042e6d0
test ebp, ebp
je 0x40909d
push ebp
call fcn.00442994
add esp, 4
mov ecx, dword [esp + 0x1288]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1270]
xor ecx, esp
call fcn.00443023
add esp, 0x1280
ret 4