Function at 0x4088d0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x4499d1
mov eax, dword fs:[0]
push eax
mov eax, 0x1274
call fcn.0043ed40
mov eax, dword [0x4537b0]
xor eax, esp
mov dword [esp + 0x1270], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4537b0]
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 0x408d4d
push 0xdfc
call fcn.00430740
push eax
call fcn.00412080
push 0x44c3e0
call fcn.00412080
mov eax, dword [esi + 0x6ddc]
or word [esi + 0x46dc], 0x40
add esp, 8
push ebp
add eax, 7
push ebp
push eax
mov ecx, esi
call fcn.0041aae0
push ebp
push 0x73
mov ecx, esi
call fcn.004074a0
push 2
push ebp
push ebp
mov ecx, esi
call fcn.0041aae0
mov ecx, esi
call fcn.0041a340
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.00406630
mov edi, eax
push 0x14
lea ecx, [esi + 0x5400]
mov dword [esp + 0x129c], edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call fcn.00407a80
push ebp
push 0x44c3a4
push ebp
mov ecx, 0x4000
or word [esi + 0x5408], cx
push ebp
push ebp
mov ecx, esi
call fcn.00408120
push ebp
push ebp
push ebp
mov ecx, esi
call fcn.0041aae0
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.0043e49f
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
jne 0x408a06
test ebp, ebp
je 0x408a06
mov ecx, 0x45d404
call fcn.004166f0
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.0043e8e0
add esp, 0xc
cmp dword [esp + 0x18], 0
mov dword [esp + 0x2c], 0xfffffff
jl 0x408c32
jg 0x408a48
test ebx, ebx
jbe 0x408c32
jmp 0x408a48
mov ebx, dword [esp + 0x14]
call fcn.00435a10
xor ebp, ebp
cmp dword [esp + 0x18], ebp
jg 0x408a84
jl 0x408a5f
cmp ebx, 0x200
jae 0x408a84
mov edx, 0x200
sub edx, ebx
push edx
lea eax, [esp + ebx + 0x88]
push ebp
push eax
mov edi, ebx
call fcn.0043e8e0
add esp, 0xc
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
jmp 0x408a98
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.0041adc0
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 0x408ae0
push 0x200
lea edx, [esp + 0x88]
push edx
push 0xffffffffffffffff
call fcn.00412910
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 0x408ba2
push esi
lea ecx, [esp + 0x70]
call fcn.004327f0
push 2
xor ebx, ebx
push ebx
push ebx
mov ecx, esi
mov byte [esp + 0x129c], 1
call fcn.0041aae0
push 0x1000
lea eax, [esp + 0x288]
push eax
mov ecx, esi
call fcn.0041abb0
mov edx, dword [esp + 0x2c]
push 0x1000
lea ecx, [esp + 0x288]
push ecx
push edx
call fcn.00412910
lea ecx, [esp + 0x6c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x1290], bl
call fcn.00432820
jmp 0x408ba4
xor ebx, ebx
mov edi, dword [esp + 0x24]
mov eax, edi
and eax, 0xff
xor ecx, ecx
or eax, ecx
jne 0x408bf3
mov eax, dword [esi + 0x13c0]
cmp byte [eax + 0x28b4], cl
jne 0x408bf3
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.0043ef90
push edx
push eax
call fcn.00434ee0
push eax
push str._b_b_b_b_3d__
call fcn.00412080
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 0x408c16
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x18], ebx
jg 0x408a44
jl 0x408c2e
mov ebx, dword [esp + 0x14]
test ebx, ebx
ja 0x408a48
mov ebp, dword [esp + 0x44]
push 2
push 0
push 0
mov ecx, esi
call fcn.0041aae0
mov ebx, dword [esp + 0x1c]
push ebx
lea ecx, [esp + 0x288]
push ecx
mov ecx, esi
call fcn.0041abb0
mov eax, dword [esp + 0x2c]
push ebx
lea edx, [esp + 0x288]
push edx
push eax
call fcn.00412910
mov ecx, dword [esp + 0x38]
push ebp
push ecx
mov ecx, esi
mov ebx, eax
call fcn.0041abb0
push ebp
mov ebp, dword [esp + 0x3c]
push ebp
push ebx
call fcn.00412910
mov edx, dword [esp + 0x34]
not eax
push 0
mov dword [esi + 0x5418], eax
mov eax, dword [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.0041aae0
push 0
lea ecx, [esp + 0x50]
call fcn.0042bc60
push 8
push str.Protect
lea ecx, [esp + 0x54]
mov byte [esp + 0x1298], 2
call fcn.0042bb30
push edi
lea ecx, [esp + 0x50]
call fcn.0042ba70
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
push ecx
push ebx
lea ecx, [esp + 0x54]
call fcn.0042bb00
lea edx, [esi + 0x6030]
push edx
lea ecx, [esp + 0x50]
call fcn.0042bdf0
push 0
push 0x44c3a4
shl edi, 8
push 0
add edi, ebx
add edi, edi
push edi
push 0
mov ecx, esi
call fcn.00408120
push 2
push 0
push 0
mov ecx, esi
call fcn.0041aae0
mov eax, dword [esi + 0x13c0]
cmp byte [eax + 0x28b4], 0
jne 0x408d2f
push str._b_b_b_b
call fcn.00412080
add esp, 4
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1290], 0
call fcn.0042bcf0
test ebp, ebp
je 0x408d4d
push ebp
call fcn.0043e11d
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.0043e3c6
add esp, 0x1280
ret 4