Function at 0x479de0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 0x68], ecx
mov ecx, dword [ebp - 0x68]
add ecx, 4
call fcn.0045c6a0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x3cc], 0
je 0x479e2f
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [ebp - 0x68]
mov dword [ecx + 0x3cc], 0
mov dword [ebp - 0xc], 0
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x50], eax
push 1
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x54]
push edx
mov ecx, dword [ebp - 0x68]
add ecx, 0x28
mov eax, dword [ebp - 0x68]
mov edx, dword [eax + 0x28]
mov eax, dword [edx + 0x30]
call eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x479e96
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x58], edx
push 1
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x5c]
push ecx
mov ecx, dword [ebp - 0x68]
add ecx, 0x150
mov edx, dword [ebp - 0x68]
mov eax, dword [edx + 0x150]
mov edx, dword [eax + 0x30]
call edx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x479ecc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x60], ecx
push 1
mov edx, dword [ebp - 0x60]
push edx
mov eax, dword [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x278
mov edx, dword [ebp - 0x68]
mov eax, dword [edx + 0x278]
mov edx, dword [eax + 0x30]
call edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x3b8]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x68]
cmp dword [edx + 0x3b8], 0
je 0x479ffd
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x3b8]
push ecx
call fcn.00438420
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x479ff0
mov ecx, dword [ebp - 0x10]
call fcn.004079f0
mov dword [ebp - 4], eax
push 2
push 0
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x68]
call fcn.0047af70
mov eax, dword [ebp + 0xc]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movzx eax, dx
shl eax, 0x10
or ecx, eax
push ecx
mov ecx, dword [ebp + 8]
push ecx
push 0x202
mov ecx, dword [ebp - 0x10]
call fcn.00438bc0
mov edx, dword [ebp - 0x68]
mov eax, dword [edx + 0x3b8]
cmp eax, dword [ebp - 0xc]
jne 0x479faa
mov ecx, dword [ebp - 0x10]
call fcn.00438e90
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x479f95
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx]
test edx, edx
je 0x479f95
push 1
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x20], eax
jmp 0x479fa8
mov ecx, dword [ebp - 0x10]
call fcn.004079f0
test eax, eax
je 0x479fa8
mov dword [ebp - 0x18], 1
jmp 0x479ff0
push 1
push 0
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x68]
call fcn.0047af70
mov edx, dword [ebp + 0xc]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
movzx edx, cx
shl edx, 0x10
or eax, edx
push eax
mov eax, dword [ebp + 8]
push eax
push 0x2a3
mov ecx, dword [ebp - 0x10]
call fcn.00438bc0
mov dword [ebp - 0x14], 1
mov ecx, dword [ebp - 0x68]
mov dword [ecx + 0x3b8], 0
cmp dword [ebp - 0x18], 0
je 0x47a04a
mov dword [ebp - 0x2c], 1
mov edx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0xffffffff
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + 8]
call edx
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
push 0x4e
mov ecx, dword [ebp - 0x68]
add ecx, 4
call fcn.0045d6c0
mov dword [ebp - 0x38], eax
jmp 0x47a0a3
cmp dword [ebp - 0x14], 0
je 0x47a0a3
cmp dword [ebp - 4], 0
je 0x47a0a3
mov dword [ebp - 0x44], 4
mov edx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 0xffffffff
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x40], ecx
lea edx, [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x48]
push eax
push 0x4e
mov ecx, dword [ebp - 0x68]
add ecx, 4
call fcn.0045d6c0
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 8]
cmp edx, dword [ecx + 0x3b4]
jne 0x47a0a3
mov eax, dword [ebp - 0x68]
mov dword [eax + 0x3b4], 0
mov esp, ebp
pop ebp
ret 0xc