Function at 0x406d3f
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push 0x2ac
mov eax, 0x41beba
call fcn.0040c6cf
mov eax, dword [ebp + 8]
push str.gT
mov ebx, 0x436b00
mov dword [ebp - 0x258], eax
mov eax, dword [ebp + 0xc]
push ebx
push 0x25
mov dword [ebp - 0x25c], eax
call fcn.0040a382
add esp, 0xc
lea eax, [ebp - 0x248]
push eax
call fcn.00407b3b
push eax
lea eax, [ebp - 0x240]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.00401076
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
call fcn.00409f6e
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.00407af6
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 3
call fcn.0040129e
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x24c]
add eax, 0xfffffff0
call fcn.00409f6e
push str.type
lea eax, [ebp - 0x24c]
push eax
call fcn.00407af6
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x240]
push eax
mov byte [ebp - 4], 4
call fcn.00401699
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x24c]
add eax, 0xfffffff0
call fcn.00409f6e
cmp dword [ebp - 0x1c], edi
je 0x406efe
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
sar eax, 2
je 0x406efe
lea ecx, [ebp - 0x250]
call fcn.004017d2
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 7
call fcn.00407e25
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x254]
mov dword [esp], 0x43640c
push ecx
mov ecx, eax
call fcn.00407dca
pop ecx
pop ecx
lea edi, [ebp - 0x250]
mov byte [ebp - 4], 9
call fcn.00407b80
mov eax, dword [ebp - 0x254]
add eax, 0xfffffff0
call fcn.00409f6e
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x260]
add eax, 0xfffffff0
call fcn.00409f6e
push str.ParentProcessName
lea eax, [ebp - 0x248]
push eax
call fcn.00407af6
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0xa
call fcn.00407f5e
mov edi, eax
lea eax, [ebp - 0x250]
call fcn.00407b80
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
mov dword [ebp - 0x34], 1
call fcn.00409f6e
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x250]
add eax, 0xfffffff0
call fcn.00409f6e
xor edi, edi
lea esi, [ebp - 0x250]
lea eax, [ebp - 0x240]
call fcn.00401277
push ebx
lea eax, [ebp - 0x244]
push eax
mov byte [ebp - 4], 0xb
call fcn.00407c10
test eax, eax
mov esi, 0x436410
je 0x406f4b
push esi
lea eax, [ebp - 0x244]
push eax
call fcn.00407c10
test eax, eax
je 0x406f4b
call dword [sym.imp.bdcommon.dll_GetLogController]
cmp eax, edi
je 0x406f4b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x2c]
mov eax, dword [ebp - 0x244]
mov eax, dword [eax - 0xc]
cmp eax, edi
je 0x407345
push esi
lea eax, [ebp - 0x244]
push eax
call fcn.00407c10
test eax, eax
je 0x407345
mov esi, str.render
push esi
push dword [ebp - 0x244]
call fcn.0040b987
test eax, eax
pop ecx
pop ecx
je 0x4072d8
push 0x41eda4
push dword [ebp - 0x244]
call fcn.0040b987
test eax, eax
pop ecx
pop ecx
je 0x4072d8
push str.safebox
push dword [ebp - 0x244]
call fcn.0040b987
test eax, eax
pop ecx
pop ecx
je 0x4072d8
push str.UtilProcess
lea eax, [ebp - 0x244]
push eax
call fcn.00407c10
test eax, eax
jne 0x407024
push str.bdlogicmain.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, edi
je 0x4074a7
push str.RegisterBrowserMain
push eax
lea esi, [ebp - 0x248]
mov dword [ebp - 0x248], edi
call fcn.00409a01
cmp dword [ebp - 0x248], edi
pop ecx
pop ecx
je 0x4074a7
push dword [ebp - 0x25c]
push dword [ebp - 0x258]
call dword [ebp - 0x248]
jmp 0x40733e
push str.ExtensionDllInteractionProcess
lea eax, [ebp - 0x244]
push eax
call fcn.00407c10
test eax, eax
jne 0x407072
push esi
call fcn.004066cd
call fcn.00406756
push str.EXETYPEedi
call fcn.004066cd
mov esi, eax
call fcn.00406880
push str.bdextensionprocess.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, edi
je 0x4074a7
push str.ExtensionDllInteractionProcessMain
jmp 0x406fed
push str.testurl
lea eax, [ebp - 0x244]
push eax
call fcn.00407c10
test eax, eax
jne 0x4070d8
push str.bdlogicmain.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, edi
je 0x4073bc
push str.BrowserTestUrlMain
push eax
lea esi, [ebp - 0x248]
mov dword [ebp - 0x248], edi
call fcn.00409a01
cmp dword [ebp - 0x248], edi
pop ecx
pop ecx
je 0x4073bc
push dword [ebp - 0x25c]
push dword [ebp - 0x258]
call dword [ebp - 0x248]
pop ecx
pop ecx
jmp 0x4074a7
mov esi, str.skydrive
push esi
lea eax, [ebp - 0x244]
push eax
call fcn.00407c10
test eax, eax
jne 0x4074a7
push esi
call fcn.004066cd
call fcn.00406756
push str.EXETYPEskydrive
call fcn.004066cd
mov esi, eax
call fcn.00406880
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push 0x4366bc
push str.cloudbox_pc_
push 0x25
call fcn.0040a382
add esp, 0x10
lea eax, [ebp - 0x260]
push eax
push edi
mov dword [ebp - 0x260], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsProcessInJob]
cmp eax, edi
jne 0x407159
push 0x11a
push str.BrowserMain
call fcn.0040a30a
pop ecx
pop ecx
cmp dword [ebp - 0x260], edi
je 0x407201
push 0x44
pop esi
push esi
lea eax, [ebp - 0x2b8]
push edi
push eax
call fcn.0040add0
xor eax, eax
lea edi, [ebp - 0x270]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x2b8], esi
stosd dword es:[edi], eax
add esp, 0xc
lea esi, [ebp - 0x254]
lea eax, [ebp - 0x240]
call fcn.00401277
mov edi, dword [eax]
lea eax, [ebp - 0x270]
push eax
xor esi, esi
lea eax, [ebp - 0x2b8]
push eax
push esi
push esi
push 0x1000000
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
mov eax, dword [ebp - 0x254]
add eax, 0xfffffff0
call fcn.00409f6e
cmp edi, esi
jne 0x407294
push 0x122
push str.BrowserMain
call fcn.0040a30a
pop ecx
pop ecx
push 0x43674c
push ebx
push 0x25
call fcn.0040a382
add esp, 0xc
xor edi, edi
push str.bdclouddrive.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
cmp esi, edi
je 0x4074a7
push str.cloud_cmd
lea eax, [ebp - 0x254]
push eax
call fcn.00407af6
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x240]
push eax
mov byte [ebp - 4], 0xc
call fcn.00401699
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x254]
add eax, 0xfffffff0
call fcn.00409f6e
push esi
lea esi, [ebp - 0x248]
mov dword [ebp - 0x248], edi
call fcn.00409a4d
cmp dword [ebp - 0x248], edi
pop ecx
je 0x4072c5
push dword [ebp - 0x24c]
call dword [ebp - 0x248]
mov esi, eax
mov eax, dword [ebp - 0x24c]
pop ecx
add eax, 0xfffffff0
call fcn.00409f6e
jmp 0x40745c
push dword [ebp - 0x268]
push 0x436710
push ebx
push 0x25
call fcn.0040a382
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x10
push dword [ebp - 0x270]
call edi
push dword [ebp - 0x26c]
call edi
jmp 0x40745c
mov eax, dword [ebp - 0x24c]
add eax, 0xfffffff0
call fcn.00409f6e
jmp 0x4074a7
push esi
call fcn.004066cd
call fcn.00406756
push str.EXETYPErender
call fcn.004066cd
mov esi, eax
call fcn.00406880
push str.bdrenderprocess.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, edi
je 0x4074a7
push str.RenderProcessMain
push eax
lea esi, [ebp - 0x24c]
mov dword [ebp - 0x24c], edi
call fcn.00409a01
cmp dword [ebp - 0x24c], edi
pop ecx
pop ecx
je 0x4074a7
push dword [ebp - 0x25c]
push dword [ebp - 0x258]
call dword [ebp - 0x24c]
pop ecx
pop ecx
jmp 0x40745a
push 0x43641c
push ebx
push 0x25
call fcn.0040a382
add esp, 0xc
push edi
call fcn.004066cd
call fcn.00406756
push str.EXETYPEmain
call fcn.004066cd
mov esi, eax
call fcn.00406880
push 0x436448
push ebx
push 0x25
call fcn.0040a382
add esp, 0xc
push str.bdstartui.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
cmp esi, edi
jne 0x4073f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x43646c
push ebx
push 0x40
call fcn.0040a382
add esp, 0x10
push 0x10
push str.error
push str.Load_bdstartui.dll_failed
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp - 0x250]
add eax, 0xfffffff0
call fcn.00409f6e
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call fcn.00409f6e
or esi, 0xffffffff
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x240]
push eax
call fcn.004074dc
mov eax, esi
jmp 0x4074d6
push 0x4364e0
push ebx
push 0x25
call fcn.0040a382
add esp, 0xc
push esi
lea esi, [ebp - 0x24c]
mov dword [ebp - 0x24c], edi
call fcn.004099b9
cmp dword [ebp - 0x24c], edi
pop ecx
je 0x40747d
cmp eax, 0xffffffff
je 0x40747d
push str.eQB
push ebx
push 0x25
call fcn.0040a382
add esp, 0xc
lea eax, [ebp - 0x240]
push eax
call fcn.004010ff
fld qword [ebp + 0x10]
mov eax, dword [eax]
push edi
push edi
push ecx
push ecx
fstp qword [esp]
push eax
push dword [ebp - 0x258]
call dword [ebp - 0x24c]
add esp, 0x18
mov esi, eax
mov eax, dword [ebp - 0x250]
add eax, 0xfffffff0
call fcn.00409f6e
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call fcn.00409f6e
jmp 0x4073db
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x436518
push ebx
push 0x40
call fcn.0040a382
add esp, 0x10
push 0x10
push str.error
push str.Load_framework_failed
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp - 0x250]
add eax, 0xfffffff0
call fcn.00409f6e
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call fcn.00409f6e
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x240]
push eax
call fcn.004074dc
or eax, 0xffffffff
call fcn.0040c719
ret