Function at 0x10074688
Capabilities:
Encode data using xor

Disassembly:
pushfd
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x48], ebx
lea ebx, [ebp + 4]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], edi
mov esi, dword [ebx + 4]
push esi
push esi
sub ebx, 4
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], esi
mov eax, 0x8d83a9f8
mov edi, dword [esi + 0xc]
mov edx, 0x10000000
mov esi, dword [esi]
and dword [ebp - 0x24], 0
mov eax, 0xfffffff
and dword [ebp - 0x20], 0
pop ecx
pop ecx
shr esi, 2
mov ecx, dword [0x1001256c]
and esi, eax
and edi, eax
add esi, edx
mov eax, edx
sub eax, ecx
mov dword [ebp - 0x18], eax
jne 0x1007473b
and dword [ebp - 4], 0
test edi, edi
jbe 0x10074936
mov ebx, 0x6e36be2f
mov eax, dword [ebp - 4]
movzx eax, byte [eax + esi]
mov ecx, 0x91c941d1
sub eax, ebx
add dword [ebp - 0x24], eax
add eax, dword [ebp - 0x20]
mul ecx
add eax, edx
mov ecx, eax
imul ecx, ecx, 0x6be2
rol ecx, 1
ror eax, 1
xor ecx, eax
imul ecx, ecx, 0x91c941d1
ror ecx, 2
add dword [ebp - 0x24], ecx
inc dword [ebp - 4]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 4], edi
jb 0x100746f9
jmp 0x10074933
lea eax, [esi + edi]
mov ecx, esi
sub ecx, edx
mov edx, ecx
and edx, 0xfffff000
mov dword [ebp - 4], edx
mov edx, ecx
sub edx, dword [ebp - 4]
add ecx, edi
mov dword [ebp - 0x1c], eax
mov eax, dword [0x1000003c]
mov edi, ecx
and edi, 0xfffff000
sub ecx, edi
mov dword [ebp - 0x34], ecx
mov ecx, dword [eax + 0x100000a0]
add ecx, 0x10000000
mov dword [ebp - 0x38], edi
mov edi, dword [eax + 0x100000a4]
add edi, ecx
jmp 0x1007478c
mov eax, dword [ebp - 4]
cmp dword [ecx], eax
jae 0x10074790
add ecx, dword [ecx + 4]
cmp ecx, edi
jne 0x10074782
and dword [ebp - 0x28], 0
cmp ecx, edi
je 0x100747cb
mov eax, dword [ebp - 4]
cmp dword [ecx], eax
jne 0x100747cb
mov eax, dword [ecx + 4]
sub eax, 8
shr eax, 1
je 0x100747cb
lea ebx, [ecx + 8]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
movzx ebx, word [ebx]
and ebx, 0xfff
cmp ebx, edx
jae 0x100747cb
inc dword [ebp - 0x28]
add dword [ebp - 4], 2
cmp dword [ebp - 0x28], eax
jne 0x100747af
mov ebx, 0x6e36be2f
cmp ecx, edi
je 0x100748ef
mov eax, dword [ebp - 0x38]
cmp dword [ecx], eax
ja 0x100748ef
mov eax, dword [ecx + 4]
lea edx, [eax - 8]
shr edx, 1
mov eax, dword [ebp - 0x28]
cmp eax, edx
jne 0x1007480e
add ecx, dword [ecx + 4]
cmp ecx, edi
je 0x100748ef
mov eax, dword [ebp - 0x38]
cmp dword [ecx], eax
ja 0x100748ef
and dword [ebp - 0x28], 0
jmp 0x100747e3
mov edx, dword [ebp - 0x38]
cmp dword [ecx], edx
jne 0x10074828
movzx eax, word [ecx + eax*2 + 8]
and eax, 0xfff
cmp eax, dword [ebp - 0x34]
jae 0x100748ef
mov eax, dword [ebp - 0x28]
mov edx, 0xf000
inc dword [ebp - 0x28]
test word [ecx + eax*2 + 8], dx
je 0x100747d0
movzx eax, word [ecx + eax*2 + 8]
mov edx, dword [ecx]
and dword [ebp - 4], 0
and eax, 0xfff
lea eax, [eax + edx + 0x10000000]
mov dword [ebp - 8], eax
sub dword [ebp - 8], esi
mov dword [ebp - 0x10], eax
je 0x100748a1
mov eax, dword [ebp - 4]
mov edx, 0x91c941d1
movzx eax, byte [eax + esi]
sub eax, ebx
add dword [ebp - 0x24], eax
add eax, dword [ebp - 0x20]
mul edx
add eax, edx
mov edx, eax
imul edx, edx, 0x6be2
rol edx, 1
ror eax, 1
xor edx, eax
imul edx, edx, 0x91c941d1
ror edx, 2
mov eax, edx
add dword [ebp - 0x24], eax
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], edx
cmp eax, dword [ebp - 8]
jb 0x1007485c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
sub eax, dword [ebp - 0x18]
xor esi, esi
mov dword [ebp - 8], eax
movzx eax, byte [ebp + esi - 8]
mov edx, 0x91c941d1
sub eax, ebx
add dword [ebp - 0x24], eax
add eax, dword [ebp - 0x20]
mul edx
add eax, edx
mov edx, eax
imul edx, edx, 0x6be2
rol edx, 1
ror eax, 1
xor edx, eax
imul edx, edx, 0x91c941d1
ror edx, 2
add dword [ebp - 0x24], edx
inc esi
mov dword [ebp - 0x20], edx
cmp esi, 4
jb 0x100748ab
mov esi, dword [ebp - 0x10]
add esi, 4
jmp 0x100747d0
xor edi, edi
mov eax, dword [ebp - 0x1c]
sub eax, esi
mov dword [ebp - 0x1c], eax
je 0x10074933
mov ecx, 0x91c941d1
movzx eax, byte [edi + esi]
sub eax, ebx
add dword [ebp - 0x24], eax
add eax, dword [ebp - 0x20]
mul ecx
add eax, edx
mov ecx, eax
imul ecx, ecx, 0x6be2
rol ecx, 1
ror eax, 1
xor ecx, eax
imul ecx, ecx, 0x91c941d1
ror ecx, 2
add dword [ebp - 0x24], ecx
inc edi
mov dword [ebp - 0x20], ecx
cmp edi, dword [ebp - 0x1c]
jb 0x100748fb
mov ebx, dword [ebp - 0xc]
add dword [ebx + 8], 0x10
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
and ecx, 0xfffffff
mov eax, dword [ecx + 0x10000000]
xor eax, dword [ebp - 0x24]
mov ecx, dword [ecx + 0x10000004]
xor ecx, dword [ebp - 0x20]
or eax, ecx
je 0x10074a0b
call fcn.1007bc92
mov edx, 0xfffff000
lea ecx, [ebx + 0xc]
and ecx, 0xfffffffc
lea esi, [ecx + 0xfff]
and eax, edx
mov dword [ebp - 0x1c], eax
and esi, edx
xor eax, eax
mov edx, 0xffff
mov dword [ebx + 8], 0x100f1b6e
mov edi, dword [0x1012ee38]
imul edi, edi, 0x343fd
add edi, 0x269ec3
mov dword [0x1012ee38], edi
shr edi, 0x10
shl eax, 0x10
shr edx, 0x10
or eax, edi
test edx, edx
jne 0x1007498b
mov edi, 0xffff
div edi
inc edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x1c], 0
jmp 0x100749d4
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
add ecx, 4
cmp ecx, esi
jb 0x100749cc
mov eax, dword [ebp - 0x14]
mov dword [ebx + 8], 0x100f1b6e
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0x44]
mov edx, ecx
mov dword [ebp - 0x40], ecx
and eax, 0xfffffff
shl edx, 0x10
add eax, 0x10000000
xor edx, dword [eax]
xor edx, dword [0x1012ede8]
xor edx, ecx
and dword [ebp - 0x44], 0
mov dword [ebp - 0x3c], edx
mov eax, 0xba06b110
mov esi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x50]
mov edi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x4c]
mov esp, ebp
pop ebp
popfd
ret