Function at 0x412a80
Capabilities:
Check if file exists
Delete file
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53d3ec
mov eax, dword fs:[0]
push eax
sub esp, 0xc44
mov eax, dword [0x5a6900]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.004af7d0
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push str._sSoftApp.ini
lea ecx, [ebp - 0x21c]
push ecx
call fcn.0040fa70
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 1
push str.bDefaultLinkUse
push str.ControlConf
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x220], eax
xor eax, eax
mov word [ebp - 0x428], ax
push 0x206
push 0
lea eax, [ebp - 0x426]
push eax
call fcn.004af7d0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
lea ecx, [ebp - 0x428]
push ecx
push 0
push str.DefaultLinkUrl
push str.InfoConf
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x21c]
push eax
push 1
push str.bAdverOfBottomUse
push str.ControlConf
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x42c], eax
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x412f99
xor eax, eax
mov word [ebp - 0x634], ax
push 0x206
push 0
lea eax, [ebp - 0x632]
push eax
call fcn.004af7d0
add esp, 0xc
lea eax, [ebp - 0x634]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x634]
push eax
lea ecx, [ebp - 0x638]
call fcn.00404760
mov dword [ebp - 4], 0
push str.InfoOnServerConf.xml
lea ecx, [ebp - 0x638]
call fcn.00401fa0
push ecx
mov ecx, esp
mov dword [ebp - 0xc40], esp
lea eax, [ebp - 0x638]
push eax
call fcn.00404740
mov dword [ebp - 0xc44], eax
mov ecx, dword [ebp - 0xc44]
mov dword [ebp - 0xc48], ecx
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0xc3c], esp
push str.http:__xiazai.rilibiao.com.cn_xml_info_config.xml
call fcn.00404760
mov dword [ebp - 0xc4c], eax
mov byte [ebp - 4], 0
call fcn.0042e030
add esp, 8
mov byte [ebp - 0xc4d], al
movzx edx, byte [ebp - 0xc4d]
test edx, edx
je 0x412f87
lea ecx, [ebp - 0x638]
call fcn.00404880
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x412f87
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push str.UpdConfDate
push str.ControlConf
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x638]
call fcn.004137b0
push eax
lea ecx, [ebp - 0xc38]
call fcn.00413810
mov dword [ebp - 0xc44], eax
mov eax, dword [ebp - 0xc44]
mov dword [ebp - 0xc48], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xc48]
call fcn.004138e0
push eax
lea ecx, [ebp - 0x640]
call fcn.0042de10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc38]
call fcn.00413870
lea ecx, [ebp - 0x640]
call fcn.0042e000
mov dword [ebp - 0x644], eax
cmp dword [ebp - 0x644], 0
je 0x412f66
push str.DefaultLink
mov eax, dword [ebp - 0x644]
push eax
lea ecx, [ebp - 0x640]
call fcn.0042df50
mov dword [ebp - 0x648], eax
cmp dword [ebp - 0x648], 0
je 0x412de9
push 0x54c388
mov eax, dword [ebp - 0x648]
push eax
lea ecx, [ebp - 0x640]
call fcn.0042df50
mov dword [ebp - 0x64c], eax
cmp dword [ebp - 0x64c], 0
je 0x412de9
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x64c]
call fcn.004f8c90
push eax
lea ecx, [ebp - 0xbb4]
call fcn.004138a0
mov dword [ebp - 0xc44], eax
mov ecx, dword [ebp - 0xc44]
call fcn.004138e0
push eax
push str.DefaultLinkUrl
push str.InfoConf
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0xbb4]
call fcn.00413870
push 0x208
push 0
lea eax, [ebp - 0x428]
push eax
call fcn.004af7d0
add esp, 0xc
mov ecx, dword [ebp - 0x64c]
call fcn.004f8c90
push eax
lea ecx, [ebp - 0xab0]
call fcn.004138a0
mov dword [ebp - 0xc44], eax
mov esi, dword [ebp - 0xc44]
sub esp, 0x104
mov ecx, 0x41
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push 0x54ba84
push 0x104
lea eax, [ebp - 0x428]
push eax
call fcn.004af711
add esp, 0x110
lea ecx, [ebp - 0xab0]
call fcn.00413870
push str.Advertising
mov eax, dword [ebp - 0x644]
push eax
lea ecx, [ebp - 0x640]
call fcn.0042df50
mov dword [ebp - 0x650], eax
cmp dword [ebp - 0x650], 0
je 0x412f66
push 0x54c388
mov eax, dword [ebp - 0x650]
push eax
lea ecx, [ebp - 0x640]
call fcn.0042df50
mov dword [ebp - 0x654], eax
cmp dword [ebp - 0x654], 0
je 0x412e84
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x654]
call fcn.004f8c90
push eax
lea ecx, [ebp - 0x9ac]
call fcn.004138a0
mov dword [ebp - 0xc44], eax
mov ecx, dword [ebp - 0xc44]
call fcn.004138e0
push eax
push str.AdverOfBottomUrl
push str.InfoConf
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x9ac]
call fcn.00413870
push 0x54c350
mov eax, dword [ebp - 0x650]
push eax
lea ecx, [ebp - 0x640]
call fcn.0042df50
mov dword [ebp - 0x658], eax
cmp dword [ebp - 0x658], 0
je 0x412ef5
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x658]
call fcn.004f8c90
push eax
lea ecx, [ebp - 0x8a8]
call fcn.004138a0
mov dword [ebp - 0xc44], eax
mov ecx, dword [ebp - 0xc44]
call fcn.004138e0
push eax
push str.AdverOfBottomWidth
push str.InfoConf
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x8a8]
call fcn.00413870
push 0x54c320
mov eax, dword [ebp - 0x650]
push eax
lea ecx, [ebp - 0x640]
call fcn.0042df50
mov dword [ebp - 0x65c], eax
cmp dword [ebp - 0x65c], 0
je 0x412f66
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x65c]
call fcn.004f8c90
push eax
lea ecx, [ebp - 0x7a4]
call fcn.004138a0
mov dword [ebp - 0xc44], eax
mov ecx, dword [ebp - 0xc44]
call fcn.004138e0
push eax
push str.AdverOfBottomHeight
push str.InfoConf
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x7a4]
call fcn.00413870
lea ecx, [ebp - 0x638]
call fcn.00404880
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x640]
call fcn.0042ded0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x638]
call fcn.004047e0
push 0
push str.gaoxin.xiongmaorili
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x660], eax
lea eax, [ebp - 0x428]
push eax
call fcn.004af750
add esp, 4
test eax, eax
jbe 0x412fec
cmp dword [ebp - 0x220], 0
je 0x412fec
cmp dword [ebp - 0x660], 0
je 0x412fec
push 0
lea eax, [ebp - 0x428]
push eax
push 0x1789
mov ecx, dword [ebp - 0x660]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x42c], 0
je 0x413014
cmp dword [ebp - 0x660], 0
je 0x413014
push 0
push 0
push 0x178a
mov eax, dword [ebp - 0x660]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004af76a
mov esp, ebp
pop ebp
ret 0xc