Function at 0x412a10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
mov eax, dword [0x447044]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [str.state]
mov ecx, dword [0x43ef1c]
mov edx, dword [0x43ef20]
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.004272d0
xor edx, edx
push 0x3e
push edx
lea eax, [ebp - 0x9e]
push eax
mov word [ebp - 0xa0], dx
call fcn.004272d0
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.004217db
add esp, 0x24
lea ecx, [ebp - 0xe8]
push ecx
push 0x12
mov ebx, edx
lea edx, [ebp - 0x48]
push edx
mov edi, eax
push 0x435474
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 0x412b12
sub eax, edx
sar eax, 1
cmp eax, 0x10
jne 0x412c8a
cmp word [ebp - 0x2c], 0x54
jne 0x412c8a
movzx eax, word [ebp - 0x2a]
add eax, 0xffffffd0
cmp eax, 9
ja case.0x412b41.48
jmp dword [eax*4 + 0x412ca0]
mov esi, 1
jmp 0x412b89
mov esi, 2
jmp 0x412b89
mov esi, 3
jmp 0x412b89
mov esi, 4
jmp 0x412b89
mov esi, 5
jmp 0x412b89
mov esi, 6
jmp 0x412b89
mov esi, 7
jmp 0x412b89
mov esi, 8
jmp 0x412b89
mov esi, 9
jmp 0x412b89
xor esi, esi
xor edx, edx
mov eax, 0x32
mov word [ebp - 0x2c], dx
cmp word [ebp - 0x48], ax
jne 0x412c8a
cmp word [ebp - 0x46], 0x30
jne 0x412c8a
cmp word [ebp - 0x44], ax
jne 0x412c8a
mov eax, dword [ebp - 0x42]
add eax, 0xffffffce
cmp ax, 2
ja 0x412c8a
mov ecx, dword [ebp - 0x40]
add ecx, 0xffffffd0
cmp cx, 1
ja 0x412c8a
mov edx, dword [ebp - 0x3e]
add edx, 0xffffffd0
cmp dx, 9
ja 0x412c8a
mov eax, dword [ebp - 0x3c]
add eax, 0xffffffd0
cmp ax, 3
ja 0x412c8a
mov ecx, dword [ebp - 0x3a]
add ecx, 0xffffffd0
cmp cx, 9
ja 0x412c8a
mov edx, dword [ebp - 0x38]
add edx, 0xffffffd0
cmp dx, 2
ja 0x412c8a
mov eax, dword [ebp - 0x36]
add eax, 0xffffffd0
cmp ax, 9
ja 0x412c8a
mov ecx, dword [ebp - 0x34]
add ecx, 0xffffffd0
cmp cx, 6
ja 0x412c8a
mov edx, dword [ebp - 0x32]
add edx, 0xffffffd0
cmp dx, 9
ja 0x412c8a
mov eax, dword [ebp - 0x30]
add eax, 0xffffffd0
cmp ax, 6
ja 0x412c8a
mov ecx, dword [ebp - 0x2e]
add ecx, 0xffffffd0
cmp cx, 9
ja 0x412c8a
lea edx, [ebp - 0x48]
push edx
call fcn.004217db
add esp, 4
sub edi, eax
sbb ebx, edx
mov eax, ebx
mov ecx, edi
test eax, eax
jg 0x412c8a
jl 0x412c8a
test ecx, ecx
jb 0x412c8a
test eax, eax
jg 0x412c8a
jl 0x412c77
cmp ecx, 0x1f4
ja 0x412c8a
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041f53e
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.0041f53e
mov esp, ebp
pop ebp
ret