Function at 0x1001a7b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006777c
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x2d8
mov eax, dword [0x1008bb60]
xor eax, ebp
mov dword [ebp - 0x6c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x68]
call fcn.1002aba0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.1002b070
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.1002b480
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.100016b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.100016b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
call fcn.100016b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call fcn.100016b0
mov byte [ebp - 4], 6
mov byte [ebp - 0x270], 0
push 0x1ff
push 0
lea eax, [ebp - 0x26f]
push eax
call fcn.10041d70
add esp, 0xc
push 0x200
lea ecx, [ebp - 0x270]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x270]
push edx
push 0x10073f48
lea eax, [ebp - 0x24]
push eax
call fcn.100030c0
add esp, 0xc
push 0x5c
lea ecx, [ebp - 0x24]
call fcn.10002970
push eax
lea ecx, [ebp - 0x2b8]
push ecx
lea ecx, [ebp - 0x24]
call fcn.100029c0
mov dword [ebp - 0x2c4], eax
mov edx, dword [ebp - 0x2c4]
mov dword [ebp - 0x2c8], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x2c8]
push eax
lea ecx, [ebp - 0x24]
call fcn.100016f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2b8]
call fcn.100016d0
push 0x10073f4c
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x2bc]
push edx
call fcn.10002af0
add esp, 0xc
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x2d0], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x2d0]
push ecx
lea ecx, [ebp - 0x20]
call fcn.100016f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2bc]
call fcn.100016d0
push 0x10073f58
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x2c0]
push eax
call fcn.10002af0
add esp, 0xc
mov dword [ebp - 0x2d4], eax
mov ecx, dword [ebp - 0x2d4]
mov dword [ebp - 0x2d8], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x2d8]
push edx
lea ecx, [ebp - 0x18]
call fcn.100016f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c0]
call fcn.100016d0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x288]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea ecx, [ebp - 0x20]
call fcn.10025f80
push eax
push 0
push 0x10073f64
push 0x10073f70
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x290], eax
lea ecx, [ebp - 0x20]
call fcn.10025f80
push eax
push 0
push 0x10073f78
push 0x10073f88
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x28c], eax
lea ecx, [ebp - 0x20]
call fcn.10025f80
push eax
push 0
push 0x10073f90
push 0x10073f9c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x278], eax
lea ecx, [ebp - 0x18]
call fcn.10025f80
push eax
push 0
push 0x10073fa4
push 0x10073fac
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x298], eax
lea ecx, [ebp - 0x18]
call fcn.10025f80
push eax
push 0
push str.ChannelCount
push 0x10073fc4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x274], eax
lea ecx, [ebp - 0x294]
call fcn.100016b0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x298]
push ecx
push 0x10073fcc
lea edx, [ebp - 0x294]
push edx
call fcn.100030c0
add esp, 0xc
cmp dword [ebp - 0x2c], 1
je 0x1001aa68
cmp dword [ebp - 0x28], 1
je 0x1001aa68
call fcn.1002ff60
mov dword [ebp - 0x2dc], eax
cmp dword [ebp - 0x2dc], 0
je 0x1001aa83
cmp dword [ebp - 0x298], 0x1108
je 0x1001aa83
push 3
push 0x3e9
call sym.PatchCore.dll_RepPop
add esp, 8
movzx eax, word [ebp - 0x288]
cmp dword [ebp - 0x290], eax
jne 0x1001aab4
movzx ecx, word [ebp - 0x286]
cmp dword [ebp - 0x28c], ecx
jne 0x1001aab4
movzx edx, word [ebp - 0x282]
cmp dword [ebp - 0x278], edx
je 0x1001adfe
lea ecx, [ebp - 0x2b0]
call fcn.100021d0
mov dword [ebp - 0x2e0], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2a8]
call fcn.100021d0
mov dword [ebp - 0x2e4], eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2a0]
call fcn.100021d0
mov dword [ebp - 0x2e8], eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x2b4]
call fcn.100016b0
mov byte [ebp - 4], 0xf
push str.dg_sstatus
lea ecx, [ebp - 0x2b0]
call fcn.100022c0
mov eax, dword [ebp - 0x58]
push eax
push 0x10073fe8
lea ecx, [ebp - 0x2b0]
call fcn.10002330
mov ecx, dword [ebp - 0x4c]
push ecx
push 0x10073ff0
lea ecx, [ebp - 0x2b0]
call fcn.10002330
mov edx, dword [ebp - 0x40]
push edx
push 0x10073ff8
lea ecx, [ebp - 0x2b0]
call fcn.10002330
mov eax, dword [ebp - 0x54]
push eax
push 0x10074000
lea ecx, [ebp - 0x2b0]
call fcn.10002330
mov ecx, dword [ebp - 0x48]
push ecx
push 0x10074008
lea ecx, [ebp - 0x2b0]
call fcn.10002330
mov edx, dword [ebp - 0x50]
push edx
push 0x10074010
lea ecx, [ebp - 0x2b0]
call fcn.10002330
mov eax, dword [ebp - 0x44]
push eax
push 0x10074018
lea ecx, [ebp - 0x2b0]
call fcn.10002330
mov ecx, dword [ebp - 0x68]
push ecx
push 0x10074020
lea ecx, [ebp - 0x2b0]
call fcn.10002330
mov edx, dword [ebp - 0x5c]
push edx
push 0x10074028
lea ecx, [ebp - 0x2b0]
call fcn.10002330
mov eax, dword [ebp - 0x60]
push eax
push 0x10074030
lea ecx, [ebp - 0x2b0]
call fcn.10002330
mov ecx, dword [ebp - 0x64]
push ecx
push 0x10074038
lea ecx, [ebp - 0x2b0]
call fcn.10002330
push 0
push 0x10074040
lea ecx, [ebp - 0x2b0]
call fcn.10002330
push 0
push 0x10074048
lea ecx, [ebp - 0x2b0]
call fcn.10002330
push 0
lea ecx, [ebp - 0x2b0]
call fcn.100024b0
push str.dg_sstatus2
lea ecx, [ebp - 0x2a8]
call fcn.100022c0
mov edx, dword [ebp - 0x2c]
push edx
push 0x10074068
lea ecx, [ebp - 0x2a8]
call fcn.10002330
mov eax, dword [ebp - 0x28]
push eax
push 0x10074070
lea ecx, [ebp - 0x2a8]
call fcn.10002330
mov ecx, dword [ebp - 0x38]
push ecx
push 0x10074078
lea ecx, [ebp - 0x2a8]
call fcn.10002330
mov edx, dword [ebp - 0x30]
push edx
push 0x10074080
lea ecx, [ebp - 0x2a8]
call fcn.10002330
mov eax, dword [ebp - 0x34]
push eax
push 0x10074088
lea ecx, [ebp - 0x2a8]
call fcn.10002330
mov ecx, dword [ebp - 0x14]
push ecx
push 0x10074090
lea ecx, [ebp - 0x2a8]
call fcn.10002330
push 0
lea ecx, [ebp - 0x2a8]
call fcn.100024b0
push str.dg_update
lea ecx, [ebp - 0x2a0]
call fcn.100022c0
mov edx, dword [ebp - 0x298]
push edx
push str.tryno
lea ecx, [ebp - 0x2a0]
call fcn.10002330
mov eax, dword [ebp - 0x274]
push eax
push str.cnlcnt
lea ecx, [ebp - 0x2a0]
call fcn.10002330
push 0
lea ecx, [ebp - 0x2a0]
call fcn.100024b0
movzx ecx, word [ebp - 0x288]
push ecx
push 0x100740c8
lea edx, [ebp - 0x2b4]
push edx
call fcn.100030c0
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.10025f80
push eax
lea ecx, [ebp - 0x2b4]
call fcn.10025f80
push eax
push str.LastRunYear
push 0x100740d8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
movzx eax, word [ebp - 0x286]
push eax
push 0x100740e0
lea ecx, [ebp - 0x2b4]
push ecx
call fcn.100030c0
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.10025f80
push eax
lea ecx, [ebp - 0x2b4]
call fcn.10025f80
push eax
push str.LastRunMonth
push 0x100740f4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
movzx edx, word [ebp - 0x282]
push edx
push 0x100740fc
lea eax, [ebp - 0x2b4]
push eax
call fcn.100030c0
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.10025f80
push eax
lea ecx, [ebp - 0x2b4]
call fcn.10025f80
push eax
push str.LastRunDay
push 0x1007410c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x2b4]
call fcn.100016d0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2a0]
call fcn.10002280
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2a8]
call fcn.10002280
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2b0]
call fcn.10002280
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x294]
call fcn.100016d0
jmp 0x1001ae22
mov dword [ebp - 4], 6
jmp 0x1001ae84
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call fcn.100016d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
call fcn.100016d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.100016d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.100016d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.1002b4a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.1002b0d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.1002ac30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x6c]
xor ecx, ebp
call fcn.10041acb
mov esp, ebp
pop ebp
ret