Function at 0x1000fdb0
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x10]
push ebx
push ebp
add eax, 0xffffd52c
lea ebp, [edx - 0x2cc2]
push esi
push edi
mov dword [esp + 0x1c], eax
lea esi, [edx - 0xfe]
mov edi, ecx
lea eax, [ecx + 0x97]
xor edi, 0x22a
mov dword [esp + 0x18], eax
lea eax, [edx + 0x12]
mov dword [esp + 0x10], edi
mov ebx, edx
mov dword [esp + 0x20], eax
xor ebx, 0x297
lea eax, [edi - 0x3be]
cmp esi, eax
jl 0x10010067
mov eax, dword [esp + 0x1c]
add eax, 0x2baf
push eax
mov eax, ebp
xor eax, 0x2e55
push eax
mov eax, ebp
xor eax, 0x27f1
push eax
lea eax, [ebx - 0x247]
xor ebx, 0x6dd
push eax
push dword [0x100f26ac]
mov eax, dword [esp + 0x2c]
add eax, 0x1a8
push eax
push ebx
call fcn.100016d0
mov eax, dword [esp + 0x48]
add esp, 0x1c
xor edi, edi
nop
mov ecx, dword [0x101414c0]
mov ecx, dword [edi + ecx]
add edi, 4
imul ecx, dword [eax + 0x60]
mov dword [esp + 0x1c], ecx
mov ebx, ecx
mov ecx, dword [0x100f26ac]
shr ebx, 0x10
mov edx, dword [ecx + 0xac]
mov ecx, dword [ecx + 0x7c]
mov byte [edx + ecx], bl
mov ecx, dword [0x100f26ac]
mov ebx, dword [esp + 0x1c]
shr ebx, 8
inc dword [ecx + 0x7c]
mov ecx, dword [0x10141474]
mov edx, dword [0x10141524]
add ecx, 0xffe32a22
xor edx, dword [0x10141508]
mov esi, dword [0x100f26ac]
add ecx, edx
mov dword [0x10141474], ecx
mov edx, dword [eax + 0x6c]
mov ecx, dword [eax + 0x38]
dec edx
add ecx, edx
or dword [esi + 0x10c], ecx
mov ecx, dword [0x100f26ac]
mov edx, dword [ecx + 0x7c]
mov ecx, dword [0x101414c4]
mov byte [ecx + edx], bl
mov ecx, dword [0x100f26ac]
mov ebx, dword [esp + 0x1c]
inc dword [ecx + 0x7c]
mov ecx, dword [eax + 0x84]
sub ecx, dword [eax + 0x70]
mov edx, dword [0x100f26ac]
xor ecx, 0xfff3c757
imul ecx, dword [edx + 0xf8]
mov dword [edx + 0xf8], ecx
mov ecx, dword [0x100f26ac]
mov ecx, dword [ecx + 4]
sub ecx, 0x1d541e
imul ecx, dword [eax + 4]
mov dword [eax + 4], ecx
mov edx, dword [0x100f26ac]
mov ecx, dword [edx + 0x10c]
xor ecx, dword [eax + 0x5c]
sub ecx, 0x1cd584
xor dword [edx + 0x9c], ecx
mov ecx, dword [0x100f26ac]
mov edx, dword [ecx + 0xac]
mov ecx, dword [0x10141494]
mov byte [ecx + edx], bl
mov ecx, 0x101d69
sub ecx, dword [0x1014148c]
mov edx, dword [0x100f26ac]
inc dword [0x10141494]
add dword [edx + 0xb8], ecx
mov edx, dword [0x100f26ac]
mov ecx, dword [edx + 0xa0]
sub ecx, 0x19858
xor dword [edx + 0xb8], ecx
mov ecx, dword [0x101414b4]
sub ecx, dword [eax + 0x120]
mov edx, dword [0x100f26ac]
add ecx, 0x1a557e
or dword [edx + 4], ecx
cmp edi, 0x856a0
jl 0x1000fe50
mov esi, dword [0x100f26ac]
mov ecx, dword [eax + 0x84]
mov edi, dword [esp + 0x10]
mov edx, dword [esi + 0xf8]
add edx, 0x1849
add ecx, edx
mov dword [esi + 0x60], ecx
mov edx, dword [0x100f26ac]
mov ecx, dword [edx + 0x84]
cmp ecx, dword [edx + 0x40]
ja 0x1000fff0
mov ecx, dword [0x10141450]
add ecx, 0x1fa9b
add ecx, dword [eax + 0xd8]
add dword [eax + 0x60], ecx
mov edx, dword [0x100f26ac]
mov ecx, dword [esp + 0x18]
add ecx, 0x439
cmp ebp, ecx
jg 0x10010169
mov edx, dword [edx + 0xe4]
xor edx, dword [eax + 0x60]
xor edx, dword [0x101414b8]
xor edx, 0x7a5c6
mov dword [eax + 0x60], edx
mov esi, dword [0x100f26ac]
mov ecx, dword [0x10141534]
cmp ecx, dword [esi + 0x44]
jbe 0x1001003e
mov ecx, dword [eax + 0xc4]
sub ecx, 0x62ce4
xor ecx, edx
mov dword [eax + 0x60], ecx
jmp 0x10010045
add dword [esi + 0x38], 0xf860
mov ecx, dword [0x100f26ac]
mov edx, dword [ecx + 0x6c]
mov ecx, dword [eax + 0xe4]
add ecx, 0x4f9bbaea
add ecx, edx
xor dword [eax + 0x60], ecx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov ecx, dword [0x100f26ac]
mov eax, dword [ecx + 0x78]
or eax, dword [esp + 0x18]
or eax, 0x2cd4
cmp esi, eax
jb 0x10010114
mov eax, dword [ecx + 0x100]
xor eax, ebp
cmp esi, eax
je 0x10010169
mov eax, dword [ecx + 0x28]
xor eax, 0x2e6a
push eax
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov edx, dword [esp + 0x2c]
mov ecx, dword [0x100f26ac]
mov eax, dword [edx + 0x74]
xor eax, ebp
or eax, 0x27c7
push eax
mov eax, dword [edx + 0x70]
xor eax, edi
or eax, 0x29f5
imul eax, ebp
add eax, dword [ecx + 0xf8]
add eax, ebx
push eax
mov eax, dword [edx + 0xb8]
or eax, 0x2a1c
add eax, ebp
push eax
imul eax, dword [ecx + 0x84], 0x2d78
add eax, dword [esp + 0x2c]
push eax
mov eax, dword [edx + 0xa0]
xor eax, esi
sub eax, ebx
push eax
mov eax, dword [0x1014144c]
and eax, dword [esp + 0x30]
push eax
mov eax, dword [edx + 0x124]
add eax, ebp
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov edx, dword [esp + 0x1c]
sub esi, edx
mov eax, dword [esp + 0x2c]
or esi, dword [esp + 0x20]
cmp dword [eax + 0x98], esi
jae 0x10010169
mov ecx, dword [ecx + 0xf0]
mov esi, eax
add ecx, 0x2e6a
mov eax, dword [esi + 0x40]
add eax, ecx
push eax
mov eax, dword [esi + 0x20]
push dword [0x101414a4]
add eax, ebx
add eax, ebp
push eax
mov eax, dword [0x100f26ac]
sub edx, dword [eax + 0xb0]
mov eax, dword [esi + 0x74]
add eax, 0xffffd3f2
push edx
add eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret