Function at 0x405d3c
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x58c]
sub esp, 0x60c
mov eax, dword [0x41b044]
xor eax, ebp
mov dword [ebp + 0x588], eax
mov eax, dword [0x41ddd8]
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x80], esi
mov edi, eax
mov dword [eax + 0x43c], esi
mov dword [ebp - 0x7c], ebx
call fcn.0040590c
cmp esi, ebx
je 0x405db0
push str.__urlhttp
push esi
call fcn.00406e40
pop ecx
pop ecx
cmp eax, ebx
jne 0x405d99
mov ebx, esi
call fcn.00405c9b
xor ebx, ebx
jmp 0x405db0
push str.http
push eax
call fcn.00406e40
pop ecx
pop ecx
lea edx, [ebp - 0x7c]
mov ecx, eax
call fcn.00405ad4
mov esi, 0x41dddc
push str.downloadRoot
mov eax, esi
call fcn.0040335f
test eax, eax
je 0x405dd9
push str.package.version
mov eax, esi
call fcn.0040335f
test eax, eax
jne 0x405e87
mov esi, 0x1ff
push esi
lea eax, [ebp + 0x189]
push ebx
push eax
mov byte [ebp + 0x188], bl
call fcn.004070d0
push esi
lea eax, [ebp + 0x389]
push ebx
push eax
mov byte [ebp + 0x388], bl
call fcn.004070d0
push esi
lea eax, [ebp - 0x77]
push ebx
push eax
mov byte [ebp - 0x78], bl
call fcn.004070d0
lea eax, [ebp + 0x188]
push eax
push 0x87
call fcn.00404351
lea eax, [ebp + 0x388]
push eax
push 0x7d
call fcn.00404351
lea eax, [ebp - 0x78]
push eax
push 0x73
call fcn.00404351
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x388]
push esi
push eax
call fcn.0040736d
add esp, 0x48
push ebx
lea eax, [ebp + 0x388]
push eax
lea eax, [ebp + 0x188]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 5
mov eax, 0x417cc6
push eax
push eax
push str.http:__success.ringcentral.com
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x405fe3
push str.actionid
mov eax, esi
call fcn.0040335f
test eax, eax
je 0x405eae
push str.domain
mov eax, esi
call fcn.0040335f
test eax, eax
je 0x405eae
mov byte [edi + 0x440], 1
cmp dword [ebp - 0x7c], 3
je 0x405eb9
cmp dword [ebp - 0x7c], ebx
jne 0x405ee7
mov eax, dword [0x41dde8]
cmp eax, ebx
je 0x405f1f
push str.confid
call fcn.00402485
mov dword [ebp - 0x7c], eax
mov eax, dword [0x41dde8]
push str.confno
call fcn.00402485
cmp dword [ebp - 0x7c], ebx
jne 0x405ee7
cmp eax, ebx
je 0x405f1f
cmp byte [edi + 0x440], bl
jne 0x405f1f
call fcn.00403892
test eax, eax
je 0x405f07
push dword [ebp - 0x80]
mov ecx, esi
call fcn.004038af
jmp 0x405fe3
call fcn.00403377
test eax, eax
je 0x405f1f
push dword [ebp - 0x80]
mov ecx, esi
call fcn.0040344e
jmp 0x405fe3
mov ecx, edi
call fcn.00406390
test al, al
jne 0x405fbf
mov esi, 0x1ff
push esi
lea eax, [ebp - 0x77]
push ebx
push eax
mov byte [ebp - 0x78], bl
call fcn.004070d0
push esi
lea eax, [ebp + 0x389]
push ebx
push eax
mov byte [ebp + 0x388], bl
call fcn.004070d0
push esi
lea eax, [ebp + 0x189]
push ebx
push eax
mov byte [ebp + 0x188], bl
call fcn.004070d0
lea eax, [ebp - 0x78]
push eax
push 0x91
call fcn.00404351
lea eax, [ebp + 0x388]
push eax
push 0x7d
call fcn.00404351
lea eax, [ebp + 0x188]
push eax
push 0x73
call fcn.00404351
lea eax, [ebp + 0x188]
push eax
lea eax, [ebp + 0x388]
push esi
push eax
call fcn.0040736d
add esp, 0x48
push ebx
lea eax, [ebp + 0x388]
push eax
lea eax, [ebp - 0x78]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x405fe3
lea eax, [edi + 0x28]
mov dword [edi + 0x18], edi
mov dword [edi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
push 0x404e89
push ebx
push 0x65
push dword [edi + 0x10]
mov dword [edi + 0x20], eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov ecx, dword [ebp + 0x588]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406bdf
add ebp, 0x58c
leave
ret