Function at 0x4037d6
Capabilities:
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40c99c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x7fc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x7ec], ecx
mov dword [ebp - 0x3b4], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x3b0], 0
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x234], 0x410710
mov byte [ebp - 0x230], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x3a8], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x3a7]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
push 1
mov eax, dword [sym.imp.MSVCIRT.dll_int_const_filebuf::openprot]
mov ecx, dword [eax]
push ecx
push 0x24
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
lea ecx, [ebp - 0x294]
call dword [sym.imp.MSVCIRT.dll_public:_void___thiscall_ifstream::constructor_char_const___int__int_]
mov dword [ebp - 4], 0
mov byte [ebp - 0x2a4], 0
xor ecx, ecx
mov dword [ebp - 0x2a3], ecx
mov dword [ebp - 0x29f], ecx
mov byte [ebp - 0x29b], cl
lea edx, [ebp - 0x2a4]
push edx
push 0
push 0
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.MSVCRT.dll__splitpath]
add esp, 0x14
push str..xml
lea edx, [ebp - 0x2a4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4038f5
mov dword [ebp - 0x24], 1
lea ecx, [ebp - 0x294]
call dword [sym.imp.MSVCIRT.dll_public:_int___thiscall_ifstream::is_open_void_const]
test eax, eax
je 0x403919
lea ecx, [ebp - 0x294]
call dword [sym.imp.MSVCIRT.dll_public:_long_int___thiscall_istream::tellg_void_]
test eax, eax
jne 0x403a53
mov byte [ebp - 0x5bc], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x5bb]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x4b8], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x4b7]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x6c0], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x6bf]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea eax, [ebp - 0x4b8]
push eax
push 0x44
mov ecx, dword [ebp - 0x7ec]
mov edx, dword [ecx + 0x3a8]
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x104
lea eax, [ebp - 0x6c0]
push eax
push 0x43
mov ecx, dword [ebp - 0x7ec]
mov edx, dword [ecx + 0x3a8]
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
push 0x41071c
lea edx, [ebp - 0x4b8]
push edx
lea eax, [ebp - 0x5bc]
push eax
call fcn.00407c9a
add esp, 0x10
mov ecx, dword [ebp - 0x7ec]
cmp dword [ecx + 0x13c], 0
je 0x4039fd
push 0x180000
lea edx, [ebp - 0x6c0]
push edx
lea eax, [ebp - 0x5bc]
push eax
mov ecx, dword [ebp - 0x7ec]
add ecx, 0x390
call fcn.0040824c
jmp 0x403a1e
push 0
lea ecx, [ebp - 0x6c0]
push ecx
lea edx, [ebp - 0x5bc]
push edx
mov ecx, dword [ebp - 0x7ec]
add ecx, 0x390
call fcn.0040824c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x7cc], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x294]
call dword [sym.imp.MSVCIRT.dll_public:_void___thiscall_ifstream::vbase_dtor_void_]
mov eax, dword [ebp - 0x7cc]
jmp 0x40467a
cmp dword [ebp - 0x24], 0
jne 0x403aa7
lea ecx, [ebp - 0x294]
call dword [sym.imp.MSVCIRT.dll_public:_long_int___thiscall_istream::tellg_void_]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
push str._ZSetupMain.LoadIniInfo__File__s_size___i_n
call fcn.00407a82
add esp, 0xc
lea ecx, [ebp - 0x294]
call dword [sym.imp.MSVCIRT.dll_public:_void___thiscall_ifstream::close_void_]
mov edx, dword [ebp - 0x1c]
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x7d0], eax
mov eax, dword [ebp - 0x7d0]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x3ac], 0x41074c
mov dword [ebp - 0x12c], 0
mov ecx, dword [ebp - 0x7ec]
mov edx, dword [ecx + 0x138]
push edx
mov ecx, dword [ebp - 0x7ec]
call fcn.00405db2
mov eax, dword [ebp - 0x7ec]
add eax, 0x178
push eax
mov ecx, dword [ebp - 0x7ec]
mov edx, dword [ecx + 0x148]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [ebp - 0x24], 0
jne 0x403ef3
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
push 0x200
mov edx, dword [ebp - 0x7ec]
mov eax, dword [edx + 0x18]
push eax
push 0x410754
push str.Name
mov ecx, dword [ebp - 0x3ac]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
push 0x104
mov ecx, dword [ebp - 0x7ec]
mov edx, dword [ecx + 0x1c]
push edx
push 0x41076c
push 0x41077c
mov eax, dword [ebp - 0x3ac]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
push 0x104
mov eax, dword [ebp - 0x20]
push eax
push 0x41078c
push str.SplashImg
mov ecx, dword [ebp - 0x3ac]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x10
push 0
push 0
push 0
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x7ec]
mov ecx, dword [eax + 0x27c]
push ecx
call dword [sym.imp.USER32.dll_LoadImageA]
mov edx, dword [ebp - 0x7ec]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
push 0x104
mov edx, dword [ebp - 0x20]
push edx
push 0x4107a0
push str.SetupImg
mov eax, dword [ebp - 0x3ac]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x10
push 0
push 0
push 0
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x7ec]
mov eax, dword [edx + 0x27c]
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
mov ecx, dword [ebp - 0x7ec]
mov dword [ecx + 8], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
push 0x104
mov ecx, dword [ebp - 0x20]
push ecx
push 0x4107b4
push str.DialogImg
mov edx, dword [ebp - 0x3ac]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x10
push 0
push 0
push 0
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x7ec]
mov edx, dword [ecx + 0x27c]
push edx
call dword [sym.imp.USER32.dll_LoadImageA]
mov ecx, dword [ebp - 0x7ec]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
push 0x104
mov ecx, dword [ebp - 0x20]
push ecx
push 0x4107c8
push 0x4107d0
mov edx, dword [ebp - 0x3ac]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x10
push 0
push 0
push 1
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x7ec]
mov edx, dword [ecx + 0x27c]
push edx
call dword [sym.imp.USER32.dll_LoadImageA]
mov ecx, dword [ebp - 0x7ec]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
push 0x104
mov ecx, dword [ebp - 0x20]
push ecx
push 0x4107d8
push str.Eula
mov edx, dword [ebp - 0x3ac]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x4107e8
mov eax, dword [ebp - 0x7ec]
mov ecx, dword [eax + 0x138]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x403d0d
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x7ec]
mov ecx, dword [eax + 0x138]
push ecx
mov edx, dword [ebp - 0x7ec]
mov eax, dword [edx + 0x2b8]
push eax
push 0x4107f0
mov ecx, dword [ebp - 0x7ec]
mov edx, dword [ecx + 0x14]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
jmp 0x403d36
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x7ec]
mov edx, dword [ecx + 0x2b8]
push edx
push 0x4107f8
mov eax, dword [ebp - 0x7ec]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
push 0x104
mov ecx, dword [ebp - 0x20]
push ecx
push str.NULL
push str.Bgcolor
mov edx, dword [ebp - 0x3ac]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x234]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00406450
add esp, 8
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x403d97
mov edx, dword [ebp - 0x12c]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [ebp - 0x7f0], eax
jmp 0x403da1
mov dword [ebp - 0x7f0], 0x9b
mov eax, dword [ebp - 0x7f0]
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x234]
push ecx
push 0
call fcn.00406450
add esp, 8
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x403de5
mov edx, dword [ebp - 0x12c]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [ebp - 0x7f4], eax
jmp 0x403def
mov dword [ebp - 0x7f4], 0x9b
mov eax, dword [ebp - 0x7f4]
mov dword [ebp - 0x3b0], eax
mov ecx, dword [ebp - 0x234]
push ecx
push 0
call fcn.00406450
add esp, 8
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x403e33
mov edx, dword [ebp - 0x12c]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [ebp - 0x7f8], eax
jmp 0x403e3d
mov dword [ebp - 0x7f8], 0x9b
mov eax, dword [ebp - 0x7f8]
mov dword [ebp - 0x298], eax
mov ecx, dword [ebp - 0x298]
and ecx, 0xff
shl ecx, 0x10
mov edx, dword [ebp - 0x3b0]
and edx, 0xff
shl edx, 8
mov eax, dword [ebp - 0x238]
and eax, 0xff
or eax, edx
or eax, ecx
mov ecx, dword [ebp - 0x7ec]
mov dword [ecx + 0x24], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
push 0
push 0x410810
mov ecx, dword [ebp - 0x3ac]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x7ec]
mov dword [edx + 0x28], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
push 0
push 0x41081c
mov edx, dword [ebp - 0x3ac]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x7ec]
mov dword [ecx + 0x2c], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
push 0x7d0
push 0x41082c
mov ecx, dword [ebp - 0x3ac]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x7ec]
mov dword [edx + 0x34], eax
jmp 0x40450a
lea ecx, [ebp - 0x294]
call dword [sym.imp.MSVCIRT.dll_public:_void___thiscall_ifstream::close_void_]
mov byte [ebp - 0x7c4], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x7c3]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x7c8], 0
push 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x7d8], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x7d8], 0
je 0x403f59
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x7d8]
call fcn.00408560
mov dword [ebp - 0x7fc], eax
jmp 0x403f63
mov dword [ebp - 0x7fc], 0
mov edx, dword [ebp - 0x7fc]
mov dword [ebp - 0x7d4], edx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x7d4]
mov dword [ebp - 0x7c8], eax
push str._ZSetupMain.LoadIniInfo__XML_loaded_n
call fcn.00407a82
add esp, 4
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x7ec]
mov edx, dword [ecx + 0x18]
push edx
push str.name
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x3ac]
push eax
push 0
mov ecx, dword [ebp - 0x7c8]
mov edx, dword [ebp - 0x7c8]
mov eax, dword [edx]
call dword [eax + 0x40]
mov ecx, dword [ebp - 0x7ec]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x403fea
push str.Installation
mov eax, dword [ebp - 0x7ec]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp - 0x7ec]
mov eax, dword [edx + 0x1c]
push eax
push str.Manufacturer
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x3ac]
push ecx
push 0
mov ecx, dword [ebp - 0x7c8]
mov edx, dword [ebp - 0x7c8]
mov eax, dword [edx]
call dword [eax + 0x40]
mov ecx, dword [ebp - 0x7ec]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x404044
push str.Zenographics
mov eax, dword [ebp - 0x7ec]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [ebp - 0x7c4]
push edx
push str.SplashIMG
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x3ac]
push eax
push 0
mov ecx, dword [ebp - 0x7c8]
mov edx, dword [ebp - 0x7c8]
mov eax, dword [edx]
call dword [eax + 0x40]
push 0x10
push 0
push 0
push 0
lea ecx, [ebp - 0x7c4]
push ecx
mov edx, dword [ebp - 0x7ec]
mov eax, dword [edx + 0x27c]
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
mov ecx, dword [ebp - 0x7ec]
mov dword [ecx + 4], eax
lea edx, [ebp - 0x7c4]
push edx
push str.SetupIMG
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x3ac]
push eax
push 0
mov ecx, dword [ebp - 0x7c8]
mov edx, dword [ebp - 0x7c8]
mov eax, dword [edx]
call dword [eax + 0x40]
push 0x10
push 0
push 0
push 0
lea ecx, [ebp - 0x7c4]
push ecx
mov edx, dword [ebp - 0x7ec]
mov eax, dword [edx + 0x27c]
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
mov ecx, dword [ebp - 0x7ec]
mov dword [ecx + 8], eax
lea edx, [ebp - 0x7c4]
push edx
push str.DialogIMG
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x3ac]
push eax
push 0
mov ecx, dword [ebp - 0x7c8]
mov edx, dword [ebp - 0x7c8]
mov eax, dword [edx]
call dword [eax + 0x40]
push 0x10
push 0
push 0
push 0
lea ecx, [ebp - 0x7c4]
push ecx
mov edx, dword [ebp - 0x7ec]
mov eax, dword [edx + 0x27c]
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
mov ecx, dword [ebp - 0x7ec]
mov dword [ecx + 0xc], eax
lea edx, [ebp - 0x7c4]
push edx
push str.AppIcon
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x3ac]
push eax
push 0
mov ecx, dword [ebp - 0x7c8]
mov edx, dword [ebp - 0x7c8]
mov eax, dword [edx]
call dword [eax + 0x40]
push 0x10
push 0
push 0
push 1
lea ecx, [ebp - 0x7c4]
push ecx
mov edx, dword [ebp - 0x7ec]
mov eax, dword [edx + 0x27c]
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
mov ecx, dword [ebp - 0x7ec]
mov dword [ecx + 0x10], eax
lea edx, [ebp - 0x7c4]
push edx
push str.EULA
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x3ac]
push eax
push 0
mov ecx, dword [ebp - 0x7c8]
mov edx, dword [ebp - 0x7c8]
mov eax, dword [edx]
call dword [eax + 0x40]
push 0x4108d0
mov ecx, dword [ebp - 0x7ec]
mov edx, dword [ecx + 0x138]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x40422d
lea eax, [ebp - 0x7c4]
push eax
mov ecx, dword [ebp - 0x7ec]
mov edx, dword [ecx + 0x138]
push edx
mov eax, dword [ebp - 0x7ec]
mov ecx, dword [eax + 0x2b8]
push ecx
push 0x4108d8
mov edx, dword [ebp - 0x7ec]
mov eax, dword [edx + 0x14]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
jmp 0x404259
lea ecx, [ebp - 0x7c4]
push ecx
mov edx, dword [ebp - 0x7ec]
mov eax, dword [edx + 0x2b8]
push eax
push 0x4108e0
mov ecx, dword [ebp - 0x7ec]
mov edx, dword [ecx + 0x14]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x7c4]
push eax
push str.BgColor
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x3ac]
push ecx
push 0
mov ecx, dword [ebp - 0x7c8]
mov edx, dword [ebp - 0x7c8]
mov eax, dword [edx]
call dword [eax + 0x40]
mov ecx, dword [ebp - 0x234]
push ecx
lea edx, [ebp - 0x7c4]
push edx
call fcn.00406450
add esp, 8
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x4042c4
mov eax, dword [ebp - 0x12c]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [ebp - 0x800], eax
jmp 0x4042ce
mov dword [ebp - 0x800], 0x9b
mov ecx, dword [ebp - 0x800]
mov dword [ebp - 0x238], ecx
mov edx, dword [ebp - 0x234]
push edx
push 0
call fcn.00406450
add esp, 8
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x404312
mov eax, dword [ebp - 0x12c]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [ebp - 0x804], eax
jmp 0x40431c
mov dword [ebp - 0x804], 0x9b
mov ecx, dword [ebp - 0x804]
mov dword [ebp - 0x3b0], ecx
mov edx, dword [ebp - 0x234]
push edx
push 0
call fcn.00406450
add esp, 8
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x404360
mov eax, dword [ebp - 0x12c]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [ebp - 0x808], eax
jmp 0x40436a
mov dword [ebp - 0x808], 0x9b
mov ecx, dword [ebp - 0x808]
mov dword [ebp - 0x298], ecx
mov edx, dword [ebp - 0x298]
and edx, 0xff
shl edx, 0x10
mov eax, dword [ebp - 0x3b0]
and eax, 0xff
shl eax, 8
mov ecx, dword [ebp - 0x238]
and ecx, 0xff
or ecx, eax
or ecx, edx
mov edx, dword [ebp - 0x7ec]
mov dword [edx + 0x24], ecx
lea eax, [ebp - 0x7c4]
push eax
push str.ShowSplash
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x3ac]
push ecx
push 0
mov ecx, dword [ebp - 0x7c8]
mov edx, dword [ebp - 0x7c8]
mov eax, dword [edx]
call dword [eax + 0x40]
lea ecx, [ebp - 0x7c4]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov edx, dword [ebp - 0x7ec]
mov dword [edx + 0x28], eax
lea eax, [ebp - 0x7c4]
push eax
push str.ShowBackground
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x3ac]
push ecx
push 0
mov ecx, dword [ebp - 0x7c8]
mov edx, dword [ebp - 0x7c8]
mov eax, dword [edx]
call dword [eax + 0x40]
lea ecx, [ebp - 0x7c4]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov edx, dword [ebp - 0x7ec]
mov dword [edx + 0x2c], eax
lea eax, [ebp - 0x7c4]
push eax
push str.SplashTimeout
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x3ac]
push ecx
push 0
mov ecx, dword [ebp - 0x7c8]
mov edx, dword [ebp - 0x7c8]
mov eax, dword [edx]
call dword [eax + 0x40]
lea ecx, [ebp - 0x7c4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x404494
lea edx, [ebp - 0x7c4]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov ecx, dword [ebp - 0x7ec]
mov dword [ecx + 0x34], eax
jmp 0x4044a1
mov edx, dword [ebp - 0x7ec]
mov dword [edx + 0x34], 0x7d0
jmp 0x4044bd
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x7c8]
mov dword [ebp - 0x7e0], eax
mov ecx, dword [ebp - 0x7e0]
mov dword [ebp - 0x7dc], ecx
cmp dword [ebp - 0x7dc], 0
je 0x404500
push 1
mov ecx, dword [ebp - 0x7dc]
mov edx, dword [ebp - 0x7dc]
mov eax, dword [edx]
call dword [eax + 0x18]
mov dword [ebp - 0x80c], eax
jmp 0x40450a
mov dword [ebp - 0x80c], 0
mov ecx, dword [ebp - 0x7ec]
cmp dword [ecx + 8], 0
jne 0x40453c
push 0x40
push 0
push 0
push 0
push 0x75
mov edx, dword [ebp - 0x7ec]
mov eax, dword [edx + 0x3a8]
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
mov ecx, dword [ebp - 0x7ec]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x7ec]
cmp dword [edx + 0xc], 0
jne 0x40456e
push 0x40
push 0
push 0
push 0
push 0x74
mov eax, dword [ebp - 0x7ec]
mov ecx, dword [eax + 0x3a8]
push ecx
call dword [sym.imp.USER32.dll_LoadImageA]
mov edx, dword [ebp - 0x7ec]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x7ec]
cmp dword [eax + 0x10], 0
jne 0x4045a0
push 0x40
push 0
push 0
push 1
push 0x6f
mov ecx, dword [ebp - 0x7ec]
mov edx, dword [ecx + 0x3a8]
push edx
call dword [sym.imp.USER32.dll_LoadImageA]
mov ecx, dword [ebp - 0x7ec]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0x7ec]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [edx + 0x160], ecx
mov edx, dword [ebp - 0x7ec]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [edx + 0x168], ecx
mov byte [ebp - 0x128], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x127]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x18], 0
xor edx, edx
mov dword [ebp - 0x17], edx
push 0x104
lea eax, [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x7ec]
mov edx, dword [ecx + 0x27c]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x7ec]
mov edx, dword [ecx]
push edx
push 0
push 0
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.MSVCRT.dll__splitpath]
add esp, 0x14
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x7ec]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp dword [ebp - 0x24], 0
jne 0x404657
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x7e4], ecx
mov edx, dword [ebp - 0x7e4]
push edx
call fcn.0040c57c
add esp, 4
mov dword [ebp - 0x7e8], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x294]
call dword [sym.imp.MSVCIRT.dll_public:_void___thiscall_ifstream::vbase_dtor_void_]
mov eax, dword [ebp - 0x7e8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4