Function at 0x410530
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f54af
mov eax, dword fs:[0]
push eax
sub esp, 0x55c
mov eax, dword [0x53d058]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x474], esi
push str.crash_controller::show
lea ecx, [ebp - 0x464]
mov dword [ebp - 0x468], 0
call fcn.0040fa90
mov dword [ebp - 4], 0
cmp dword [esi + 8], 0
jne 0x4105bc
push str.crash_controller::show
mov edx, 0x10
lea ecx, [ebp - 0x550]
call fcn.0040fef0
add esp, 4
mov byte [ebp - 4], 1
cmp byte [eax + 0x48], 0
je 0x410698
push str.already_running
jmp 0x41068f
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x468]
mov dword [ebp - 0x468], 0
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, eax
mov dword [ebp - 0x14], ecx
test ecx, ecx
jne 0x410608
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x14], ecx
test eax, eax
je 0x41060e
mov edi, dword [ebp - 0x14]
jmp 0x410666
mov edx, dword [ebp - 0x468]
mov edi, dword [ebp - 0x14]
mov esi, ecx
lea eax, [esi + edx*4]
mov dword [ebp - 0x468], eax
cmp ecx, eax
je 0x410655
push 0x517544
push dword [esi]
call fcn.004cd4c1
mov ecx, dword [esi]
add esp, 8
cmp eax, ecx
jne 0x410647
push 0xa
lea eax, [ecx + 0xc]
push 0
push eax
call fcn.004d6328
add esp, 0xc
mov edi, eax
add esi, 4
cmp esi, dword [ebp - 0x468]
jne 0x410620
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x410660
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [ebp - 0x474]
test edi, edi
jne 0x4106aa
push str.crash_controller::show
lea edx, [edi + 4]
lea ecx, [ebp - 0x550]
call fcn.0040fef0
add esp, 4
mov byte [ebp - 4], 2
cmp byte [eax + 0x48], 0
je 0x410698
push str.invalid_cmdline
push eax
call fcn.00414f60
add esp, 8
lea ecx, [ebp - 0x550]
call fcn.0040fdc0
xor esi, esi
jmp 0x410e34
mov edx, edi
lea ecx, [ebp - 0x50]
call fcn.0040eb60
mov byte [ebp - 4], 3
cmp byte [ebp - 0x30], 0
je 0x41075b
push str.crash_controller::show
mov edx, 4
lea ecx, [ebp - 0x550]
call fcn.0040fef0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 4
cmp byte [esi + 0x48], 0
je 0x4106f4
push 0x516edc
push esi
call fcn.00414f60
add esp, 8
cmp byte [ebp - 0x30], 1
jne 0x410e5c
mov al, byte [esi + 0x48]
test al, al
je 0x410724
push dword [ebp - 0x50]
mov ecx, esi
call fcn.004131e0
mov al, byte [esi + 0x48]
test al, al
je 0x410724
push 0x516ed8
push esi
call fcn.00414f60
add esp, 8
cmp byte [ebp - 0x30], 1
jne 0x410e5c
cmp byte [esi + 0x48], 0
je 0x410746
cmp dword [ebp - 0x34], 0x10
lea edx, [ebp - 0x48]
mov ecx, esi
cmovae edx, dword [ebp - 0x48]
call fcn.004151c0
lea ecx, [ebp - 0x550]
call fcn.0040fdc0
mov esi, 0x667
jmp 0x410e2c
lea edi, [esi + 0x70]
lea eax, [ebp - 0x50]
cmp edi, eax
je 0x4107a1
cmp dword [edi], 0
je 0x410788
cmp dword [edi + 4], 0
je 0x410788
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [edi]
mov dword [edi + 4], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x50]
mov dword [edi], eax
mov eax, dword [ebp - 0x4c]
mov dword [edi + 4], eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov eax, dword [esi + 0x74]
lea ecx, [ebp - 0x550]
push str.crash_controller::show
cmp dword [eax], 1
je 0x410829
mov edx, 4
call fcn.0040fef0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 5
mov al, byte [edi + 0x48]
test al, al
je 0x410814
push str.integrated_bdch_version_
push edi
call fcn.00414f60
mov al, byte [edi + 0x48]
add esp, 8
test al, al
je 0x410814
push 1
mov ecx, edi
call fcn.004131e0
mov al, byte [edi + 0x48]
test al, al
je 0x410814
push str._ipc_version_
push edi
call fcn.00414f60
mov al, byte [edi + 0x48]
add esp, 8
test al, al
je 0x410814
mov eax, dword [esi + 0x74]
mov ecx, edi
push dword [eax]
call fcn.00413060
lea ecx, [ebp - 0x550]
call fcn.0040fdc0
mov esi, 0x70d
jmp 0x410e2c
mov edx, 0x10
call fcn.0040fef0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 6
mov al, byte [edi + 0x48]
test al, al
je 0x410854
push str.BdchBDSubWizIPC.nVersion
push edi
call fcn.00414f60
mov al, byte [edi + 0x48]
add esp, 8
mov ecx, dword [esi + 0x74]
test al, al
je 0x410864
push dword [ecx]
mov ecx, edi
call fcn.00413060
lea ecx, [ebp - 0x550]
mov byte [ebp - 4], 3
call fcn.0040fdc0
push str.crash_controller::show
mov edx, 0x10
lea ecx, [ebp - 0x550]
call fcn.0040fef0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 7
mov al, byte [edi + 0x48]
test al, al
je 0x4108c0
push str.BdchBDSubWizIPC.bSubmitDump
push edi
call fcn.00414f60
mov al, byte [edi + 0x48]
add esp, 8
test al, al
je 0x4108c0
mov eax, dword [edi]
mov eax, dword [eax + 4]
add eax, edi
push eax
call fcn.0040efc0
mov al, byte [edi + 0x48]
add esp, 4
mov ecx, dword [esi + 0x74]
test al, al
je 0x4108d3
movzx eax, byte [ecx + 4]
mov ecx, edi
push eax
call fcn.00413360
lea ecx, [ebp - 0x550]
mov byte [ebp - 4], 3
call fcn.0040fdc0
push str.crash_controller::show
mov edx, 0x10
lea ecx, [ebp - 0x550]
call fcn.0040fef0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 8
mov al, byte [edi + 0x48]
test al, al
je 0x41092f
push str.BdchBDSubWizIPC.bRestartProcess
push edi
call fcn.00414f60
mov al, byte [edi + 0x48]
add esp, 8
test al, al
je 0x41092f
mov eax, dword [edi]
mov eax, dword [eax + 4]
add eax, edi
push eax
call fcn.0040efc0
mov al, byte [edi + 0x48]
add esp, 4
mov ecx, dword [esi + 0x74]
test al, al
je 0x410942
movzx eax, byte [ecx + 5]
mov ecx, edi
push eax
call fcn.00413360
lea ecx, [ebp - 0x550]
mov byte [ebp - 4], 3
call fcn.0040fdc0
push str.crash_controller::show
mov edx, 0x10
lea ecx, [ebp - 0x550]
call fcn.0040fef0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 9
mov cl, byte [edi + 0x48]
test cl, cl
je 0x410987
push str.BdchBDSubWizIPC.pwzCrashedProcessPath
push edi
call fcn.00414f60
mov cl, byte [edi + 0x48]
add esp, 8
mov eax, dword [esi + 0x74]
add eax, 6
test cl, cl
je 0x41099b
push eax
push edi
call fcn.00414f60
add esp, 8
lea ecx, [ebp - 0x550]
mov byte [ebp - 4], 3
call fcn.0040fdc0
push str.crash_controller::show
mov edx, 0x10
lea ecx, [ebp - 0x550]
call fcn.0040fef0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0xa
mov cl, byte [edi + 0x48]
test cl, cl
je 0x4109e0
push str.BdchBDSubWizIPC.pwzFriendlyName
push edi
call fcn.00414f60
mov cl, byte [edi + 0x48]
add esp, 8
mov eax, dword [esi + 0x74]
add eax, 0x1006
test cl, cl
je 0x4109f6
push eax
push edi
call fcn.00414f60
add esp, 8
lea ecx, [ebp - 0x550]
mov byte [ebp - 4], 3
call fcn.0040fdc0
push str.crash_controller::show
mov edx, 0x10
lea ecx, [ebp - 0x550]
call fcn.0040fef0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0xb
mov cl, byte [edi + 0x48]
test cl, cl
je 0x410a3b
push str.BdchBDSubWizIPC.pwzUserFeedback
push edi
call fcn.00414f60
mov cl, byte [edi + 0x48]
add esp, 8
mov eax, dword [esi + 0x74]
add eax, 0x1806
test cl, cl
je 0x410a51
push eax
push edi
call fcn.00414f60
add esp, 8
lea ecx, [ebp - 0x550]
mov byte [ebp - 4], 3
call fcn.0040fdc0
push str.crash_controller::show
mov edx, 0x10
lea ecx, [ebp - 0x550]
call fcn.0040fef0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0xc
mov cl, byte [edi + 0x48]
test cl, cl
je 0x410a96
push str.BdchBDSubWizIPC.pwzEmail
push edi
call fcn.00414f60
mov cl, byte [edi + 0x48]
add esp, 8
mov eax, dword [esi + 0x74]
add eax, 0x3806
test cl, cl
je 0x410aac
push eax
push edi
call fcn.00414f60
add esp, 8
lea ecx, [ebp - 0x550]
mov byte [ebp - 4], 3
call fcn.0040fdc0
mov eax, dword [esi + 0x74]
xor ecx, ecx
mov dword [eax], 1
mov eax, dword [esi + 0x74]
mov byte [eax + 4], 0
mov eax, dword [esi + 0x74]
mov word [eax + 0x1806], cx
lea eax, [ebp - 0x48c]
push eax
call fcn.00411610
cmp dword [eax + 0x14], 8
jb 0x410aeb
mov eax, dword [eax]
mov ecx, dword [esi + 0x74]
push eax
add ecx, 0x3806
push 0x400
push ecx
call fcn.004d0eb1
add esp, 0xc
lea ecx, [ebp - 0x48c]
call fcn.004033a0
mov eax, dword [esi + 0x74]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], eax
lea edx, [eax + 6]
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410b23
sub ecx, edi
mov dword [ebp - 0x48c], 0
sar ecx, 1
xor eax, eax
push ecx
push edx
lea ecx, [ebp - 0x48c]
mov dword [ebp - 0x47c], 0
mov dword [ebp - 0x478], 7
mov word [ebp - 0x48c], ax
call fcn.004034d0
lea eax, [ebp - 0x568]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x48c]
call fcn.00404a90
push eax
lea ecx, [ebp - 0x4a8]
mov byte [ebp - 4], 0xe
call fcn.0040bca0
mov dword [ebp - 0x468], 0xe0
lea ecx, [ebp - 0x568]
mov byte [ebp - 4], 0x10
call fcn.004033a0
lea ecx, [ebp - 0x4a8]
mov byte [ebp - 0x490], 0
lea eax, [esi + 0x14]
push ecx
push eax
call fcn.0040f350
push 0x4d0
mov byte [ebp - 4], 0x11
call fcn.00498569
mov edi, eax
mov dword [ebp - 0x468], edi
mov dword [ebp - 0x470], edi
push 0x4d0
push 0
push edi
mov byte [ebp - 4], 0x12
call fcn.004cdf10
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
add esp, 0x10
add esi, 4
mov al, byte [eax + 5]
mov byte [ebp - 0x469], al
lea eax, [ebp - 0x4a8]
push eax
call fcn.0040bca0
mov ecx, edi
mov byte [ebp - 4], 0x13
call fcn.004697d0
mov byte [ebp - 4], 0x14
lea ecx, [edi + 0x464]
mov dword [edi], vtable.crash_view.1.0
mov dword [edi + 0x14], vtable.crash_view.0
mov dword [edi + 0x460], esi
call fcn.00409e00
add edi, 0x498
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x14], edi
lea esi, [edi + 0xc]
mov eax, dword [0x545524]
mov dword [ebp - 0x14], esi
mov dword [edi], vtable.sciter::behavior_factory.0
mov dword [edi + 8], str.drag_window
mov dword [edi + 4], eax
mov dword [0x545524], edi
mov dword [esi], 0
mov dword [esi + 4], 0
lfence
push 0xc
call fcn.00498569
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi], eax
mov dword [edi], vtable.sciter::drag_window_factory.0
mov esi, dword [ebp - 0x468]
mov edi, dword [ebp - 0x474]
lea eax, [edi + 0x14]
mov dword [esi + 0x4ac], eax
xor eax, eax
mov dword [esi + 0x4b0], 0
mov dword [esi + 0x4c0], 0
mov dword [esi + 0x4c4], 0
movups xmm0, xmmword [ebp - 0x2c]
movups xmmword [esi + 0x4b0], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [esi + 0x4c0], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov al, byte [ebp - 0x469]
mov byte [ebp - 4], 0x17
mov ecx, dword [esi + 0x4ac]
mov byte [esi + 0x4c8], al
mov dword [esi + 0x4cc], 0
mov dword [esi + 0x24], SysReAllocString
mov dword [esi + 0x28], 0x80088
mov eax, dword [ecx + 0x30]
mov dword [0x5457f0], eax
mov dword [0x5457e8], eax
lea eax, [ecx + 0x34]
push eax
lea ecx, [esi + 0x478]
call fcn.0040b200
push str.AgentCrashHandler_window_class_name
lea eax, [esi + 0x254]
push 0x100
push eax
call fcn.004d0eb1
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.004033a0
mov dword [ebp - 0x468], 0x1e0
lea ecx, [ebp - 0x4a8]
call fcn.004033a0
lea ecx, [ebp - 0x48c]
mov byte [ebp - 4], 0x1a
call fcn.004033a0
mov eax, dword [edi + 0xc]
push ecx
mov ecx, esi
mov dword [edi + 0xc], esi
mov dword [ebp - 0x14], eax
call fcn.00416e20
test al, al
jne 0x410dfd
mov eax, dword [0x545540]
add eax, dword [0x545544]
je 0x410de5
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00412450
mov byte [ebp - 4], 0x1c
mov ecx, eax
mov dword [ebp - 0x468], 0x1e2
call fcn.00412400
push str.Error_create_view
push str.crash_controller::show
push 0x400000
lea ecx, [ebp - 0x470]
mov dword [ebp - 0x470], 4
push ecx
push 0
push eax
call fcn.0040fa50
add esp, 0x18
test byte [ebp - 0x468], 2
je 0x410df6
lea ecx, [ebp - 0x1c]
call fcn.00412420
mov esi, 0x1f
jmp 0x410e24
mov ecx, dword [edi + 0xc]
push 1
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x7c]
call eax
mov ecx, dword [edi + 0xc]
mov esi, eax
call fcn.00469de0
cmp dword [edi + 0xc], 0
je 0x410e24
push ecx
lea ecx, [edi + 0xc]
call fcn.00412590
lea ecx, [ebp - 0x14]
call fcn.004026b0
lea ecx, [ebp - 0x50]
call fcn.004125c0
lea ecx, [ebp - 0x464]
call fcn.0040fcc0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049852a
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x20]
movq qword [ebp - 0x20], xmm0
call fcn.0040be00
push 0x53a400
mov eax, ecx
push eax
call fcn.004cd922
int3