Function at 0x5051a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x410], ax
push 0x206
push 0
lea ecx, [ebp - 0x40e]
push ecx
call fcn.0055e2a0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x410]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [str...wd.ini]
push eax
lea ecx, [ebp - 0x410]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
jne 0x505202
jmp 0x505463
lea edx, [ebp - 0x410]
push edx
push 0x78
mov eax, dword [str.ScanTimeout]
push eax
mov ecx, dword [str.payprotect]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x5e5d1c], eax
lea edx, [ebp - 0x410]
push edx
mov eax, dword [0x5e5d20]
push eax
mov ecx, dword [str.InfoTimeout]
push ecx
mov edx, dword [str.payprotect]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x5e5d20], eax
lea eax, [ebp - 0x410]
push eax
mov ecx, dword [0x5e5d24]
push ecx
mov edx, dword [str.SafeInfoTimeout]
push edx
mov eax, dword [str.payprotect]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x5e5d24], eax
lea ecx, [ebp - 0x410]
push ecx
mov edx, dword [0x5e5d28]
push edx
mov eax, dword [str.UTimeout]
push eax
mov ecx, dword [str.payprotect]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x5e5d28], eax
lea edx, [ebp - 0x410]
push edx
push 1
mov eax, dword [0x5e5cfc]
push eax
mov ecx, dword [str.payprotect]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x5e5d2c], eax
lea edx, [ebp - 0x410]
push edx
mov eax, dword [0x5e5d30]
push eax
mov ecx, dword [str.Statistic]
push ecx
mov edx, dword [str.payprotect]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x5e5d30], eax
lea eax, [ebp - 0x410]
push eax
mov ecx, dword [0x5e5d34]
push ecx
mov edx, dword [str.scandelay]
push edx
mov eax, dword [str.payprotect]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x5e5d34], eax
lea ecx, [ebp - 0x410]
push ecx
mov edx, dword [0x5e5d48]
push edx
push str.ticketcnt
mov eax, dword [str.payprotect]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x5e5d48], eax
cmp dword [0x5e5d30], 0
jge 0x505339
mov dword [0x5e5d30], 0
cmp dword [0x5e5d30], 0x64
jle 0x50534c
mov dword [0x5e5d30], 0x64
lea ecx, [ebp - 0x410]
push ecx
push 0
mov edx, dword [0x5e5cf8]
push edx
mov eax, dword [str.payprotect]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x5f0a50], eax
lea ecx, [ebp - 0x410]
push ecx
push 1
mov edx, dword [str.RiskCert]
push edx
mov eax, dword [str.payprotect]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x5e5d38], eax
xor ecx, ecx
mov word [ebp - 0x208], cx
push 0x1fe
push 0
lea edx, [ebp - 0x206]
push edx
call fcn.0055e2a0
add esp, 0xc
lea eax, [ebp - 0x410]
push eax
push 0x400
lea ecx, [ebp - 0x208]
push ecx
push 0
mov edx, dword [str.UServer]
push edx
mov eax, dword [str.payprotect]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
movzx ecx, word [ebp - 0x208]
test ecx, ecx
je 0x5053f1
lea edx, [ebp - 0x208]
push edx
mov ecx, 0x5f0a54
call fcn.00427020
lea eax, [ebp - 0x410]
push eax
mov ecx, dword [0x5e5d3c]
push ecx
mov edx, dword [str.SupportPT]
push edx
mov eax, dword [str.payprotect]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x5e5d3c], eax
lea ecx, [ebp - 0x410]
push ecx
mov edx, dword [0x5e5d40]
push edx
mov eax, dword [str.SupportBP]
push eax
mov ecx, dword [str.payprotect]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x5e5d40], eax
lea edx, [ebp - 0x410]
push edx
mov eax, dword [0x5e5d44]
push eax
mov ecx, dword [str.SupportST]
push ecx
mov edx, dword [str.payprotect]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x5e5d44], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret