Function at 0x40ce00
Capabilities:
Accept command line arguments
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x120
mov eax, dword [0x53f084]
xor eax, esp
mov dword [esp + 0x11c], eax
mov eax, dword [ebp + 0x10]
mov ecx, 0x513d80
push ebx
xor ebx, ebx
push esi
mov dword [esp + 0xc], ebx
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40ce56
test dx, dx
je 0x40ce52
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40ce56
add eax, 4
add ecx, 4
test dx, dx
jne 0x40ce30
xor eax, eax
jmp 0x40ce5b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40cec5
push 0x10
call fcn.004d1720
add esp, 4
mov esi, eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [esi], eax
lea eax, [esp + 0xc]
push eax
push 0
push esi
push 0x408950
push 0
push 0
mov dword [esi + 4], ebx
mov byte [esi + 8], bl
mov dword [esp + 0x24], ebx
call fcn.004daa4c
add esp, 0x18
mov dword [esi + 0xc], eax
cmp dword [esi + 4], ebx
jne 0x40d0f2
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
pop esi
pop ebx
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.004d170a
mov esp, ebp
pop ebp
ret 0x10
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov esi, dword [0x53fd18]
mov ecx, dword [0x53fd1c]
mov dword [0x544524], ebx
cmp esi, ecx
jae 0x40cf0b
mov eax, dword [esi]
test eax, eax
je 0x40cf04
mov eax, dword [eax + 0x1c]
push 1
call eax
mov ecx, dword [0x53fd1c]
add esi, 4
cmp esi, ecx
jb 0x40cef1
cmp dword [0x543fdc], 1
mov dword [esp + 0x10], vtable.DlgViewDelegate.0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
jne 0x40cf50
cmp dword [0x5444b0], ebx
je 0x40cf50
push 3
push 0xd
push str.f:my_lab_tabexplorerextab_master_srcmini_installerui_view_delegate.cpp
lea ecx, [esp + 0x64]
mov ebx, 1
call fcn.0040eda0
mov edx, str.Check_failed:__view::ViewDelegate::view_delegate.
lea ecx, [eax + 8]
call fcn.00405a30
test bl, 1
je 0x40cf5e
lea ecx, [esp + 0x58]
call fcn.0040f1c0
cmp dword [0x544014], 0
lea eax, [esp + 0x10]
mov dword [0x5444b0], eax
jne 0x40d00b
push 0x18
call fcn.004d1720
mov esi, eax
push ecx
mov ecx, esi
call fcn.0041b1a0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.0041b1f0
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], 1
mov dword [0x544014], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [esp + 0x11c], 0
mov ecx, edx
mov dword [esp + 0x120], 7
xor eax, eax
mov word [esp + 0x10c], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40cfd5
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x114]
call fcn.00405110
lea eax, [esp + 0x10c]
push eax
call fcn.0041b080
lea ecx, [esp + 0x10c]
call fcn.00405080
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], vtable.DlgMain.0
mov dword [esp + 0x24], vtable.DlgMain.1.0
mov dword [esp + 0x28], 0
mov byte [esp + 0x30], 0
call fcn.004028e0
mov esi, dword [0x544524]
test esi, esi
je 0x40d06b
cmp dword [esi], 0
je 0x40d06b
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x40d055
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esi + 0x20]
push 0
mov dword [esi + 0x10], 0
call eax
add esi, 0x24
cmp dword [esi], 0
jne 0x40d048
mov esi, dword [0x53fd18]
mov ecx, dword [0x53fd1c]
cmp esi, ecx
jae 0x40d09a
nop dword [eax + eax]
mov eax, dword [esi]
test eax, eax
je 0x40d093
mov eax, dword [eax + 0x1c]
push 0
call eax
mov ecx, dword [0x53fd1c]
add esi, 4
cmp esi, ecx
jb 0x40d080
mov ecx, 0x5444f8
call fcn.0040a620
call dword [sym.imp.ole32.dll_OleUninitialize]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x24], vtable.view::ButtonListener.0
mov dword [esp + 0x1c], vtable.view::WidgetDelegate.0
mov dword [esp + 0x10], vtable.DlgViewDelegate.0
mov dword [0x5444b0], 0
test esi, esi
je 0x40d0f2
mov eax, dword [esi]
test eax, eax
je 0x40d0e1
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
push 8
push esi
mov dword [esi], 0
call fcn.004d1750
add esp, 8
mov ecx, dword [esp + 0x124]
xor eax, eax
pop esi
pop ebx
xor ecx, esp
call fcn.004d170a
mov esp, ebp
pop ebp
ret 0x10