Function at 0x40bbf0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x854
push ebx
push ebp
push esi
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x65]
mov byte [esp + 0x64], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x465]
mov byte [esp + 0x464], 0
rep stosd dword es:[edi], eax
mov ebp, dword [esp + 0x868]
stosw word es:[edi], ax
test ebp, ebp
stosb byte es:[edi], al
je 0x40be93
mov edx, dword [esp + 0x86c]
test edx, edx
je 0x40be93
mov esi, dword [esp + 0x870]
test esi, esi
je 0x40be93
mov ebx, dword [esp + 0x874]
test ebx, ebx
je 0x40be93
mov eax, dword [0x44fbec]
test eax, eax
je 0x40bca6
mov dword [esp + 0x87c], 1
push ebx
push esi
push edx
push ebp
push str._OpenWithLoginBrowser__host_s__port_s__url_s__twfid_s
call fcn.00411930
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
push str.http:__
push ebp
mov esi, ebp
call edi
add esp, 0x1c
test eax, eax
je 0x40bcf2
mov edi, str.http:__
jmp 0x40bd06
mov eax, dword [esp + 0x87c]
test eax, eax
jne 0x40bc7a
mov edi, 0x44ff80
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x40bc7a
push str._OpenWithLoginBrowser__cant_find_the_login_browser__open_with_default_browser_now
call fcn.00411930
mov eax, dword [esp + 0x87c]
mov ecx, dword [esp + 0x870]
push eax
push ebx
push esi
push ecx
push ebp
call fcn.0040b7c0
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x854
ret
push str.https:__
push ebp
call edi
add esp, 8
test eax, eax
je 0x40bd14
mov edi, str.https:__
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
add esi, ebp
mov edx, dword [esp + 0x86c]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
mov ebp, dword [esp + 0x87c]
add esp, 4
test ebp, ebp
mov edx, eax
je 0x40bd68
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x40bd68
mov eax, dword [esp + 0x870]
push ebp
push ebx
push eax
push edx
push esi
mov esi, dword [sym.imp.MSVCRT.dll__snprintf]
push str.https:___s:_d_por_shortcut.csp_typecsdestUrl_sid_s_s
lea ecx, [esp + 0x7c]
push 0x3ff
push ecx
call esi
add esp, 0x20
jmp 0x40bd8d
mov eax, dword [esp + 0x870]
push ebx
push eax
push edx
push esi
mov esi, dword [sym.imp.MSVCRT.dll__snprintf]
push str.https:___s:_d_por_shortcut.csp_typecsdestUrl_sid_s
lea ecx, [esp + 0x78]
push 0x3ff
push ecx
call esi
add esp, 0x1c
lea edx, [esp + 0x64]
push edx
push str._OpenWithLoginBrowser__full_url:__s
call fcn.00411930
mov eax, dword [esp + 0x884]
add esp, 8
test eax, eax
jne 0x40bea0
call fcn.0040b0d0
test eax, eax
jne 0x40bea0
push 0x44ff80
call fcn.0040e7f0
add esp, 4
test eax, eax
je 0x40bdea
lea eax, [esp + 0x64]
lea ecx, [esp + 0x464]
push eax
push 0x44ff80
push str._s__nomerge__nohome__s
push 0x3ff
push ecx
jmp 0x40be06
lea edx, [esp + 0x64]
lea eax, [esp + 0x464]
push edx
push 0x44ff80
push str._s__s
push 0x3ff
push eax
call esi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x38]
add esp, 0x14
rep stosd dword es:[edi], eax
xor ecx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
mov dword [esp + 0x18], ecx
push edx
push eax
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [esp + 0x38], ecx
push ecx
lea ecx, [esp + 0x484]
push ecx
push 0
mov dword [esp + 0x48], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x40be7f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._OpenWithLoginBrowser__CreateProcess_failed__error___d
call fcn.00411930
lea edx, [esp + 0x6c]
push edx
call fcn.0040b390
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x854
ret
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x10]
push ecx
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x854
ret
lea edx, [esp + 0x64]
push edx
call fcn.0040b390
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x854
ret