Function at 0x4030b0
Capabilities:
Create process on windows
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
xor eax, eax
push ebx
lea ebx, [ebp - 0x27c]
sub esp, 0x2cc
mov edi, ebx
mov dword [ebp - 0x29c], edx
mov edx, ecx
lea ebx, [ebp - 0x23c]
mov ecx, 0x10
mov dword [ebp - 0x280], 0x44
rep stosd dword es:[edi], eax
movzx edi, dx
mov dword [esp + 4], 0x104
mov dword [esp + 8], edi
mov dword [esp], ebx
call dword [sym.imp.kernelbase.dll_GetSystemWow64Directory2W]
sub esp, 0xc
test eax, eax
je 0x403348
cmp word [ebp - 0x23c], 0
mov edx, ebx
je 0x403129
lea esi, [esi]
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x403120
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [eax + str._rundll32.exe]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x403130
test byte [0x408090], 8
jne 0x4032e0
cmp word [ebp - 0x23c], 0
je 0x403388
mov edx, ebx
add edx, 2
cmp word [edx], 0
jne 0x403160
sub edx, ebx
sar edx, 1
add edx, 0x31
cmp word [esi], 0
je 0x40318f
mov eax, esi
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x403180
sub eax, esi
sar eax, 1
add edx, eax
lea ecx, [edx + edx]
mov dword [ebp - 0x2a0], edx
mov eax, dword fs:[0x18]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_HeapAlloc]
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x403348
mov dword [esp + 0x14], esi
mov eax, dword [ebp - 0x29c]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], str._s_setupapi_InstallHinfSection__s_128__s
mov dword [esp + 0x10], eax
mov edx, dword [ebp - 0x2a0]
mov dword [esp], edi
mov dword [esp + 4], edx
call fcn.004021a0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x10000000
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], str.root
call fcn.00403c18
sub esp, 0x18
mov esi, eax
test eax, eax
je 0x403246
mov dword [esp], eax
call fcn.00403af8
sub esp, 4
mov dword [esp], esi
call dword [sym.imp.kernelbase.dll_CloseHandle]
sub esp, 4
lea eax, [ebp - 0x290]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], eax
lea eax, [ebp - 0x280]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], ebx
call dword [sym.imp.kernelbase.dll_CreateProcessW]
sub esp, 0x28
test eax, eax
jne 0x403358
mov dword [ebp - 0x290], 0
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_HeapFree]
mov eax, dword [ebp - 0x290]
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, ebx
shr eax, 0x10
test eax, eax
je 0x403370
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, str._invalid_
test edx, edx
jne 0x403313
mov eax, ebx
call fcn.004025b0
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.machine__x_starting__s_n
mov dword [esp + 8], str.start_rundll32
mov dword [esp + 4], 0x408090
mov dword [esp], 3
call fcn.00402cb0
jmp 0x403150
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x28c]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_CloseHandle]
sub esp, 4
jmp 0x4032ac
movzx eax, bx
mov dword [esp], 0x409490
mov dword [esp + 4], eax
call fcn.004029c0
jmp 0x403313
mov edx, 0x31
jmp 0x403170