Function at 0x1000d190
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
add eax, 0x185e
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
mov esi, dword [esp + 0x20]
xor ebx, 0x2421
push edi
mov edi, dword [esp + 0x28]
mov edx, edi
mov dword [esp + 0x28], eax
xor edx, 0x1743
lea eax, [ecx + 0x7b8]
mov dword [esp + 0x10], edx
lea ebp, [edi - 0x7c0]
xor edi, 0x315c
cmp ebp, eax
jle 0x1000d2dc
lea eax, [ebp + 0x4f]
cmp dword [esp + 0x28], eax
je 0x1000d2dc
mov eax, ecx
xor eax, 0x35ff
cmp edi, eax
jg 0x1000d269
mov eax, dword [esi + 0x9c]
cmp eax, dword [0x100fdce0]
mov eax, dword [0x100e4da4]
jbe 0x1000d221
mov ecx, dword [eax + 0xc0]
xor ecx, dword [0x100fdcb0]
mov eax, dword [esi]
sub eax, ecx
add dword [esi + 0xcc], eax
jmp 0x1000d22d
mov eax, dword [eax + 0x90]
mov dword [esi + 0x8c], eax
mov ecx, dword [esi + 0x28]
add ebx, 0x29eb
sub ecx, dword [0x100fdc00]
xor ebp, 0x35fe
mov eax, dword [esi + 0x84]
xor ecx, 0x16295a
mov dword [esi + 0xd4], ecx
xor eax, dword [0x100fdcdc]
sub eax, 0x8867d
xor eax, ecx
mov dword [esi + 0xd4], eax
jmp 0x1000d2b3
mov eax, dword [esi + 0x4c]
or eax, ebp
imul edx, eax, 0x1e67
mov eax, dword [0x100e4da4]
push eax
mov ecx, dword [eax + 0xb0]
mov eax, edi
or eax, 0x25e5
or ecx, ebx
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x34]
imul edi, ecx
or ecx, eax
or eax, 0x29eb
sub edi, dword [esp + 0x2c]
push edi
push edx
push ecx
push eax
call fcn.1000a48a
mov edx, dword [esp + 0x2c]
add esp, 0x1c
mov ebx, eax
mov edi, dword [esp + 0x20]
xor ebx, 0xdcc
cmp edi, ebx
je 0x1000d2de
cmp dword [esi + 0x7c], 0x39da
mov ecx, 0xc28f5c29
mov eax, dword [0x100fdc3c]
cmova eax, ecx
mov dword [0x100fdc3c], eax
jmp 0x1000d2de
mov edi, ecx
lea eax, [edx - 0x944]
cmp ebp, eax
jge 0x1000d3ec
mov edx, dword [esi + 0xe0]
xor ebp, ebp
mov dword [esi + 0x88], 0x1000fd38
mov eax, dword [esi + 0x88]
mov ecx, dword [0x100e4da4]
mov ebx, dword [eax + ebp]
add ebp, 4
mov eax, dword [esi + 0x34]
imul ebx, dword [esi + 0x3c]
add eax, edx
xor eax, dword [ecx + 0xc0]
xor eax, 0x31402
mov dword [ecx + 0xc0], eax
mov eax, dword [0x100fdc8c]
mov ecx, dword [esi + 0x58]
mov edx, ebx
shr edx, 8
mov byte [eax + ecx], dl
inc dword [esi + 0x58]
mov eax, dword [0x100e4da4]
mov eax, dword [eax + 0xd8]
sub eax, 0x3d764
xor dword [esi + 0x50], eax
mov eax, dword [esi + 0x50]
xor eax, 0x157c02
add dword [0x100fdcf4], eax
mov ecx, dword [esi + 0x6c]
mov eax, dword [esi + 0xe0]
add ecx, 0xffffffed
add eax, ecx
add dword [esi + 0xcc], eax
mov eax, dword [0x100e4da4]
mov ecx, dword [eax + 0x8c]
mov eax, dword [esi + 0x58]
mov byte [ecx + eax], bl
mov eax, dword [esi + 0xc0]
inc dword [esi + 0x58]
xor eax, 0x3d61eb30
or dword [0x100fdca4], eax
mov eax, dword [esi + 0x6c]
sub dword [esi + 0xb0], eax
mov edx, dword [esi + 0xe0]
mov eax, edx
sub eax, dword [0x100fdccc]
add eax, 0xdcf10
add dword [esi + 0x28], eax
cmp ebp, 0x38388
jl 0x1000d2fe
mov eax, dword [0x100e4da4]
mov ecx, dword [eax + 0xe0]
mov eax, dword [esi + 0xd8]
add ecx, dword [esi + 0xcc]
add eax, dword [esi + 0xb0]
xor ecx, eax
xor ecx, 0xbde1638c
mov dword [esi + 0x3c], ecx
jmp 0x1000d408
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov eax, dword [0x100e4da4]
mov eax, dword [eax + 0x70]
sub eax, 0x2b17
and eax, dword [esi + 0x50]
add dword [esi + 0x98], eax
lea eax, [edi + 0x5ba]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret