Function at 0x1183a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x28]
push ebx
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x60]
push esi
mov esi, dword [ebx + 0xc]
push edi
mov dword [ebp - 8], eax
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ecx + 0xc]
mov eax, 0x2402c
cmp edi, eax
mov dword [ebp - 0xc], ecx
ja 0x11cd8
je 0x11ba0
sub edi, 0x24000
je 0x119dd
sub edi, 4
je 0x1196c
sub edi, 0x10
je 0x1189e
sub edi, 4
je 0x118db
sub edi, 0x10
jne 0x11d1a
and dword [ebx + 0x1c], 0
mov dword [ebp - 4], 0xc0000010
cmp dword [ebp - 4], 0x80000016
jne 0x118c2
mov eax, dword [ebp - 8]
push dword [eax]
push ebx
call dword [0x10f24]
and dword [ebx + 0x1c], 0
mov esi, dword [ebp - 4]
xor dl, dl
mov ecx, ebx
mov dword [ebx + 0x18], esi
call dword [0x10f20]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 8
xor edi, edi
mov dword [ebx + 0x1c], edi
cmp dword [ecx + 8], 6
jb 0x11977
mov al, byte [esi]
cmp al, byte [esi + 3]
jne 0x1190b
mov al, byte [esi + 1]
cmp al, byte [esi + 4]
jne 0x1190b
mov al, byte [esi + 2]
cmp al, byte [esi + 5]
jne 0x1190b
and byte [ebp - 0x20], 0
mov byte [ebp - 0x28], 0x4b
jmp 0x11932
mov byte [ebp - 0x28], 0x47
mov al, byte [esi]
mov byte [ebp - 0x25], al
mov al, byte [esi + 1]
mov byte [ebp - 0x24], al
mov al, byte [esi + 2]
mov byte [ebp - 0x23], al
mov al, byte [esi + 3]
mov byte [ebp - 0x22], al
mov al, byte [esi + 4]
mov byte [ebp - 0x21], al
mov al, byte [esi + 5]
mov byte [ebp - 0x20], al
push edi
push edi
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 8]
mov byte [ebp - 0x3e], 0xa
mov dword [ebp - 0x34], 0xa
call section..text
cmp eax, edi
mov dword [ebp - 4], eax
jl 0x118a9
cmp byte [ebp - 0x28], 0x47
jne 0x118a9
mov eax, dword [ebp - 8]
mov byte [eax + 0x34], 1
jmp 0x118a9
xor edi, edi
mov dword [ebx + 0x1c], edi
cmp dword [ecx + 8], 3
jae 0x11983
mov dword [ebp - 4], 0xc0000004
jmp 0x118c2
movzx ecx, byte [esi]
movzx eax, byte [esi + 1]
imul ecx, ecx, 0x3c
add eax, ecx
movzx ecx, byte [esi + 2]
imul eax, eax, 0x4b
lea eax, [eax + ecx - 0x96]
mov ecx, eax
shr ecx, 0x18
mov byte [ebp - 0x26], cl
mov ecx, eax
shr ecx, 0x10
push edi
mov byte [ebp - 0x25], cl
mov ecx, eax
mov byte [ebp - 0x23], al
push edi
lea eax, [ebp - 0x44]
shr ecx, 8
push eax
push dword [ebp - 8]
mov byte [ebp - 0x28], 0x2b
mov byte [ebp - 0x24], cl
mov byte [ebp - 0x3e], 0xa
mov dword [ebp - 0x34], 0xa
call section..text
mov dword [ebp - 4], eax
jmp 0x118a9
cmp dword [ecx + 4], 4
jb 0x11d45
push edx
call fcn.00010548
test al, al
jne 0x11d30
push 0x20416443
push 0x324
push 4
call dword [0x10f1c]
mov ebx, eax
test ebx, ebx
jne 0x11a1f
mov eax, dword [ebp + 0xc]
and dword [eax + 0x1c], ebx
mov dword [ebp - 4], 0xc000009a
jmp 0x11b98
xor eax, eax
mov ecx, 0xc9
mov edi, ebx
rep stosd dword es:[edi], eax
mov al, byte [ebp - 0x27]
and al, 0xfb
or al, 2
push 0x324
mov byte [ebp - 0x27], al
push ebx
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 8]
mov byte [ebp - 0x28], 0x43
mov byte [ebp - 0x21], 3
mov byte [ebp - 0x20], 0x24
mov dword [ebp - 0x34], 0xa
mov byte [ebp - 0x3e], 0xa
call section..text
xor edi, edi
cmp eax, edi
mov dword [ebp - 4], eax
jge 0x11a82
cmp eax, 0xc000003c
je 0x11a82
push edi
push ebx
call dword [0x10f18]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x1c], edi
mov ebx, eax
jmp 0x118a9
mov al, byte [ebx]
mov byte [esi], al
mov al, byte [ebx + 1]
mov byte [esi + 1], al
mov cl, byte [ebx + 2]
mov al, cl
shr al, 4
mov dl, 0xa
imul dl
and cl, 0xf
add al, cl
mov byte [esi + 2], al
mov cl, byte [ebx + 3]
mov al, cl
shr al, 4
imul dl
and cl, 0xf
add al, cl
movzx ecx, byte [esi + 2]
mov byte [esi + 3], al
movzx eax, al
sub eax, ecx
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 4]
sub ecx, 4
shr ecx, 3
inc eax
cmp ecx, eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ecx
mov edx, ecx
jb 0x11ad9
mov edx, eax
xor edi, edi
test edx, edx
jbe 0x11b47
mov dword [ebp - 8], ebx
sub dword [ebp - 8], esi
lea edi, [ebx + 6]
lea ecx, [esi + 5]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], edx
and byte [ecx - 1], 0
mov eax, dword [ebp - 8]
mov al, byte [eax + ecx]
xor al, byte [ecx]
mov dl, 0xa
and al, 0xf
xor byte [ecx], al
mov al, byte [edi]
and byte [ecx + 2], 0
and byte [ecx + 3], 0
mov byte [ebp + 0xb], al
shr al, 4
imul dl
mov dl, al
mov al, byte [ebp + 0xb]
and al, 0xf
add dl, al
mov byte [ecx + 1], dl
mov al, byte [edi + 3]
mov byte [ecx + 4], al
mov al, byte [edi + 4]
mov byte [ecx + 5], al
mov al, byte [edi + 5]
mov byte [ecx + 6], al
add edi, 8
add ecx, 8
dec dword [ebp - 0xc]
jne 0x11af1
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
cmp ecx, eax
jbe 0x11b82
lea eax, [esi + edi*8]
and byte [eax + 4], 0
lea esi, [ebx + edi*8]
mov cl, byte [esi + 5]
xor cl, byte [eax + 5]
and cl, 0xf
xor byte [eax + 5], cl
mov cl, byte [esi + 6]
and byte [eax + 7], 0
and byte [eax + 8], 0
mov byte [eax + 6], cl
mov cl, byte [esi + 9]
mov byte [eax + 9], cl
mov cl, byte [esi + 0xa]
mov byte [eax + 0xa], cl
mov cl, byte [esi + 0xb]
mov byte [eax + 0xb], cl
inc edi
mov ecx, dword [ebp + 0xc]
push 0
lea eax, [edi*8 + 4]
push ebx
mov dword [ecx + 0x1c], eax
call dword [0x10f18]
mov ebx, dword [ebp + 0xc]
jmp 0x118c2
push 0x20416443
push 0x10
push 4
call dword [0x10f1c]
mov edi, eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 0x10
jae 0x11bd5
and dword [ebx + 0x1c], 0
test edi, edi
mov dword [ebp - 4], 0xc0000023
je 0x118c2
push 0
push edi
jmp 0x11de4
test edi, edi
jne 0x11be6
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
jmp 0x11d69
cmp byte [esi], 1
je 0x11c08
push 0
push edi
call dword [0x10f18]
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 4], 0xc0000001
jmp 0x118be
or byte [ebp - 0x27], 2
or byte [ebp - 0x26], 0x40
push 0x10
push edi
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 8]
mov byte [ebp - 0x3e], 0xa
mov dword [ebp - 0x34], 0xa
mov byte [ebp - 0x28], 0x42
mov byte [ebp - 0x25], 1
mov byte [ebp - 0x20], 0x10
call section..text
test eax, eax
mov dword [ebp - 4], eax
jl 0x11cc6
cmp byte [edi + 1], 0x11
mov ecx, dword [ebp - 8]
sete al
mov byte [ecx + 0x34], al
and byte [esi], 0
mov al, byte [edi + 1]
and byte [esi + 2], 0
mov byte [esi + 1], al
mov byte [esi + 3], 0xc
mov byte [esi + 4], 1
mov al, byte [edi + 5]
and al, 0xf
mov byte [esi + 5], al
mov cl, byte [edi + 6]
mov al, cl
shr al, 4
mov dl, 0xa
imul dl
and cl, 0xf
add al, cl
mov byte [esi + 6], al
mov cl, byte [edi + 7]
and byte [esi + 8], 0
mov al, cl
shr al, 4
imul dl
and cl, 0xf
add al, cl
mov byte [esi + 7], al
mov al, byte [edi + 9]
mov byte [esi + 9], al
mov al, byte [edi + 0xa]
mov byte [esi + 0xa], al
mov al, byte [edi + 0xb]
and byte [esi + 0xc], 0
mov byte [esi + 0xb], al
mov al, byte [edi + 0xd]
mov byte [esi + 0xd], al
mov al, byte [edi + 0xe]
mov byte [esi + 0xe], al
mov al, byte [edi + 0xf]
mov byte [esi + 0xf], al
mov dword [ebx + 0x1c], 0x10
jmp 0x11cca
and dword [ebx + 0x1c], 0
push 0
push edi
call dword [0x10f18]
jmp 0x118a9
sub edi, 0x24034
je 0x1189e
sub edi, 4
je 0x11d26
sub edi, 0x7c8
je 0x11d11
sub edi, 8
jne 0x11d1a
mov ecx, dword [ebp - 8]
xor eax, eax
push eax
mov dword [ebx + 0x1c], eax
and byte [ecx + 0x34], al
push eax
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 0x28], 0xc0
push ecx
jmp 0x119c5
push edx
call fcn.00010548
mov edx, dword [ebp + 8]
push ebx
push edx
call fcn.0001052a
jmp 0x118d4
push edx
call fcn.00010548
test al, al
je 0x11d3c
mov dword [ebp - 4], 0x80000011
jmp 0x118be
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 0xc
jae 0x11d51
mov dword [ebp - 4], 0xc0000023
jmp 0x118be
push 0x20416443
push 8
push 4
call dword [0x10f1c]
mov ecx, eax
test ecx, ecx
mov dword [ebp + 0xc], ecx
jne 0x11d75
mov dword [ebp - 4], 0xc000009a
jmp 0x118be
xor eax, eax
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 8
push ecx
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 8]
mov byte [ebp - 0x3e], 0xa
mov byte [ebp - 0x28], 0x26
mov dword [ebp - 0x34], 0xa
call section..text
xor edi, edi
cmp eax, edi
mov dword [ebp - 4], eax
jge 0x11db4
push edi
push dword [ebp + 0xc]
call dword [0x10f18]
mov dword [ebx + 0x1c], edi
jmp 0x118a9
mov dword [ebp - 4], edi
mov dword [ebx + 0x1c], 0xc
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
and byte [esi], 0
xor ecx, ecx
mov byte [esi + 1], 0xa
cmp dword [eax], ecx
push ecx
push eax
je 0x11de4
mov byte [esi + 2], 1
mov byte [esi + 3], 2
mov edx, dword [eax]
mov dword [esi + 8], edx
call dword [0x10f18]
jmp 0x118c2