Function at 0x406422
Capabilities:
Accept command line arguments

Disassembly:
push 0x25c
mov eax, 0x4193c2
call fcn.00414f74
mov eax, dword [ebp + 8]
push str.gT
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp + 0xc]
push 0x423a34
push 0x25
mov dword [ebp - 0x258], eax
call fcn.00408f0a
add esp, 0xc
lea eax, [ebp - 0x254]
push eax
call fcn.004071a4
and dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00401076
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x254]
add eax, 0xfffffff0
call fcn.00408965
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x24c]
push ecx
mov edi, eax
call fcn.00407156
lea ecx, [ebp - 0x24c]
lea ebx, [ebp - 0x248]
mov byte [ebp - 4], 3
call fcn.00401226
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x24c]
add eax, 0xfffffff0
call fcn.00408965
lea eax, [ebp - 0x260]
push eax
mov edi, str.type
call fcn.00407156
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x250]
push eax
mov eax, ebx
push eax
mov byte [ebp - 4], 4
call fcn.00401655
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x260]
add eax, 0xfffffff0
call fcn.00408965
lea ecx, [ebp - 0x24c]
call fcn.004016f2
lea eax, [ebp - 0x264]
push 0x42337c
push eax
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 7
call fcn.00407515
lea ecx, [ebp - 0x254]
push ecx
mov edi, eax
mov byte [ebp - 4], 8
call fcn.004074c0
add esp, 0xc
lea edi, [ebp - 0x24c]
mov byte [ebp - 4], 9
call fcn.004071fd
mov eax, dword [ebp - 0x254]
add eax, 0xfffffff0
call fcn.00408965
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x264]
add eax, 0xfffffff0
call fcn.00408965
lea eax, [ebp - 0x254]
push eax
mov edi, str.ParentProcessName
call fcn.00407156
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 0xa
call fcn.00407655
mov edi, eax
lea eax, [ebp - 0x24c]
call fcn.004071fd
mov eax, dword [ebp - 0x254]
add eax, 0xfffffff0
mov dword [ebp - 0x3c], 1
call fcn.00408965
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x24c]
add eax, 0xfffffff0
call fcn.00408965
lea esi, [ebp - 0x254]
mov eax, ebx
call fcn.004011fe
mov ebx, 0x423a34
push ebx
lea eax, [ebp - 0x250]
push eax
mov byte [ebp - 4], 0xb
call fcn.0040728d
mov esi, str.init
test eax, eax
je 0x40660e
push esi
lea eax, [ebp - 0x250]
push eax
call fcn.0040728d
test eax, eax
je 0x40660e
call dword [sym.imp.bdcommon.dll_GetLogController]
test eax, eax
je 0x40660e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x2c]
mov eax, dword [ebp - 0x250]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x4068cc
push esi
lea eax, [ebp - 0x250]
push eax
call fcn.0040728d
test eax, eax
je 0x4068cc
lea esi, [ebp - 0x250]
call fcn.00401b0a
test al, al
je 0x40672b
mov eax, str.render
call fcn.00405bcb
lea eax, [ebp - 0x264]
push str.EXETYPE
push eax
mov ecx, esi
call fcn.00407515
pop ecx
pop ecx
mov byte [ebp - 4], 0xf
push dword [eax]
call fcn.00405b42
mov esi, eax
call fcn.00405d10
mov eax, dword [ebp - 0x264]
add eax, 0xfffffff0
call fcn.00408965
xor esi, esi
mov dword [ebp - 0x258], esi
lea eax, [ebp - 0x258]
push eax
mov byte [ebp - 4], 0x10
call fcn.00406259
pop ecx
test eax, eax
js 0x40670e
mov eax, dword [ebp - 0x258]
cmp eax, esi
je 0x406714
lea edx, [ebp - 0x24c]
push edx
push 0x423a08
mov dword [ebp - 0x24c], esi
mov ecx, dword [eax]
push eax
call dword [ecx]
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x24c], esi
je 0x4066fa
push str.renderer_ie
lea eax, [ebp - 0x250]
push eax
call fcn.0040728d
neg eax
sbb al, al
push esi
push dword [ebp - 0x25c]
inc al
mov eax, dword [ebp - 0x24c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x24c]
cmp eax, esi
je 0x40670e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x258]
mov byte [ebp - 4], 0xb
cmp eax, esi
je 0x406a4f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x406a4f
mov esi, str.render
push esi
lea eax, [ebp - 0x250]
push eax
call fcn.004072b4
test eax, eax
je 0x40685f
push 0x41c3f8
lea eax, [ebp - 0x250]
push eax
call fcn.004072b4
test eax, eax
je 0x40685f
push str.safebox
lea eax, [ebp - 0x250]
push eax
call fcn.004072b4
test eax, eax
je 0x40685f
push str.UtilProcess
lea eax, [ebp - 0x250]
push eax
call fcn.0040728d
test eax, eax
jne 0x4067a9
push str.bdlogicmain.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x406a4f
push str.RegisterBrowserMain
jmp 0x40688f
push str.ExtensionDllInteractionProcess
lea eax, [ebp - 0x250]
push eax
call fcn.0040728d
test eax, eax
jne 0x4067f3
mov eax, esi
call fcn.00405bcb
push str.EXETYPEedi
call fcn.00405b42
mov esi, eax
call fcn.00405d10
push str.bdextensionprocess.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x406a4f
push str.ExtensionDllInteractionProcessMain
jmp 0x40688f
push str.testurl
lea eax, [ebp - 0x250]
push eax
call fcn.0040728d
test eax, eax
jne 0x406a4f
push str.bdlogicmain.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x4069ad
and dword [ebp - 0x24c], 0
push str.BrowserTestUrlMain
push eax
lea esi, [ebp - 0x24c]
call fcn.00408421
cmp dword [ebp - 0x24c], 0
pop ecx
pop ecx
je 0x4069ad
push dword [ebp - 0x258]
push dword [ebp - 0x25c]
call dword [ebp - 0x24c]
pop ecx
pop ecx
jmp 0x406a4f
mov eax, esi
call fcn.00405bcb
push str.EXETYPErender
call fcn.00405b42
mov esi, eax
call fcn.00405d10
push str.bdrenderprocess.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x406a4f
push str.RenderProcessMain
and dword [ebp - 0x24c], 0
push eax
lea esi, [ebp - 0x24c]
call fcn.00408421
cmp dword [ebp - 0x24c], 0
pop ecx
pop ecx
je 0x406a4f
push dword [ebp - 0x258]
push dword [ebp - 0x25c]
call dword [ebp - 0x24c]
pop ecx
pop ecx
mov esi, eax
jmp 0x406acc
push 0x423380
push ebx
push 0x25
call fcn.00408f0a
add esp, 0xc
lea eax, [ebp - 0x260]
push eax
mov edi, str.CustomID
call fcn.00407156
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x248]
push eax
mov byte [ebp - 4], 0xc
call fcn.00401655
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x260]
add eax, 0xfffffff0
call fcn.00408965
mov eax, dword [ebp - 0x258]
cmp dword [eax - 0xc], 0
je 0x40693a
mov eax, str.render
call fcn.00405bcb
push str.EXETYPESecurityCenter
jmp 0x406946
xor eax, eax
call fcn.00405bcb
push str.EXETYPEmain
call fcn.00405b42
mov esi, eax
call fcn.00405d10
push 0x4233f0
push ebx
push 0x25
call fcn.00408f0a
add esp, 0xc
push str.bdstartui.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
xor edi, edi
cmp esi, edi
jne 0x4069e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x423430
push ebx
push 0x40
call fcn.00408f0a
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 - 0x258]
add eax, 0xfffffff0
call fcn.00408965
mov eax, dword [ebp - 0x254]
add eax, 0xfffffff0
call fcn.00408965
mov eax, dword [ebp - 0x250]
add eax, 0xfffffff0
call fcn.00408965
or esi, 0xffffffff
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x248]
push eax
call fcn.00406aed
mov eax, esi
jmp 0x406a7e
push 0x4234a4
push ebx
push 0x25
call fcn.00408f0a
add esp, 0xc
push str.BrowserShellMain
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x264], eax
cmp eax, edi
jne 0x406a84
push 0x30
push str.Util::Helper::BDGetProcAddress
call fcn.00408a20
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4234dc
push ebx
push 0x40
call fcn.00408f0a
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 - 0x258]
add eax, 0xfffffff0
call fcn.00408965
mov eax, dword [ebp - 0x254]
add eax, 0xfffffff0
call fcn.00408965
mov eax, dword [ebp - 0x250]
add eax, 0xfffffff0
call fcn.00408965
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x248]
push eax
call fcn.00406aed
or eax, 0xffffffff
call fcn.00414fbe
ret
push str.eQB
push ebx
push 0x25
call fcn.00408f0a
add esp, 0xc
lea esi, [ebp - 0x248]
call fcn.00401116
fld qword [ebp + 0x10]
mov eax, dword [eax]
push edi
push edi
push edi
push ecx
push ecx
fstp qword [esp]
push eax
push dword [ebp - 0x25c]
call dword [ebp - 0x264]
mov esi, eax
mov eax, dword [ebp - 0x258]
add esp, 0x1c
add eax, 0xfffffff0
call fcn.00408965
mov eax, dword [ebp - 0x254]
add eax, 0xfffffff0
call fcn.00408965
mov eax, dword [ebp - 0x250]
add eax, 0xfffffff0
call fcn.00408965
jmp 0x4069cc