Function at 0x40a7f0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30c
push ebx
push esi
push edi
call fcn.0040a750
push 8
mov byte [esp + 0x17], al
call fcn.0041b3a0
add esp, 4
mov ecx, eax
call fcn.00408cb0
mov edi, eax
push 8
mov dword [esp + 0x38], edi
call fcn.0041b3a0
mov edx, dword [edi]
add esp, 4
mov ebx, eax
mov ecx, edi
mov dword [esp + 0x18], ebx
call dword [edx + 0x24]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x40a850
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x40a845
sub esi, ecx
jmp 0x40a852
xor esi, esi
lea eax, [esi + 1]
push eax
call fcn.0041b3e1
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0x40a880
test esi, esi
je 0x40a87c
push esi
push dword [esp + 0x20]
push eax
call fcn.0042f5c0
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov byte [eax + esi], 0
mov dword [ebx], eax
push 0x2c
mov dword [ebx + 4], edi
call fcn.0041b3a0
push edi
mov ecx, eax
call fcn.0040b640
push 8
mov dword [esp + 0x18], eax
call fcn.0041b3a0
add esp, 4
mov dword [esp + 0x24], eax
mov dword [eax], vtable.WinLocalizedStringManager.0
push 0x14
mov dword [eax + 4], 0xffffffff
call fcn.0041b3a0
add esp, 4
mov esi, eax
call fcn.00409ed0
push eax
mov ecx, esi
call fcn.00401610
mov esi, dword [esp + 0x14]
mov ebx, eax
test esi, esi
je 0x40ac7e
test ebx, ebx
je 0x40ac7e
mov edi, dword [esp + 0x24]
mov ecx, edi
push 0x2ee0
call fcn.00402790
push eax
lea ecx, [esp + 0x20]
call fcn.0040a650
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x38]
sub esp, 0xc
mov eax, esp
mov dword [eax], esi
call fcn.004127a0
or dword [esp + 0x60], 0x80
lea ecx, [esp + 0x290]
push ebx
push dword [esp + 0x1c]
mov byte [esp + 0xa4], 0
push edi
push dword [esp + 0x20]
mov dword [esp + 0x48], vtable.FlashPlayerCPLApp::CPLAppPropertySheet.0
call fcn.00416130
push ebx
push edi
push dword [esp + 0x1c]
lea ecx, [esp + 0x124]
call fcn.0040d210
push ebx
push dword [esp + 0x1c]
lea ecx, [esp + 0x198]
push edi
push dword [esp + 0x20]
call fcn.00414cf0
push ebx
push edi
push dword [esp + 0x1c]
lea ecx, [esp + 0xac]
call fcn.00419800
push ebx
push dword [esp + 0x1c]
lea ecx, [esp + 0x218]
push edi
push dword [esp + 0x20]
call fcn.0040c1d0
push 0x5208
mov ecx, edi
call fcn.00402790
push eax
lea ecx, [esp + 0x34]
call fcn.0040a650
push 0x7918
mov ecx, edi
call fcn.00402790
push eax
lea ecx, [esp + 0x20]
call fcn.0040a650
push 0xa028
mov ecx, edi
call fcn.00402790
push eax
lea ecx, [esp + 0x24]
call fcn.0040a650
push 0x18b50
mov ecx, edi
call fcn.00402790
push eax
lea ecx, [esp + 0x30]
call fcn.0040a650
push 0xc738
mov ecx, edi
call fcn.00402790
push eax
lea ecx, [esp + 0x2c]
call fcn.0040a650
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x30]
or dword [esp + 0x2b4], 8
or dword [esp + 0x13c], 8
mov dword [esp + 0x14c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c4], edi
or dword [esp + 0x1b4], 8
lea ecx, [esp + 0x38]
or dword [esp + 0xc4], 8
or dword [esp + 0x234], 8
mov dword [esp + 0x1c4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x244], eax
lea eax, [esp + 0x2b0]
push eax
call fcn.0040ad60
lea eax, [esp + 0x138]
push eax
lea ecx, [esp + 0x3c]
call fcn.0040ad60
lea eax, [esp + 0x1b0]
push eax
lea ecx, [esp + 0x3c]
call fcn.0040ad60
cmp byte [esp + 0x13], 0
je 0x40aaa6
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x3c]
call fcn.0040ad60
lea eax, [esp + 0x230]
push eax
lea ecx, [esp + 0x3c]
call fcn.0040ad60
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push str.startupdialogstorage
push eax
call fcn.0041cb55
add esp, 8
test eax, eax
je 0x40aad3
push 0
jmp 0x40ab4f
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push str.startupdialogcammic
push eax
call fcn.0041cb55
add esp, 8
test eax, eax
je 0x40aaef
push 1
jmp 0x40ab4f
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push str.startupdialogplayback
push eax
call fcn.0041cb55
add esp, 8
test eax, eax
je 0x40ab0b
push 2
jmp 0x40ab4f
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push str.startupdialogupdates
push eax
call fcn.0041cb55
add esp, 8
test eax, eax
je 0x40ab2a
cmp byte [esp + 0x13], 0
jne 0x40ab4d
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push str.startupdialogadvanced
push eax
call fcn.0041cb55
add esp, 8
test eax, eax
je 0x40ab58
cmp byte [esp + 0x13], 0
je 0x40ab4d
push 4
jmp 0x40ab4f
push 3
lea ecx, [esp + 0x3c]
call fcn.0040adc0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
lea ecx, [esp + 0x3c]
call fcn.0040adf0
mov ecx, dword [esp + 0x24]
push 1
mov eax, dword [ecx]
call dword [eax]
push ecx
mov ecx, ebx
call fcn.0040ad30
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0040ad00
mov ecx, dword [esp + 0x14]
push 1
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [esp + 0x34]
push 1
mov eax, dword [ecx]
call dword [eax]
push dword [esp + 0x28]
call fcn.0041b39b
add esp, 4
push dword [esp + 0x2c]
call fcn.0041b39b
add esp, 4
push dword [esp + 0x20]
call fcn.0041b39b
add esp, 4
push dword [esp + 0x1c]
call fcn.0041b39b
add esp, 4
push edi
call fcn.0041b39b
mov eax, dword [esp + 0x228]
add esp, 4
mov dword [esp + method.FlashPlayerCPLApp::CPLAppPropertyPage_class_FlashPlayerCPLApp::AdvancedSettingsPanel_.virtual_0], vtable.FlashPlayerCPLApp::CPLAppPropertyPage_class_FlashPlayerCPLApp::AdvancedSettingsPanel_.0
test eax, eax
je 0x40abed
push eax
call fcn.0041c46b
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xa0], vtable.FlashPlayerCPLApp::CPLAppPropertyPage_class_FlashPlayerCPLApp::UpdatesSettingsPanel_.0
test eax, eax
je 0x40ac09
push eax
call fcn.0041c46b
mov eax, dword [esp + 0x1a4]
mov dword [esp + method.FlashPlayerCPLApp::CPLAppPropertyPage_class_FlashPlayerCPLApp::AdvancedSettingsPanel_.virtual_0], vtable.FlashPlayerCPLApp::CPLAppPropertyPage_class_FlashPlayerCPLApp::PlaybackSettingsPanel_.0
test eax, eax
je 0x40ac25
push eax
call fcn.0041c46b
mov eax, dword [esp + 0x12c]
mov dword [esp + method.FlashPlayerCPLApp::CPLAppPropertyPage_class_FlashPlayerCPLApp::AdvancedSettingsPanel_.virtual_0], vtable.FlashPlayerCPLApp::CPLAppPropertyPage_class_FlashPlayerCPLApp::CameraMicSettingsPanel_.0
test eax, eax
je 0x40ac41
push eax
call fcn.0041c46b
mov eax, dword [esp + 0x2a4]
mov dword [esp + method.FlashPlayerCPLApp::CPLAppPropertyPage_class_FlashPlayerCPLApp::AdvancedSettingsPanel_.virtual_0], vtable.FlashPlayerCPLApp::CPLAppPropertyPage_class_FlashPlayerCPLApp::StorageSettingsPanel_.0
test eax, eax
je 0x40ac5d
push eax
call fcn.0041c46b
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], vtable.FlashPlayerCPLApp::CPLAppPropertySheet.0
call fcn.00412720
push esi
call fcn.0041b39b
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
mov dword [eax + 4], 0
mov ecx, dword [eax]
test ecx, ecx
je 0x40ac9c
push ecx
call fcn.0041b39b
mov eax, dword [esp + 0x1c]
add esp, 4
push 8
push eax
call fcn.0041b3d3
add esp, 8
test esi, esi
je 0x40acb3
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov ecx, dword [esp + 0x24]
push 1
mov eax, dword [ecx]
call dword [eax]
test ebx, ebx
je 0x40acec
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x40acd9
push eax
call fcn.0041b39b
add esp, 4
lea ecx, [ebx + 4]
call fcn.00402290
push 0x14
push ebx
call fcn.0041b3d3
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret