Function at 0x415130
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
mov eax, dword [0x44c044]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [str.state]
mov ecx, dword [0x443e14]
mov edx, dword [0x443e18]
push ebx
push esi
push edi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x54], eax
xor eax, eax
push 0x3e
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x50], ecx
push eax
lea ecx, [ebp - 0x46]
push ecx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x4c], edx
mov word [ebp - 0x48], ax
call fcn.00428490
xor edx, edx
push 0x3e
push edx
lea eax, [ebp - 0x9e]
push eax
mov word [ebp - 0xa0], dx
call fcn.00428490
mov ecx, 0x11
mov esi, str.C:UsersPublicSmrDeployState.tmp
lea edi, [ebp - 0xe8]
rep movsd dword es:[edi], dword [esi]
add esp, 0x18
lea ecx, [ebp - 0xf8]
push ecx
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [ebp - 0xec]
movzx eax, word [ebp - 0xee]
movzx ecx, word [ebp - 0xf0]
push edx
movzx edx, word [ebp - 0xf2]
push eax
movzx eax, word [ebp - 0xf6]
push ecx
movzx ecx, word [ebp - 0xf8]
push edx
push eax
push ecx
lea edx, [ebp - 0xa0]
push str._04u_02u_02u_02u_02u_02u
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0xa0]
push eax
call fcn.004242fb
add esp, 0x24
lea ecx, [ebp - 0xe8]
push ecx
push 0x12
mov ebx, edx
lea edx, [ebp - 0x48]
push edx
mov edi, eax
push 0x43d31c
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x48]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x415232
sub eax, edx
sar eax, 1
cmp eax, 0x10
jne 0x4153aa
cmp word [ebp - 0x2c], 0x54
jne 0x4153aa
movzx eax, word [ebp - 0x2a]
add eax, 0xffffffd0
cmp eax, 9
ja case.0x415261.48
jmp dword [eax*4 + 0x4153c0]
mov esi, 1
jmp 0x4152a9
mov esi, 2
jmp 0x4152a9
mov esi, 3
jmp 0x4152a9
mov esi, 4
jmp 0x4152a9
mov esi, 5
jmp 0x4152a9
mov esi, 6
jmp 0x4152a9
mov esi, 7
jmp 0x4152a9
mov esi, 8
jmp 0x4152a9
mov esi, 9
jmp 0x4152a9
xor esi, esi
xor edx, edx
mov eax, 0x32
mov word [ebp - 0x2c], dx
cmp word [ebp - 0x48], ax
jne 0x4153aa
cmp word [ebp - 0x46], 0x30
jne 0x4153aa
cmp word [ebp - 0x44], ax
jne 0x4153aa
mov eax, dword [ebp - 0x42]
add eax, 0xffffffce
cmp ax, 2
ja 0x4153aa
mov ecx, dword [ebp - 0x40]
add ecx, 0xffffffd0
cmp cx, 1
ja 0x4153aa
mov edx, dword [ebp - 0x3e]
add edx, 0xffffffd0
cmp dx, 9
ja 0x4153aa
mov eax, dword [ebp - 0x3c]
add eax, 0xffffffd0
cmp ax, 3
ja 0x4153aa
mov ecx, dword [ebp - 0x3a]
add ecx, 0xffffffd0
cmp cx, 9
ja 0x4153aa
mov edx, dword [ebp - 0x38]
add edx, 0xffffffd0
cmp dx, 2
ja 0x4153aa
mov eax, dword [ebp - 0x36]
add eax, 0xffffffd0
cmp ax, 9
ja 0x4153aa
mov ecx, dword [ebp - 0x34]
add ecx, 0xffffffd0
cmp cx, 6
ja 0x4153aa
mov edx, dword [ebp - 0x32]
add edx, 0xffffffd0
cmp dx, 9
ja 0x4153aa
mov eax, dword [ebp - 0x30]
add eax, 0xffffffd0
cmp ax, 6
ja 0x4153aa
mov ecx, dword [ebp - 0x2e]
add ecx, 0xffffffd0
cmp cx, 9
ja 0x4153aa
lea edx, [ebp - 0x48]
push edx
call fcn.004242fb
add esp, 4
sub edi, eax
sbb ebx, edx
mov eax, ebx
mov ecx, edi
test eax, eax
jg 0x4153aa
jl 0x4153aa
test ecx, ecx
jb 0x4153aa
test eax, eax
jg 0x4153aa
jl 0x415397
cmp ecx, 0x1f4
ja 0x4153aa
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004217e4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004217e4
mov esp, ebp
pop ebp
ret