Function at 0x57be90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x82aea4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x836210]
mov ecx, dword [sym.postgres.exe_MyProcPid]
push ebx
push esi
push edi
push 0x57b770
push 1
mov dword [eax], ecx
call sym.postgres.exe_pqsignal
push 0x57b7b0
push 2
call sym.postgres.exe_pqsignal
push 1
push 0xf
call sym.postgres.exe_pqsignal
push 0x57b750
push 3
call sym.postgres.exe_pqsignal
push 1
push 0xe
call sym.postgres.exe_pqsignal
push 1
push 0xd
call sym.postgres.exe_pqsignal
push 0x57b7f0
push 0x1e
call sym.postgres.exe_pqsignal
push 0x57b810
push 0x1f
call sym.postgres.exe_pqsignal
add esp, 0x40
xor edi, edi
push edi
push 0x14
call sym.postgres.exe_pqsignal
push edi
push 0x15
call sym.postgres.exe_pqsignal
push edi
push 0x16
call sym.postgres.exe_pqsignal
push edi
push 0x13
call sym.postgres.exe_pqsignal
push edi
push 0x1c
call sym.postgres.exe_pqsignal
and dword [0x86928c], 0xfffffffb
push edi
call dword [sym.imp.MSVCR100.dll__time32]
cdq
push str.Checkpointer
push edi
mov dword [0x836228], eax
mov dword [0x83622c], edx
mov dword [0x836208], eax
mov dword [0x83620c], edx
call sym.postgres.exe_ResourceOwnerCreate
mov edx, dword [sym.postgres.exe_TopMemoryContext]
push 0x800000
push 0x2000
push edi
push str.Checkpointer
push edx
mov dword [sym.postgres.exe_CurrentResourceOwner], eax
call sym.postgres.exe_AllocSetContextCreate
mov ecx, dword [sym.postgres.exe_CurrentMemoryContext]
add esp, 0x48
lea edx, [ebp - 0x44]
push edi
push edx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], ecx
mov dword [sym.postgres.exe_CurrentMemoryContext], eax
call sub.MSVCR100.dll__setjmp3
add esp, 8
test eax, eax
je 0x57c067
mov dword [sym.postgres.exe_error_context_stack], edi
inc dword [sym.postgres.exe_InterruptHoldoffCount]
call sym.postgres.exe_EmitErrorReport
call sym.postgres.exe_LWLockReleaseAll
call sym.postgres.exe_AbortBufferIO
call sym.postgres.exe_UnlockBuffers
mov eax, dword [sym.postgres.exe_CurrentResourceOwner]
push 1
push edi
push edi
push eax
call sym.postgres.exe_ResourceOwnerRelease
push edi
call sym.postgres.exe_AtEOXact_Buffers
call sym.postgres.exe_AtEOXact_SMgr
call sym.postgres.exe_AtEOXact_Files
push edi
call sym.postgres.exe_AtEOXact_HashTables
add esp, 0x18
cmp byte [0x836244], 0
je 0x57c03b
mov esi, dword [0x836210]
push edi
push 1
lea ebx, [esi + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x57c029
push 0x12f
push str.src_backendpostmastercheckpointer.c
push ebx
call sym.postgres.exe_s_lock
add esp, 0xc
inc dword [esi + 0x10]
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], ecx
mov dword [ebx], edi
mov byte [0x836244], 0
mov esi, dword [ebp - 0x5c]
mov dword [sym.postgres.exe_CurrentMemoryContext], esi
call sym.postgres.exe_FlushErrorState
push esi
call sym.postgres.exe_MemoryContextResetAndDeleteChildren
dec dword [sym.postgres.exe_InterruptHoldoffCount]
push 0xf4240
call sym.postgres.exe_pg_usleep
add esp, 8
call sym.postgres.exe_smgrcloseall
mov eax, dword [0x869288]
lea edx, [ebp - 0x44]
push eax
mov dword [sym.postgres.exe_PG_exception_stack], edx
call sym.postgres.exe_pqsigsetmask
add esp, 4
call sym.postgres.exe_RecoveryInProgress
test al, al
je 0x57c091
call sym.postgres.exe_GetRecoveryTargetTLI
mov dword [sym.postgres.exe_ThisTimeLineID], eax
call sym.postgres.exe_SyncRepUpdateSyncStandbysDefined
call sym.postgres.exe_UpdateFullPageWrites
push str.UpdateSharedMemoryConfig
push 0x55b
push str.src_backendpostmastercheckpointer.c
call sym.postgres.exe_elog_start
push str.checkpointer_updated_shared_memory_configuration_values
push 0xd
call sym.postgres.exe_elog_finish
mov ecx, dword [sym.postgres.exe_MyProc]
mov edx, dword [sym.postgres.exe_ProcGlobal]
add esp, 0x14
add ecx, 0x10
mov dword [edx + 0x18], ecx
jmp 0x57c0d4
xor edi, edi
mov eax, dword [sym.postgres.exe_MyProc]
add eax, 0x10
push eax
xor bl, bl
mov dword [ebp - 0x4c], edi
call sym.postgres.exe_ResetLatch
add esp, 4
call sym.postgres.exe_AbsorbFsyncRequests
mov ecx, dword [0x836238]
test ecx, ecx
je 0x57c133
push 2
mov dword [0x836238], edi
call sym.postgres.exe_ProcessConfigFile
call sym.postgres.exe_SyncRepUpdateSyncStandbysDefined
call sym.postgres.exe_UpdateFullPageWrites
push str.UpdateSharedMemoryConfig
push 0x55b
push str.src_backendpostmastercheckpointer.c
call sym.postgres.exe_elog_start
push str.checkpointer_updated_shared_memory_configuration_values
push 0xd
call sym.postgres.exe_elog_finish
add esp, 0x18
mov edx, dword [0x83623c]
test edx, edx
je 0x57c152
add dword [0x8691d0], 1
mov dword [0x83623c], edi
mov bl, 1
adc dword [0x8691d4], edi
mov eax, dword [0x836240]
test eax, eax
je 0x57c172
push edi
push edi
mov byte [sym.postgres.exe_ExitOnAnyError], 1
call sym.postgres.exe_ShutdownXLOG
push edi
call sym.postgres.exe_proc_exit
add esp, 0xc
push edi
call dword [sym.imp.MSVCR100.dll__time32]
cdq
mov dword [ebp - 0x54], eax
sub eax, dword [0x836208]
add esp, 4
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x58], eax
cmp eax, dword [sym.postgres.exe_CheckPointTimeout]
jl 0x57c1ae
test bl, bl
jne 0x57c1a5
add dword [0x8691c8], 1
adc dword [0x8691cc], edi
mov bl, 1
mov dword [ebp - 0x4c], 0x40
test bl, bl
je 0x57c32d
mov esi, dword [0x836210]
call sym.postgres.exe_RecoveryInProgress
push 0
push 1
mov bl, al
lea edi, [esi + 4]
push edi
mov byte [ebp - 0x45], bl
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x57c1eb
push 0x1cd
push str.src_backendpostmastercheckpointer.c
push edi
call sym.postgres.exe_s_lock
add esp, 0xc
mov ecx, dword [esi + 0x14]
mov eax, dword [ebp - 0x4c]
or eax, ecx
mov dword [esi + 0x14], 0
inc dword [esi + 8]
mov dword [ebp - 0x4c], eax
mov dword [edi], 0
test al, 2
je 0x57c210
mov byte [ebp - 0x45], 0
jmp 0x57c214
test bl, bl
jne 0x57c26d
test al, 0x20
je 0x57c26d
mov ebx, dword [ebp - 0x58]
cmp ebx, dword [sym.postgres.exe_CheckPointWarning]
jge 0x57c26d
push 0
push 0x733fb8
push 0x1e9
push str.src_backendpostmastercheckpointer.c
push 0xf
call sym.postgres.exe_errstart
add esp, 0x14
test al, al
je 0x57c26d
push str.Consider_increasing_the_configuration_parameter__checkpoint_segments_.
call sym.postgres.exe_errhint
add esp, 4
push eax
push ebx
push ebx
push str.checkpoints_are_occurring_too_frequently___d_seconds_apart_
push str.checkpoints_are_occurring_too_frequently___d_second_apart_
call sym.postgres.exe_errmsg_plural
add esp, 0x10
push eax
call sym.postgres.exe_errfinish
add esp, 8
cmp byte [ebp - 0x45], 0
mov byte [0x836244], 1
jne 0x57c28a
call sym.postgres.exe_GetInsertRecPtr
mov dword [0x836220], eax
mov dword [0x836224], edx
cmp byte [ebp - 0x45], 0
fldz
mov ebx, dword [ebp - 0x54]
fstp qword [0x836218]
mov edx, dword [ebp - 0x50]
mov dword [0x836230], ebx
mov dword [0x836234], edx
jne 0x57c2b9
mov eax, dword [ebp - 0x4c]
push eax
call sym.postgres.exe_CreateCheckPoint
mov byte [ebp - 0x45], 1
jmp 0x57c2c5
mov ecx, dword [ebp - 0x4c]
push ecx
call sym.postgres.exe_CreateRestartPoint
mov byte [ebp - 0x45], al
add esp, 4
call sym.postgres.exe_smgrcloseall
push 0
push 1
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x57c2ef
push 0x209
push str.src_backendpostmastercheckpointer.c
push edi
call sym.postgres.exe_s_lock
add esp, 0xc
cmp byte [ebp - 0x45], 0
mov edx, dword [esi + 8]
mov dword [esi + 0xc], edx
mov dword [edi], 0
je 0x57c306
mov eax, dword [ebp - 0x50]
jmp 0x57c319
mov eax, dword [sym.postgres.exe_CheckPointTimeout]
cdq
sub ebx, eax
mov eax, dword [ebp - 0x50]
sbb eax, edx
add ebx, 0xf
adc eax, 0
mov dword [0x83620c], eax
mov dword [0x836208], ebx
mov byte [0x836244], 0
xor edi, edi
call fcn.0057b580
call sym.postgres.exe_pgstat_send_bgwriter
push edi
call dword [sym.imp.MSVCR100.dll__time32]
mov esi, dword [sym.postgres.exe_CheckPointTimeout]
cdq
mov edi, eax
sub eax, dword [0x836208]
add esp, 4
mov dword [ebp - 0x50], edx
cmp eax, esi
jge 0x57c0d2
sub esi, eax
cmp dword [sym.postgres.exe_XLogArchiveTimeout], 0
jle 0x57c38a
call sym.postgres.exe_RecoveryInProgress
test al, al
jne 0x57c38a
sub edi, dword [0x836228]
mov eax, dword [sym.postgres.exe_XLogArchiveTimeout]
cmp edi, eax
jge 0x57c0d2
sub eax, edi
cmp esi, eax
jl 0x57c38a
mov esi, eax
mov ecx, dword [sym.postgres.exe_MyProc]
imul esi, esi, 0x3e8
push esi
add ecx, 0x10
push 0x19
push ecx
call sym.postgres.exe_WaitLatch
add esp, 0xc
test al, 0x10
je 0x57c0d2
push 1
call dword [sym.imp.MSVCR100.dll_exit]
int3