Function at 0x403a70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
xor eax, eax
push ebx
mov ebx, ecx
mov ecx, 0x10
sub esp, 0x3cc
mov dword [ebp - 0x3a8], edx
lea edx, [ebp - 0x39c]
mov dword [ebp - 0x3a0], 0x44
mov edi, edx
rep stosd dword es:[edi], eax
movzx eax, bx
lea ebx, [ebp - 0x230]
mov dword [esp + 4], 0x104
mov dword [ebp - 0x3ac], eax
mov dword [esp + 8], eax
mov dword [esp], ebx
call dword [sym.imp.kernelbase.dll_GetSystemWow64Directory2W]
sub esp, 0xc
test eax, eax
je 0x403d70
cmp word [ebp - 0x230], 0
mov edx, ebx
je 0x403ae9
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x403ae0
xor eax, eax
nop
lea esi, [esi]
movzx ecx, word [eax + str._rundll32.exe]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x403af0
test byte [0x40a39c], 8
jne 0x403c10
cmp word [ebp - 0x230], 0
je 0x403e70
mov edi, ebx
add edi, 2
cmp word [edi], 0
jne 0x403b20
sub edi, ebx
sar edi, 1
lea edx, [edi + 0x31]
cmp word [esi], 0
je 0x403e60
mov eax, esi
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x403b40
sub eax, esi
sar eax, 1
add edx, eax
lea eax, [edx + edx]
mov dword [ebp - 0x3a4], edx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov edi, eax
test eax, eax
je 0x403d70
mov edx, dword [ebp - 0x3a4]
mov eax, dword [ebp - 0x3a8]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 8], str._s_setupapi_InstallHinfSection__s_128__s
mov dword [esp + 4], edx
mov dword [esp], edi
call sym._swprintf
lea eax, [ebp - 0x35c]
mov dword [esp], ebx
xor ebx, ebx
mov dword [esp + 0x24], eax
lea eax, [ebp - 0x3a0]
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 0x403d00
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
je 0x403d20
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, str._invalid_
sub esp, 8
test eax, eax
jne 0x403d35
cmp word [ebp - 0x230], 0
je 0x403e8a
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ebx + edx*2 + 2], 0
jne 0x403c50
mov ecx, 0x224c
mov dword [ebp - 0x3a4], edx
mov edi, ebx
mov word [ebp - 0x35c], cx
lea ecx, [ebp - 0x35a]
mov dword [ebp - 0x3b0], esi
jmp 0x403cc5
cmp ax, 9
je 0x403e10
cmp ax, 0xa
jne 0x403d89
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
mov esi, dword [ebp - 0x3a4]
lea eax, [esi - 1]
test esi, esi
jle 0x403e28
lea esi, [ebp - 0x23a]
cmp ecx, esi
ja 0x403e28
mov dword [ebp - 0x3a4], eax
movzx eax, word [edi]
add edi, 2
cmp ax, 0xd
je 0x403df8
jbe 0x403c80
cmp ax, 0x22
je 0x403de0
cmp ax, 0x5c
jne 0x403d7c
mov eax, 0x5c5c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x403ca0
mov eax, dword [ebp - 0x358]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_CloseHandle]
mov ebx, dword [ebp - 0x35c]
sub esp, 4
jmp 0x403bf5
movzx eax, bx
mov dword [esp], 0x40b7e1
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0_1
mov edx, eax
mov eax, dword [ebp - 0x3ac]
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], str.machine__x_starting__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.start_rundll32
mov dword [esp + 4], 0x40a39c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x403b10
lea esp, [ebp - 0xc]
xor ebx, ebx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
lea esi, [eax - 0x20]
cmp si, 0x5e
jbe 0x403e80
mov esi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr si, 0xc
movzx esi, si
movzx edx, byte [esi + str.0123456789abcdefrootwinewinebus]
mov esi, eax
shr si, 8
and esi, 0xf
mov byte [ecx - 4], dl
movzx edx, byte [esi + str.0123456789abcdefrootwinewinebus]
mov esi, eax
and eax, 0xf
shr si, 4
movzx eax, byte [eax + str.0123456789abcdefrootwinewinebus]
and esi, 0xf
mov byte [ecx - 3], dl
movzx edx, byte [esi + str.0123456789abcdefrootwinewinebus]
mov byte [ecx - 1], al
mov byte [ecx - 2], dl
jmp 0x403ca0
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x403ca0
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x403ca0
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x403ca0
mov byte [ecx], 0x22
mov esi, dword [ebp - 0x3b0]
test eax, eax
jle 0x403ea3
mov edi, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], di
mov byte [eax], 0
lea eax, [ebp - 0x35c]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
jmp 0x403d35
xor eax, eax
jmp 0x403b4d
mov edx, 0x31
jmp 0x403b30
mov byte [ecx], al
add ecx, 1
jmp 0x403ca0
mov eax, 0x224c
mov byte [ebp - 0x35a], 0x22
lea ecx, [ebp - 0x35a]
mov word [ebp - 0x35c], ax
lea eax, [ecx + 1]
jmp 0x403e45