Function at 0x416060
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x41f490
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
xor edi, edi
mov ebp, ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov eax, dword [0x424038]
mov dword [esp + 0x30], edi
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x1c]
mov bl, 1
push ecx
push 0xe0
push 0x424334
mov byte [esp + 0x3c], bl
call fcn.0041d200
mov edx, dword [0x424038]
mov eax, str.LoginUrl
add esp, 0xc
mov dword [esp + 0x10], edx
test eax, eax
je 0x41611e
mov ecx, eax
shr ecx, 0x10
jne 0x4160e6
xor eax, eax
mov edx, str.LoginUrl
mov ax, dx
lea ecx, [esp + 0x10]
push eax
call fcn.004103b0
jmp 0x41611e
push str.LoginUrl
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
cmp esi, edi
je 0x41611e
push esi
lea ecx, [esp + 0x14]
call fcn.00410180
test eax, eax
je 0x41611e
mov edi, dword [esp + 0x10]
mov ecx, esi
mov eax, ecx
mov esi, str.LoginUrl
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp + 0x36c]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov byte [esp + 0x3c], 2
mov dword [esp + 0x20], eax
call fcn.0041c2d0
mov eax, dword [esp + 0x1c]
mov edx, dword [0x42403c]
add esp, 0xc
mov byte [esp + 0x30], bl
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x416173
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x416173
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [0x424038]
mov ecx, str.HomeUrl
test ecx, ecx
mov dword [esp + 0x10], eax
je 0x4161d5
mov edx, ecx
shr edx, 0x10
jne 0x41619d
xor eax, eax
mov ax, cx
lea ecx, [esp + 0x10]
push eax
call fcn.004103b0
jmp 0x4161d5
push str.HomeUrl
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x4161d5
push esi
lea ecx, [esp + 0x14]
call fcn.00410180
test eax, eax
je 0x4161d5
mov edi, dword [esp + 0x10]
mov ecx, esi
mov edx, ecx
mov esi, str.HomeUrl
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp + 0x380]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov byte [esp + 0x3c], 3
call fcn.0041c2d0
mov eax, dword [esp + 0x1c]
mov edx, dword [0x42403c]
add esp, 0xc
mov byte [esp + 0x30], bl
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x416226
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x416226
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [0x424038]
mov ecx, str.UpdateListUrl
test ecx, ecx
mov dword [esp + 0x10], eax
je 0x416288
mov edx, ecx
shr edx, 0x10
jne 0x416250
xor eax, eax
mov ax, cx
lea ecx, [esp + 0x10]
push eax
call fcn.004103b0
jmp 0x416288
push str.UpdateListUrl
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x416288
push esi
lea ecx, [esp + 0x14]
call fcn.00410180
test eax, eax
je 0x416288
mov edi, dword [esp + 0x10]
mov ecx, esi
mov edx, ecx
mov esi, str.UpdateListUrl
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp + 0x368]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov byte [esp + 0x3c], 4
call fcn.0041c2d0
mov eax, dword [esp + 0x1c]
mov edx, dword [0x42403c]
add esp, 0xc
mov byte [esp + 0x30], bl
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4162d9
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4162d9
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [0x424038]
mov ecx, str.ForumUrl
test ecx, ecx
mov dword [esp + 0x10], eax
je 0x41633b
mov edx, ecx
shr edx, 0x10
jne 0x416303
xor eax, eax
mov ax, cx
lea ecx, [esp + 0x10]
push eax
call fcn.004103b0
jmp 0x41633b
push str.ForumUrl
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x41633b
push esi
lea ecx, [esp + 0x14]
call fcn.00410180
test eax, eax
je 0x41633b
mov edi, dword [esp + 0x10]
mov ecx, esi
mov edx, ecx
mov esi, str.ForumUrl
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp + 0x370]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov byte [esp + 0x3c], 5
call fcn.0041c2d0
mov eax, dword [esp + 0x1c]
mov edx, dword [0x42403c]
add esp, 0xc
mov byte [esp + 0x30], bl
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41638c
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41638c
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
push str.ServiceUrl
lea ecx, [esp + 0x14]
call fcn.004135d0
lea eax, [ebp + 0x374]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov byte [esp + 0x3c], 6
call fcn.0041c2d0
mov eax, dword [esp + 0x1c]
mov edx, dword [0x42403c]
add esp, 0xc
mov byte [esp + 0x30], bl
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4163eb
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4163eb
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
push str.PayUrl0
lea ecx, [esp + 0x14]
call fcn.004135d0
lea eax, [ebp + 0x378]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov byte [esp + 0x3c], 7
call fcn.0041c2d0
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], bl
call fcn.0040e080
push str.PayUrl1
lea ecx, [esp + 0x14]
call fcn.004135d0
lea eax, [ebp + 0x37c]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov byte [esp + 0x3c], 8
call fcn.0041c2d0
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], bl
call fcn.0040e080
push str.AntiAddictionUrl
lea ecx, [esp + 0x14]
call fcn.004135d0
lea eax, [ebp + 0x384]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov byte [esp + 0x3c], 9
call fcn.0041c2d0
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], bl
call fcn.0040e080
push str.RunDir
lea ecx, [esp + 0x14]
call fcn.004135d0
lea eax, [ebp + 0x388]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov byte [esp + 0x3c], 0xa
call fcn.0041c2d0
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], bl
call fcn.0040e080
push str.Shortcut
lea ecx, [esp + 0x14]
call fcn.004135d0
lea eax, [ebp + 0x38c]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov byte [esp + 0x3c], 0xb
call fcn.0041c2d0
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], bl
call fcn.0040e080
lea edi, [ebp + 0x390]
push 0
mov ecx, edi
lea esi, [ebp + 0x394]
call fcn.00411e10
push eax
push 0xff
push 0x100
mov ecx, esi
call fcn.00411e10
push eax
push 0
push str.Channel
push 0x42096c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.00411ec0
push 0xffffffffffffffff
mov ecx, esi
call fcn.00411ec0
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test ecx, ecx
jle 0x416575
mov edi, dword [esp + 0x14]
push str._lm
mov ecx, edi
call fcn.004165b0
push esi
mov ecx, edi
call fcn.004166b0
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 0
call fcn.0040e080
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xffffffff
call fcn.00417ef0
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret