Function at 0x403180
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
xor eax, eax
push ebx
lea ebx, [ebp - 0x270]
sub esp, 0x2a8
mov edi, ebx
mov dword [ebp - 0x288], edx
mov edx, ecx
lea ebx, [ebp - 0x230]
mov ecx, 0x10
mov dword [ebp - 0x274], 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 0x4033f8
cmp word [ebp - 0x230], 0
mov edx, ebx
je 0x4031f9
lea esi, [esi]
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x4031f0
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 0x403200
test byte [0x409090], 8
jne 0x403370
cmp word [ebp - 0x230], 0
je 0x403420
mov edx, ebx
add edx, 2
cmp word [edx], 0
jne 0x403230
sub edx, ebx
sar edx, 1
add edx, 0x31
cmp word [esi], 0
je 0x40325f
mov eax, esi
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x403250
sub eax, esi
sar eax, 1
add edx, eax
lea eax, [edx + edx]
mov dword [ebp - 0x28c], edx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov edi, eax
test eax, eax
je 0x4033f8
mov dword [esp + 0x14], esi
mov eax, dword [ebp - 0x288]
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 - 0x28c]
mov dword [esp], edi
mov dword [esp + 4], edx
call fcn.00402070
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 dword [0x418594]
sub esp, 0x18
mov esi, eax
test eax, eax
je 0x4032fd
mov dword [esp], eax
call dword [0x4185d4]
sub esp, 4
mov dword [esp], esi
call dword [sym.imp.kernelbase.dll_CloseHandle]
sub esp, 4
lea eax, [ebp - 0x284]
mov dword [esp], ebx
xor ebx, ebx
mov dword [esp + 0x24], eax
lea eax, [ebp - 0x274]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0
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
call dword [sym.imp.kernelbase.dll_CreateProcessW]
sub esp, 0x28
test eax, eax
jne 0x4033d8
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_free]
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, ebx
shr eax, 0x10
test eax, eax
je 0x403408
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 0x4033a3
mov eax, ebx
call fcn.004020c0
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], 0x409090
mov dword [esp], 3
call fcn.004027a0
jmp 0x403220
mov eax, dword [ebp - 0x280]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_CloseHandle]
mov ebx, dword [ebp - 0x284]
sub esp, 4
jmp 0x40335b
lea esp, [ebp - 0xc]
xor ebx, ebx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], ebx
mov dword [esp], 0x40b1c0
call fcn.00402280
jmp 0x4033a3
mov edx, 0x31
jmp 0x403240