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

Disassembly:
push 0xffffffffffffffff
push 0x4cbf1b
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x54e864]
xor eax, esp
mov dword [esp + 0x164], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x54e864]
xor eax, esp
push eax
lea eax, [esp + 0x17c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x18c]
mov ebx, ecx
xor esi, esi
push 0xc
mov dword [esp + 0x38], ebx
mov dword [esp + 0x88], esi
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x7c], edi
cmp edi, esi
je 0x459a24
mov dword [edi], edi
mov dword [esp + 0x80], edi
mov dword [edi + 4], edi
lea eax, [ebx + 0xc]
push eax
mov dword [esp + 0x188], esi
mov dword [esp + 0x9c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x60], eax
mov eax, dword [ebx]
mov esi, dword [eax]
cmp esi, eax
je 0x459068
lea esp, [esp]
mov ecx, dword [esi + 8]
call fcn.00457e60
mov edx, dword [edi + 4]
lea ecx, [esp + 0x4c]
push ecx
push edx
push edi
lea ecx, [esp + 0x8c]
mov dword [esp + 0x58], eax
call fcn.0046d9c0
mov ecx, 0x3ffffffe
sub ecx, dword [esp + 0x84]
cmp ecx, 1
jb 0x45909c
inc dword [esp + 0x84]
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov esi, dword [esi]
cmp esi, dword [ebx]
jne 0x459020
push 4
push ebp
call fcn.0040f090
mov esi, dword [ebp]
push esi
push str.Eventos:_Recibimos__d_eventos.
push 0
mov dword [esp + 0x6c], esi
add ebp, 4
call fcn.0042a000
add esp, 0x14
mov dword [esp + 0x4c], 0
test esi, esi
jle 0x459888
jmp 0x4590ab
push str.list_T__too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
mov ebx, dword [esp + 0x34]
push 4
push ebp
call fcn.0040f090
mov eax, dword [ebp]
mov ecx, 0x19
lea esi, [ebp + 4]
lea edi, [esp + 0x118]
rep movsd dword es:[edi], dword [esi]
mov cl, byte [ebp + 0x68]
add esp, 8
cmp dword [ebx + 0x30], 0xffffffff
mov dword [esp + 0x18], eax
mov byte [esp + 0x174], 0
mov byte [esp + 0x2f], cl
jne 0x4590eb
cmp cl, 1
jne 0x4590eb
mov dword [ebx + 0x30], eax
movzx edx, byte [ebp + 0x6a]
mov cl, byte [ebp + 0x69]
mov byte [esp + 0x17], dl
movzx edx, byte [ebp + 0x6b]
mov byte [esp + 0x2a], dl
movzx edx, byte [ebp + 0x6c]
add ebp, 0x6d
mov byte [esp + 0x38], cl
mov byte [esp + 0x22], dl
cmp cl, 1
jne 0x4591c9
movzx edx, byte [ebp + 4]
cmp byte [ebp], 0
mov byte [esp + 0x70], dl
movzx edx, byte [ebp + 5]
mov byte [esp + 0x54], dl
movzx edx, byte [ebp + 6]
mov byte [esp + 0x6c], dl
movzx edx, byte [ebp + 7]
setne al
cmp byte [ebp + 1], 0
mov byte [esp + 0x30], dl
movzx edx, byte [ebp + 8]
setne cl
cmp byte [ebp + 2], 0
mov byte [esp + 0x68], dl
movzx edx, byte [esp + 0x30]
push edx
setne byte [esp + 0x68]
cmp byte [ebp + 3], 0
mov byte [esp + 0x90], cl
setne byte [esp + 0x54]
movzx edx, byte [esp + 0x54]
push edx
movzx edx, byte [esp + 0x74]
push edx
movzx edx, byte [esp + 0x70]
push edx
movzx edx, byte [esp + 0x64]
movzx ecx, cl
push ecx
movzx ecx, byte [esp + 0x84]
push edx
push ecx
mov ecx, dword [esp + 0x34]
movzx edx, al
push edx
mov byte [esp + 0x98], al
movsx eax, byte [esp + 0x88]
push eax
push ecx
lea edx, [esp + 0x138]
push edx
push str.Eventos:_Evento__s___d__de_tipo_Happy_Hour._Skin:__d._Sonido_preinicio:__d._Tiempo_sonido_preinicio:__d_minutos._Numero_de_veces_preinicio:__d._Sonido_inicio:__d._Sonido_recordatorio:__d._Frecuencia_sonido_recordatorio:__d_minutos._Sonido_prefinal:__d._Tiempo_sonido_prefinal:__d_minutos.
push 0
add ebp, 9
call fcn.0042a000
mov eax, dword [esp + 0x4c]
add esp, 0x34
jmp 0x4591f9
mov byte [esp + 0x78], 0
mov byte [esp + 0x8c], 0
mov byte [esp + 0x64], 0
mov byte [esp + 0x50], 0
mov byte [esp + 0x70], 0
mov byte [esp + 0x54], 0
mov byte [esp + 0x6c], 0
mov byte [esp + 0x30], 0
mov byte [esp + 0x68], 0
push eax
mov ecx, ebx
call fcn.00458bf0
mov ebx, eax
mov dword [esp + 0x1c], ebx
test ebx, ebx
jne 0x4592df
cmp byte [esp + 0x38], 1
jne 0x459255
push 0x7c
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x48], esi
mov byte [esp + 0x184], 1
test esi, esi
je 0x459294
push ecx
lea eax, [esp + 0x114]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.00458300
jmp 0x459296
push 0x68
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x48], esi
mov byte [esp + 0x184], 2
test esi, esi
je 0x459294
push ecx
lea edx, [esp + 0x114]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov eax, dword [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00458240
jmp 0x459296
xor eax, eax
mov edi, dword [esp + 0x34]
mov esi, dword [edi]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x1c]
push ecx
push edx
mov ebx, eax
push esi
mov ecx, edi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x190], 0
call fcn.0046d9c0
mov ecx, dword [edi + 4]
mov edx, 0x3ffffffe
sub edx, ecx
cmp edx, 1
jb 0x45909c
inc ecx
mov dword [edi + 4], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
jmp 0x4593f0
mov ecx, ebx
call fcn.00457e80
cmp al, byte [esp + 0x38]
je 0x4593f0
mov ecx, ebx
mov dword [esp + 0x5c], ebx
call fcn.00457e50
push ebx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
mov edi, dword [esp + 0x38]
add esp, 4
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
call fcn.00445230
cmp byte [esp + 0x38], 1
jne 0x45935a
push 0x7c
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x48], esi
mov byte [esp + 0x184], 3
test esi, esi
je 0x459399
push ecx
lea edx, [esp + 0x114]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov eax, dword [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00458300
jmp 0x45939b
push 0x68
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x48], esi
mov byte [esp + 0x184], 4
test esi, esi
je 0x459399
push ecx
lea edx, [esp + 0x114]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov eax, dword [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00458240
jmp 0x45939b
xor eax, eax
mov esi, dword [edi]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x1c]
push ecx
push edx
mov ebx, eax
push esi
mov ecx, edi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x190], 0
call fcn.0046d9c0
mov ecx, dword [edi + 4]
mov edx, 0x3ffffffe
sub edx, ecx
cmp edx, 1
jb 0x45909c
inc ecx
mov dword [edi + 4], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov eax, dword [esp + 0x5c]
cmp dword [esp + 0x60], eax
jne 0x4593f0
mov ecx, dword [esp + 0x34]
mov dword [ecx + 0x24], ebx
mov dword [esp + 0x60], ebx
mov edx, dword [esp + 0x38]
push edx
mov ecx, ebx
call fcn.00457e70
cmp byte [esp + 0x38], 1
jne 0x459472
mov eax, dword [esp + 0x68]
push eax
mov ecx, ebx
call fcn.004583a0
mov ecx, dword [esp + 0x78]
push ecx
mov ecx, ebx
call fcn.004583c0
mov edx, dword [esp + 0x70]
push edx
mov ecx, ebx
call fcn.004583e0
mov eax, dword [esp + 0x54]
push eax
mov ecx, ebx
call fcn.00458400
mov ecx, dword [esp + 0x8c]
push ecx
mov ecx, ebx
call fcn.00458420
mov edx, dword [esp + 0x64]
push edx
mov ecx, ebx
call fcn.00458440
mov eax, dword [esp + 0x6c]
push eax
mov ecx, ebx
call fcn.00458460
mov ecx, dword [esp + 0x50]
push ecx
mov ecx, ebx
call fcn.00458480
mov edx, dword [esp + 0x30]
push edx
mov ecx, ebx
call fcn.004584a0
cmp byte [esp + 0x17], 0
je 0x459638
movzx eax, byte [ebp]
movzx ecx, byte [ebp + 1]
add ebp, 2
push 2
push ebp
mov byte [esp + 0x1f], al
mov byte [esp + 0x2d], cl
call fcn.0040f090
movzx edx, byte [ebp + 2]
movzx eax, byte [ebp + 3]
movzx ecx, byte [ebp + 4]
movzx esi, word [ebp]
mov byte [esp + 0x33], dl
movzx edx, byte [ebp + 5]
add ebp, 6
push 2
push ebp
mov byte [esp + 0x36], al
mov byte [esp + 0x33], cl
mov byte [esp + 0x34], dl
call fcn.0040f090
movzx eax, word [ebp]
movsx edi, byte [esp + 0x27]
mov cl, byte [ebp + 2]
movsx esi, si
mov dl, byte [ebp + 3]
mov dword [esp + 0xb8], esi
add esi, 0xfffff894
mov dword [esp + 0xec], esi
movsx esi, byte [esp + 0x3b]
mov dword [esp + 0xac], esi
mov dword [esp + 0xe0], esi
movsx esi, byte [esp + 0x36]
mov dword [esp + 0xc8], esi
mov dword [esp + 0xdc], esi
movsx esi, byte [esp + 0x33]
cwde
mov dword [esp + 0x58], edi
mov dword [esp + 0xe4], edi
movsx edi, byte [esp + 0x35]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], esi
mov dword [esp + 0x108], esi
movsx esi, byte [esp + 0x34]
add eax, 0xfffff894
mov dword [esp + 0x54], edi
mov dword [esp + 0x110], eax
movsx eax, cl
dec edi
mov dword [esp + 0xe8], edi
xor edi, edi
mov dword [esp + 0xa4], esi
dec esi
mov dword [esp + 0x104], eax
mov dword [esp + 0x2c], eax
movsx eax, dl
mov dword [esp + 0xd8], edi
mov dword [esp + 0x10c], esi
mov dword [esp + 0xfc], edi
sub esp, 0x14
mov edi, esp
mov dword [esp + 0x114], eax
mov ecx, 9
lea esi, [esp + 0x110]
rep movsd dword es:[edi], dword [esi]
sub esp, 0x24
mov edi, esp
mov ecx, 9
lea esi, [esp + 0x110]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
add ebp, 4
mov dword [esp + 0xa4], eax
call fcn.00457f40
push 1
mov ecx, ebx
call fcn.00457f20
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0xb8]
push edx
mov edx, dword [esp + 0xc4]
push eax
mov eax, dword [esp + 0xac]
push ecx
mov ecx, dword [esp + 0xbc]
push edx
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push eax
push ecx
lea edx, [esp + 0x13c]
push edx
push str.Eventos:_Evento__s___d__con_periodo_de_fechas._Inicio:_02d__02d__04d__02d:_02d_Fin:_02d__02d__04d__02d:_02d.
push 0
call fcn.0042a000
mov edi, dword [esp + 0x50]
add esp, 0x38
jmp 0x45965d
push 0
mov ecx, ebx
call fcn.00457f20
mov edi, dword [esp + 0x18]
push edi
lea eax, [esp + 0x114]
push eax
push str.Eventos:_Evento__s___d__sin_periodo_de_fechas.
push 0
call fcn.0042a000
add esp, 0x10
cmp byte [esp + 0x2a], 0
je 0x45975f
movzx eax, byte [ebp + 2]
movzx ecx, byte [ebp]
movzx edx, byte [ebp + 1]
mov byte [esp + 0xa4], cl
movzx ecx, byte [ebp + 3]
mov edi, dword [esp + 0xa4]
mov byte [esp + 0x2b], al
movzx eax, byte [ebp + 5]
mov byte [esp + 0xb4], dl
movzx edx, byte [ebp + 4]
mov esi, dword [esp + 0xb4]
mov byte [esp + 0x26], cl
mov byte [esp + 0x3c], al
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x26]
push ecx
mov ecx, dword [esp + 0x2f]
mov byte [esp + 0x44], dl
mov edx, dword [esp + 0x44]
push edx
push esi
push eax
push ecx
push edi
mov ecx, ebx
add ebp, 6
call fcn.00457f90
push 1
mov ecx, ebx
call fcn.00457f70
lea edx, [esp + 0x74]
push esi
push edx
call fcn.0042a0b0
mov esi, eax
lea eax, [esp + 0x98]
push edi
push eax
mov byte [esp + 0x194], 5
call fcn.0042a0b0
movsx ecx, byte [esp + 0x4c]
movsx edx, byte [esp + 0x50]
push ecx
mov ecx, dword [esi]
push edx
movsx edx, byte [esp + 0x3e]
push ecx
movsx ecx, byte [esp + 0x47]
push edx
mov edx, dword [eax]
mov eax, dword [esp + 0x38]
push ecx
push edx
push eax
lea ecx, [esp + 0x13c]
push ecx
push str.Eventos:_Evento__s___d__con_periodo_de_dias._Inicio:_s__02d:_02d_Fin:_s__02d:_02d.
push 0
mov byte [esp + 0x1bc], 6
call fcn.0042a000
add esp, 0x38
lea ecx, [esp + 0x90]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [esp + 0x74]
mov byte [esp + 0x184], 0
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov edi, dword [esp + 0x18]
jmp 0x459780
push 0
mov ecx, ebx
call fcn.00457f70
push edi
lea edx, [esp + 0x114]
push edx
push str.Eventos:_Evento__s___d__sin_periodo_de_dias.
push 0
call fcn.0042a000
add esp, 0x10
cmp byte [esp + 0x22], 0
je 0x4597fe
movzx eax, byte [ebp]
mov cl, byte [ebp + 1]
mov dl, byte [ebp + 2]
mov byte [esp + 0x2b], al
movzx eax, byte [ebp + 3]
mov byte [esp + 0x26], cl
mov byte [esp + 0x3c], al
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x26]
push ecx
mov ecx, dword [esp + 0x2f]
mov byte [esp + 0x44], dl
mov edx, dword [esp + 0x44]
push edx
push eax
push ecx
mov ecx, ebx
add ebp, 4
call fcn.00457fe0
push 1
mov ecx, ebx
call fcn.00457fc0
movsx edx, byte [esp + 0x3c]
movsx eax, byte [esp + 0x40]
movsx ecx, byte [esp + 0x26]
push edx
movsx edx, byte [esp + 0x2f]
push eax
push ecx
push edx
push edi
lea eax, [esp + 0x124]
push eax
push str.Eventos:_Evento__s___d__con_periodo_de_horas._Inicio:_02d:_02d_Fin:_02d:_02d.
push 0
call fcn.0042a000
add esp, 0x20
jmp 0x45981f
push 0
mov ecx, ebx
call fcn.00457fc0
push edi
lea ecx, [esp + 0x114]
push ecx
push str.Eventos:_Evento__s___d__sin_periodo_de_horas.
push 0
call fcn.0042a000
add esp, 0x10
cmp byte [esp + 0x2f], 0
je 0x45983e
push edi
lea edx, [esp + 0x114]
push edx
push str.Eventos:_Evento__s___d__activo_en_base_de_datos.
push 0
call fcn.0042a000
add esp, 0x10
mov ebx, dword [esp + 0x7c]
mov esi, dword [ebx]
cmp esi, ebx
je 0x45986f
cmp dword [esi + 8], edi
jne 0x459869
mov eax, dword [esi + 4]
push esi
mov esi, dword [esi]
mov dword [eax], esi
mov dword [esi + 4], eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
dec dword [esp + 0x84]
jmp 0x45986b
mov esi, dword [esi]
cmp esi, ebx
jne 0x459848
mov eax, dword [esp + 0x4c]
inc eax
mov dword [esp + 0x4c], eax
cmp eax, dword [esp + 0x58]
jl 0x4590a7
mov edi, ebx
mov ebx, dword [esp + 0x34]
cmp dword [ebx + 0x30], 0xffffffff
jne 0x459895
mov dword [ebx + 0x30], 0
mov eax, dword [edi]
mov dword [esp + 0x30], eax
cmp eax, edi
je 0x459969
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 8]
push ecx
mov ecx, ebx
call fcn.00458bf0
mov ebp, eax
test ebp, ebp
je 0x459957
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x45990f
cmp ecx, ebp
jne 0x45990f
lea edx, [esp + 0x58]
push edx
call fcn.00457ef0
mov esi, eax
mov ecx, dword [ebx + 0x24]
mov byte [esp + 0x184], 7
call fcn.00457e60
push eax
mov eax, dword [esi]
push eax
push str.Eventos:_Evento_activo__s___d__eliminado.
push 0
call fcn.0042a000
add esp, 0x10
lea ecx, [esp + 0x58]
mov byte [esp + 0x184], 0
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov dword [ebx + 0x24], 0
mov ecx, ebp
call fcn.00457e50
push ebp
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebx]
mov esi, dword [eax]
add esp, 4
mov dword [esp + 0x74], eax
cmp esi, eax
je 0x459957
jmp 0x459930
cmp dword [esi + 8], ebp
jne 0x459951
mov eax, dword [esi + 4]
push esi
mov esi, dword [esi]
mov dword [eax], esi
mov dword [esi + 4], eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x78]
add esp, 4
dec dword [ebx + 4]
jmp 0x459953
mov esi, dword [esi]
cmp esi, eax
jne 0x459930
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
mov dword [esp + 0x30], eax
cmp eax, edi
jne 0x4598a3
mov eax, dword [edi]
mov dword [edi], edi
mov dword [edi + 4], edi
mov dword [esp + 0x84], 0
cmp eax, edi
je 0x459991
nop
mov esi, dword [eax]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
cmp esi, edi
jne 0x459980
mov ecx, ebx
call fcn.004589f0
cmp dword [ebx + 0x24], 0
jne 0x4599c0
push 0
call fcn.00413610
add esp, 4
cmp dword [esp + 0x60], 0
je 0x4599c0
call fcn.00460eb0
push 0
mov ecx, 0x55b9dc
call fcn.004440b0
call fcn.00460f10
mov edx, dword [esp + 0x98]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi]
mov dword [edi], edi
mov dword [edi + 4], edi
cmp eax, edi
je 0x4599f1
mov edi, edi
mov esi, dword [eax]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
cmp esi, edi
jne 0x4599e0
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x17c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x164]
xor ecx, esp
call fcn.004c6212
add esp, 0x174
ret 4
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0xc0]
mov dword [esp + 0xa4], esi
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x51e22c
lea ecx, [esp + 0xc0]
push ecx
mov dword [esp + 0xc4], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
int3