Function at 0x40c890
Capabilities:
Encode data using xor
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4ad661
mov eax, dword fs:[0]
push eax
mov eax, 0x1478
call fcn.0049ebb0
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0x1474], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c03a0]
xor eax, esp
push eax
lea eax, [esp + 0x148c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x149c]
xor ebx, ebx
mov esi, ecx
cmp edi, ebx
je 0x40cd0a
mov ecx, dword [0x4db884]
push 0x200
lea eax, [esp + 0x28c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x214
call fcn.0045be10
push eax
call fcn.0047f760
call fcn.0047ff60
mov edx, dword [esi + 0x761c]
or word [esi + 0x4f1c], 0x40
push ebx
add edx, 7
push ebx
push edx
mov ecx, esi
call fcn.0042f3d0
push ebx
push 0x73
mov ecx, esi
call fcn.0040b950
push 2
push ebx
push ebx
mov ecx, esi
call fcn.0042f3d0
mov ecx, esi
call fcn.0042ecc0
push edx
push eax
push edi
mov ecx, esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
call fcn.0040abc0
push 0x14
lea ecx, [esi + 0x5c40]
mov edi, eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.0040c090
push ebx
push 0x4b18ac
push ebx
push ebx
mov eax, 0x4000
or word [esi + 0x5c48], ax
push ebx
mov ecx, esi
call fcn.0040c0e0
push ebx
push ebx
push ebx
mov ecx, esi
call fcn.0042f3d0
mov ebp, edi
shl ebp, 9
push ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x4c], ebp
call fcn.0049e6ff
mov ebx, eax
add esp, 4
mov dword [esp + 0x38], ebx
test ebx, ebx
jne 0x40c9d1
test ebp, ebp
je 0x40c9d1
mov ecx, 0x4c93ac
call fcn.004285b0
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x1494], 0
push ebp
push 0
push ebx
call fcn.0049ebe0
add esp, 0xc
cmp dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0xfffffff
jl 0x40cbec
jg 0x40ca16
cmp dword [esp + 0x14], 0
jbe 0x40cbec
jmp 0x40ca16
mov ebx, dword [esp + 0x38]
call fcn.00465f90
cmp dword [esp + 0x18], 0
mov eax, dword [esp + 0x14]
jg 0x40ca53
jl 0x40ca2f
cmp eax, 0x200
jae 0x40ca53
mov ecx, 0x200
sub ecx, eax
push ecx
lea edx, [esp + eax + 0x8c]
push 0
push edx
mov ebp, eax
call fcn.0049ebe0
add esp, 0xc
xor eax, eax
mov dword [esp + 0x18], eax
jmp 0x40ca62
add eax, 0xfffffe00
adc dword [esp + 0x18], 0xffffffff
mov ebp, 0x200
mov dword [esp + 0x14], eax
push ebp
lea eax, [esp + 0x8c]
push eax
mov ecx, esi
call fcn.0042f6b0
mov eax, dword [esp + 0x24]
shl eax, 9
add eax, ebx
mov ecx, eax
neg ecx
lea ebx, [esp + ecx + 0x8a]
lea ebp, [esp + ecx + 0x88]
lea edx, [esp + ecx + 0x89]
lea ecx, [esp + ecx + 0x8b]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x44], ebx
mov ecx, 0x80
lea esp, [esp]
movzx ebx, byte [eax + ebp]
xor byte [eax], bl
movzx ebx, byte [edx + eax]
xor byte [eax + 1], bl
mov ebx, dword [esp + 0x44]
movzx ebx, byte [ebx + eax]
xor byte [eax + 2], bl
mov ebx, dword [esp + 0x4c]
movzx ebx, byte [ebx + eax]
xor byte [eax + 3], bl
add eax, 4
sub ecx, 1
jne 0x40cab0
push 0x200
lea edx, [esp + 0x8c]
push edx
push 0xffffffffffffffff
call fcn.0041fbc0
mov ecx, dword [esp + 0x20]
mov byte [esp + ecx + 0x488], al
inc ecx
shr eax, 8
mov byte [esp + ecx + 0x488], al
inc ecx
mov dword [esp + 0x20], ecx
cmp ecx, 0x1000
jne 0x40cb77
push esi
lea ecx, [esp + 0x74]
call fcn.0045ded0
mov byte [esp + 0x1494], 1
push 2
xor ebp, ebp
push ebp
push ebp
mov ecx, esi
call fcn.0042f3d0
push 0x1000
lea eax, [esp + 0x48c]
push eax
mov ecx, esi
call fcn.0042f4a0
mov edx, dword [esp + 0x1c]
push 0x1000
lea ecx, [esp + 0x48c]
push ecx
push edx
call fcn.0041fbc0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebp
mov byte [esp + 0x1494], 0
lea ecx, [esp + 0x70]
call fcn.0045df00
jmp 0x40cb79
xor ebp, ebp
mov ebx, dword [esp + 0x28]
mov eax, ebx
and eax, 0xff
xor ecx, ecx
or eax, ecx
jne 0x40cbb1
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
push ecx
push ebp
push 0x200
push edx
push ebx
call fcn.0049f1e0
push edx
push eax
push 0x4b18ac
call fcn.004097c0
mov eax, dword [esp + 0x24]
add ebx, 1
adc dword [esp + 0x2c], ebp
inc eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], eax
cmp eax, edi
jb 0x40cbcd
mov dword [esp + 0x24], ebp
cmp dword [esp + 0x18], ebp
jg 0x40ca12
jl 0x40cbe4
cmp dword [esp + 0x14], 0
ja 0x40ca12
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x48]
push 2
push 0
push 0
mov ecx, esi
call fcn.0042f3d0
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x48c]
push ecx
mov ecx, esi
call fcn.0042f4a0
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x48c]
push eax
push ecx
call fcn.0041fbc0
push ebp
push ebx
mov ecx, esi
mov dword [esp + 0x24], eax
call fcn.0042f4a0
mov edx, dword [esp + 0x1c]
push ebp
push ebx
push edx
call fcn.0041fbc0
mov ecx, dword [esp + 0x30]
not eax
mov dword [esi + 0x5c58], eax
mov eax, dword [esp + 0x34]
push 0
push eax
push ecx
mov ecx, esi
call fcn.0042f3d0
push 0
lea ecx, [esp + 0x54]
call fcn.00453ba0
mov byte [esp + 0x1494], 2
push 8
push str.Protect
lea ecx, [esp + 0x58]
call fcn.00453a70
push edi
lea ecx, [esp + 0x54]
call fcn.004539b0
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
push edx
push ebp
lea ecx, [esp + 0x58]
call fcn.00453a40
lea eax, [esi + 0x6870]
push eax
lea ecx, [esp + 0x54]
call fcn.00453d60
push 0
push 0x4b18ac
shl edi, 8
push 0
add edi, ebp
add edi, edi
push edi
push 0
mov ecx, esi
call fcn.0040c0e0
push 2
push 0
push 0
mov ecx, esi
call fcn.0042f3d0
lea ecx, [esp + 0x288]
push ecx
call fcn.0047f760
call fcn.0047ff60
mov byte [esp + 0x1494], 0
lea ecx, [esp + 0x50]
call fcn.00453c50
mov dword [esp + 0x1494], 0xffffffff
test ebx, ebx
je 0x40cd0a
push ebx
call fcn.0049e37d
add esp, 4
mov ecx, dword [esp + 0x148c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1474]
xor ecx, esp
call fcn.0049e626
add esp, 0x1484
ret 4