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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5468c7
mov eax, dword fs:[0]
push eax
mov eax, 0x12c8
call fcn.004b8770
mov eax, dword [0x5b2390]
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.004b7bc0
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push str._sSoftApp.ini
lea ecx, [ebp - 0x21c]
push ecx
call fcn.0040fcd0
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.004b7bc0
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
push 0x208
call fcn.00493cbe
add esp, 4
mov dword [ebp - 0x12c4], eax
mov eax, dword [ebp - 0x12c4]
mov dword [ebp - 0x430], eax
push 0x208
push 0
mov eax, dword [ebp - 0x430]
push eax
call fcn.004b7bc0
add esp, 0xc
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x4138d2
xor eax, eax
mov word [ebp - 0x638], ax
push 0x206
push 0
lea eax, [ebp - 0x636]
push eax
call fcn.004b7bc0
add esp, 0xc
lea eax, [ebp - 0x638]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x638]
push eax
lea ecx, [ebp - 0x63c]
call fcn.004048c0
mov dword [ebp - 4], 0
push str.InfoOnServerConf.xml
lea ecx, [ebp - 0x63c]
call fcn.004020c0
push ecx
mov ecx, esp
mov dword [ebp - 0x12c0], esp
lea eax, [ebp - 0x63c]
push eax
call fcn.004048a0
mov dword [ebp - 0x12c8], eax
mov ecx, dword [ebp - 0x12c8]
mov dword [ebp - 0x12cc], ecx
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x12bc], esp
push str.http:__xiazai.rilibiao.com.cn_xml_info_configex.xml
call fcn.004048c0
mov dword [ebp - 0x12d0], eax
mov byte [ebp - 4], 0
call fcn.0043d900
add esp, 8
mov byte [ebp - 0x12d1], al
movzx edx, byte [ebp - 0x12d1]
test edx, edx
je 0x4138c0
lea ecx, [ebp - 0x63c]
call fcn.004049e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4138c0
mov dword [ebp - 0x640], 0
lea ecx, [ebp - 0x644]
call fcn.0040db30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x654]
call fcn.004a30db
mov byte [ebp - 4], 3
push 0
push 0x40
lea ecx, [ebp - 0x63c]
call fcn.004049e0
push eax
lea ecx, [ebp - 0x654]
call fcn.004a354f
test eax, eax
je 0x413222
lea ecx, [ebp - 0x654]
call fcn.004a2fc6
mov dword [ebp - 0x65c], eax
mov dword [ebp - 0x658], edx
cmp dword [ebp - 0x658], 0
ja 0x4130c0
cmp dword [ebp - 0x65c], 0
jbe 0x413217
mov eax, dword [ebp - 0x65c]
push eax
call fcn.00493cbe
add esp, 4
mov dword [ebp - 0x12b8], eax
mov ecx, dword [ebp - 0x12b8]
mov dword [ebp - 0x660], ecx
mov eax, dword [ebp - 0x65c]
push eax
push 0
mov ecx, dword [ebp - 0x660]
push ecx
call fcn.004b7bc0
add esp, 0xc
mov eax, dword [ebp - 0x65c]
push eax
mov ecx, dword [ebp - 0x660]
push ecx
lea ecx, [ebp - 0x654]
call fcn.004a2dcf
mov dword [ebp - 0x664], eax
push 0x2800
call fcn.00493cbe
add esp, 4
mov dword [ebp - 0x12b4], eax
mov eax, dword [ebp - 0x12b4]
mov dword [ebp - 0x668], eax
push 0x2800
push 0
mov eax, dword [ebp - 0x668]
push eax
call fcn.004b7bc0
add esp, 0xc
mov dword [ebp - 0x66c], 0x2800
lea eax, [ebp - 0x644]
push eax
lea ecx, [ebp - 0x66c]
push ecx
mov edx, dword [ebp - 0x668]
push edx
mov eax, dword [ebp - 0x664]
push eax
mov ecx, dword [ebp - 0x660]
push ecx
call fcn.0043e4d0
add esp, 0x14
test eax, eax
je 0x4131e1
mov eax, dword [ebp - 0x668]
push eax
call fcn.004b8510
add esp, 4
add eax, 1
mov dword [ebp - 0x670], eax
mov eax, dword [ebp - 0x670]
push eax
call fcn.00493cbe
add esp, 4
mov dword [ebp - 0x12b0], eax
mov ecx, dword [ebp - 0x12b0]
mov dword [ebp - 0x640], ecx
mov eax, dword [ebp - 0x668]
push eax
push 0x556644
mov ecx, dword [ebp - 0x670]
push ecx
mov edx, dword [ebp - 0x640]
push edx
call fcn.004ba882
add esp, 0x10
mov eax, dword [ebp - 0x668]
mov dword [ebp - 0x12ac], eax
mov ecx, dword [ebp - 0x12ac]
push ecx
call fcn.00493cc9
add esp, 4
mov eax, dword [ebp - 0x660]
mov dword [ebp - 0x12a8], eax
mov ecx, dword [ebp - 0x12a8]
push ecx
call fcn.00493cc9
add esp, 4
lea ecx, [ebp - 0x654]
call fcn.004a3075
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]
push 1
mov eax, dword [ebp - 0x640]
push eax
lea ecx, [ebp - 0x678]
call fcn.0043d5e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x678]
call fcn.0043d8d0
mov dword [ebp - 0x67c], eax
cmp dword [ebp - 0x67c], 0
je 0x413866
push str.DefaultLink
mov eax, dword [ebp - 0x67c]
push eax
lea ecx, [ebp - 0x678]
call fcn.0043d820
mov dword [ebp - 0x680], eax
cmp dword [ebp - 0x680], 0
je 0x41352f
push 0x5565c8
mov eax, dword [ebp - 0x680]
push eax
lea ecx, [ebp - 0x678]
call fcn.0043d820
mov dword [ebp - 0x684], eax
cmp dword [ebp - 0x684], 0
je 0x413381
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x684]
call fcn.00502250
push eax
lea ecx, [ebp - 0x12a4]
call fcn.00414ef0
mov dword [ebp - 0x12c8], eax
mov ecx, dword [ebp - 0x12c8]
call fcn.0041ced0
push eax
push str.DefaultLinkUrl
push str.InfoConf
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x12a4]
call fcn.00414f30
push 0x208
push 0
lea eax, [ebp - 0x428]
push eax
call fcn.004b7bc0
add esp, 0xc
mov ecx, dword [ebp - 0x684]
call fcn.00502250
push eax
lea ecx, [ebp - 0x11a0]
call fcn.00414ef0
mov dword [ebp - 0x12c8], eax
mov esi, dword [ebp - 0x12c8]
sub esp, 0x104
mov ecx, 0x41
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push 0x555a8c
push 0x104
lea eax, [ebp - 0x428]
push eax
call fcn.004b7b04
add esp, 0x110
lea ecx, [ebp - 0x11a0]
call fcn.00414f30
mov byte [ebp - 0x698], 0
xor eax, eax
mov dword [ebp - 0x697], eax
mov dword [ebp - 0x693], eax
mov dword [ebp - 0x68f], eax
mov dword [ebp - 0x68b], eax
mov word [ebp - 0x687], ax
mov byte [ebp - 0x685], al
xor eax, eax
mov word [ebp - 0x6fc], ax
push 0x62
push 0
lea eax, [ebp - 0x6fa]
push eax
call fcn.004b7bc0
add esp, 0xc
mov dword [ebp - 0x700], 0
jmp 0x4133e6
mov eax, dword [ebp - 0x700]
add eax, 1
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 0xa
jge 0x4134be
mov eax, dword [ebp - 0x700]
push eax
push str.url_d
push 0x14
lea ecx, [ebp - 0x698]
push ecx
call fcn.004ba882
add esp, 0x10
lea eax, [ebp - 0x698]
push eax
mov ecx, dword [ebp - 0x680]
push ecx
lea ecx, [ebp - 0x678]
call fcn.0043d820
mov dword [ebp - 0x704], eax
cmp dword [ebp - 0x704], 0
je 0x4134b7
push 0x64
push 0
lea eax, [ebp - 0x6fc]
push eax
call fcn.004b7bc0
add esp, 0xc
mov eax, dword [ebp - 0x700]
push eax
push str.DefaultLinkUrl_d
push 0x32
lea ecx, [ebp - 0x6fc]
push ecx
call fcn.004b7b04
add esp, 0x10
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x704]
call fcn.00502250
push eax
lea ecx, [ebp - 0x109c]
call fcn.00414ef0
mov dword [ebp - 0x12c8], eax
mov ecx, dword [ebp - 0x12c8]
call fcn.0041ced0
push eax
lea ecx, [ebp - 0x6fc]
push ecx
push str.InfoConf
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x109c]
call fcn.00414f30
jmp 0x4134b9
jmp 0x4134be
jmp 0x4133d7
push str.refUrl
mov eax, dword [ebp - 0x680]
push eax
lea ecx, [ebp - 0x678]
call fcn.0043d820
mov dword [ebp - 0x708], eax
cmp dword [ebp - 0x708], 0
je 0x41352f
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x708]
call fcn.00502250
push eax
lea ecx, [ebp - 0xf98]
call fcn.00414ef0
mov dword [ebp - 0x12c8], eax
mov ecx, dword [ebp - 0x12c8]
call fcn.0041ced0
push eax
push str.DefaultLinkUrlRef
push str.InfoConf
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0xf98]
call fcn.00414f30
push str.Advertising
mov eax, dword [ebp - 0x67c]
push eax
lea ecx, [ebp - 0x678]
call fcn.0043d820
mov dword [ebp - 0x70c], eax
cmp dword [ebp - 0x70c], 0
je 0x41371d
push 0x5565c8
mov eax, dword [ebp - 0x70c]
push eax
lea ecx, [ebp - 0x678]
call fcn.0043d820
mov dword [ebp - 0x710], eax
cmp dword [ebp - 0x710], 0
je 0x4135ca
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x710]
call fcn.00502250
push eax
lea ecx, [ebp - 0xe94]
call fcn.00414ef0
mov dword [ebp - 0x12c8], eax
mov ecx, dword [ebp - 0x12c8]
call fcn.0041ced0
push eax
push str.AdverOfBottomUrl
push str.InfoConf
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0xe94]
call fcn.00414f30
push 0x556538
mov eax, dword [ebp - 0x70c]
push eax
lea ecx, [ebp - 0x678]
call fcn.0043d820
mov dword [ebp - 0x714], eax
cmp dword [ebp - 0x714], 0
je 0x41363b
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x714]
call fcn.00502250
push eax
lea ecx, [ebp - 0xd90]
call fcn.00414ef0
mov dword [ebp - 0x12c8], eax
mov ecx, dword [ebp - 0x12c8]
call fcn.0041ced0
push eax
push str.AdverOfBottomWidth
push str.InfoConf
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0xd90]
call fcn.00414f30
push 0x556508
mov eax, dword [ebp - 0x70c]
push eax
lea ecx, [ebp - 0x678]
call fcn.0043d820
mov dword [ebp - 0x718], eax
cmp dword [ebp - 0x718], 0
je 0x4136ac
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x718]
call fcn.00502250
push eax
lea ecx, [ebp - 0xc8c]
call fcn.00414ef0
mov dword [ebp - 0x12c8], eax
mov ecx, dword [ebp - 0x12c8]
call fcn.0041ced0
push eax
push str.AdverOfBottomHeight
push str.InfoConf
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0xc8c]
call fcn.00414f30
push str.refUrl
mov eax, dword [ebp - 0x70c]
push eax
lea ecx, [ebp - 0x678]
call fcn.0043d820
mov dword [ebp - 0x71c], eax
cmp dword [ebp - 0x71c], 0
je 0x41371d
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x71c]
call fcn.00502250
push eax
lea ecx, [ebp - 0xb88]
call fcn.00414ef0
mov dword [ebp - 0x12c8], eax
mov ecx, dword [ebp - 0x12c8]
call fcn.0041ced0
push eax
push str.AdverOfBottomRefUrl
push str.InfoConf
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0xb88]
call fcn.00414f30
push str.ShortCut
mov eax, dword [ebp - 0x67c]
push eax
lea ecx, [ebp - 0x678]
call fcn.0043d820
mov dword [ebp - 0x720], eax
cmp dword [ebp - 0x720], 0
je 0x4137c1
push 0x5564a4
mov eax, dword [ebp - 0x720]
push eax
lea ecx, [ebp - 0x678]
call fcn.0043d820
mov dword [ebp - 0x724], eax
cmp dword [ebp - 0x724], 0
je 0x4137c1
xor eax, eax
mov word [ebp - 0x92c], ax
push 0x206
push 0
lea eax, [ebp - 0x92a]
push eax
call fcn.004b7bc0
add esp, 0xc
lea eax, [ebp - 0x92c]
push eax
mov ecx, dword [ebp - 0x724]
call fcn.00502250
push eax
call fcn.0040fc30
add esp, 8
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x92c]
push ecx
push str.ShortCutName
push str.InfoConf
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push str.LockUrl
mov eax, dword [ebp - 0x67c]
push eax
lea ecx, [ebp - 0x678]
call fcn.0043d820
mov dword [ebp - 0x930], eax
cmp dword [ebp - 0x930], 0
je 0x413866
push 0x556638
mov eax, dword [ebp - 0x930]
push eax
lea ecx, [ebp - 0x678]
call fcn.0043d820
mov dword [ebp - 0x934], eax
cmp dword [ebp - 0x934], 0
je 0x413866
mov ecx, dword [ebp - 0x934]
call fcn.00502250
push eax
lea ecx, [ebp - 0xa84]
call fcn.00414ef0
mov dword [ebp - 0x12c8], eax
mov esi, dword [ebp - 0x12c8]
sub esp, 0x104
mov ecx, 0x41
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push 0x555a8c
push 0x104
mov eax, dword [ebp - 0x430]
push eax
call fcn.004b7b04
add esp, 0x110
lea ecx, [ebp - 0xa84]
call fcn.00414f30
mov eax, dword [ebp - 0x640]
mov dword [ebp - 0x980], eax
mov ecx, dword [ebp - 0x980]
push ecx
call fcn.00493cc9
add esp, 4
lea ecx, [ebp - 0x63c]
call fcn.004049e0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x678]
call fcn.0043d6b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x654]
call fcn.004a31e3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x644]
call fcn.00404940
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x63c]
call fcn.00404940
push 0
push str.gaoxin.meirenli
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x938], eax
lea eax, [ebp - 0x428]
push eax
call fcn.004b7b43
add esp, 4
test eax, eax
jbe 0x413925
cmp dword [ebp - 0x220], 0
je 0x413925
cmp dword [ebp - 0x938], 0
je 0x413925
push 0
lea eax, [ebp - 0x428]
push eax
push 0x1789
mov ecx, dword [ebp - 0x938]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x430]
push eax
call fcn.004b7b43
add esp, 4
test eax, eax
jbe 0x41395c
cmp dword [ebp - 0x938], 0
je 0x41395c
push 0
mov eax, dword [ebp - 0x430]
push eax
push 0x178f
mov ecx, dword [ebp - 0x938]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x430]
mov dword [ebp - 0x97c], eax
mov ecx, dword [ebp - 0x97c]
push ecx
call fcn.00493cc9
add esp, 4
cmp dword [ebp - 0x42c], 0
je 0x41399f
cmp dword [ebp - 0x938], 0
je 0x41399f
push 0
push 0
push 0x178a
mov eax, dword [ebp - 0x938]
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.004b7b5d
mov esp, ebp
pop ebp
ret 0xc