Function at 0x415890
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x55c01b
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x651788]
xor eax, esp
mov dword [esp + 0x440], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x651788]
xor eax, esp
push eax
lea eax, [esp + 0x458]
mov dword fs:[0], eax
call fcn.0040b140
mov ecx, eax
call fcn.0046c790
xor ebx, ebx
mov ecx, eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
lea esi, [ecx + 2]
nop
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x4158f0
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00402120
mov dword [esp + 0x460], ebx
call fcn.00470cb0
mov esi, 8
cmp dword [esp + 0x2c], esi
mov ebp, eax
mov eax, dword [esp + 0x18]
jae 0x41592b
lea eax, [esp + 0x18]
push eax
push 0xffffffffffffffff
push str.UpOnlineRiLiLocalDate
push 0x573194
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, ebp
je 0x415adc
push 0x206
lea ecx, [esp + 0x4a]
push ebx
push ecx
mov word [esp + 0x50], bx
call fcn.004afb50
push 0x206
lea edx, [esp + 0x25e]
push ebx
push edx
mov word [esp + 0x264], bx
call fcn.004afb50
add esp, 0x18
call fcn.0040b140
mov ecx, eax
call fcn.0046c750
lea edx, [esp + 0x24c]
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
cmp cx, bx
jne 0x415990
lea eax, [esp + 0x24c]
add eax, 0xfffffffe
jmp 0x4159b0
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x4159b0
mov ecx, dword [str.Uility.exe]
mov edx, dword [0x5741e8]
mov dword [eax], ecx
mov ecx, dword [0x5741ec]
mov dword [eax + 4], edx
mov edx, dword [0x5741f0]
mov dword [eax + 8], ecx
mov ecx, dword [0x5741f4]
mov dword [eax + 0xc], edx
mov dx, word [0x5741f8]
mov dword [eax + 0x10], ecx
mov word [eax + 0x14], dx
xor eax, eax
jmp 0x415a00
movzx ecx, word [eax + 0x57415c]
mov word [esp + eax + 0x44], cx
add eax, 2
cmp cx, bx
jne 0x415a00
lea eax, [esp + 0x24c]
mov edx, eax
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x415a20
lea edi, [esp + 0x44]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x415a34
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 + 0x44]
add edi, 0xfffffffe
jmp 0x415a60
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x415a60
mov ecx, 8
mov esi, str.__UpOnlineData_1
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x44]
push eax
movsw word es:[edi], word [esi]
call fcn.00470c30
xor eax, eax
push ebp
lea ecx, [esp + 0x38]
push 0x571094
push ecx
mov word [esp + 0x40], bx
mov dword [esp + 0x42], eax
mov dword [esp + 0x46], eax
mov dword [esp + 0x4a], eax
mov dword [esp + 0x4e], eax
mov word [esp + 0x52], ax
call fcn.00405340
mov eax, dword [esp + 0x28]
mov esi, 8
add esp, 0x10
cmp dword [esp + 0x2c], esi
jae 0x415ac6
lea eax, [esp + 0x18]
push eax
lea edx, [esp + 0x34]
push edx
push str.UpOnlineRiLiLocalDate
push 0x573194
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [esp + 0x2c], esi
jb 0x415aef
mov eax, dword [esp + 0x18]
push eax
call fcn.00492573
add esp, 4
mov ecx, dword [esp + 0x458]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x440]
xor ecx, esp
call fcn.004aeca3
add esp, 0x450
ret