Function at 0x40e7d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x459c10
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00434d35
cmp byte [esi + 0x9c], 0
mov ecx, esi
je 0x40e80b
push 0x4661c8
jmp 0x40e810
push str.Modificar_alarma
call fcn.004311b0
cmp byte [esi + 0x9d], 0
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
jne 0x40e844
push str.Datos_de_alarma:
lea ecx, [esi + 0x990]
call fcn.004311b0
xor ebx, ebx
push ebx
lea ecx, [esi + 0x9e4]
call fcn.00431252
jmp 0x40e887
mov eax, dword [esi + 0xa04]
push 0
push 0x3c
push 0xc5
push eax
call edi
mov eax, dword [esi + 0x98]
cmp dword [eax - 0xc], 0
jne 0x40e879
mov ecx, dword [esi + 0xa04]
push str._Introducir_un_nombre
push 0
push 0x1501
push ecx
call edi
jmp 0x40e885
push eax
lea ecx, [esi + 0x9e4]
call fcn.004311b0
xor ebx, ebx
mov edx, dword [esi + 0x5c4]
push 0x3e7
push ebx
push 0x465
push edx
call edi
mov eax, dword [esi + 0x618]
push 0x63
push ebx
push 0x465
push eax
call edi
mov ecx, dword [esi + 0x66c]
push 0x63
push ebx
push 0x465
push ecx
call edi
mov edx, dword [esi + 0x6c0]
push 0x3e7
push ebx
push 0x465
push edx
call edi
mov eax, dword [esi + 0x714]
push 0x63
push ebx
push 0x465
push eax
call edi
mov ecx, dword [esi + 0x768]
push 0x63
push ebx
push 0x465
push ecx
call edi
mov edx, dword [esi + 0x12c]
push ebx
push 3
push 0xc5
push edx
call edi
mov eax, dword [esi + 0x228]
push ebx
push 3
push 0xc5
push eax
call edi
mov ecx, dword [esi + 0x180]
push ebx
push 2
push 0xc5
push ecx
call edi
mov edx, dword [esi + 0x27c]
push ebx
push 2
push 0xc5
push edx
call edi
mov eax, dword [esi + 0x1d4]
push ebx
push 2
push 0xc5
push eax
call edi
mov ecx, dword [esi + 0x2d0]
push ebx
push 2
push 0xc5
push ecx
call edi
mov edx, dword [esi + 0x324]
push ebx
push 3
push 0xc5
push edx
call edi
push ebx
push 2
push 0xc5
mov eax, dword [esi + 0x378]
push eax
call edi
movzx eax, byte [esi + 0x74]
movzx ecx, byte [esi + 0x7c]
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], ecx
cmp eax, ebx
jne 0x40ea5d
movzx eax, word [esi + 0x7a]
movzx ecx, word [esi + 0x76]
movzx ebp, byte [esi + 0x78]
xor edx, edx
cmp eax, 0x76c
setge dl
cmp edx, ebx
jne 0x40e9bb
push 0x80004005
call fcn.00405760
lea edx, [ebp - 1]
cmp edx, 0xb
jbe 0x40e9cd
push 0x80004005
call fcn.00405760
lea ebp, [ecx - 1]
cmp ebp, 0x1e
jbe 0x40e9df
push 0x80004005
call fcn.00405760
mov dword [esp + 0x34], edx
lea edx, [esp + 0x24]
add eax, 0xfffff894
push edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], 0xffffffff
call fcn.0043d9d9
mov dword [esp + 0x18], eax
and eax, edx
add esp, 4
mov dword [esp + 0x18], edx
cmp eax, 0xffffffff
jne 0x40ea2a
push 0x80070057
call fcn.00405760
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 0x454]
call fcn.0043619d
mov ecx, dword [esi + 0x5c4]
push ebx
push ebx
push 0x467
push ecx
call edi
mov edx, dword [esi + 0x618]
push ebx
push ebx
push 0x467
push edx
call edi
push ebx
jmp 0x40ea90
movzx eax, word [esi + 0x76]
mov edx, dword [esi + 0x5c4]
movzx ecx, ax
push ecx
push ebx
push 0x467
push edx
call edi
movzx eax, byte [esi + 0x78]
mov ecx, dword [esi + 0x618]
push eax
push ebx
push 0x467
push ecx
call edi
movzx eax, word [esi + 0x7a]
movzx edx, ax
push edx
mov eax, dword [esi + 0x66c]
push ebx
push 0x467
push eax
call edi
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 0x13
mov dword [esp + 0x38], 8
mov dword [esp + 0x3c], 0x6c
mov dword [esp + 0x48], 0xffffffff
call fcn.0043d9d9
mov dword [esp + 0x20], eax
and eax, edx
add esp, 4
mov dword [esp + 0x20], edx
cmp eax, 0xffffffff
jne 0x40eaf1
push 0x80070057
call fcn.00405760
push 0xffffffffffffffff
cmp dword [esi + 0xa4], ebx
jne 0x40eb33
movzx edx, byte [esi + 0x7f]
movzx eax, byte [esi + 0x7e]
movzx ecx, byte [esi + 0x7d]
push edx
push eax
push ecx
push 0x13
push 9
push 0x7d8
lea ecx, [esp + 0x30]
call fcn.004055a0
lea edx, [esp + 0x14]
push edx
lea ecx, [esi + 0x3ac]
call fcn.0043619d
lea eax, [esp + 0x1c]
push eax
jmp 0x40eb59
movzx ecx, byte [esi + 0x7f]
movzx edx, byte [esi + 0x7e]
movzx eax, byte [esi + 0x7d]
push ecx
push edx
push eax
push 0x13
push 9
push 0x7d8
lea ecx, [esp + 0x30]
call fcn.004055a0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 0x400]
call fcn.0043619d
mov edx, dword [esi + 0xd8]
xor eax, eax
cmp byte [esi + 0x8c], al
push ebx
setne al
push eax
push 0xf1
push edx
call edi
movzx eax, byte [esi + 0x80]
movzx ecx, byte [esi + 0x88]
mov dword [esi + 0xa8], eax
mov dword [esi + 0xac], ecx
cmp eax, ebx
jne 0x40ec70
movzx eax, word [esi + 0x86]
movzx ecx, word [esi + 0x82]
movzx ebp, byte [esi + 0x84]
xor edx, edx
cmp eax, 0x76c
setge dl
cmp edx, ebx
jne 0x40ebce
push 0x80004005
call fcn.00405760
lea edx, [ebp - 1]
cmp edx, 0xb
jbe 0x40ebe0
push 0x80004005
call fcn.00405760
lea ebp, [ecx - 1]
cmp ebp, 0x1e
jbe 0x40ebf2
push 0x80004005
call fcn.00405760
mov dword [esp + 0x34], edx
lea edx, [esp + 0x24]
add eax, 0xfffff894
push edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], 0xffffffff
call fcn.0043d9d9
mov dword [esp + 0x18], eax
and eax, edx
add esp, 4
mov dword [esp + 0x18], edx
cmp eax, 0xffffffff
jne 0x40ec3d
push 0x80070057
call fcn.00405760
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 0x4a8]
call fcn.0043619d
mov ecx, dword [esi + 0x6c0]
push ebx
push ebx
push 0x467
push ecx
call edi
mov edx, dword [esi + 0x714]
push ebx
push ebx
push 0x467
push edx
call edi
push ebx
jmp 0x40ecac
movzx eax, word [esi + 0x82]
mov edx, dword [esi + 0x6c0]
movzx ecx, ax
push ecx
push ebx
push 0x467
push edx
call edi
movzx eax, byte [esi + 0x84]
mov ecx, dword [esi + 0x714]
push eax
push ebx
push 0x467
push ecx
call edi
movzx eax, word [esi + 0x86]
movzx edx, ax
push edx
mov eax, dword [esi + 0x768]
push ebx
push 0x467
push eax
call edi
push 0xffffffffffffffff
cmp dword [esi + 0xac], ebx
jne 0x40ed06
movzx ecx, byte [esi + 0x8b]
movzx edx, byte [esi + 0x8a]
movzx eax, byte [esi + 0x89]
push ecx
push edx
push eax
push 0x13
push 9
push 0x7d8
lea ecx, [esp + 0x30]
call fcn.004055a0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 0x4fc]
call fcn.0043619d
lea edx, [esp + 0x1c]
push edx
jmp 0x40ed35
movzx eax, byte [esi + 0x8b]
movzx ecx, byte [esi + 0x8a]
movzx edx, byte [esi + 0x89]
push eax
push ecx
push edx
push 0x13
push 9
push 0x7d8
lea ecx, [esp + 0x30]
call fcn.004055a0
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 0x550]
call fcn.0043619d
mov al, byte [esi + 0x8d]
movzx ecx, al
mov dword [esi + 0xb0], ecx
cmp al, 1
jne 0x40edfc
call fcn.0042ae70
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40ed71
push 0x80004005
call fcn.00405760
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x54], ebx
movzx ecx, word [esi + 0x90]
push ecx
lea edx, [esp + 0x18]
push 0x466258
push edx
call fcn.00404fe0
mov ebx, dword [esp + 0x20]
add esp, 0xc
push ebx
lea ecx, [esi + 0x304]
call fcn.004311b0
lea eax, [ebx - 0x10]
mov dword [esp + 0x54], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40edd3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
cmp byte [esi + 0x8d], 2
jne 0x40ef61
call fcn.0042ae70
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40ee0e
push 0x80004005
call fcn.00405760
push 0x466260
lea ecx, [esi + 0x304]
call fcn.004311b0
jmp 0x40edd5
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x54], 1
movzx ecx, byte [esi + 0x90]
push ecx
lea edx, [esp + 0x18]
push 0x466258
push edx
call fcn.00404fe0
mov ebp, dword [esp + 0x20]
add esp, 0xc
push ebp
lea ecx, [esi + 0x358]
call fcn.004311b0
movzx eax, byte [esi + 0x91]
mov cl, bl
shr eax, cl
and eax, 1
push eax
mov eax, dword [esi + 0x7bc]
push ebx
push 0x151
push eax
call edi
test eax, eax
jl 0x40ee8d
mov ecx, dword [esi + 0x7bc]
push 0
push 0
push ecx
mov dword [esi + 0x7f8], 0
call dword [sym.imp.USER32.dll_InvalidateRect]
inc ebx
cmp ebx, 7
jl 0x40ee50
lea eax, [ebp - 0x10]
mov dword [esp + 0x54], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40eeb7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
cmp byte [esi + 0x8d], 3
jne 0x40efff
jmp 0x40eed0
movzx eax, word [esi + 0x90]
mov cl, bl
shr eax, cl
mov ecx, dword [esi + 0x820]
and eax, 1
push eax
push ebx
push 0x151
push ecx
call edi
test eax, eax
jl 0x40ef0d
mov edx, dword [esi + 0x820]
push 0
push 0
push edx
mov dword [esi + 0x85c], 0
call dword [sym.imp.USER32.dll_InvalidateRect]
inc ebx
cmp ebx, 0xc
jl 0x40eed0
xor ebx, ebx
xor ebp, ebp
cmp byte [esi + 0x92], bl
jne 0x40ef80
nop
mov eax, dword [esi + 0x94]
mov ecx, ebx
shr eax, cl
and eax, 1
push eax
mov eax, dword [esi + 0x884]
push ebx
push 0x151
push eax
call edi
test eax, eax
jl 0x40ef56
mov ecx, dword [esi + 0x884]
push ebp
push ebp
push ecx
mov dword [esi + 0x8c0], ebp
call dword [sym.imp.USER32.dll_InvalidateRect]
inc ebx
cmp ebx, 0x20
jl 0x40ef20
jmp 0x40effd
push 0x466260
lea ecx, [esi + 0x358]
call fcn.004311b0
jmp 0x40eeb9
movzx eax, byte [esi + 0x94]
mov edx, dword [esi + 0x8e8]
mov cl, bl
shr eax, cl
and eax, 1
push eax
push ebx
push 0x151
push edx
call edi
test eax, eax
jl 0x40efb7
mov eax, dword [esi + 0x8e8]
push ebp
push ebp
push eax
mov dword [esi + 0x924], ebp
call dword [sym.imp.USER32.dll_InvalidateRect]
inc ebx
cmp ebx, 5
jl 0x40ef80
xor ebx, ebx
nop
movzx eax, byte [esi + 0x95]
mov cl, bl
shr eax, cl
mov ecx, dword [esi + 0x94c]
and eax, 1
push eax
push ebx
push 0x151
push ecx
call edi
test eax, eax
jl 0x40eff7
mov edx, dword [esi + 0x94c]
push ebp
push ebp
push edx
mov dword [esi + 0x988], ebp
call dword [sym.imp.USER32.dll_InvalidateRect]
inc ebx
cmp ebx, 7
jl 0x40efc0
xor ebx, ebx
movzx eax, byte [esi + 0x92]
push ebx
mov ecx, esi
mov dword [esi + 0xb4], eax
call fcn.0042d99e
call fcn.0040dc30
mov ecx, dword [esp + 0x4c]
pop edi
mov eax, 1
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret