Function at 0x4097be
Capabilities:
Check for time delay via gettickcount
Check if file exists
Create process on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e8
push ebx
push esi
mov esi, ecx
push edi
push 1
xor edi, edi
lea eax, [esi + 0x429]
pop ecx
cmp eax, edi
mov dword [esi + 0x338], ecx
mov dword [ebp - 0x24], eax
je 0x4097e6
mov dword [eax], ecx
cmp dword [esi + 0x42d], edi
je 0x40982a
cmp dword [esi + 0x425], edi
je 0x40982a
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], edi
push eax
push edi
push esi
push 0x408c2a
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
je 0x409817
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Waiting_for_Internet_Connection
lea ecx, [esi + 0x388]
call fcn.004147e0
mov eax, dword [ebp - 0x24]
cmp dword [esi + 0x425], edi
lea ebx, [esi + 0x425]
je 0x409854
jmp 0x40983d
mov eax, dword [ebp - 0x24]
cmp dword [esi + 0x118], edi
jl 0x409925
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebx], edi
jne 0x40983a
mov ecx, dword [esi + 0x36c]
lea ebx, [esi + 0x36c]
cmp ecx, edi
je 0x40986b
call fcn.00402788
mov dword [ebx], edi
lea ecx, [esi + 0x388]
lea ebx, [esi + 0x390]
push str.Installing
mov dword [esi + 0x42d], edi
mov dword [esi + 0x398], edi
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x10c], ebx
call fcn.004147e0
push eax
mov ecx, ebx
call fcn.00414770
lea ecx, [esi + 0x11c]
push 1
mov dword [ebp - 0x28], ecx
call fcn.00404326
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x18], edi
call fcn.00415140
mov ebx, dword [esi + 0x3fb]
cmp ebx, dword [esi + 0x3ff]
je 0x409997
lea edi, [ebx + 0x37]
cmp dword [edi - 0x2b], 0
je 0x40996b
lea ecx, [edi + 0x29]
call fcn.00414740
test eax, eax
jbe 0x40996b
cmp byte [edi + 0x10], 0xff
lea eax, [edi + 9]
jne 0x4098fc
mov eax, dword [edi + 9]
push str.main
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x409934
lea eax, [edi - 0x2f]
lea ecx, [ebp - 0xbc]
push eax
call fcn.004152b0
mov dword [ebp - 0x30], 1
jmp 0x40996b
cmp eax, edi
je 0x40aab9
mov dword [eax], edi
jmp 0x40aab9
cmp byte [edi], 0xff
lea eax, [edi - 7]
jne 0x40993f
mov eax, dword [edi - 7]
push 0x43f5e4
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
test eax, eax
pop ecx
je 0x409959
lea eax, [edi - 0x2f]
mov dword [ebp - 0x18], eax
jmp 0x40996b
inc dword [ebp - 0x1c]
lea eax, [edi - 0x2f]
push eax
lea ecx, [ebp - 0xbc]
call fcn.00415270
mov eax, 0x80
add ebx, eax
add edi, eax
cmp ebx, dword [esi + 0x3ff]
jne 0x4098da
cmp dword [ebp - 0x18], 0
je 0x409997
push dword [ebp - 0x18]
inc dword [ebp - 0x1c]
lea ecx, [ebp - 0xbc]
call fcn.004152b0
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x409a68
cmp byte [esi + 0x47], 0xff
lea eax, [esi + 0x40]
jne 0x4099ad
mov eax, dword [eax]
push eax
call ecx
test eax, eax
pop ecx
jne 0x409a68
mov eax, dword [esi + 0x37c]
push 1
pop edi
cmp eax, edi
jb 0x409a41
push eax
lea eax, [ebp - 0x80]
push 0x2c
push eax
lea ecx, [esi + 0x84]
call fcn.00414910
lea eax, [ebp - 0x80]
lea ecx, [esi + 0x408]
push eax
call fcn.0040bb61
add eax, 4
push 3
push eax
lea eax, [ebp - 0x78]
push str.actioncancelvalue
push eax
call fcn.00414890
add esp, 0xc
mov ecx, esi
push eax
call fcn.00405549
lea ecx, [ebp - 0x78]
call fcn.004146c0
push str.actionpageviewvaluecancel
lea ecx, [ebp - 0x88]
call fcn.004146d0
lea eax, [ebp - 0x88]
push 0x14
push eax
mov ecx, esi
call fcn.00405549
lea ecx, [ebp - 0x88]
call fcn.004146c0
lea ecx, [ebp - 0x80]
call fcn.004146c0
mov ecx, dword [ebp - 0x28]
push 0
mov dword [esi + 0x374], edi
mov dword [esi + 0x118], 0x8000aaa3
call fcn.00404326
mov ecx, dword [ebp - 0x28]
call fcn.00404349
jmp 0x40aaa4
mov ecx, esi
call fcn.00405e03
and dword [ebp - 0x18], 0
mov ebx, dword [sym.imp.MSVCRT.dll_fprintf]
mov edi, 0x441880
lea eax, [ebp - 0xbc]
neg eax
sbb eax, eax
and eax, dword [ebp - 0xac]
cmp dword [ebp - 0x18], eax
jge 0x40a858
cmp dword [esi + 0x118], 0
jl 0x40a858
mov eax, dword [esi + 0x398]
push dword [ebp - 0x18]
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x2c], eax
call fcn.004154b0
push eax
lea ecx, [ebp - 0xbc]
call fcn.00415380
mov eax, dword [eax]
mov dword [ebp - 4], eax
add eax, 0x38
cmp byte [eax + 7], 0xff
mov eax, dword [ebp - 4]
je 0x409add
add eax, 0x38
jmp 0x409ae2
add eax, 0x38
mov eax, dword [eax]
push str.main
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x409b0f
lea eax, [ebp - 0xbc]
neg eax
sbb eax, eax
and eax, dword [ebp - 0xac]
dec eax
neg eax
sbb eax, eax
and al, 0xec
add eax, 0x64
jmp 0x409b31
fild dword [ebp - 0x1c]
cmp dword [ebp - 0x30], 0
fdivr dword [0x4395b8]
je 0x409b26
fmul dword [0x4395b4]
jmp 0x409b2c
fmul dword [0x4395a8]
call sub.MSVCRT.dll__ftol
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x40a81e
add eax, 0x38
cmp byte [eax + 7], 0xff
jne 0x409b4c
mov eax, dword [eax]
push str.main
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x409c14
push str.clean
lea ecx, [ebp - 0xfc]
call fcn.004146d0
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jbe 0x409b83
push str.under
jmp 0x409b8c
test eax, eax
jbe 0x409b97
push str.over
lea ecx, [ebp - 0xfc]
call fcn.004147e0
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0xfc]
push 0
add eax, 0x28
push ecx
push str.installtype
mov dword [ebp - 0x70], eax
push eax
lea eax, [ebp - 0x194]
push str.actioninstallerstartedvalue
push eax
call fcn.00414890
add esp, 0xc
push eax
lea eax, [ebp - 0x184]
push eax
call fcn.00414850
add esp, 0xc
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00414810
add esp, 0xc
mov ecx, esi
push eax
call fcn.00405549
lea ecx, [ebp - 0x154]
call fcn.004146c0
lea ecx, [ebp - 0x184]
call fcn.004146c0
lea ecx, [ebp - 0x194]
call fcn.004146c0
lea ecx, [ebp - 0xfc]
jmp 0x409c42
mov eax, dword [ebp - 4]
push 0
add eax, 0x28
mov dword [ebp - 0x70], eax
push eax
lea eax, [ebp - 0x1a4]
push str.actioninstallerstartedvalue
push eax
call fcn.00414890
add esp, 0xc
mov ecx, esi
push eax
call fcn.00405549
lea ecx, [ebp - 0x1a4]
call fcn.004146c0
push edi
lea ecx, [ebp - 0xcc]
call fcn.004146d0
mov eax, dword [ebp - 4]
add eax, 0x40
mov dword [ebp - 8], eax
cmp byte [eax + 7], 0xff
jne 0x409c64
mov eax, dword [eax]
push 0x43ed10
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x409f6c
lea eax, [esi + 0x38]
lea ecx, [ebp - 0x14c]
push eax
call fcn.00414640
lea eax, [ebp - 0x14c]
push str.rnsetup.cfg
push eax
lea eax, [ebp - 0x1bc]
push eax
call fcn.00414850
add esp, 0xc
cmp byte [eax + 7], 0xff
jne 0x409cab
mov eax, dword [eax]
push 0x43ea90
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
pop ecx
mov dword [ebp - 0x14], eax
pop ecx
lea ecx, [ebp - 0x1bc]
call fcn.004146c0
lea ecx, [ebp - 0x14c]
call fcn.004146c0
cmp dword [ebp - 0x14], 0
je 0x409dd9
push str.StubInstall1_r_n
push dword [ebp - 0x14]
call ebx
pop ecx
pop ecx
push str.AlwaysUseDefInstallPath1_r_n
push dword [ebp - 0x14]
call ebx
mov edi, dword [esi + 0x3c8]
pop ecx
cmp edi, dword [esi + 0x3cc]
pop ecx
je 0x409d4c
lea eax, [edi + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push 0
call fcn.00414ce0
push eax
push 0
mov ecx, edi
call fcn.00414ce0
push eax
push str._s_s_r_n
push dword [ebp - 0x14]
call ebx
mov ecx, dword [ebp - 8]
add esp, 0x10
push 0xffffffffffffffff
call fcn.00414d20
push 0xffffffffffffffff
mov ecx, edi
call fcn.00414d20
add dword [ebp - 8], 0x10
add edi, 0x10
cmp edi, dword [esi + 0x3cc]
jne 0x409d08
push dword [ebp - 0x14]
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
lea eax, [esi + 0x38]
push eax
lea ecx, [ebp - 0x12c]
call fcn.00414640
lea eax, [ebp - 0x12c]
push str.rnsetup.cfg
push eax
push str.__cfg
lea ecx, [ebp - 0x1c4]
call fcn.004146d0
push eax
lea eax, [ebp - 0x16c]
push eax
call fcn.00414810
add esp, 0xc
push eax
lea eax, [ebp - 0x19c]
push eax
call fcn.00414850
add esp, 0xc
lea ecx, [ebp - 0xcc]
push eax
call fcn.00414770
lea ecx, [ebp - 0x19c]
call fcn.004146c0
lea ecx, [ebp - 0x16c]
call fcn.004146c0
lea ecx, [ebp - 0x1c4]
call fcn.004146c0
lea ecx, [ebp - 0x12c]
call fcn.004146c0
mov eax, dword [ebp - 4]
push str..manifest
add eax, 0x58
push eax
lea eax, [ebp - 0x17c]
push eax
call fcn.00414850
add esp, 0xc
cmp byte [eax + 7], 0xff
jne 0x409dfc
mov eax, dword [eax]
push 0x43ea90
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
pop ecx
mov edi, eax
pop ecx
lea ecx, [ebp - 0x17c]
call fcn.004146c0
test edi, edi
je 0x40a494
push str.__xml_version_1.0__encoding_UTF_8__standalone_yes____r_n
push edi
call ebx
pop ecx
pop ecx
push str._assembly_xmlns_urn:schemas_microsoft_com:asm.v1__manifestVersion_1.0___r_n
push edi
call ebx
pop ecx
pop ecx
push str._t_assemblyIdentity_r_n
push edi
call ebx
pop ecx
pop ecx
push str._t____version_1.0.0.0__r_n
push edi
call ebx
pop ecx
pop ecx
push str._t____processorArchitecture_X86__r_n
push edi
call ebx
pop ecx
pop ecx
push str._t____name_rnmininst.exe__r_n
push edi
call ebx
pop ecx
pop ecx
push str._t____type_win32__r_n
push edi
call ebx
pop ecx
pop ecx
push str._t___r_n
push edi
call ebx
pop ecx
pop ecx
push str._t_description_RealPlayer_Installer__description__r_n
push edi
call ebx
pop ecx
pop ecx
push str._t_dependency__r_n
push edi
call ebx
pop ecx
pop ecx
push str._t_____dependentAssembly__r_n
push edi
call ebx
pop ecx
pop ecx
push str._t_________assemblyIdentity_r_n
push edi
call ebx
pop ecx
pop ecx
push str._t____________type_win32__r_n
push edi
call ebx
pop ecx
pop ecx
push str._t____________name_Microsoft.Windows.Common_Controls__r_n
push edi
call ebx
pop ecx
pop ecx
push str._t____________version_6.0.0.0__r_n
push edi
call ebx
pop ecx
pop ecx
push str._t____________processorArchitecture_X86__r_n
push edi
call ebx
pop ecx
pop ecx
push str._t____________publicKeyToken_6595b64144ccf1df__r_n
push edi
call ebx
pop ecx
pop ecx
push str._t____________language___r_n
push edi
call ebx
pop ecx
pop ecx
push str._t___________r_n
push edi
call ebx
pop ecx
pop ecx
push str._t______dependentAssembly__r_n
push edi
call ebx
pop ecx
pop ecx
push str._t__dependency__r_n
push edi
call ebx
pop ecx
pop ecx
push str._t_trustInfo_xmlns_urn:schemas_microsoft_com:asm.v3___r_n
push edi
call ebx
pop ecx
pop ecx
push str._t_t_security__r_n
push edi
call ebx
pop ecx
pop ecx
push str._t_t_t_requestedPrivileges__r_n
push edi
call ebx
pop ecx
pop ecx
push str._t_t_t_t_requestedExecutionLevel_r_n
push edi
call ebx
pop ecx
pop ecx
push str._t_t_t_t_tlevel_requireAdministrator__r_n
push edi
call ebx
pop ecx
pop ecx
push str._t_t_t_t_tuiAccess_false__r_n
push edi
call ebx
pop ecx
pop ecx
push str._t_t_t_t___r_n
push edi
call ebx
pop ecx
pop ecx
push str._t_t_t__requestedPrivileges__r_n
push edi
call ebx
pop ecx
pop ecx
push str._t_t__security__r_n
push edi
call ebx
pop ecx
pop ecx
push str._t__trustInfo__r_n
push edi
call ebx
pop ecx
pop ecx
push str.__assembly__r_n
push edi
call ebx
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0xc
jmp 0x40a494
mov eax, dword [ebp - 8]
cmp byte [eax + 7], 0xff
jne 0x409f77
mov eax, dword [eax]
push 0x43f5e4
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x40a499
push str.location
lea ecx, [ebp - 0x13c]
call fcn.004146d0
lea eax, [ebp - 0x13c]
lea ecx, [esi + 0x3d5]
push eax
call fcn.0040ba66
push eax
lea ecx, [ebp - 0x78]
call fcn.00414640
lea ecx, [ebp - 0x13c]
call fcn.004146c0
push str.gender
lea ecx, [ebp - 0x144]
call fcn.004146d0
lea eax, [ebp - 0x144]
lea ecx, [esi + 0x3d5]
push eax
call fcn.0040ba66
push eax
lea ecx, [ebp - 0x80]
call fcn.00414640
lea ecx, [ebp - 0x144]
call fcn.004146c0
push 0x43eae8
lea ecx, [ebp - 0x134]
call fcn.004146d0
lea eax, [ebp - 0x134]
lea ecx, [esi + 0x3d5]
push eax
call fcn.0040ba66
push eax
lea ecx, [ebp - 0x104]
call fcn.00414640
lea ecx, [ebp - 0x134]
call fcn.004146c0
push edi
lea ecx, [ebp - 0xe4]
call fcn.004146d0
push edi
lea ecx, [ebp - 0xf4]
call fcn.004146d0
push edi
lea ecx, [ebp - 0xd4]
call fcn.004146d0
push edi
lea ecx, [ebp - 0xc4]
call fcn.004146d0
push edi
lea ecx, [ebp - 0xec]
call fcn.004146d0
push edi
lea ecx, [ebp - 0xa8]
call fcn.004146d0
push edi
lea ecx, [ebp - 0xdc]
call fcn.004146d0
lea ecx, [ebp - 0x1e4]
call fcn.00404353
lea ecx, [ebp - 0x11c]
call fcn.00404d6b
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x1ac]
push str.http:__desktopfw.weather.com_search_search__where
push eax
call fcn.00414890
add esp, 0xc
cmp byte [eax + 7], 0xff
jne 0x40a0bb
mov eax, dword [eax]
push 1
xor edi, edi
push dword [esi + 0x10]
lea ecx, [ebp - 0x1e4]
push edi
push eax
lea eax, [ebp - 0x11c]
push eax
push edi
push edi
call fcn.004044bd
lea ecx, [ebp - 0x1ac]
call fcn.004146c0
lea ecx, [ebp - 0x11c]
call fcn.00404df9
lea ecx, [ebp - 0x11c]
call fcn.00404dfd
lea ecx, [ebp - 0xa8]
mov dword [ebp - 8], eax
push ecx
push 0x22
push str._loc_id_
push eax
call fcn.00413c70
add esp, 0x10
test eax, eax
je 0x40a227
lea eax, [ebp - 0xdc]
push eax
push 0x22
push str._type_
push dword [ebp - 8]
call fcn.00413c70
add esp, 0x10
test eax, eax
je 0x40a227
lea eax, [ebp - 0xa8]
push str._eloc
push eax
lea eax, [ebp - 0x1b4]
push str.http:__desktopfw.weather.com_weather_local_
push eax
call fcn.00414890
add esp, 0xc
push eax
lea eax, [ebp - 0x18c]
push eax
call fcn.00414850
add esp, 0xc
cmp byte [eax + 7], 0xff
jne 0x40a174
mov eax, dword [eax]
push 1
lea ecx, [ebp - 0x1e4]
push dword [esi + 0x10]
push edi
push eax
lea eax, [ebp - 0x11c]
push eax
push edi
push edi
call fcn.004044bd
lea ecx, [ebp - 0x18c]
call fcn.004146c0
lea ecx, [ebp - 0x1b4]
call fcn.004146c0
lea ecx, [ebp - 0x11c]
call fcn.00404df9
lea ecx, [ebp - 0x11c]
call fcn.00404dfd
mov edi, eax
lea eax, [ebp - 0xe4]
push eax
push 0x3c
push str._dnam_
push edi
call fcn.00413c70
lea eax, [ebp - 0xf4]
push eax
push 0x3c
push str._st_
push edi
call fcn.00413c70
lea eax, [ebp - 0xd4]
push eax
push 0x3c
push str._ctry_
push edi
call fcn.00413c70
lea eax, [ebp - 0xc4]
push eax
push 0x3c
push str._zip_
push edi
call fcn.00413c70
add esp, 0x40
lea eax, [ebp - 0xec]
push eax
push 0x3c
push str._dma_
push edi
call fcn.00413c70
add esp, 0x10
mov al, byte [0x441880]
push 0x40
mov byte [ebp - 0x2e8], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x2e7]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x2e8]
push eax
call fcn.0040aac0
test eax, eax
pop ecx
je 0x40a416
lea eax, [ebp - 0x2e8]
push str.apps.ini
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x2e8]
push 0x43ea90
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
add esp, 0x10
test edi, edi
je 0x40a416
push str._SoftwareThe_Weather_ChannelFrameworkUserProfile__r_n
push edi
call ebx
pop ecx
pop ecx
lea ecx, [ebp - 0x104]
call fcn.00414740
test eax, eax
jbe 0x40a2d4
push 0
lea eax, [ebp - 0x15c]
push 2
push eax
lea ecx, [ebp - 0x104]
call fcn.00415000
mov ecx, eax
call fcn.00414ce0
push eax
push str.yob_s_r_n
push edi
call ebx
add esp, 0xc
lea ecx, [ebp - 0x15c]
call fcn.004146c0
lea ecx, [ebp - 0x80]
call fcn.00414740
test eax, eax
jbe 0x40a2f6
push 0
lea ecx, [ebp - 0x80]
call fcn.00414ce0
push eax
push str.gender_s_r_n
push edi
call ebx
add esp, 0xc
lea ecx, [ebp - 0xa8]
call fcn.00414740
test eax, eax
jbe 0x40a31e
push 0
lea ecx, [ebp - 0xa8]
call fcn.00414ce0
push eax
push str.locID_s_r_n
push edi
call ebx
add esp, 0xc
lea ecx, [ebp - 0xdc]
call fcn.00414740
test eax, eax
jbe 0x40a346
push 0
lea ecx, [ebp - 0xdc]
call fcn.00414ce0
push eax
push str.locType_s_r_n
push edi
call ebx
add esp, 0xc
lea ecx, [ebp - 0xe4]
call fcn.00414740
test eax, eax
jbe 0x40a36e
push 0
lea ecx, [ebp - 0xe4]
call fcn.00414ce0
push eax
push str.locDisplayName_s_r_n
push edi
call ebx
add esp, 0xc
lea ecx, [ebp - 0xf4]
call fcn.00414740
test eax, eax
jbe 0x40a396
push 0
lea ecx, [ebp - 0xf4]
call fcn.00414ce0
push eax
push str.locState_s_r_n
push edi
call ebx
add esp, 0xc
lea ecx, [ebp - 0xd4]
call fcn.00414740
test eax, eax
jbe 0x40a3be
push 0
lea ecx, [ebp - 0xd4]
call fcn.00414ce0
push eax
push str.locCountry_s_r_n
push edi
call ebx
add esp, 0xc
lea ecx, [ebp - 0xc4]
call fcn.00414740
test eax, eax
jbe 0x40a3e6
push 0
lea ecx, [ebp - 0xc4]
call fcn.00414ce0
push eax
push str.locZip_s_r_n
push edi
call ebx
add esp, 0xc
lea ecx, [ebp - 0xec]
call fcn.00414740
test eax, eax
jbe 0x40a40e
push 0
lea ecx, [ebp - 0xec]
call fcn.00414ce0
push eax
push str.locDMA_s_r_n
push edi
call ebx
add esp, 0xc
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
lea ecx, [ebp - 0x11c]
call fcn.00404d9b
lea ecx, [ebp - 0x1e4]
call fcn.00404378
lea ecx, [ebp - 0xdc]
call fcn.004146c0
lea ecx, [ebp - 0xa8]
call fcn.004146c0
lea ecx, [ebp - 0xec]
call fcn.004146c0
lea ecx, [ebp - 0xc4]
call fcn.004146c0
lea ecx, [ebp - 0xd4]
call fcn.004146c0
lea ecx, [ebp - 0xf4]
call fcn.004146c0
lea ecx, [ebp - 0xe4]
call fcn.004146c0
lea ecx, [ebp - 0x104]
call fcn.004146c0
lea ecx, [ebp - 0x80]
call fcn.004146c0
lea ecx, [ebp - 0x78]
call fcn.004146c0
mov edi, 0x441880
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x58]
call fcn.00414740
test eax, eax
jbe 0x40a805
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xcc]
push eax
mov eax, dword [ebp - 4]
add eax, 0x60
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00414810
add esp, 0xc
xor eax, eax
lea edi, [ebp - 0x68]
push 0xe
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x124]
mov dword [ebp - 0x6c], 0x3c
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 4]
add eax, 0x58
mov dword [ebp - 0x68], 0x40
mov dword [ebp - 0x60], str.open
cmp byte [eax + 7], 0xff
je 0x40a511
mov edi, dword [ebp - 4]
lea eax, [edi + 0x58]
mov dword [ebp - 0x5c], eax
jmp 0x40a51f
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 4]
add eax, 0x58
mov eax, dword [eax]
mov dword [ebp - 0x5c], eax
cmp byte [ebp - 0x89], 0xff
lea eax, [ebp - 0x90]
jne 0x40a534
mov eax, dword [ebp - 0x90]
and dword [ebp - 0x54], 0
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x50], 1
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x40a826
push 0x3e8
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40a6e3
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [ebp - 4]
add eax, 0x38
cmp byte [eax + 7], 0xff
jne 0x40a581
mov eax, dword [eax]
push str.main
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x40a69d
mov eax, dword [ebp - 4]
add eax, 0x40
cmp byte [eax + 7], 0xff
jne 0x40a5a4
mov eax, dword [eax]
push 0x43ed10
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x40a69d
lea ecx, [ebp - 0xa0]
call fcn.00414590
lea eax, [ebp - 0xa0]
push eax
push str.SoftwareRealNetworksSetupPercentInstall
push SysReAllocStringLen
call fcn.0041341c
add esp, 0xc
test eax, eax
je 0x40a623
cmp byte [ebp - 0x99], 0xff
lea eax, [ebp - 0xa0]
jne 0x40a5f6
mov eax, dword [ebp - 0xa0]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov dword [ebp - 0x14], eax
pop ecx
fild dword [ebp - 0x14]
fmul dword [0x4395b0]
fadd dword [0x4395ac]
fimul dword [ebp - 0x20]
call sub.MSVCRT.dll__ftol
add eax, dword [ebp - 0x2c]
mov dword [esi + 0x398], eax
jmp 0x40a690
lea ecx, [ebp - 0x98]
call fcn.00414590
lea eax, [ebp - 0x98]
push eax
push str.SoftwareRealNetworksSetupPercentDecompress
push SysReAllocStringLen
call fcn.0041341c
add esp, 0xc
test eax, eax
je 0x40a685
cmp byte [ebp - 0x91], 0xff
lea eax, [ebp - 0x98]
jne 0x40a660
mov eax, dword [ebp - 0x98]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov dword [ebp - 0x14], eax
pop ecx
fild dword [ebp - 0x14]
fmul dword [0x4395b0]
fimul dword [ebp - 0x20]
call sub.MSVCRT.dll__ftol
add eax, dword [ebp - 0x2c]
mov dword [esi + 0x398], eax
lea ecx, [ebp - 0x98]
call fcn.004146c0
lea ecx, [ebp - 0xa0]
call fcn.004146c0
jmp 0x40a6c7
call edi
sub eax, dword [ebp - 8]
cmp eax, 0x7d0
jbe 0x40a6c7
call edi
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x398]
inc eax
add edx, ecx
cmp eax, edx
jge 0x40a6c7
mov dword [esi + 0x398], eax
push 0x3e8
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x40a573
mov edi, dword [ebp - 4]
push dword [ebp - 0x34]
mov dword [edi + 0x10], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [edi + 0x3f], 0xff
lea eax, [edi + 0x38]
jne 0x40a6fe
mov eax, dword [eax]
push str.main
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x40a74d
push str.clean
lea ecx, [ebp - 0x88]
call fcn.004146d0
mov eax, dword [edi + 0x18]
cmp eax, dword [edi + 0x1c]
jbe 0x40a72e
push str.under
jmp 0x40a737
test eax, eax
jbe 0x40a742
push str.over
lea ecx, [ebp - 0x88]
call fcn.004147e0
lea ecx, [ebp - 0x88]
jmp 0x40a7f0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x27], 0xff
lea edi, [eax + 0x20]
mov eax, edi
jne 0x40a75d
mov eax, dword [edi]
push 0x441880
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x40a7c9
push edi
mov ecx, esi
call fcn.0040d556
test eax, eax
mov eax, str.successtrue
jge 0x40a784
mov eax, str.successfalse
push 0
push eax
push dword [ebp - 0x70]
lea eax, [ebp - 0x174]
push str.actiondlpinstalledoffervalue
push eax
call fcn.00414890
add esp, 0xc
push eax
lea eax, [ebp - 0x164]
push eax
call fcn.00414850
add esp, 0xc
mov ecx, esi
push eax
call fcn.00405549
lea ecx, [ebp - 0x164]
call fcn.004146c0
lea ecx, [ebp - 0x174]
jmp 0x40a7f0
push 0
lea eax, [ebp - 0x124]
push dword [ebp - 0x70]
push str.actiondlpinstalledoffervalue
push eax
call fcn.00414890
add esp, 0xc
mov ecx, esi
push eax
call fcn.00405549
lea ecx, [ebp - 0x124]
call fcn.004146c0
lea ecx, [ebp - 0x90]
call fcn.004146c0
mov edi, 0x441880
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
add eax, ecx
lea ecx, [ebp - 0xcc]
mov dword [esi + 0x398], eax
call fcn.004146c0
inc dword [ebp - 0x18]
jmp 0x409a7e
mov ecx, dword [ebp - 0x28]
push 0
mov dword [esi + 0x118], 0x8000aaa2
call fcn.00404326
mov ecx, dword [ebp - 0x28]
call fcn.00404349
lea ecx, [ebp - 0x90]
call fcn.004146c0
lea ecx, [ebp - 0xcc]
jmp 0x40aa9f
push edi
lea ecx, [ebp - 0x10]
call fcn.004146d0
lea eax, [ebp - 0x10]
push eax
push str.SoftwareRealNetworksConfigLocalSchedule
push SysReAllocStringLen
call fcn.0041341c
add esp, 0xc
test eax, eax
jne 0x40a8bb
lea eax, [esi + 0x38]
lea ecx, [ebp - 0x78]
push eax
call fcn.00414640
lea eax, [ebp - 0x78]
push str.schedule.exe
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.00414850
add esp, 0xc
lea ecx, [ebp - 0x10]
push eax
call fcn.00414770
lea ecx, [ebp - 0x124]
call fcn.004146c0
lea ecx, [ebp - 0x78]
call fcn.004146c0
cmp byte [ebp - 9], 0xff
lea eax, [ebp - 0x10]
jne 0x40a8c7
mov eax, dword [ebp - 0x10]
push edi
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x40aa68
cmp byte [ebp - 9], 0xff
lea eax, [ebp - 0x10]
jne 0x40a8e4
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x40aa68
push 0xe
xor eax, eax
cmp byte [ebp - 9], 0xff
pop ecx
lea edi, [ebp - 0x68]
mov ebx, str.open
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x124]
mov dword [ebp - 0x6c], 0x3c
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], 0x40
mov dword [ebp - 0x60], ebx
lea eax, [ebp - 0x10]
jne 0x40a928
mov eax, dword [ebp - 0x10]
and dword [ebp - 0x54], 0
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x58], str._RemoveEvent_StubInstallBoot
push eax
mov dword [ebp - 0x50], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x40a954
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xe
xor eax, eax
cmp byte [ebp - 9], 0xff
pop ecx
lea edi, [ebp - 0x68]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x124]
mov dword [ebp - 0x6c], 0x3c
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], 0x40
mov dword [ebp - 0x60], ebx
lea eax, [ebp - 0x10]
jne 0x40a984
mov eax, dword [ebp - 0x10]
and dword [ebp - 0x54], 0
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x58], str._RemoveEvent_StubInstallPlayer
push eax
mov dword [ebp - 0x50], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x40a9b0
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xe
xor eax, eax
cmp byte [ebp - 9], 0xff
pop ecx
lea edi, [ebp - 0x68]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x124]
mov dword [ebp - 0x6c], 0x3c
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], 0x40
mov dword [ebp - 0x60], ebx
lea eax, [ebp - 0x10]
jne 0x40a9e0
mov eax, dword [ebp - 0x10]
and dword [ebp - 0x54], 0
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x58], str._RemoveEvent_StubInstallToast
push eax
mov dword [ebp - 0x50], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x40aa0c
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xe
xor eax, eax
cmp byte [ebp - 9], 0xff
pop ecx
lea edi, [ebp - 0x68]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x124]
mov dword [ebp - 0x6c], 0x3c
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], 0x40
mov dword [ebp - 0x60], ebx
lea eax, [ebp - 0x10]
jne 0x40aa3c
mov eax, dword [ebp - 0x10]
and dword [ebp - 0x54], 0
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x58], str._RemoveEvent_StubInstallUpdate
push eax
mov dword [ebp - 0x50], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x40aa68
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x108]
or dword [esi + 0x398], 0xffffffff
push str.Installation_Complete
mov dword [esi + 0x18], 1
call fcn.004147e0
mov ecx, dword [ebp - 0x10c]
push eax
call fcn.00414770
mov ecx, dword [ebp - 0x28]
push 0
call fcn.00404326
lea ecx, [ebp - 0x10]
call fcn.004146c0
lea ecx, [ebp - 0xbc]
call fcn.00415190
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x40aab9
and dword [eax], 0
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret