Function at 0x597070
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e270d
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x676580]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x114], ecx
mov eax, dword [ebp - 0x114]
cmp dword [eax + 4], 0
je 0x5970ba
mov ecx, dword [ebp - 0x114]
cmp dword [ecx + 8], 0
jne 0x5970d4
push str.IniTimeLimitCondtion:_context_or_parent_is_null
mov ecx, dword [ebp - 0x114]
add ecx, 0xc
call fcn.0040b1c0
xor eax, eax
jmp 0x59792e
mov edx, dword [ebp - 0x114]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x114]
add ecx, 0x20
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.005c2e90
add esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0x38
mov word [ebp - 0x8c], 0
push 0x6e
push 0
lea eax, [ebp - 0x8a]
push eax
call fcn.00524800
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.00493020
push eax
push 0x37
lea ecx, [ebp - 0x8c]
push ecx
push 0x61f3fc
mov ecx, dword [ebp - 0x114]
add ecx, 0x28
call fcn.00493020
push eax
mov ecx, dword [ebp - 0x114]
add ecx, 0x24
call fcn.00493020
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov word [ebp - 0x1e], 0
push 0
call fcn.0058b480
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x90], 0
mov ecx, dword [ebp - 0x114]
add ecx, 0x2c
call fcn.0040ee60
movzx edx, al
test edx, edx
jne 0x597381
mov ecx, dword [ebp - 0x114]
add ecx, 0x2c
call fcn.00493020
push eax
call fcn.0052488b
add esp, 4
mov dword [ebp - 0x94], eax
lea ecx, [ebp - 0xa4]
call fcn.005705a0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x8c]
push eax
call fcn.0052488b
add esp, 4
cdq
push edx
push eax
lea ecx, [ebp - 0xa4]
call fcn.005708a0
lea ecx, [ebp - 0xa4]
call fcn.00570320
push edx
push eax
push 0
call fcn.00524f64
add esp, 4
push edx
push eax
call fcn.005c0910
add esp, 0x10
cmp eax, dword [ebp - 0x94]
jge 0x597372
push str.IniTimeLimitCondtion:less_than_min_day_count
mov ecx, dword [ebp - 0x114]
add ecx, 0xc
call fcn.0040b1c0
cmp dword [0x67e1c8], 0
je 0x59733f
mov dword [ebp - 0xcc], 0
push 0x61f540
lea ecx, [ebp - 0xc4]
call fcn.004092b0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x114]
cmp dword [ecx + 8], 0
jne 0x59725b
mov dword [ebp - 0x118], 0xffffffff
jmp 0x597279
mov edx, dword [ebp - 0x114]
mov eax, dword [edx + 8]
mov ecx, dword [ebp - 0x114]
mov ecx, dword [ecx + 8]
mov edx, dword [eax]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0xc0], ecx
lea edx, [ebp - 0xc4]
push edx
lea eax, [ebp - 0xc8]
push eax
call fcn.005c21b0
add esp, 8
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x120], ecx
mov byte [ebp - 4], 3
lea edx, [ebp - 0xcc]
push edx
push str.less_than_mini_value_in_days_count__return_false
push 0x61f588
mov ecx, dword [ebp - 0x120]
call fcn.00493020
push eax
push 0x61f53c
push 0x61f534
lea eax, [ebp - 0xc0]
push eax
push 0x61f51c
call fcn.00447600
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.004476c0
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447700
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc8]
call fcn.00403270
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc4]
call fcn.00403270
mov dword [ebp - 0xd0], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call fcn.00570580
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00403270
mov eax, dword [ebp - 0xd0]
jmp 0x59792e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call fcn.00570580
mov ecx, dword [ebp - 0x114]
add ecx, 0x30
call fcn.0040ee60
movzx ecx, al
test ecx, ecx
jne 0x59758c
mov ecx, dword [ebp - 0x114]
add ecx, 0x30
call fcn.00493020
push eax
call fcn.0052488b
add esp, 4
mov dword [ebp - 0xa8], eax
lea ecx, [ebp - 0xbc]
call fcn.005705a0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x8c]
push edx
call fcn.0052488b
add esp, 4
cdq
push edx
push eax
lea ecx, [ebp - 0xbc]
call fcn.005708a0
lea ecx, [ebp - 0xbc]
call fcn.00570320
push edx
push eax
push 0
call fcn.00524f64
add esp, 4
push edx
push eax
call fcn.005c0910
add esp, 0x10
cmp eax, dword [ebp - 0xa8]
jle 0x59757d
push 0x61f5f8
mov ecx, dword [ebp - 0x114]
add ecx, 0xc
call fcn.0040b1c0
cmp dword [0x67e1c8], 0
je 0x59754a
mov dword [ebp - 0xe0], 0
push 0x61f678
lea ecx, [ebp - 0xd8]
call fcn.004092b0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x114]
cmp dword [eax + 8], 0
jne 0x597466
mov dword [ebp - 0x124], 0xffffffff
jmp 0x597484
mov ecx, dword [ebp - 0x114]
mov edx, dword [ecx + 8]
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax + 8]
mov edx, dword [edx]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0xd4], ecx
lea edx, [ebp - 0xd8]
push edx
lea eax, [ebp - 0xdc]
push eax
call fcn.005c21b0
add esp, 8
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x12c], ecx
mov byte [ebp - 4], 6
lea edx, [ebp - 0xe0]
push edx
push str.big_than_max_value_in_days_count__return_false
push 0x61f6c0
mov ecx, dword [ebp - 0x12c]
call fcn.00493020
push eax
push 0x61f5f4
push 0x61f66c
lea eax, [ebp - 0xd4]
push eax
push 0x61f654
call fcn.00447600
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.004476c0
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447700
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xdc]
call fcn.00403270
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xd8]
call fcn.00403270
mov dword [ebp - 0xe4], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xbc]
call fcn.00570580
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00403270
mov eax, dword [ebp - 0xe4]
jmp 0x59792e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xbc]
call fcn.00570580
mov ecx, dword [ebp - 0x114]
add ecx, 0x34
call fcn.0040ee60
movzx ecx, al
test ecx, ecx
jne 0x59774f
lea edx, [ebp - 0x8c]
push edx
call fcn.0052488b
add esp, 4
mov esi, dword [ebp - 0x18]
sub esi, eax
mov ecx, dword [ebp - 0x114]
add ecx, 0x34
call fcn.00493020
push eax
call fcn.0052488b
add esp, 4
imul eax, eax, 0x3c
xor ecx, ecx
cmp esi, eax
setg cl
mov dword [ebp - 0x90], ecx
cmp dword [ebp - 0x90], 0
jne 0x59774f
push str.IniTimeLimitCondtion:less_than_min_minutes_count
mov ecx, dword [ebp - 0x114]
add ecx, 0xc
call fcn.0040b1c0
cmp dword [0x67e1c8], 0
je 0x597729
mov dword [ebp - 0xf4], 0
push 0x61f7b0
lea ecx, [ebp - 0xec]
call fcn.004092b0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x114]
cmp dword [edx + 8], 0
jne 0x597643
mov dword [ebp - 0x130], 0xffffffff
jmp 0x597663
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x114]
mov eax, dword [edx + 8]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx]
call eax
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0xe8], ecx
lea edx, [ebp - 0xec]
push edx
lea eax, [ebp - 0xf0]
push eax
call fcn.005c21b0
add esp, 8
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x138], ecx
mov byte [ebp - 4], 8
lea edx, [ebp - 0xf4]
push edx
push str.less_than_mini_value_in_minutess_count__return_false
push 0x61f7f8
mov ecx, dword [ebp - 0x138]
call fcn.00493020
push eax
push 0x61f7ac
push 0x61f7a4
lea eax, [ebp - 0xe8]
push eax
push 0x61f78c
call fcn.00447600
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.004476c0
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447700
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xf0]
call fcn.00403270
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xec]
call fcn.00403270
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0xf8], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00403270
mov eax, dword [ebp - 0xf8]
jmp 0x59792e
mov ecx, dword [ebp - 0x114]
add ecx, 0x38
call fcn.0040ee60
movzx edx, al
test edx, edx
jne 0x59790f
lea eax, [ebp - 0x8c]
push eax
call fcn.0052488b
add esp, 4
mov esi, dword [ebp - 0x18]
sub esi, eax
mov ecx, dword [ebp - 0x114]
add ecx, 0x38
call fcn.00493020
push eax
call fcn.0052488b
add esp, 4
imul eax, eax, 0x3c
xor ecx, ecx
cmp esi, eax
setl cl
mov dword [ebp - 0x90], ecx
cmp dword [ebp - 0x90], 0
jne 0x59790f
push 0x61f870
mov ecx, dword [ebp - 0x114]
add ecx, 0xc
call fcn.0040b1c0
cmp dword [0x67e1c8], 0
je 0x5978ec
mov dword [ebp - 0x108], 0
push str.IniTimeLimitCondtion::IsRecommanded
lea ecx, [ebp - 0x100]
call fcn.004092b0
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x114]
cmp dword [edx + 8], 0
jne 0x597806
mov dword [ebp - 0x13c], 0xffffffff
jmp 0x597826
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x114]
mov eax, dword [edx + 8]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx]
call eax
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0xfc], ecx
lea edx, [ebp - 0x100]
push edx
lea eax, [ebp - 0x104]
push eax
call fcn.005c21b0
add esp, 8
mov dword [ebp - 0x140], eax
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x144], ecx
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x108]
push edx
push str.big_than_max_value_in_minutess_count__return_false
push 0x61f940
mov ecx, dword [ebp - 0x144]
call fcn.00493020
push eax
push 0x61f86c
push 0x61f8ec
lea eax, [ebp - 0xfc]
push eax
push 0x61f8d4
call fcn.00447600
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.004476c0
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447700
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x104]
call fcn.00403270
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x100]
call fcn.00403270
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00403270
mov eax, dword [ebp - 0x10c]
jmp 0x59792e
mov dword [ebp - 0x110], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00403270
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.005236f2
mov esp, ebp
pop ebp
ret