Function at 0x40d9f5
Capabilities:
Accept command line arguments

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x108
mov eax, dword [0x425848]
xor eax, ebp
mov dword [ebp + 0x64], eax
push ebx
mov ebx, dword [ebp + 0x70]
push esi
push edi
mov edi, dword [ebp + 0x78]
lea eax, [ebp - 0x50]
push edi
push eax
call fcn.00402853
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 0x40], eax
push 0x140
lea eax, [ebp - 0x3c]
push eax
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push dword [ebp - 0x50]
push str.debug.log
call fcn.004029f0
push 0x7fffffff
call fcn.00401fe1
call fcn.004098cd
call fcn.004098f8
push ebx
call fcn.004051bc
call fcn.0040b956
push dword [0x4256c4]
push dword [0x4256c0]
push dword [0x4256b8]
push str._s_Version__s___s__n
call fcn.004017c6
push edi
push dword [ebp - 0x40]
push str.Cmdline__s__s_n
call fcn.004017c6
lea eax, [ebp - 0x84]
push eax
xor edi, edi
push str._Quiet
push dword [ebp - 0x40]
inc edi
mov dword [ebp - 0x48], edi
call fcn.00403aba
add esp, 0x38
cmp eax, edi
jne 0x40dab8
mov dword [ebp - 0x48], 2
call fcn.0040d182
test eax, eax
mov edi, str.winmain.c
jne 0x40dade
push 0x100
push edi
call fcn.00401130
push str.Couldnt_init_install_n
call fcn.0040180d
add esp, 0xc
push 1
push 1
lea eax, [ebp - 0x3c]
push eax
push 0x8b99f20a
call fcn.00402bbb
add esp, 0x10
test eax, eax
jne 0x40db15
push 0x103
push edi
call fcn.00401130
push dword [0x4256b8]
push str._s_has_been_corrupted__please_download_a_new_copy._n
call fcn.0040180d
add esp, 0x10
lea eax, [ebp - 0x4c]
push eax
call fcn.00401c4e
push esi
push esi
push dword [ebp - 0x4c]
lea eax, [ebp - 0x3c]
push eax
call fcn.00406a02
add esp, 0x14
test eax, eax
jne 0x40db7b
push esi
push str.The_installation_file_has_been_damaged__please_download_a_new_copy.
call fcn.0040d814
call fcn.00406a35
call fcn.0040d18d
push ebx
call fcn.0040523f
call fcn.0040bb37
call fcn.0040992a
call fcn.0040d18d
call fcn.00402051
call fcn.004010f3
push str.Successful_Exit..._n
call fcn.004017c6
add esp, 0x10
xor eax, eax
jmp 0x40ddf3
push 0x4084cd
push 0x408467
push 0x4084ef
push 0x4086c1
push 0x40866b
push str.1.00
push str.Comp2
call fcn.004069c8
push dword [ebp - 0x48]
push str.install.dat
push 0x42873c
call fcn.0040d511
add esp, 0x28
test eax, eax
jne 0x40dbd4
push 0x11d
push edi
call fcn.00401130
push str.Couldnt_load_installation_script._n
call fcn.0040180d
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
push str.Inst_Header.bmp
call fcn.004069b1
test eax, eax
pop ecx
pop ecx
jne 0x40dc00
push 0x120
push edi
call fcn.00401130
push str.Unable_to_find_header_n
call fcn.0040180d
add esp, 0xc
push 0x122
push edi
push 1
push dword [ebp - 0x44]
call fcn.00402455
push dword [ebp - 0x44]
mov dword [ebp - 0x40], eax
push eax
push str.Inst_Header.bmp
call fcn.00406996
add esp, 0x1c
test eax, eax
jne 0x40dc40
push 0x125
push edi
call fcn.00401130
push str.Unable_to_load_header_n
call fcn.0040180d
add esp, 0xc
push 0x428744
call fcn.004068b7
push dword [ebp - 0x44]
push dword [ebp - 0x40]
push dword [0x428744]
call fcn.0040668d
push 0x12b
push edi
push 1
push dword [ebp - 0x44]
push dword [ebp - 0x40]
call fcn.00402687
add esp, 0x24
push esi
push dword [0x42873c]
call fcn.0040d388
cmp dword [ebp - 0x48], 2
pop ecx
pop ecx
jne 0x40dca2
test eax, eax
jne 0x40dd97
push str.Script_failed_somewhere_n
call fcn.004017c6
mov dword [0x4256d0], esi
jmp 0x40dd96
test eax, eax
je 0x40dc8d
push 0x30
pop edi
push edi
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.0040f880
add esp, 0xc
push 0x7f00
push esi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], 0x40d858
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], esi
call dword [sym.imp.USER32.dll_LoadCursorA]
push 6
mov dword [ebp - 0x64], eax
call dword [sym.imp.USER32.dll_GetSysColorBrush]
mov dword [ebp - 0x60], eax
mov eax, dword [str.InstallGotClass]
push 0x428740
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], eax
call fcn.004092b9
pop ecx
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
test ax, ax
je 0x40db74
push esi
push ebx
push esi
push esi
mov eax, 0x80000000
push eax
push eax
push eax
push eax
push eax
push dword [0x4256b8]
mov dword [0x428738], ebx
push dword [0x4256bc]
push esi
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp eax, esi
mov dword [0x428734], eax
je 0x40db74
push esi
push esi
push 0x401
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
jmp 0x40dd7c
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
call fcn.0040d18d
push esi
push esi
push esi
lea eax, [ebp - 0xa0]
push eax
call edi
test eax, eax
jne 0x40dd5d
push 0x428740
call fcn.00409310
pop ecx
push 0x428744
call fcn.0040690d
mov dword [esp], 0x42873c
call fcn.0040d5ef
call fcn.00406a35
call fcn.0040d18d
push ebx
call fcn.0040523f
pop ecx
pop ecx
call fcn.0040bb37
call fcn.0040992a
call fcn.0040d18d
call fcn.00402051
call fcn.004010f3
push ebx
push dword [0x4256bc]
call dword [sym.imp.USER32.dll_UnregisterClassA]
push str.Successful_Exit..._n
call fcn.004017c6
xor eax, eax
pop ecx
inc eax
mov ecx, dword [ebp + 0x64]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f870
add ebp, 0x68
leave
ret 0x10