Function at 0x415942
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x364
mov eax, dword [0x61c554]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x64
xor ebx, ebx
mov dword [ebp - 0x364], ecx
lea eax, [ebp - 0x144]
push ebx
push eax
call fcn.0045ef40
push 0x64
lea eax, [ebp - 0x7c]
push ebx
push eax
call fcn.0045ef40
push 0x64
lea eax, [ebp - 0xe0]
push ebx
push eax
call fcn.0045ef40
add esp, 0x24
lea eax, [ebp - 0x35c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0xba
call fcn.00406dcd
mov ecx, eax
call fcn.00407de7
mov edi, eax
call fcn.004059a6
mov ecx, eax
call fcn.0044a301
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
test edi, edi
jne 0x4159d6
push esi
push 0
push 0x5a0e74
push str.UserLogin
call ebx
mov edi, eax
push edi
lea eax, [ebp - 0x144]
push 0x5a5b5c
push eax
call fcn.004065f3
push edi
lea eax, [ebp - 0x7c]
push str.UpDataHour_d
push eax
call fcn.004065f3
push edi
lea eax, [ebp - 0xe0]
push str.UpDataMinute_d
push eax
call fcn.004065f3
add esp, 0x24
lea eax, [ebp - 0x144]
mov edi, str.UserLogin
push esi
push 0xffffffffffffffff
push eax
push edi
call ebx
push esi
mov dword [ebp - 0x360], eax
lea eax, [ebp - 0x7c]
push 0xffffffffffffffff
push eax
push edi
call ebx
push esi
mov edi, eax
lea eax, [ebp - 0xe0]
push 0xffffffffffffffff
push eax
push str.UserLogin
call ebx
mov ebx, eax
cmp edi, 0xffffffff
je 0x415a51
cmp ebx, 0xffffffff
jne 0x415ad5
push 0x11
push 8
call fcn.00455e27
push 0x208
mov edi, eax
lea eax, [ebp - 0x34c]
push 0
push eax
call fcn.0045ef40
push edi
lea eax, [ebp - 0x34c]
push 0x60903c
push eax
call fcn.004065f3
add esp, 0x20
lea eax, [ebp - 0x34c]
push esi
push eax
lea eax, [ebp - 0x7c]
push eax
push str.UserLogin
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0x3c
push 0
call fcn.00455e27
mov ebx, eax
lea eax, [ebp - 0x34c]
push ebx
push 0x60903c
push eax
call fcn.004065f3
add esp, 0x14
lea eax, [ebp - 0x34c]
push esi
push eax
lea eax, [ebp - 0xe0]
push eax
push str.UserLogin
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
movzx edx, word [ebp - 0x356]
mov ecx, dword [ebp - 0x360]
cmp ecx, edx
je 0x415b7c
lea eax, [edx - 1]
cmp eax, ecx
jne 0x415b15
movzx eax, word [ebp - 0x354]
cmp eax, edi
jne 0x415b0c
movzx eax, word [ebp - 0x352]
xor ecx, ecx
cmp eax, ebx
setge cl
jmp 0x415b11
jle 0x415b7c
xor ecx, ecx
inc ecx
test ecx, ecx
je 0x415b7c
xor eax, eax
lea edi, [ebp - 0x16]
mov word [ebp - 0x18], ax
stosd dword es:[edi], eax
push edx
push 0x60903c
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x18]
push eax
call fcn.004065f3
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x7c]
add esp, 0xc
mov edi, 0x5a1294
push esi
push edi
push eax
push str.UserLogin
call ebx
push esi
push edi
lea eax, [ebp - 0xe0]
mov edi, str.UserLogin
push eax
push edi
call ebx
push esi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x144]
push eax
push edi
call ebx
push dword [ebp + 8]
mov ecx, dword [ebp - 0x364]
call fcn.00415b8f
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00448575
mov esp, ebp
pop ebp
ret 4