Function at 0x408a30
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x497cca
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x4d01d4]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d01d4]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x188]
call fcn.004104d0
mov esi, eax
push str.CCInit
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x408a97
push 0
push 0
push 0
push 2
call eax
test al, al
jne 0x408aa2
test esi, esi
je 0x408aa2
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0x15c]
call fcn.0048d350
mov dword [esp + 0x180], 0
call fcn.00409ef0
call fcn.00401290
call fcn.00408770
test al, al
je 0x408f2a
call fcn.00403860
mov al, byte [eax + 4]
mov byte [esp + 0x14], al
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00405530
test al, al
je 0x408f2a
push 0
call fcn.00409110
mov ecx, eax
call fcn.00489a70
push 1
call sub.dtldrvcheck.dll_FCBegin
call fcn.0040b3a0
push 0
push str.languages
call fcn.0040acc0
push eax
call fcn.0040b930
add esp, 0xc
mov ebx, str.UserConfig.dat
lea ecx, [esp + 0x18]
call fcn.00401a30
mov byte [esp + 0x180], 1
push 0
mov ecx, eax
call fcn.0048cdb0
push eax
call fcn.004715de
add esp, 8
cmp eax, 0xffffffff
sete bl
mov byte [esp + 0x180], 0
lea ecx, [esp + 0x18]
call fcn.0048cfe0
test bl, bl
je 0x408c00
mov ebx, 0x49f68c
lea ecx, [esp + 0x34]
call fcn.00401a30
mov edi, eax
mov byte [esp + 0x180], 2
lea edx, [esp + 0x18]
push str.DtlConfig
push edx
call fcn.0048a530
add esp, 8
mov byte [esp + 0x180], 3
mov ebx, 8
cmp dword [eax + 0x18], ebx
jb 0x408bac
mov esi, dword [eax + 4]
jmp 0x408baf
lea esi, [eax + 4]
mov ecx, edi
call fcn.0048cdb0
push eax
push esi
call fcn.00401440
add esp, 8
mov byte [esp + 0x180], 2
cmp dword [esp + 0x30], ebx
jb 0x408bdb
mov eax, dword [esp + 0x1c]
push eax
call fcn.00471099
add esp, 4
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], eax
mov word [esp + 0x1c], cx
mov byte [esp + 0x180], al
lea ecx, [esp + 0x34]
call fcn.0048cfe0
call fcn.00403860
push 1
push 0
lea ecx, [eax + 0xc]
call fcn.0048bff0
call fcn.0040f940
lea ecx, [esp + 0x158]
call fcn.0048cdb0
push eax
xor ecx, ecx
call section..text
push ebp
call dword [sym.imp.DTLUI.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetInstance_struct_HINSTANCE____]
lea edx, [esp + 0x58]
push edx
call dword [sym.imp.DTLUI.dll_public:_static_class_DuiLib::CDuiString___cdecl_DuiLib::CPaintManagerUI::GetInstancePath_void_]
add esp, 0xc
mov ebx, 4
mov byte [esp + 0x180], bl
push str.skin_
lea ecx, [esp + 0xd8]
push ecx
mov ecx, eax
call dword [sym.imp.DTLUI.dll_public:_class_DuiLib::CDuiString___thiscall_DuiLib::CDuiString::operator_wchar_t_const__]
mov byte [esp + 0x180], 5
mov ecx, eax
call dword [sym.imp.DTLUI.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
push eax
call dword [sym.imp.DTLUI.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourcePath_wchar_t_const__]
add esp, 4
mov byte [esp + 0x180], bl
mov esi, dword [sym.imp.DTLUI.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
lea ecx, [esp + 0xd4]
call esi
mov byte [esp + 0x180], 0
lea ecx, [esp + 0x50]
call esi
call fcn.00408270
push 0x33c
call fcn.004710bf
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x180], 6
test eax, eax
je 0x408cca
push eax
call fcn.00448740
mov ebp, eax
jmp 0x408ccc
xor ebp, ebp
mov byte [esp + 0x180], 0
test ebp, ebp
je 0x408f4e
mov edx, dword [ebp]
mov eax, dword [edx + 0x88]
push 1
push 0x4a1b98
push 0x87
push 0x49f68c
push 2
mov ecx, ebp
call eax
push 1
push str.Skin
call fcn.0040acc0
add esp, 8
cmp eax, 1
jl 0x408d14
cmp eax, ebx
jbe 0x408d19
mov eax, 1
mov ecx, ebp
call fcn.0044c950
mov edx, dword [ebp]
mov eax, dword [edx + 0x1c]
push str.driverlife_xmlmain_frame.xml
mov ecx, ebp
call eax
mov edx, dword [ebp]
push pe_nt_image_headers32
push 0x800a0000
lea eax, [ebp + 0x2ec]
push eax
mov eax, dword [edx + 0x20]
push str.DriverTheLife6
push 0
mov ecx, ebp
call eax
mov esi, str.STR_MAIN_TITLE
lea edi, [esp + 0x34]
call fcn.0040ba70
mov byte [esp + 0x180], 7
mov ecx, eax
call fcn.0048cdb0
push eax
mov ecx, ebp
call dword [sym.imp.DTLUI.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov byte [esp + 0x180], 0
mov ecx, edi
call fcn.0048cfe0
mov ecx, ebp
call dword [sym.imp.DTLUI.dll_public:_void___thiscall_DuiLib::CWindowWnd::CenterWindow_void_]
call fcn.0046dba0
test al, al
jne 0x408dca
call fcn.00403860
cmp byte [eax + 4], 0
je 0x408dca
push str.IsAutoStart_true_r_n
push 0x14e
push str..DriveTheLife.cpp
push 8
call fcn.0048ccc0
push eax
call fcn.0048c3e0
add esp, 0x14
jmp 0x408e11
push str.post_UM_SETFOREGROUNDWINDOW_r_n
push 0x147
push str..DriveTheLife.cpp
push 8
call fcn.0048ccc0
push eax
call fcn.0048c3e0
mov esi, dword [sym.imp.DTLUI.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
add esp, 0x14
push 0
push 0xf120
push 0x112
mov ecx, ebp
call esi
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, ebp
call esi
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
call dword [sym.imp.DTLUI.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::MessageLoop_void_]
mov edx, dword [ebp]
mov eax, dword [edx + 0x18]
push 1
mov ecx, ebp
call eax
call dword [sym.imp.DTLUI.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::Term_void_]
call fcn.004082b0
call dword [sym.imp.DTLUI.dll_public:_static_void___cdecl_DuiLib::WindowImplBaseNew::Cleanup_void_]
call fcn.00410c20
call fcn.004107e0
mov eax, dword [0x4e02b4]
test eax, eax
je 0x408e49
call eax
call fcn.00411cd0
call fcn.00403860
cmp byte [eax + 6], 0
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x408ec5
push str.MOD_INST_CGlobalDataCon___IsReadyUpdate___r_n
push 0x161
push str..DriveTheLife.cpp
push 8
call fcn.0048ccc0
push eax
call fcn.0048c3e0
add esp, 0x14
push str.Global8D6548A4_B231_41eb_B4D8_0A4121FB033Bdtl2013
push 1
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov esi, eax
test esi, esi
je 0x408ed5
push str.MOD_INST_CGlobalDataCon___IsReadyUpdate___OpenSemaphore_succ_r_n
push 0x165
push str..DriveTheLife.cpp
push 8
call fcn.0048ccc0
push eax
call fcn.0048c3e0
add esp, 0x14
push 0
push 1
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
push esi
call edi
jmp 0x408ed5
call fcn.00403860
cmp byte [eax + 7], 0
je 0x408ed5
call fcn.00402330
mov eax, dword [0x4e567c]
test eax, eax
je 0x408ee1
push eax
call edi
push str.g_singleton.UnInit__
push 0x173
push str..DriveTheLife.cpp
push 8
mov dword [0x4e567c], 0
call fcn.0048ccc0
push eax
call fcn.0048c3e0
add esp, 0x14
call fcn.00403860
mov eax, dword [0x4e0264]
test eax, eax
je 0x408f1e
push eax
call fcn.004090b0
push str.CGlobalDataCon::Destroy___r_n
push 0x177
jmp 0x408f34
push str._IsNeedStartApp___exit_r_n
push 0x111
push str..DriveTheLife.cpp
push 8
call fcn.0048ccc0
push eax
call fcn.0048c3e0
add esp, 0x14
call fcn.0048c1f0
mov dword [esp + 0x180], 0xffffffff
lea ecx, [esp + 0x158]
call fcn.0048cfe0
xor eax, eax
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.00470f4c
add esp, 0x170
ret 0x10