Function at 0x57b2d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x82aea4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x57b230
push 1
call sym.postgres.exe_pqsignal
push 1
push 2
call sym.postgres.exe_pqsignal
push 0x57b270
push 0xf
call sym.postgres.exe_pqsignal
push 0x57b210
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 0x57b2b0
push 0x1e
call sym.postgres.exe_pqsignal
push 1
push 0x1f
call sym.postgres.exe_pqsignal
add esp, 0x40
push 0
push 0x14
call sym.postgres.exe_pqsignal
push 0
push 0x15
call sym.postgres.exe_pqsignal
push 0
push 0x16
call sym.postgres.exe_pqsignal
push 0
push 0x13
call sym.postgres.exe_pqsignal
push 0
push 0x1c
call sym.postgres.exe_pqsignal
and dword [0x86928c], 0xfffffffb
push str.Background_Writer
push 0
call sym.postgres.exe_ResourceOwnerCreate
push 0x800000
push 0x2000
push 0
mov dword [sym.postgres.exe_CurrentResourceOwner], eax
mov eax, dword [sym.postgres.exe_TopMemoryContext]
push str.Background_Writer
push eax
call sym.postgres.exe_AllocSetContextCreate
mov ecx, dword [sym.postgres.exe_CurrentMemoryContext]
add esp, 0x44
lea edx, [ebp - 0x44]
push 0
push edx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
mov dword [sym.postgres.exe_CurrentMemoryContext], eax
call sub.MSVCR100.dll__setjmp3
add esp, 8
test eax, eax
je 0x57b439
mov dword [sym.postgres.exe_error_context_stack], 0
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 0
push 0
push eax
call sym.postgres.exe_ResourceOwnerRelease
push 0
call sym.postgres.exe_AtEOXact_Buffers
call sym.postgres.exe_AtEOXact_SMgr
call sym.postgres.exe_AtEOXact_Files
push 0
call sym.postgres.exe_AtEOXact_HashTables
mov esi, dword [ebp - 0x4c]
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, 0x20
call sym.postgres.exe_smgrcloseall
mov edx, dword [0x869288]
lea ecx, [ebp - 0x44]
push edx
mov dword [sym.postgres.exe_PG_exception_stack], ecx
call sym.postgres.exe_pqsigsetmask
add esp, 4
call sym.postgres.exe_RecoveryInProgress
test al, al
je 0x57b464
call sym.postgres.exe_GetRecoveryTargetTLI
mov dword [sym.postgres.exe_ThisTimeLineID], eax
mov byte [ebp - 0x45], 0
jmp 0x57b470
mov eax, dword [sym.postgres.exe_MyProc]
add eax, 0x10
push eax
call sym.postgres.exe_ResetLatch
mov ecx, dword [0x836200]
add esp, 4
test ecx, ecx
je 0x57b49f
push 2
mov dword [0x836200], 0
call sym.postgres.exe_ProcessConfigFile
add esp, 4
mov edx, dword [0x836204]
test edx, edx
je 0x57b4ba
push 0
mov byte [sym.postgres.exe_ExitOnAnyError], 1
call sym.postgres.exe_proc_exit
add esp, 4
call sym.postgres.exe_BgBufferSync
mov byte [ebp - 0x46], al
call sym.postgres.exe_pgstat_send_bgwriter
call sym.postgres.exe_FirstCallSinceLastCheckpoint
test al, al
je 0x57b4d5
call sym.postgres.exe_smgrcloseall
mov eax, dword [sym.postgres.exe_BgWriterDelay]
mov ecx, dword [sym.postgres.exe_MyProc]
push eax
add ecx, 0x10
push 0x19
push ecx
call sym.postgres.exe_WaitLatch
mov ebx, eax
add esp, 0xc
cmp ebx, 8
jne 0x57b537
cmp byte [ebp - 0x46], 0
je 0x57b537
cmp byte [ebp - 0x45], 0
je 0x57b537
mov edx, dword [sym.postgres.exe_MyProc]
add edx, 0x10
push edx
call sym.postgres.exe_StrategyNotifyBgWriter
mov eax, dword [sym.postgres.exe_BgWriterDelay]
mov ecx, dword [sym.postgres.exe_MyProc]
imul eax, eax, 0x32
push eax
add ecx, 0x10
push 0x19
push ecx
call sym.postgres.exe_WaitLatch
push 0
mov ebx, eax
call sym.postgres.exe_StrategyNotifyBgWriter
add esp, 0x14
test bl, 0x10
jne 0x57b547
mov dl, byte [ebp - 0x46]
mov byte [ebp - 0x45], dl
jmp 0x57b470
push 1
call dword [sym.imp.MSVCR100.dll_exit]
int3