Function at 0x10009d75
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push ebx
push ebp
push esi
mov esi, ecx
lea edx, [ecx - 0x3655]
xor esi, 0x104a
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x20]
lea ebx, [eax + 0x1358]
mov ebp, eax
mov dword [esp + 0x1c], esi
lea eax, [ecx - 0x1109]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x20], eax
xor ebp, 0x883
lea eax, [esi + 0xb3d]
add edx, 0x5ba
push edi
mov edi, dword [esp + 0x2c]
cmp ebp, eax
je 0x10009f7b
cmp dword [edi + 0x6c], 0x13b98
je 0x10009de8
mov eax, 0xbe059122
sub eax, dword [0x100fdcdc]
add dword [edi + 0x3c], eax
mov eax, dword [edi + 0x28]
cmp eax, dword [edi + 0x7c]
je 0x10009e0f
mov ecx, dword [edi + 0xdc]
mov eax, dword [0x100fdc3c]
sub ecx, dword [edi + 0xa4]
add eax, 0xffe9de36
add eax, ecx
mov dword [0x100fdc3c], eax
jmp 0x10009e25
mov eax, dword [0x100e4da4]
mov ecx, 0xfffd6a1b
sub ecx, dword [eax + 0xc0]
add dword [edi + 0xe0], ecx
mov eax, dword [0x100e4da4]
add edx, 0x777
mov dword [esp + 0x14], edx
xor esi, esi
mov dword [eax + 0x88], 0x10048c20
mov eax, dword [edi + 0x88]
push 0x13
mov edx, dword [esi + eax]
add esi, 4
mov eax, dword [edi + 0x7c]
xor eax, 0xd79d24
add dword [edi + 0xdc], eax
mov eax, 0xebe3f8
mov ecx, dword [0x100e4da4]
sub eax, dword [ecx + 0xa8]
sub eax, dword [edi + 0x7c]
add dword [ecx + 0xa4], eax
mov eax, 0x313ef
sub eax, dword [edi + 0x34]
add dword [edi + 0xe0], eax
mov ecx, dword [0x100e4da4]
mov eax, dword [ecx + 0x48]
sub eax, 0x1a83f2
xor dword [0x100fdc7c], eax
mov eax, 0x163ac8
sub eax, dword [edi + 0xb0]
sub eax, dword [0x100fdcdc]
add dword [ecx + 0x7c], eax
mov eax, dword [edi + 0x9c]
imul eax, dword [0x100fdcd8]
mov dword [0x100fdcd8], eax
mov ebx, dword [edi + 0x3c]
mov eax, dword [edi]
xor eax, dword [0x100fdc60]
mov ecx, dword [edi + 0x58]
sub eax, 0x16b65b
or dword [edi + 0x7c], eax
mov eax, dword [edi + 0x8c]
imul ebx, edx
mov edx, ebx
shr edx, 0x10
mov byte [ecx + eax], dl
mov edx, ebx
inc dword [edi + 0x58]
mov ecx, dword [0x100e4da4]
mov eax, dword [edi + 0x48]
sub eax, 0x1a83f2
shr edx, 8
add dword [ecx + 0x50], eax
mov eax, dword [0x100e4da4]
mov ecx, dword [eax + 0x8c]
mov eax, dword [edi + 0x58]
mov byte [ecx + eax], dl
inc dword [edi + 0x58]
mov ecx, dword [edi + 0x58]
mov eax, dword [edi + 0x8c]
mov byte [ecx + eax], bl
inc dword [edi + 0x58]
mov ecx, dword [0x100e4da4]
pop eax
sub eax, dword [0x100fdce0]
add dword [ecx + 0x48], eax
mov eax, 0x1fb115
mov ecx, dword [0x100e4da4]
sub eax, dword [ecx + 0x84]
add dword [0x100fdcf4], eax
mov eax, dword [edi]
sub eax, 0x2edea
or dword [ecx + 0x84], eax
cmp esi, 0x29fb0
jl 0x10009e40
mov eax, dword [edi + 0xdc]
mov ebx, dword [esp + 0x10]
xor eax, 0x897b69fc
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov dword [edi + 0x3c], eax
lea eax, [edx - 0xa30]
cmp ebx, eax
jl 0x1000a268
mov esi, dword [0x100e4da4]
mov eax, dword [esi + 0x34]
cmp eax, dword [0x100fdca8]
ja 0x10009fa6
mov dword [0x100fdc88], 0x100e6cf8
jmp 0x10009fbd
mov eax, dword [edi + 0x9c]
xor eax, 0x2110
or dword [edi + 0xe0], eax
mov esi, dword [0x100e4da4]
xor ebp, ebp
mov ebx, ebp
mov eax, dword [edi + 0x88]
mov ecx, dword [ebx + eax]
add ebx, 4
mov eax, dword [esi + 0xa4]
xor eax, 1
movzx edx, cl
add dword [0x100fdcc0], eax
mov ecx, dword [esi + 0x58]
movzx eax, byte [edi + 0x3c]
imul edx, eax
mov eax, dword [edi + 0x8c]
mov byte [ecx + eax], dl
mov eax, dword [0x100e4da4]
inc dword [eax + 0x58]
mov eax, dword [0x100e4da4]
mov eax, dword [eax + 0xa4]
imul eax, dword [0x100fdcc0]
mov dword [0x100fdcc0], eax
mov eax, dword [0x100fdcd8]
add eax, 0xfffc289c
add dword [edi + 0x48], eax
mov eax, dword [edi + 0x28]
xor eax, 0x1a1769
sub dword [0x100fdca4], eax
mov eax, dword [edi + 0xdc]
add eax, dword [0x100fdc60]
xor eax, 0x2a9678
or dword [edi + 0x34], eax
mov eax, dword [edi + 0xf4]
xor eax, dword [edi + 0x6c]
sub eax, 0x4b303
imul eax, dword [edi + 0x6c]
mov dword [edi + 0x6c], eax
mov eax, dword [edi + 0x9c]
dec eax
or dword [edi + 0x7c], eax
mov eax, dword [0x100e4da4]
mov eax, dword [eax + 0xdc]
xor eax, dword [edi + 0x84]
sub eax, 0x98bd1
imul eax, dword [edi + 0xd0]
mov dword [edi + 0xd0], eax
mov ecx, dword [0x100e4da4]
mov eax, dword [ecx + 0xb0]
sub eax, dword [edi + 0xe0]
add eax, 0x12
xor dword [ecx + 0xa8], eax
cmp ebx, 0x167d0
jge 0x1000a0b0
mov esi, dword [0x100e4da4]
jmp 0x10009fc1
mov eax, dword [0x100fdcd0]
sub eax, dword [edi + 0xe0]
add eax, 0xffee26e0
cmp dword [edi + 0x34], 0x54c4
mov dword [edi + 0x3c], eax
jae 0x1000a0dc
mov eax, dword [0x100e4da4]
mov ecx, dword [edi + 0x50]
mov dword [eax + 0x9c], ecx
jmp 0x1000a0e4
add eax, 0xffffe23d
mov dword [edi + 0x3c], eax
mov ecx, dword [0x100e4da4]
cmp dword [ecx + 0x84], 0x66f3
jb 0x1000a106
mov dword [ecx + 0x88], 0x1000f050
mov ecx, dword [0x100e4da4]
mov edx, dword [edi + 0x7c]
mov eax, 0xed1926
sub eax, edx
sub eax, dword [edi + 0x50]
add dword [ecx + 0xdc], eax
mov ecx, dword [0x100e4da4]
mov eax, dword [edi + 0x6c]
sub dword [ecx + 0x9c], eax
mov eax, dword [0x100e4da4]
mov ecx, dword [eax + 0x48]
add ecx, dword [edi + 0x60]
mov eax, dword [0x100fdca4]
add eax, 0xffd1205d
add eax, ecx
mov dword [0x100fdca4], eax
mov eax, dword [edi + 0xf4]
xor eax, dword [edi + 0xb0]
xor eax, 0x4b305
mov esi, dword [edi + 0x60]
sub dword [edi + 0x50], eax
mov ecx, dword [0x100e4da4]
mov ebx, dword [edi + 0x3c]
mov eax, dword [ecx + 0x88]
mov edx, dword [eax + ebp]
add ebp, 4
mov eax, dword [ecx + 0xc0]
add eax, 0xc289b91f
imul ebx, edx
add eax, esi
xor dword [edi + 0x48], eax
lea eax, [esi - 0x145bb1]
add dword [edi + 0x28], eax
mov eax, dword [0x100e4da4]
mov edx, ebx
shr edx, 0x18
mov ecx, dword [eax + 0x58]
mov eax, dword [edi + 0x8c]
mov byte [ecx + eax], dl
mov edx, ebx
mov eax, dword [0x100e4da4]
shr edx, 0x10
inc dword [eax + 0x58]
mov ecx, dword [edi + 0x58]
mov eax, dword [edi + 0x8c]
mov byte [ecx + eax], dl
mov edx, ebx
inc dword [edi + 0x58]
mov ecx, dword [0x100e4da4]
mov eax, dword [edi + 0xdc]
sub eax, dword [edi + 0x28]
add eax, 0x3dca2
shr edx, 8
add dword [ecx + 0x28], eax
mov eax, dword [0x100e4da4]
mov ecx, dword [eax + 0x8c]
mov eax, dword [edi + 0x58]
mov byte [ecx + eax], dl
inc dword [edi + 0x58]
mov eax, dword [0x100e4da4]
mov ecx, dword [eax + 0x58]
mov eax, dword [edi + 0x8c]
mov byte [ecx + eax], bl
mov eax, dword [0x100e4da4]
inc dword [eax + 0x58]
mov ecx, dword [0x100e4da4]
mov eax, dword [0x100fdca8]
sub eax, dword [ecx + 0x50]
xor eax, 0xfffecad2
sub dword [ecx + 0xd8], eax
mov eax, dword [edi + 0xc0]
mov edx, dword [edi + 0x7c]
sub eax, edx
xor eax, dword [edi + 0xb0]
xor eax, 0x3c8a4e0c
mov dword [edi + 0xb0], eax
cmp ebp, 0xca8
jge 0x1000a24f
mov ecx, dword [0x100e4da4]
jmp 0x1000a109
mov ecx, dword [edi + 0xa4]
mov eax, dword [0x100e4da4]
sub ecx, 0x49247483
mov dword [eax + 0x3c], ecx
jmp 0x1000a47a
mov eax, dword [0x100fdc20]
or eax, ebx
cmp dword [edi + 0x84], eax
jae 0x1000a454
mov ecx, dword [edi + 0x40]
mov eax, ebx
sub eax, dword [edi + 0xa8]
and edx, ebp
or eax, dword [edi + 0x9c]
and ecx, dword [0x100fdc28]
push edi
push eax
mov eax, dword [esp + 0x24]
and ecx, 0x261f
imul eax, ebp
imul eax, eax, 0x261f
push eax
push ecx
push edx
call sym.phy968jx3.dll_ZOT1
mov ecx, dword [edi + 0xf0]
add esp, 0x14
and ecx, dword [edi + 0xdc]
mov dword [esp + 0x10], eax
or eax, ebx
xor eax, dword [edi + 0xb8]
push ecx
mov ecx, dword [edi + 0x68]
imul ecx, ebx
and ecx, 0x1e67
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov eax, dword [0x100e4da4]
mov eax, dword [eax + 0xf0]
imul eax, dword [edi + 0xd8]
imul eax, dword [edi + 8]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x24]
imul eax, esi
xor eax, 0x3655
push eax
mov eax, dword [0x100e4da4]
mov eax, dword [eax + 0x64]
xor eax, ebp
imul eax, dword [0x100fdc84]
push eax
mov eax, dword [edi + 0x54]
xor eax, dword [edi + 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov eax, dword [edi + 0x64]
mov ecx, dword [esp + 0x1c]
sub eax, ecx
cmp ebp, eax
jne 0x1000a47a
mov eax, dword [edi + 0xcc]
xor eax, dword [esp + 0x10]
push eax
mov eax, ebx
and eax, 0x254c
push eax
mov eax, ecx
xor eax, 0x243e
push eax
mov eax, ebx
imul eax, ecx
add eax, dword [0x100fdc78]
push eax
mov eax, dword [0x100e4da4]
mov eax, dword [eax + 0xa8]
xor eax, 0x2b17
push eax
mov eax, ebx
sub eax, dword [0x100fdcd0]
and eax, ecx
push eax
mov eax, ebx
or eax, 0x2c27
add eax, ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
push dword [0x100e4da4]
mov eax, dword [edi + 0x48]
xor eax, dword [esp + 0x20]
xor eax, dword [edi + 0xa8]
mov edx, dword [edi + 0xa4]
mov ecx, dword [edi + 0xcc]
or edx, ebx
or ecx, dword [esp + 0x20]
mov esi, dword [edi + 0x7c]
sub edx, dword [edi + 0xdc]
sub esi, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x18]
or eax, dword [esp + 0x28]
push eax
push ecx
push edx
push esi
call fcn.1000c1a2
mov ecx, dword [0x100fdc4c]
add esp, 0x18
sub ecx, dword [edi + 0xb0]
mov esi, eax
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x24]
or eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [0x100fdce8]
add ecx, 0x2168
xor ecx, dword [0x100fdc98]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov eax, dword [edi + 0xcc]
sub ebx, esi
add eax, 0x355a
add eax, ebp
mov ebp, dword [esp + 0x24]
push 0x100fdc00
push eax
mov eax, dword [edi + 0x48]
add eax, 0x1e67
push eax
imul eax, dword [edi + 0x60], 0x2b98
push eax
mov eax, ebp
or eax, esi
push eax
push ebx
call fcn.1000c1a2
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
imul ebp, esi
push ebp
call dword [sym.imp.KERNEL32.dll_HeapUnlock]
jmp 0x1000a47a
imul eax, ebp, 0x299c
cmp ebp, eax
je 0x1000a47a
mov eax, dword [0x100e4da4]
mov eax, dword [eax + 0xb0]
sub eax, 0x3071
or eax, 0x3655
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
add eax, 0x1f79
pop ebx
pop ecx
pop ecx
ret