Function at 0x1106b730
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11182b7b
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 0x4a4]
mov cx, word [edx + 2]
mov dword [ebp - 0x15c], eax
mov eax, 0xfffe
and cx, ax
movzx ecx, cx
mov dword [ebp - 0x158], edx
mov dword [ebp - 0x154], 1
test cx, cx
je 0x1106b7ac
lea eax, [edx + 4]
mov esi, edx
sub esi, eax
add esi, dword [ebp + 8]
je 0x1106b7ac
mov edx, ecx
shr edx, 1
xor byte [eax], dl
inc eax
add ecx, 5
dec esi
jne 0x1106b799
mov edx, dword [ebp - 0x158]
cmp byte [edx + 4], 0
lea edi, [edx + 4]
je 0x1106b8bd
lea esp, [esp]
push 0x3d
push edi
call fcn.11081d30
mov esi, eax
add esp, 8
lea eax, [ebx + 0x4b0]
test esi, esi
jne 0x1106b7ea
push 0x20
push edi
push eax
call fcn.11164ed0
add esp, 0xc
mov esi, edi
jmp 0x1106b878
mov byte [esi], 0
inc esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1106b7f1
mov ecx, edi
sub eax, edx
lea edx, [ecx + 1]
mov dword [ebp - 0x160], edx
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x1106b805
sub ecx, dword [ebp - 0x160]
lea eax, [ecx + eax + 2]
cmp eax, 0x80
ja 0x1106b899
inc dword [ebx + 0x4ac]
cmp dword [ebx + 0x4ac], 0x1c07
jge 0x1106b8a0
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx + 0xc]
push 0
push 0
push 0x111a2f34
push 0x111a0f50
call fcn.1105e820
test eax, eax
je 0x1106b862
push esi
push edi
lea eax, [ebx + 0x4b0]
push eax
push 0x111a2f20
call fcn.11147060
add esp, 0x10
mov ecx, dword [ebp - 0x15c]
push 3
push esi
push edi
lea eax, [ebx + 0x4b0]
push eax
call fcn.1105e910
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1106b880
sub eax, edx
cmp byte [eax + esi + 1], cl
lea edi, [eax + esi + 1]
jne 0x1106b7c0
jmp 0x1106b8b7
push 0x111a2eec
jmp 0x1106b8a5
push 0x111a2eb8
call fcn.11147060
mov dword [ebp - 0x154], 0
add esp, 4
mov edx, dword [ebp - 0x158]
test byte [edx + 2], 1
jne 0x1106b9d8
mov ecx, dword [ebp - 0x15c]
push 0
push 0
push 0x111a03dc
push 0x111a0f40
mov dword [ebx + 0x4a8], 1
call fcn.1105e820
test eax, eax
je 0x1106b8f8
mov ecx, dword [ebx + 4]
push 1
call fcn.11069130
mov esi, dword [ebp - 0x15c]
push 0
push 0
push 0x111a2eac
push 0x111a0f40
mov ecx, esi
call fcn.1105e820
test eax, eax
je 0x1106b9d8
mov ecx, dword [ebx + 4]
push 0xfde9
call fcn.11069110
mov edx, dword [esi]
mov edx, dword [edx + 4]
push 0
push pe_nt_image_headers32
lea eax, [ebp - 0x50]
push eax
push 0x111a2ea0
push 0x111a0f40
mov ecx, esi
call edx
test eax, eax
jle 0x1106b9d8
push 0xfde9
push 0x100
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x50]
push ecx
call fcn.111433d0
add esp, 0x10
lea edx, [ebp - 0x150]
push edx
lea ecx, [ebp - 0x170]
call fcn.110d0960
mov eax, dword [ebp - 0x170]
mov edx, dword [eax]
lea ecx, [ebp - 0x170]
mov dword [ebp - 4], 0
call edx
test al, al
jne 0x1106b9ac
push 0x255
push 0x11195b24
push 0x11195b1c
call fcn.11029a70
add esp, 0xc
mov eax, dword [ebp - 0x164]
push 0
push eax
push 0x111a010c
push 0x111a0f40
mov ecx, esi
call fcn.1105e910
lea ecx, [ebp - 0x170]
mov dword [ebp - 4], 0xffffffff
call fcn.110d0a10
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret