Function at 0x428f80
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e699e
mov eax, dword fs:[0]
push eax
sub esp, 0x8a4
mov eax, dword [0x6a8a44]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8ac], ecx
xor eax, eax
mov word [ebp - 0x420], ax
push 0x206
push 0
lea ecx, [ebp - 0x41e]
push ecx
call fcn.005be3a0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x218], dx
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.005be3a0
add esp, 0xc
push 0x5eeaf8
lea ecx, [ebp - 0x848]
call fcn.00402790
mov dword [ebp - 4], 0
push 0x5eeafc
lea ecx, [ebp - 0x890]
call fcn.00402790
mov byte [ebp - 4], 1
push 0x5eeb00
lea ecx, [ebp - 0x878]
call fcn.00402790
mov byte [ebp - 4], 2
push 0x5eeb04
lea ecx, [ebp - 0x860]
call fcn.00402790
mov byte [ebp - 4], 3
mov dword [ebp - 0x8b0], 0
push 0
push 0x2b
lea ecx, [ebp - 0x420]
push ecx
push 0
call fcn.005b18eb
add esp, 0x10
push 0x5eeb08
lea edx, [ebp - 0x420]
push edx
call fcn.005c7787
add esp, 8
push 0x5eeb0c
lea eax, [ebp - 0x420]
push eax
call fcn.005c7787
add esp, 8
push 0x5eeb20
lea ecx, [ebp - 0x420]
push ecx
call fcn.005c7787
add esp, 8
push 0x5eeb24
lea edx, [ebp - 0x420]
push edx
call fcn.005c7787
add esp, 8
push 0x5eeb38
lea eax, [ebp - 0x420]
push eax
call fcn.005c7787
add esp, 8
lea ecx, [ebp - 0x420]
push ecx
push 0x104
lea edx, [ebp - 0x218]
push edx
push 0x5eeb44
push 0x5eeb48
push 0x5eeb60
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
call fcn.005c1d51
add esp, 4
mov dword [ebp - 0x8b0], eax
cmp dword [ebp - 0x8b0], 0
jle 0x4291a7
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4291a7
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x848]
call fcn.004028a0
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x8ac]
add ecx, 0x14
call fcn.004028a0
mov ecx, dword [ebp - 0x8ac]
mov byte [ecx + 7], 1
mov edx, dword [ebp - 0x8ac]
movzx eax, byte [edx + 8]
test eax, eax
jne 0x4291a7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x860]
call fcn.00402750
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x878]
call fcn.00402750
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x890]
call fcn.00402750
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x848]
call fcn.00402750
jmp 0x4295ed
xor ecx, ecx
mov word [ebp - 0x628], cx
push 0x206
push 0
lea edx, [ebp - 0x626]
push edx
call fcn.005be3a0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x830], ax
push 0x206
push 0
lea ecx, [ebp - 0x82e]
push ecx
call fcn.005be3a0
add esp, 0xc
mov ecx, dword [ebp - 0x8ac]
add ecx, 0x5c
call fcn.00402820
push eax
lea edx, [ebp - 0x830]
push edx
call fcn.005c5a4b
add esp, 8
push 0x5eeb70
lea eax, [ebp - 0x830]
push eax
push 0x5eeb94
lea ecx, [ebp - 0x628]
push ecx
call fcn.00409310
add esp, 0x10
lea edx, [ebp - 0x628]
push edx
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x5eeba0
push 0x5eeba4
push 0x5eebbc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x218]
push ecx
call fcn.005c1d51
add esp, 4
mov dword [ebp - 0x8b0], eax
cmp dword [ebp - 0x8b0], 0
jle 0x429305
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x429305
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x890]
call fcn.004028a0
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp - 0x8ac]
add ecx, 0x14
call fcn.004028a0
mov edx, dword [ebp - 0x8ac]
mov byte [edx + 7], 1
mov eax, dword [ebp - 0x8ac]
movzx ecx, byte [eax + 8]
test ecx, ecx
jne 0x429305
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x860]
call fcn.00402750
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x878]
call fcn.00402750
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x890]
call fcn.00402750
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x848]
call fcn.00402750
jmp 0x4295ed
push str.WanNengWBInfo.ini
mov ecx, dword [ebp - 0x8ac]
add ecx, 0x74
call fcn.00402820
push eax
push 0x5eebf0
lea edx, [ebp - 0x628]
push edx
call fcn.00409310
add esp, 0x10
lea eax, [ebp - 0x628]
push eax
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0x5eebfc
push 0x5eec00
push 0x5eec18
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x218]
push edx
call fcn.005c1d51
add esp, 4
mov dword [ebp - 0x8b0], eax
cmp dword [ebp - 0x8b0], 0
jle 0x42940f
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42940f
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x878]
call fcn.004028a0
lea edx, [ebp - 0x218]
push edx
mov ecx, dword [ebp - 0x8ac]
add ecx, 0x14
call fcn.004028a0
mov eax, dword [ebp - 0x8ac]
mov byte [eax + 7], 1
mov ecx, dword [ebp - 0x8ac]
movzx edx, byte [ecx + 8]
test edx, edx
jne 0x42940f
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x860]
call fcn.00402750
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x878]
call fcn.00402750
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x890]
call fcn.00402750
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x848]
call fcn.00402750
jmp 0x4295ed
push 0x5eec28
push str.CfgUserPath
push str.AppInfo
lea eax, [ebp - 0x8a8]
push eax
mov ecx, dword [ebp - 0x8ac]
call fcn.00429900
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8a8]
call fcn.00402820
push eax
call fcn.005c1d51
add esp, 4
mov dword [ebp - 0x8b0], eax
cmp dword [ebp - 0x8b0], 0
jle 0x429507
lea ecx, [ebp - 0x8a8]
call fcn.00402820
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x429507
lea ecx, [ebp - 0x8a8]
push ecx
lea ecx, [ebp - 0x860]
call fcn.00404390
lea edx, [ebp - 0x8a8]
push edx
mov ecx, dword [ebp - 0x8ac]
add ecx, 0x14
call fcn.00404390
mov eax, dword [ebp - 0x8ac]
mov byte [eax + 7], 1
mov ecx, dword [ebp - 0x8ac]
movzx edx, byte [ecx + 8]
test edx, edx
jne 0x429507
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8a8]
call fcn.00402750
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x860]
call fcn.00402750
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x878]
call fcn.00402750
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x890]
call fcn.00402750
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x848]
call fcn.00402750
jmp 0x4295ed
mov eax, dword [ebp - 0x8ac]
movzx ecx, byte [eax + 8]
test ecx, ecx
je 0x42959f
mov edx, dword [ebp - 0x8ac]
movzx eax, byte [edx + 7]
test eax, eax
je 0x42959f
lea ecx, [ebp - 0x890]
push ecx
lea edx, [ebp - 0x848]
push edx
call fcn.00429d90
add esp, 8
movzx eax, al
test eax, eax
je 0x42954e
mov ecx, dword [ebp - 0x8ac]
mov byte [ecx + 9], 1
lea edx, [ebp - 0x878]
push edx
lea eax, [ebp - 0x848]
push eax
call fcn.00429d90
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x429575
mov edx, dword [ebp - 0x8ac]
mov byte [edx + 9], 1
lea eax, [ebp - 0x860]
push eax
lea ecx, [ebp - 0x848]
push ecx
call fcn.00429d90
add esp, 8
movzx edx, al
test edx, edx
je 0x42959f
push 1
lea ecx, [ebp - 0x848]
call fcn.00429dd0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8a8]
call fcn.00402750
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x860]
call fcn.00402750
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x878]
call fcn.00402750
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x890]
call fcn.00402750
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x848]
call fcn.00402750
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ad281
mov esp, ebp
pop ebp
ret