Function at 0x402d00
Capabilities:
Print debug messages
Read .ini file

Disassembly:
sub esp, 0x144
push ebp
push esi
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x4c]
rep stosd dword es:[edi], eax
xor ecx, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x44], eax
push ecx
mov dword [esp + 0x5c], ecx
call fcn.00433c5c
lea edx, [esp + 0x50]
push 0x104
push edx
mov ebp, eax
call fcn.00405310
mov edi, 0x4542d0
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x4c]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x4c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x24]
push 0x14
push ecx
push 0x45f2b0
push str.SoftT
push str.dogset
call esi
lea edx, [esp + 0x4c]
lea eax, [esp + 0x34]
push edx
push 0x14
push eax
push 0x45f2b0
push str.SoftD
push str.dogset
call esi
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 1
jae 0x402e3b
push ebp
lea ecx, [esp + 0x10]
push 0x4542b4
push ecx
call fcn.00433d38
lea edx, [esp + 0x18]
push 1
push edx
call fcn.00402c80
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esp, 0x14
lea eax, [esp + 0x4c]
lea ecx, [esp + 0xc]
push eax
push ecx
push str.SoftD
push str.dogset
call esi
lea edx, [esp + 0x4c]
lea eax, [esp + 0xc]
push edx
push eax
push str.SoftT
push str.dogset
call esi
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x144
ret
lea ecx, [esp + 0x20]
push 0
push ecx
call fcn.00402c80
add esp, 8
test eax, eax
je 0x402f53
lea edx, [esp + 0x34]
push 0
push edx
call fcn.00402c80
add esp, 8
test eax, eax
je 0x402f53
lea eax, [ebp - 0x278d00]
lea ecx, [esp + 0xc]
push eax
push 0x4542b4
push ecx
call fcn.00433d38
add esp, 0xc
lea esi, [esp + 0x20]
lea eax, [esp + 0xc]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x402eae
test cl, cl
je 0x402eaa
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x402eae
add eax, 2
add esi, 2
test cl, cl
jne 0x402e8a
xor eax, eax
jmp 0x402eb3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jle 0x402ec1
push 0x45428c
jmp 0x402f58
push ebp
lea eax, [esp + 0x10]
push 0x4542b4
push eax
call fcn.00433d38
add esp, 0xc
lea esi, [esp + 0x34]
lea eax, [esp + 0xc]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x402f00
test cl, cl
je 0x402efc
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x402f00
add eax, 2
add esi, 2
test cl, cl
jne 0x402edc
xor eax, eax
jmp 0x402f05
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jge 0x402f10
push 0x454280
jmp 0x402f58
lea eax, [esp + 0xc]
push 1
push eax
call fcn.00402c80
add esp, 8
lea ecx, [esp + 0x4c]
lea edx, [esp + 0xc]
push ecx
push edx
push str.SoftD
push str.dogset
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x454268
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x144
ret
push str.TIME__DAY_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
mov dword [0x45f80c], 0
xor eax, eax
pop ebp
add esp, 0x144
ret