Function at 0x422220
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ffee0
mov eax, dword fs:[0]
push eax
sub esp, 0x560
mov eax, dword [0x54c154]
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 - 0x478], esi
push str.crash_controller::show
lea ecx, [ebp - 0x46c]
mov dword [ebp - 0x470], 0
call fcn.0040a3c0
mov dword [ebp - 4], 0
cmp dword [esi + 8], 0
jne 0x4222ac
push str.crash_controller::show
mov edx, 0x10
lea ecx, [ebp - 0x554]
call fcn.0040a850
add esp, 4
mov byte [ebp - 4], 1
cmp byte [eax + 0x48], 0
je 0x422389
push str.already_running
jmp 0x422380
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0x54dd00
push eax
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.004240e0
add esp, 4
cmp dword [ebp - 0x1c], 0
je 0x4222fc
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4222f4
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edi, dword [ebp - 0x470]
jmp 0x422357
mov ecx, dword [ebp - 0x28]
mov esi, ecx
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x470]
lea eax, [esi + eax*4]
mov dword [ebp - 0x14], eax
cmp esi, eax
je 0x422346
push 0x523ad8
push dword [esi]
call fcn.004d7442
mov ecx, dword [esi]
add esp, 8
cmp eax, ecx
jne 0x42233b
push 0xa
lea eax, [ecx + 0xc]
push 0
push eax
call fcn.004e043c
add esp, 0xc
mov edi, eax
add esi, 4
cmp esi, dword [ebp - 0x14]
jne 0x422314
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x422351
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [ebp - 0x478]
test edi, edi
jne 0x42239b
push str.crash_controller::show
lea edx, [edi + 4]
lea ecx, [ebp - 0x554]
call fcn.0040a850
add esp, 4
mov byte [ebp - 4], 2
cmp byte [eax + 0x48], 0
je 0x422389
push 0x523458
push eax
call fcn.004110a0
add esp, 8
lea ecx, [ebp - 0x554]
call fcn.0040a6f0
xor esi, esi
jmp 0x422b1c
mov edx, edi
lea ecx, [ebp - 0x58]
call fcn.004216e0
mov byte [ebp - 4], 3
cmp byte [ebp - 0x38], 0
je 0x42244c
push str.crash_controller::show
mov edx, 4
lea ecx, [ebp - 0x554]
call fcn.0040a850
add esp, 4
mov esi, eax
mov byte [ebp - 4], 4
cmp byte [esi + 0x48], 0
je 0x4223e5
push str.failed_init_bdch_ipc_err
push esi
call fcn.004110a0
add esp, 8
cmp byte [ebp - 0x38], 1
jne 0x422b44
mov al, byte [esi + 0x48]
test al, al
je 0x422415
push dword [ebp - 0x58]
mov ecx, esi
call fcn.00413130
mov al, byte [esi + 0x48]
test al, al
je 0x422415
push 0x5212fc
push esi
call fcn.004110a0
add esp, 8
cmp byte [ebp - 0x38], 1
jne 0x422b44
cmp byte [esi + 0x48], 0
je 0x422437
cmp dword [ebp - 0x3c], 0x10
lea edx, [ebp - 0x50]
mov ecx, esi
cmovae edx, dword [ebp - 0x50]
call fcn.00411300
lea ecx, [ebp - 0x554]
call fcn.0040a6f0
mov esi, 0x667
jmp 0x422b14
lea edi, [esi + 0x70]
lea eax, [ebp - 0x58]
cmp edi, eax
je 0x422492
cmp dword [edi], 0
je 0x422479
cmp dword [edi + 4], 0
je 0x422479
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 - 0x58]
mov dword [edi], eax
mov eax, dword [ebp - 0x54]
mov dword [edi + 4], eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov eax, dword [esi + 0x74]
lea ecx, [ebp - 0x554]
push str.crash_controller::show
cmp dword [eax], 1
je 0x42251a
mov edx, 4
call fcn.0040a850
add esp, 4
mov edi, eax
mov byte [ebp - 4], 5
mov al, byte [edi + 0x48]
test al, al
je 0x422505
push str.integrated_bdch_version_
push edi
call fcn.004110a0
mov al, byte [edi + 0x48]
add esp, 8
test al, al
je 0x422505
push 1
mov ecx, edi
call fcn.00413130
mov al, byte [edi + 0x48]
test al, al
je 0x422505
push str._ipc_version_
push edi
call fcn.004110a0
mov al, byte [edi + 0x48]
add esp, 8
test al, al
je 0x422505
mov eax, dword [esi + 0x74]
mov ecx, edi
push dword [eax]
call fcn.00412fb0
lea ecx, [ebp - 0x554]
call fcn.0040a6f0
mov esi, 0x70d
jmp 0x422b14
mov edx, 0x10
call fcn.0040a850
add esp, 4
mov edi, eax
mov byte [ebp - 4], 6
mov al, byte [edi + 0x48]
test al, al
je 0x422545
push str.BdchBDSubWizIPC.nVersion
push edi
call fcn.004110a0
mov al, byte [edi + 0x48]
add esp, 8
mov ecx, dword [esi + 0x74]
test al, al
je 0x422555
push dword [ecx]
mov ecx, edi
call fcn.00412fb0
lea ecx, [ebp - 0x554]
mov byte [ebp - 4], 3
call fcn.0040a6f0
push str.crash_controller::show
mov edx, 0x10
lea ecx, [ebp - 0x554]
call fcn.0040a850
add esp, 4
mov edi, eax
mov byte [ebp - 4], 7
mov al, byte [edi + 0x48]
test al, al
je 0x4225b1
push str.BdchBDSubWizIPC.bSubmitDump
push edi
call fcn.004110a0
mov al, byte [edi + 0x48]
add esp, 8
test al, al
je 0x4225b1
mov eax, dword [edi]
mov eax, dword [eax + 4]
add eax, edi
push eax
call fcn.00405390
mov al, byte [edi + 0x48]
add esp, 4
mov ecx, dword [esi + 0x74]
test al, al
je 0x4225c4
movzx eax, byte [ecx + 4]
mov ecx, edi
push eax
call fcn.004132b0
lea ecx, [ebp - 0x554]
mov byte [ebp - 4], 3
call fcn.0040a6f0
push str.crash_controller::show
mov edx, 0x10
lea ecx, [ebp - 0x554]
call fcn.0040a850
add esp, 4
mov edi, eax
mov byte [ebp - 4], 8
mov al, byte [edi + 0x48]
test al, al
je 0x422620
push str.BdchBDSubWizIPC.bRestartProcess
push edi
call fcn.004110a0
mov al, byte [edi + 0x48]
add esp, 8
test al, al
je 0x422620
mov eax, dword [edi]
mov eax, dword [eax + 4]
add eax, edi
push eax
call fcn.00405390
mov al, byte [edi + 0x48]
add esp, 4
mov ecx, dword [esi + 0x74]
test al, al
je 0x422633
movzx eax, byte [ecx + 5]
mov ecx, edi
push eax
call fcn.004132b0
lea ecx, [ebp - 0x554]
mov byte [ebp - 4], 3
call fcn.0040a6f0
push str.crash_controller::show
mov edx, 0x10
lea ecx, [ebp - 0x554]
call fcn.0040a850
add esp, 4
mov edi, eax
mov byte [ebp - 4], 9
mov cl, byte [edi + 0x48]
test cl, cl
je 0x422678
push str.BdchBDSubWizIPC.pwzCrashedProcessPath
push edi
call fcn.004110a0
mov cl, byte [edi + 0x48]
add esp, 8
mov eax, dword [esi + 0x74]
add eax, 6
test cl, cl
je 0x42268c
push eax
push edi
call fcn.004110a0
add esp, 8
lea ecx, [ebp - 0x554]
mov byte [ebp - 4], 3
call fcn.0040a6f0
push str.crash_controller::show
mov edx, 0x10
lea ecx, [ebp - 0x554]
call fcn.0040a850
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0xa
mov cl, byte [edi + 0x48]
test cl, cl
je 0x4226d1
push str.BdchBDSubWizIPC.pwzFriendlyName
push edi
call fcn.004110a0
mov cl, byte [edi + 0x48]
add esp, 8
mov eax, dword [esi + 0x74]
add eax, 0x1006
test cl, cl
je 0x4226e7
push eax
push edi
call fcn.004110a0
add esp, 8
lea ecx, [ebp - 0x554]
mov byte [ebp - 4], 3
call fcn.0040a6f0
push str.crash_controller::show
mov edx, 0x10
lea ecx, [ebp - 0x554]
call fcn.0040a850
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0xb
mov cl, byte [edi + 0x48]
test cl, cl
je 0x42272c
push str.BdchBDSubWizIPC.pwzUserFeedback
push edi
call fcn.004110a0
mov cl, byte [edi + 0x48]
add esp, 8
mov eax, dword [esi + 0x74]
add eax, 0x1806
test cl, cl
je 0x422742
push eax
push edi
call fcn.004110a0
add esp, 8
lea ecx, [ebp - 0x554]
mov byte [ebp - 4], 3
call fcn.0040a6f0
push str.crash_controller::show
mov edx, 0x10
lea ecx, [ebp - 0x554]
call fcn.0040a850
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0xc
mov cl, byte [edi + 0x48]
test cl, cl
je 0x422787
push str.BdchBDSubWizIPC.pwzEmail
push edi
call fcn.004110a0
mov cl, byte [edi + 0x48]
add esp, 8
mov eax, dword [esi + 0x74]
add eax, 0x3806
test cl, cl
je 0x42279d
push eax
push edi
call fcn.004110a0
add esp, 8
lea ecx, [ebp - 0x554]
mov byte [ebp - 4], 3
call fcn.0040a6f0
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 - 0x490]
push eax
call fcn.004232e0
cmp dword [eax + 0x14], 8
jb 0x4227dc
mov eax, dword [eax]
mov ecx, dword [esi + 0x74]
push eax
add ecx, 0x3806
push 0x400
push ecx
call fcn.004dab23
add esp, 0xc
lea ecx, [ebp - 0x490]
call fcn.004161c0
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 0x422814
sub ecx, edi
mov dword [ebp - 0x490], 0
sar ecx, 1
xor eax, eax
push ecx
push edx
lea ecx, [ebp - 0x490]
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x47c], 7
mov word [ebp - 0x490], ax
call fcn.00415d70
lea eax, [ebp - 0x56c]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x490]
call fcn.00416ab0
push eax
lea ecx, [ebp - 0x4ac]
mov byte [ebp - 4], 0xe
call fcn.0040f220
mov dword [ebp - 0x470], 0xe0
lea ecx, [ebp - 0x56c]
mov byte [ebp - 4], 0x10
call fcn.004161c0
lea ecx, [ebp - 0x4ac]
mov byte [ebp - 0x494], 0
lea eax, [esi + 0x14]
push ecx
push eax
call fcn.00421ae0
push 0x4d0
mov byte [ebp - 4], 0x11
call fcn.004a4626
mov edi, eax
mov dword [ebp - 0x470], edi
mov dword [ebp - 0x18], edi
push 0x4d0
push 0
push edi
mov byte [ebp - 4], 0x12
call fcn.004d78d0
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x34]
add esp, 0x10
add esi, 4
mov al, byte [eax + 5]
mov byte [ebp - 0x471], al
lea eax, [ebp - 0x4ac]
push eax
call fcn.0040f220
mov ecx, edi
mov byte [ebp - 4], 0x13
call fcn.00476860
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.0041b8b0
add edi, 0x498
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x14], edi
lea esi, [edi + 0xc]
mov eax, dword [0x5575f8]
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 [0x5575f8], edi
mov dword [esi], 0
mov dword [esi + 4], 0
lfence
push 0xc
call fcn.004a4626
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 - 0x470]
mov edi, dword [ebp - 0x478]
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 - 0x34]
movups xmmword [esi + 0x4b0], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [esi + 0x4c0], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
mov al, byte [ebp - 0x471]
mov byte [ebp - 4], 0x17
mov ecx, dword [esi + 0x4ac]
mov byte [esi + 0x4c8], al
mov dword [esi + 0x4cc], 0
mov dword [esi + 0x24], SysStringLen
mov dword [esi + 0x28], 0x80088
mov eax, dword [ecx + 0x30]
mov dword [0x557a28], eax
mov dword [0x557a20], eax
lea eax, [ecx + 0x34]
push eax
lea ecx, [esi + 0x478]
call fcn.0041eab0
push str.AgentCrashHandler_window_class_name
lea eax, [esi + 0x254]
push 0x100
push eax
call fcn.004dab23
add esp, 0xc
lea ecx, [ebp - 0x34]
call fcn.004161c0
mov dword [ebp - 0x470], 0x1e0
lea ecx, [ebp - 0x4ac]
call fcn.004161c0
lea ecx, [ebp - 0x490]
mov byte [ebp - 4], 0x1a
call fcn.004161c0
mov eax, dword [edi + 0xc]
push ecx
mov ecx, esi
mov dword [edi + 0xc], esi
mov dword [ebp - 0x14], eax
call fcn.00424ad0
test al, al
jne 0x422ae5
mov eax, dword [0x5575b8]
add eax, dword [0x5575bc]
je 0x422acd
push ecx
lea ecx, [ebp - 0x24]
call fcn.0040e210
mov byte [ebp - 4], 0x1c
mov ecx, eax
mov dword [ebp - 0x470], 0x1e2
call fcn.0040e1c0
push str.Error_create_view
push str.crash_controller::show
push 0x400000
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 4
push ecx
push 0
push eax
call fcn.0040a380
add esp, 0x18
test byte [ebp - 0x470], 2
je 0x422ade
lea ecx, [ebp - 0x24]
call fcn.0040e1e0
mov esi, 0x1f
jmp 0x422b0c
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.00476e70
cmp dword [edi + 0xc], 0
je 0x422b0c
push ecx
lea ecx, [edi + 0xc]
call fcn.004237a0
lea ecx, [ebp - 0x14]
call fcn.0040e330
lea ecx, [ebp - 0x58]
call fcn.004237d0
lea ecx, [ebp - 0x46c]
call fcn.0040a5f0
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.004a44cd
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x28], xmm0
call fcn.0040f8d0
push 0x549264
mov eax, ecx
push eax
call fcn.004d7fa4
int3