Function at 0x4cfe50
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x4c
push esi
push edi
mov edi, dword [esp + 0x58]
mov dword [esp + 8], 0
test edi, edi
jne 0x4cfe6c
call fcn.0060d140
nop
int3
cmp dword [0x70072c], 0
je 0x4cff2e
mov ecx, dword [0x700728]
test ecx, ecx
je 0x4cff2e
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
test al, al
je 0x4cff2e
xor ecx, ecx
cmp dword [0x70072c], ecx
push edi
cmovne ecx, dword [0x700728]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x4cff2e
mov esi, dword [esp + 0x60]
test esi, esi
je 0x4d017d
cmp dword [esi], str.LaunchURL_cancelled_by_delegate
je 0x4d017d
mov edx, dword [esi + 8]
xor ecx, ecx
mov dword [esi + 4], 0
cmp edx, 0x20
je 0x4cfee9
push 0x20
mov ecx, esi
call fcn.0040ce40
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
lea eax, [ecx + 0x20]
mov dword [esi + 4], eax
cmp eax, edx
jle 0x4cfefb
push ecx
mov ecx, esi
call fcn.0040cde0
mov eax, dword [esi]
movups xmm0, xmmword [str.LaunchURL_cancelled_by_delegate]
pop edi
pop esi
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x6331b0]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [0x6331c0]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [0x6331d0]
movups xmmword [eax + 0x30], xmm0
add esp, 0x4c
ret
mov esi, dword [esp + 0x60]
test esi, esi
je 0x4cff6b
cmp dword [esi], 0x60f5ec
je 0x4cff6b
mov ecx, dword [esi + 8]
xor eax, eax
mov dword [esi + 4], 0
test ecx, ecx
je 0x4cff5c
push eax
mov ecx, esi
call fcn.0040ce40
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [esi + 4], eax
cmp eax, ecx
jle 0x4cff6b
push eax
mov ecx, esi
call fcn.0040cde0
push ebx
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.004af5f0
add esp, 8
mov ebx, 0x60f5ec
test al, al
je 0x4d0110
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4d0110
dec eax
cmp eax, 1
jle 0x4d0110
push str.http
push dword [esp + 0x14]
call fcn.0042e8d0
add esp, 8
test eax, eax
je 0x4d0110
cmp dword [esp + 0x14], 0
mov eax, ebx
push str.https
cmovne eax, dword [esp + 0x14]
push eax
call fcn.0042e8d0
add esp, 8
test eax, eax
je 0x4d0110
push 1
push 0
push 0
push edi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
test esi, esi
je 0x4d016b
push ebp
cmp eax, 0x20
jg 0x4d008a
push str.UrlFailed
push 0x628cc8
lea eax, [esp + 0x58]
push str.Failed_launching_URL
push eax
call fcn.0043f090
add esp, 0x10
mov ecx, eax
call fcn.00476dc0
xor edi, edi
mov dword [esp + 0x20], edi
mov ebx, dword [eax + 4]
mov ebp, dword [eax]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x24], ebx
test ebx, ebx
jne 0x4d005d
mov ebp, dword [esp + 0x2c]
lea eax, [esp + 0x20]
mov dword [esp + 0x28], edi
lea ebx, [edi + 3]
jmp 0x4d00a3
push 0
push ebx
lea ecx, [esp + 0x28]
call fcn.0040cd80
mov edi, dword [esp + 0x20]
lea eax, [ebx + ebx]
push eax
push ebp
push edi
call fcn.005f7171
mov ebp, dword [esp + 0x38]
lea eax, [esp + 0x2c]
add esp, 0xc
mov ebx, 3
jmp 0x4d00a3
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
lea ebx, [ebp + 4]
push eax
mov ecx, esi
call fcn.004145d0
test bl, 4
je 0x4d00c0
and ebx, 0xfffffffb
test ebp, ebp
je 0x4d00c0
push ebp
call fcn.0043f8f0
add esp, 4
pop ebp
test bl, 2
je 0x4d00d6
and ebx, 0xfffffffd
test edi, edi
je 0x4d00d6
push edi
call fcn.0043f8f0
add esp, 4
test bl, 1
je 0x4d016b
mov esi, dword [esp + 0x50]
test esi, esi
je 0x4d016b
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4d016b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4d016b
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 4]
jmp 0x4d016b
mov eax, dword [esp + 0x60]
test eax, eax
cmovne ebx, eax
lea eax, [esp + 0x34]
push ebx
push edi
push str._s__s
push eax
call fcn.004116b0
add esp, 0x10
lea eax, [esp + 0x40]
lea ecx, [esp + 0x34]
push eax
call fcn.00413a30
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4d014c
push eax
call fcn.0043f8f0
add esp, 4
lea eax, [esp + 0x40]
push esi
push eax
call fcn.004d0190
mov eax, dword [esp + 0x48]
add esp, 8
test eax, eax
je 0x4d016b
push eax
call fcn.0043f8f0
add esp, 4
mov eax, dword [esp + 0x10]
pop ebx
test eax, eax
je 0x4d017d
push eax
call fcn.0043f8f0
add esp, 4
pop edi
pop esi
add esp, 0x4c
ret