Function at 0x10001650
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea eax, [ebp - 0x240]
lea edi, [ebp - 0x23c]
push ebx
sub esp, 0x258
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x240], 0x104
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], ebx
call dword [sym.imp.shlwapi.dll_PathCreateFromUrlA]
sub esp, 0x10
mov esi, eax
test byte [0x10003018], 8
jne 0x100016e0
test esi, esi
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x10], 0
cmove ebx, edi
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.shell32.dll_ShellExecuteA]
sub esp, 0x18
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
test ebx, ebx
je 0x100018e0
mov eax, ebx
shr eax, 0x10
je 0x100017c8
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrA]
mov edx, eax
sub esp, 8
mov eax, str._invalid_
test edx, edx
jne 0x100017d8
cmp byte [ebx], 0
je 0x10001908
lea eax, [ebx + 1]
mov dword [esp], eax
call sym._strlen
mov dword [ebp - 0x248], esi
mov esi, ebx
lea ecx, [eax - 1]
mov byte [ebp - 0x138], 0x22
lea eax, [ebp - 0x137]
mov dword [ebp - 0x244], ecx
mov dword [ebp + 0x10], ebx
jmp 0x10001797
cmp dl, 9
je 0x10001830
cmp dl, 0xa
jne 0x10001860
mov ecx, 0x6e5c
add eax, 2
mov word [eax - 2], cx
nop
cmp dword [ebp - 0x244], 0xffffffff
je 0x100018f0
mov ecx, dword [ebp - 0x244]
lea edx, [ebp - 0x15]
lea ebx, [ecx - 1]
cmp edx, eax
jb 0x100018a8
mov dword [ebp - 0x244], ebx
movzx edx, byte [esi]
add esi, 1
cmp dl, 0xd
je 0x10001818
jle 0x10001750
cmp dl, 0x22
je 0x10001848
cmp dl, 0x5c
jne 0x10001890
mov ebx, 0x5c5c
add eax, 2
mov word [eax - 2], bx
jmp 0x10001770
mov dword [esp + 4], ebx
mov dword [esp], str._04x
call sym._wine_dbg_sprintf.constprop.0
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], str.__p___s___d__n
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x10005094
mov dword [esp + 4], 0x10003018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x1000169c
movzx edx, word [str._r_WINEDEBUG]
add eax, 2
mov word [eax - 2], dx
jmp 0x10001770
mov edx, 0x745c
add eax, 2
mov word [eax - 2], dx
jmp 0x10001770
movzx edx, word [0x100050d2]
add eax, 2
mov word [eax - 2], dx
jmp 0x10001770
mov ebx, edx
mov ecx, 0x785c
and edx, 0xf
add eax, 4
shr bl, 4
mov word [eax - 4], cx
xor ecx, ecx
movzx ebx, bl
mov cl, byte [ebx + str.0123456789abcdefFileProtocolHandlerA]
mov ebx, ecx
mov bh, byte [edx + str.0123456789abcdefFileProtocolHandlerA]
mov word [eax - 2], bx
jmp 0x10001770
lea ebx, [edx - 0x20]
cmp bl, 0x5e
ja 0x10001860
mov byte [eax], dl
add eax, 1
jmp 0x10001770
mov esi, dword [ebp - 0x248]
mov ebx, dword [ebp + 0x10]
mov byte [eax], 0x22
test ecx, ecx
je 0x100018fc
mov byte [eax + 3], 0x2e
mov edx, 0x2e2e
mov word [eax + 1], dx
lea edx, [eax + 4]
lea eax, [ebp - 0x138]
mov byte [edx], 0
mov dword [esp], eax
call sym.___wine_dbg_strdup
jmp 0x100017d8
mov eax, str._null_
jmp 0x100017d8
mov esi, dword [ebp - 0x248]
mov ebx, dword [ebp + 0x10]
mov byte [eax], 0x22
lea edx, [eax + 1]
jmp 0x100018c8
mov eax, 0x2222
lea edx, [ebp - 0x136]
mov word [ebp - 0x138], ax
jmp 0x100018c8