Function at 0x4164a0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5e317b
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x704dd8]
xor eax, esp
mov dword [esp + 0x440], eax
push ebp
push esi
push edi
mov eax, dword [0x704dd8]
xor eax, esp
push eax
lea eax, [esp + 0x454]
mov dword fs:[0], eax
call fcn.00409730
mov ecx, eax
call fcn.004a3a70
xor ecx, ecx
mov word [esp + 0x14], cx
mov ecx, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x416502
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00401c70
mov dword [esp + 0x45c], 0
call fcn.004a82a0
mov esi, 8
mov ebp, eax
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x28], esi
jae 0x416541
lea eax, [esp + 0x14]
push eax
push 0xffffffffffffffff
push str.UpOnlineRiLiLocalDate
push 0x5ff194
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, ebp
jne 0x41656c
cmp dword [esp + 0x28], esi
jb 0x416711
mov edx, dword [esp + 0x14]
push edx
jmp 0x416709
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x4a]
push ecx
mov word [esp + 0x4c], ax
call fcn.004e9ba0
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x25e]
push eax
mov word [esp + 0x260], dx
call fcn.004e9ba0
add esp, 0x18
call fcn.00409730
mov ecx, eax
call fcn.004a3a20
lea edx, [esp + 0x248]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
test cx, cx
jne 0x4165b6
lea eax, [esp + 0x248]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4165d1
mov ecx, dword [str.Uility.exe]
mov edx, dword [0x6003a8]
mov dword [eax], ecx
mov ecx, dword [0x6003ac]
mov dword [eax + 4], edx
mov edx, dword [0x6003b0]
mov dword [eax + 8], ecx
mov ecx, dword [0x6003b4]
mov dword [eax + 0xc], edx
mov dx, word [0x6003b8]
mov dword [eax + 0x10], ecx
mov word [eax + 0x14], dx
xor eax, eax
jmp 0x416620
movzx ecx, word [eax + 0x60031c]
mov word [esp + eax + 0x40], cx
add eax, 2
test cx, cx
jne 0x416620
lea eax, [esp + 0x248]
mov edx, eax
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x416640
lea edi, [esp + 0x40]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x416654
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x40]
add edi, 0xfffffffe
jmp 0x416680
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x416680
mov ecx, 8
mov esi, str.__UpOnlineData_1
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x40]
push eax
movsw word es:[edi], word [esi]
call fcn.004a8220
xor eax, eax
push ebp
lea edx, [esp + 0x34]
xor ecx, ecx
push 0x5fd170
push edx
mov word [esp + 0x3c], cx
mov dword [esp + 0x3e], eax
mov dword [esp + 0x42], eax
mov dword [esp + 0x46], eax
mov dword [esp + 0x4a], eax
mov word [esp + 0x4e], ax
call fcn.00403b80
mov eax, dword [esp + 0x24]
mov esi, 8
add esp, 0x10
cmp dword [esp + 0x28], esi
jae 0x4166e8
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x30]
push eax
push str.UpOnlineRiLiLocalDate
push 0x5ff194
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [esp + 0x28], esi
jb 0x416711
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004ca5d9
add esp, 4
mov ecx, dword [esp + 0x454]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x440]
xor ecx, esp
call fcn.004e8c89
add esp, 0x450
ret