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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481444
mov eax, dword fs:[0]
push eax
sub esp, 0xdb4
mov eax, dword [0x4a71b0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xdc0], ecx
mov word [ebp - 0x86c], 0
push 0x206
push 0
lea eax, [ebp - 0x86a]
push eax
call fcn.004101c0
add esp, 0xc
mov word [ebp - 0x444], 0
push 0x206
push 0
lea ecx, [ebp - 0x442]
push ecx
call fcn.004101c0
add esp, 0xc
mov word [ebp - 0x224], 0
push 0x206
push 0
lea edx, [ebp - 0x222]
push edx
call fcn.004101c0
add esp, 0xc
fldz
fstp dword [ebp - 0x234]
fldz
fstp dword [ebp - 0x874]
fldz
fstp dword [ebp - 0x660]
fldz
fstp dword [ebp - 0x65c]
mov dword [ebp - 0x14], 0x2710
mov dword [ebp - 0x238], 0
push str.UpdateRate
lea ecx, [ebp - 0xcf4]
call fcn.00402220
mov dword [ebp - 4], 0
lea eax, [ebp - 0xcf4]
push eax
mov ecx, dword [ebp - 0xdc0]
mov edx, dword [ecx + 0x4e4]
mov eax, dword [ebp - 0xdc0]
mov ecx, dword [eax + 0x4e4]
mov edx, dword [edx]
mov eax, dword [edx + 0x1c]
call eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcf4]
call fcn.00401190
cmp dword [ebp - 0x238], 0
je 0x47d484
mov ecx, dword [ebp - 0x238]
call fcn.00401210
push eax
call fcn.0041112b
add esp, 4
mov dword [ebp - 0x14], eax
push 0x2710
push 1
call fcn.00479080
add esp, 8
mov dword [ebp - 0x44c], eax
mov ecx, dword [ebp - 0x44c]
cmp ecx, dword [ebp - 0x14]
jle 0x47d4c6
push 0x49fee4
mov edx, dword [ebp - 0xdc0]
add edx, 0x21c
push edx
call fcn.0041071d
add esp, 8
or eax, 0xffffffff
jmp 0x47ddc8
push str.UpdateProbability
lea ecx, [ebp - 0xd10]
call fcn.00402220
mov dword [ebp - 4], 1
lea eax, [ebp - 0xd10]
push eax
mov ecx, dword [ebp - 0xdc0]
mov edx, dword [ecx + 0x4e4]
mov eax, dword [ebp - 0xdc0]
mov ecx, dword [eax + 0x4e4]
mov edx, dword [edx]
mov eax, dword [edx + 0x1c]
call eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd10]
call fcn.00401190
cmp dword [ebp - 0x238], 0
je 0x47d5de
mov ecx, dword [ebp - 0x238]
call fcn.00401210
mov dword [ebp - 0x878], eax
push 0x49ff0c
mov ecx, dword [ebp - 0x878]
push ecx
call fcn.0041102c
add esp, 8
mov dword [ebp - 0x880], eax
mov dword [ebp - 0x87c], 0
cmp dword [ebp - 0x880], 0
je 0x47d5b1
push 0x49ff10
push 0
call fcn.0041102c
add esp, 8
mov dword [ebp - 0x87c], eax
mov edx, dword [ebp - 0x880]
push edx
call fcn.0041112b
add esp, 4
mov ecx, dword [ebp - 0xdc0]
mov dword [ecx + 0x4f0], eax
mov edx, dword [ebp - 0x87c]
push edx
call fcn.0041112b
add esp, 4
mov ecx, dword [ebp - 0xdc0]
mov dword [ecx + 0x4f4], eax
mov edx, dword [ebp - 0xdc0]
mov eax, dword [edx + 0x4f4]
push eax
push 0
call fcn.00479080
add esp, 8
mov ecx, dword [ebp - 0xdc0]
cmp eax, dword [ecx + 0x4f0]
jle 0x47d5de
or eax, 0xffffffff
jmp 0x47ddc8
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
call fcn.00409a60
mov ecx, eax
call fcn.00479c50
mov dword [ebp - 0x228], eax
mov edx, dword [ebp - 0x228]
push edx
push 0
push 0x49ff14
push 0x49ff2c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x22c], eax
call fcn.00479430
mov dword [ebp - 0x658], eax
mov eax, dword [ebp - 0x658]
cmp eax, dword [ebp - 0x22c]
jne 0x47d644
or eax, 0xffffffff
jmp 0x47ddc8
push str.InstallIntervalDate
lea ecx, [ebp - 0xd2c]
call fcn.00402220
mov dword [ebp - 4], 2
lea ecx, [ebp - 0xd2c]
push ecx
mov edx, dword [ebp - 0xdc0]
mov eax, dword [edx + 0x4e4]
mov ecx, dword [ebp - 0xdc0]
mov ecx, dword [ecx + 0x4e4]
mov edx, dword [eax]
mov eax, dword [edx + 0x1c]
call eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd2c]
call fcn.00401190
cmp dword [ebp - 0x238], 0
je 0x47d73c
mov ecx, dword [ebp - 0x238]
call fcn.00401210
push eax
call fcn.0041112b
add esp, 4
mov dword [ebp - 0x230], eax
push 0
call fcn.0047b930
add esp, 4
mov dword [ebp - 0x88c], eax
mov dword [ebp - 0x888], edx
mov dword [ebp - 0x894], 0
mov ecx, dword [ebp - 0x228]
push ecx
push 0
push str.InstallTime
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x894], eax
mov edx, dword [ebp - 0x88c]
mov dword [ebp - 0x898], edx
mov eax, dword [ebp - 0x894]
sub eax, dword [ebp - 0x898]
push eax
call fcn.0041110f
add esp, 4
mov dword [ebp - 0x890], eax
mov ecx, dword [ebp - 0x890]
cmp ecx, dword [ebp - 0x230]
jge 0x47d73c
or eax, 0xffffffff
jmp 0x47ddc8
push str.NewVer
lea ecx, [ebp - 0xd48]
call fcn.00402220
mov dword [ebp - 4], 3
lea edx, [ebp - 0xd48]
push edx
mov eax, dword [ebp - 0xdc0]
mov ecx, dword [eax + 0x4e4]
mov edx, dword [ebp - 0xdc0]
mov eax, dword [edx + 0x4e4]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x1c]
call eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd48]
call fcn.00401190
cmp dword [ebp - 0x238], 0
je 0x47d7bb
mov ecx, dword [ebp - 0x238]
call fcn.00401210
push eax
mov ecx, dword [ebp - 0xdc0]
add ecx, 0x38c
call fcn.004011d0
jmp 0x47d7d1
push 0x49ff9c
mov ecx, dword [ebp - 0xdc0]
add ecx, 0x38c
call fcn.004011d0
push str.NewMinVer
lea ecx, [ebp - 0xd64]
call fcn.00402220
mov dword [ebp - 4], 4
lea ecx, [ebp - 0xd64]
push ecx
mov edx, dword [ebp - 0xdc0]
mov eax, dword [edx + 0x4e4]
mov ecx, dword [ebp - 0xdc0]
mov ecx, dword [ecx + 0x4e4]
mov edx, dword [eax]
mov eax, dword [edx + 0x1c]
call eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd64]
call fcn.00401190
cmp dword [ebp - 0x238], 0
je 0x47d84e
mov ecx, dword [ebp - 0x238]
call fcn.00401210
push eax
mov ecx, dword [ebp - 0xdc0]
add ecx, 0x3a8
call fcn.004011d0
jmp 0x47d864
push 0x49ffb4
mov ecx, dword [ebp - 0xdc0]
add ecx, 0x3a8
call fcn.004011d0
push str.Default
lea ecx, [ebp - 0xd80]
call fcn.00402220
mov dword [ebp - 4], 5
lea ecx, [ebp - 0xd80]
push ecx
mov edx, dword [ebp - 0xdc0]
mov eax, dword [edx + 0x4e4]
mov ecx, dword [ebp - 0xdc0]
mov ecx, dword [ecx + 0x4e4]
mov edx, dword [eax]
mov eax, dword [edx + 0x1c]
call eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd80]
call fcn.00401190
cmp dword [ebp - 0x238], 0
je 0x47d8df
mov ecx, dword [ebp - 0x238]
call fcn.00401210
push eax
lea ecx, [ebp - 0x86c]
push ecx
call fcn.0041071d
add esp, 8
jmp 0x47d8f3
push 0x49ffc8
lea edx, [ebp - 0x86c]
push edx
call fcn.0041071d
add esp, 8
mov ecx, dword [ebp - 0xdc0]
add ecx, 0x38c
call fcn.00401210
push eax
call fcn.0041123c
add esp, 4
fstp dword [ebp - 0x234]
mov ecx, dword [ebp - 0xdc0]
add ecx, 0x3a8
call fcn.00401210
push eax
call fcn.0041123c
add esp, 4
fstp dword [ebp - 0x65c]
mov ecx, dword [ebp - 0xdc0]
add ecx, 0x300
call fcn.00401210
push eax
call fcn.0041123c
add esp, 4
fstp dword [ebp - 0x874]
mov ecx, dword [ebp - 0xdc0]
add ecx, 0x31c
call fcn.00401210
push eax
call fcn.0041123c
add esp, 4
fstp dword [ebp - 0x660]
fld dword [ebp - 0x234]
fld dword [ebp - 0x874]
fcompp
fnstsw ax
test ah, 0x41
jne 0x47d990
or eax, 0xffffffff
jmp 0x47ddc8
fld dword [ebp - 0x234]
fld dword [ebp - 0x874]
fucompp
fnstsw ax
test ah, 0x44
jp 0x47d9c2
fld dword [ebp - 0x65c]
fld dword [ebp - 0x660]
fcompp
fnstsw ax
test ah, 1
jne 0x47d9c2
or eax, 0xffffffff
jmp 0x47ddc8
mov word [ebp - 0x654], 0
push 0x206
push 0
lea eax, [ebp - 0x652]
push eax
call fcn.004101c0
add esp, 0xc
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x870], 0
mov dword [ebp - 0x448], 0
mov ecx, dword [ebp - 0xdc0]
add ecx, 0x300
call fcn.00401210
push eax
push str.Ver_s
lea ecx, [ebp - 0x654]
push ecx
call fcn.00410930
add esp, 0xc
lea edx, [ebp - 0x654]
push edx
lea ecx, [ebp - 0xd9c]
call fcn.00402220
mov dword [ebp - 4], 6
lea eax, [ebp - 0xd9c]
push eax
mov ecx, dword [ebp - 0xdc0]
mov edx, dword [ecx + 0x4e4]
mov eax, dword [ebp - 0xdc0]
mov ecx, dword [eax + 0x4e4]
mov edx, dword [edx]
mov eax, dword [edx + 0x1c]
call eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd9c]
call fcn.00401190
cmp dword [ebp - 0x238], 0
je 0x47da9f
mov ecx, dword [ebp - 0x238]
call fcn.00401210
push eax
lea ecx, [ebp - 0x444]
push ecx
call fcn.0041071d
add esp, 8
jmp 0x47dab3
push 0x49ffd8
lea edx, [ebp - 0x444]
push edx
call fcn.0041071d
add esp, 8
lea eax, [ebp - 0x444]
push eax
call fcn.0040fa47
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x47dad5
mov dword [ebp - 0x870], 1
mov ecx, dword [ebp - 0xdc0]
add ecx, 0x31c
call fcn.00401210
push eax
mov ecx, dword [ebp - 0xdc0]
add ecx, 0x300
call fcn.00401210
push eax
push str.Ver_s__s
lea ecx, [ebp - 0x654]
push ecx
call fcn.00410930
add esp, 0x10
lea edx, [ebp - 0x654]
push edx
lea ecx, [ebp - 0xdb8]
call fcn.00402220
mov dword [ebp - 4], 7
lea eax, [ebp - 0xdb8]
push eax
mov ecx, dword [ebp - 0xdc0]
mov edx, dword [ecx + 0x4e4]
mov eax, dword [ebp - 0xdc0]
mov ecx, dword [eax + 0x4e4]
mov edx, dword [edx]
mov eax, dword [edx + 0x1c]
call eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdb8]
call fcn.00401190
cmp dword [ebp - 0x238], 0
je 0x47db8a
mov ecx, dword [ebp - 0x238]
call fcn.00401210
push eax
lea ecx, [ebp - 0x224]
push ecx
call fcn.0041071d
add esp, 8
jmp 0x47db9e
push 0x49fff0
lea edx, [ebp - 0x224]
push edx
call fcn.0041071d
add esp, 8
lea eax, [ebp - 0x224]
push eax
call fcn.0040fa47
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x47dbc0
mov dword [ebp - 0x448], 1
mov ecx, dword [ebp - 0xdc0]
add ecx, 0x354
call fcn.00401210
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x870], 0
jne 0x47dc80
cmp dword [ebp - 0x448], 0
jne 0x47dc80
mov ecx, dword [ebp - 0xdc0]
add ecx, 0x338
push ecx
lea ecx, [ebp - 0x8b4]
call fcn.004033b0
mov dword [ebp - 4], 8
push str.default.xml
lea ecx, [ebp - 0x8b4]
call fcn.004011f0
lea ecx, [ebp - 0x8b4]
call fcn.00401210
push eax
lea edx, [ebp - 0x86c]
push edx
mov ecx, dword [ebp - 0xdc0]
call fcn.0047c630
mov dword [ebp - 0x8b8], eax
lea ecx, [ebp - 0x8b4]
call fcn.00401210
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x8b8]
mov dword [ebp - 0xdbc], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8b4]
call fcn.00401190
mov eax, dword [ebp - 0xdbc]
jmp 0x47ddc8
cmp dword [ebp - 0x448], 0
je 0x47dd2d
mov word [ebp - 0xac4], 0
push 0x206
push 0
lea ecx, [ebp - 0xac2]
push ecx
call fcn.004101c0
add esp, 0xc
mov ecx, dword [ebp - 0xdc0]
add ecx, 0x31c
call fcn.00401210
push eax
mov ecx, dword [ebp - 0xdc0]
add ecx, 0x300
call fcn.00401210
push eax
mov ecx, dword [ebp - 0xdc0]
add ecx, 0x338
call fcn.00401210
push eax
push str._sVer_s__s.xml
lea edx, [ebp - 0xac4]
push edx
call fcn.00410930
add esp, 0x14
lea eax, [ebp - 0xac4]
push eax
lea ecx, [ebp - 0x224]
push ecx
mov ecx, dword [ebp - 0xdc0]
call fcn.0047c630
mov dword [ebp - 0xac8], eax
lea edx, [ebp - 0xac4]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0xac8]
jmp 0x47ddc8
cmp dword [ebp - 0x870], 0
je 0x47ddc5
mov word [ebp - 0xcd4], 0
push 0x206
push 0
lea eax, [ebp - 0xcd2]
push eax
call fcn.004101c0
add esp, 0xc
mov ecx, dword [ebp - 0xdc0]
add ecx, 0x300
call fcn.00401210
push eax
mov ecx, dword [ebp - 0xdc0]
add ecx, 0x338
call fcn.00401210
push eax
push str._sVer_s.xml
lea ecx, [ebp - 0xcd4]
push ecx
call fcn.00410930
add esp, 0x10
lea edx, [ebp - 0xcd4]
push edx
lea eax, [ebp - 0x444]
push eax
mov ecx, dword [ebp - 0xdc0]
call fcn.0047c630
mov dword [ebp - 0xcd8], eax
lea ecx, [ebp - 0xcd4]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0xcd8]
jmp 0x47ddc8
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0040fd10
mov esp, ebp
pop ebp
ret