Function at 0x100026a0
Capabilities:
Encode data using xor
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10028410
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x10036008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x2e0], ebx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x2e4], esi
call fcn.10010ba0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x90
lea eax, [ebp - 0x2a8]
push 0
push eax
call fcn.10010ba0
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x2a8], eax
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x2a0], 0
mov word [ebp - 0x29c], ax
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [ebp - 0x2d8], 0x11
mov dword [ebp - 0x2d4], 0xf700a6
mov dword [ebp - 0x2d0], 0xe200d9
mov dword [ebp - 0x2cc], 0xe100f5
mov dword [ebp - 0x2c8], 0xef00ff
mov dword [ebp - 0x2c4], 0xff00f9
mov dword [ebp - 0x2c0], 0xab00d1
mov dword [ebp - 0x2bc], 0xbe00fc
mov dword [ebp - 0x2b8], 0xeb00e2
mov dword [ebp - 0x2b4], 0x9400e0
nop
lea eax, [ecx + 0x83]
xor word [ebp + ecx*2 - 0x2d4], ax
inc ecx
mov eax, dword [ebp - 0x2d8]
cmp ecx, eax
jb 0x100027b0
xor ecx, ecx
mov word [ebp + eax*2 - 0x2d4], cx
lea eax, [ebp - 0x218]
push esi
push eax
lea eax, [ebp - 0x2d4]
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.1000e4a0
add esp, 0x10
mov dword [ebp - 0x2b0], 0
cmp dword [ebx + 0x24], 0
je 0x10002814
mov eax, dword [ebx + 0x100]
test eax, eax
je 0x10002814
lea ecx, [ebp - 0x2b0]
push ecx
call eax
cmp dword [ebx + 0xe4], 0x10
lea esi, [ebx + 0xd0]
jb 0x10002825
mov esi, dword [esi]
mov edi, dword [ebx + 0xe0]
test esi, esi
je 0x10002976
mov eax, dword [ebp - 0x2a8]
test eax, eax
je 0x1000297c
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2dc], eax
cmp eax, 0xffffffff
je 0x10002976
mov dword [ebp - 0x2ac], 0
mov ebx, eax
push 0
lea eax, [ebp - 0x2ac]
push eax
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
add esi, dword [ebp - 0x2ac]
sub edi, dword [ebp - 0x2ac]
jne 0x10002875
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x2e0]
cmp dword [ebx + 0x24], edi
je 0x100028b9
mov eax, dword [ebx + 0x104]
test eax, eax
je 0x100028b9
push dword [ebp - 0x2b0]
call eax
push dword [ebp - 0x2e4]
mov ecx, ebx
push dword [ebp - 0x2a8]
call fcn.10003c80
test eax, eax
lea ecx, [ebp - 0x29c]
mov eax, dword [ebp - 0x2a8]
jns 0x10002926
cmp eax, ecx
je 0x100028f5
push eax
call fcn.10016113
lea eax, [ebp - 0x29c]
add esp, 4
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp - 0x2a4]
test eax, eax
je 0x10002912
push eax
call fcn.10016113
add esp, 4
mov dword [ebp - 0x2a4], 0
mov ecx, dword [ebp - 0x2a0]
test ecx, ecx
je 0x100029cb
push ecx
jmp 0x100029c3
cmp eax, ecx
je 0x1000293f
push eax
call fcn.10016113
lea eax, [ebp - 0x29c]
add esp, 4
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp - 0x2a4]
test eax, eax
je 0x1000295c
push eax
call fcn.10016113
add esp, 4
mov dword [ebp - 0x2a4], 0
mov ecx, dword [ebp - 0x2a0]
test ecx, ecx
je 0x1000296f
push ecx
call fcn.10016113
add esp, 4
mov eax, 1
jmp 0x100029cd
mov eax, dword [ebp - 0x2a8]
lea ecx, [ebp - 0x29c]
cmp eax, ecx
je 0x1000299b
push eax
call fcn.10016113
lea eax, [ebp - 0x29c]
add esp, 4
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp - 0x2a4]
test eax, eax
je 0x100029b8
push eax
call fcn.10016113
add esp, 4
mov dword [ebp - 0x2a4], 0
mov eax, dword [ebp - 0x2a0]
test eax, eax
je 0x100029cb
push eax
call fcn.10016113
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000f18c
mov esp, ebp
pop ebp
ret 4