Function at 0x4088b0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x449a21
mov eax, dword fs:[0]
push eax
mov eax, 0x1274
call fcn.0043ec90
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 0x408d2d
push 0xdfc
call fcn.00430730
push eax
call fcn.00412060
push 0x44c3e0
call fcn.00412060
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.0041aac0
push ebp
push 0x73
mov ecx, esi
call fcn.00407480
push 2
push ebp
push ebp
mov ecx, esi
call fcn.0041aac0
mov ecx, esi
call fcn.0041a320
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.00406610
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.00407a60
push ebp
push 0x44c3a4
push ebp
mov ecx, 0x4000
or word [esi + 0x5408], cx
push ebp
push ebp
mov ecx, esi
call fcn.00408100
push ebp
push ebp
push ebp
mov ecx, esi
call fcn.0041aac0
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.0043e3ef
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
jne 0x4089e6
test ebp, ebp
je 0x4089e6
mov ecx, 0x45d404
call fcn.004166e0
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.0043e830
add esp, 0xc
cmp dword [esp + 0x18], 0
mov dword [esp + 0x2c], 0xfffffff
jl 0x408c12
jg 0x408a28
test ebx, ebx
jbe 0x408c12
jmp 0x408a28
mov ebx, dword [esp + 0x14]
call fcn.00435950
xor ebp, ebp
cmp dword [esp + 0x18], ebp
jg 0x408a64
jl 0x408a3f
cmp ebx, 0x200
jae 0x408a64
mov edx, 0x200
sub edx, ebx
push edx
lea eax, [esp + ebx + 0x88]
push ebp
push eax
mov edi, ebx
call fcn.0043e830
add esp, 0xc
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
jmp 0x408a78
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.0041ada0
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 0x408ac0
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 0x408b82
push esi
lea ecx, [esp + 0x70]
call fcn.00432790
push 2
xor ebx, ebx
push ebx
push ebx
mov ecx, esi
mov byte [esp + 0x129c], 1
call fcn.0041aac0
push 0x1000
lea eax, [esp + 0x288]
push eax
mov ecx, esi
call fcn.0041ab90
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.004327c0
jmp 0x408b84
xor ebx, ebx
mov edi, dword [esp + 0x24]
mov eax, edi
and eax, 0xff
xor ecx, ecx
or eax, ecx
jne 0x408bd3
mov eax, dword [esi + 0x13c0]
cmp byte [eax + 0x28b4], cl
jne 0x408bd3
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.0043eee0
push edx
push eax
call fcn.00434e60
push eax
push str._b_b_b_b_3d__
call fcn.00412060
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 0x408bf6
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x18], ebx
jg 0x408a24
jl 0x408c0e
mov ebx, dword [esp + 0x14]
test ebx, ebx
ja 0x408a28
mov ebp, dword [esp + 0x44]
push 2
push 0
push 0
mov ecx, esi
call fcn.0041aac0
mov ebx, dword [esp + 0x1c]
push ebx
lea ecx, [esp + 0x288]
push ecx
mov ecx, esi
call fcn.0041ab90
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.0041ab90
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.0041aac0
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.00408100
push 2
push 0
push 0
mov ecx, esi
call fcn.0041aac0
mov eax, dword [esi + 0x13c0]
cmp byte [eax + 0x28b4], 0
jne 0x408d0f
push str._b_b_b_b
call fcn.00412060
add esp, 4
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1290], 0
call fcn.0042bcf0
test ebp, ebp
je 0x408d2d
push ebp
call fcn.0043e06d
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.0043e316
add esp, 0x1280
ret 4