Function at 0x42b2d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
push 0xffffffffffffffeb
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebx, eax
mov eax, dword [ebx + 0x6c]
test eax, eax
je 0x42b2fc
test byte [eax + 0x30], 0x44
mov byte [ebp - 1], 0
je 0x42b300
mov byte [ebp - 1], 1
mov eax, dword [ebp + 8]
add eax, 0xffff63b7
cmp eax, 4
ja case.0x42b311.40011
jmp dword [eax*4 + 0x42b584]
mov eax, dword [edi + 0x1c]
xorps xmm0, xmm0
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x40]
push eax
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
mov dword [ebp - 8], 0
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x3c], 0x400
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], str.open
call ebx
test eax, eax
jne case.0x42b311.40011
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x483
jne case.0x42b311.40011
lea eax, [ebp - 0x40]
mov dword [ebp - 0x34], str.open
push eax
call ebx
test eax, eax
jne case.0x42b311.40011
call esi
cmp eax, 0x483
jne case.0x42b311.40011
lea eax, [ebp - 0x40]
mov dword [ebp - 0x34], 0
push eax
call ebx
test eax, eax
jne case.0x42b311.40011
call esi
jmp case.0x42b311.40011
mov ebx, dword [edi + 0x1c]
mov ecx, ebx
call fcn.00419300
test eax, eax
je 0x42b3f5
push 0x4a6dac
push eax
call fcn.00480a05
add esp, 8
test eax, eax
jne 0x42b3f5
push 0x1a0
push 1
push esi
call fcn.0047af20
add esp, 0xc
jmp case.0x42b311.40011
push 0x4b5270
push str.OpenAs_RunDLLW
push str.Shell32.dll
call fcn.00478910
test eax, eax
jne case.0x42b311.40011
push 1
push ebx
push dword [0x4b3a24]
push esi
call dword [0x4b5270]
jmp case.0x42b311.40011
mov eax, dword [edi + 0x1c]
xorps xmm0, xmm0
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x7c]
push eax
movlpd qword [ebp - 0x68], xmm0
movlpd qword [ebp - 0x5c], xmm0
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x7c], 0x3c
mov dword [ebp - 0x60], 1
mov dword [ebp - 0x78], 0x400
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], str.edit
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x42b4c3
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x483
jne 0x42b4bb
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x70], str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x42b4c3
call esi
cmp eax, 0x483
jne 0x42b4bb
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x70], 0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x42b4c3
call esi
test eax, eax
jne case.0x42b311.40011
cmp byte [ebp - 1], 0
jne case.0x42b311.40011
lea esi, [ebx + 0x29c]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0x2b8]
lea ecx, [ebx + 0x2b4]
mov dword [edi], ecx
mov dword [edi + 4], eax
push esi
mov dword [eax], edi
mov dword [ecx + 4], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 0x3e8
push 0x1503
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
mov dword [ebx + 0x2bc], eax
pop ebx
mov esp, ebp
pop ebp
ret
push 0x38
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xb8], 0x3c
push 0
push eax
call fcn.0047ee80
mov eax, dword [edi + 0x1c]
add esp, 0xc
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xa8], 0x4b4bd0
mov dword [ebp - 0x9c], 1
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne case.0x42b311.40011
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
je 0x42b57d
push edi
push 0
push dword [0x4b3a28]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret