Function at 0x4835c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2064
call fcn.006a8ce0
mov eax, dword [0x82aea4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 1
push 0x1b
call sym.postgres.exe_LWLockAcquire
mov eax, dword [sym.postgres.exe_MyBackendId]
mov ecx, dword [0x833740]
mov edi, dword [ecx]
lea eax, [eax + eax*2]
mov edx, dword [ecx + eax*4 + 0x1c]
mov esi, dword [ecx + eax*4 + 0x1c]
lea eax, [ecx + eax*4 + 0x1c]
mov dword [ebp - 0x2060], edx
mov edx, dword [eax + 4]
mov eax, dword [ecx + 4]
mov ebx, edx
push 0x1b
mov dword [ebp - 0x205c], edx
mov dword [ebp - 0x204c], esi
mov dword [ebp - 0x2048], ebx
mov dword [ebp - 0x2054], edi
mov dword [ebp - 0x2050], eax
call sym.postgres.exe_LWLockRelease
add esp, 0xc
cmp esi, edi
jne 0x483645
cmp ebx, dword [ebp - 0x2050]
je 0x483770
mov ecx, dword [sym.postgres.exe_PG_exception_stack]
mov edx, dword [sym.postgres.exe_error_context_stack]
lea eax, [ebp - 0x44]
push 0
push eax
mov dword [ebp - 0x2064], ecx
mov dword [ebp - 0x2058], edx
call sub.MSVCR100.dll__setjmp3
add esp, 8
test eax, eax
jne 0x483781
mov edi, dword [ebp - 0x2054]
lea ecx, [ebp - 0x44]
mov dword [sym.postgres.exe_PG_exception_stack], ecx
mov esi, dword [ebp - 0x204c]
push 0
push esi
push 0x833748
call sym.postgres.exe_SimpleLruReadPage_ReadOnly
mov edx, dword [ebp - 0x2048]
add esp, 0xc
cmp esi, edi
jne 0x4836b0
mov ecx, dword [ebp - 0x2050]
sub ecx, edx
jns 0x4836b7
xor ecx, ecx
jmp 0x4836b7
mov ecx, 0x2000
sub ecx, edx
push ecx
mov ecx, dword [0x833748]
mov ecx, dword [ecx + 8]
mov eax, dword [ecx + eax*4]
add eax, edx
push eax
lea ecx, [ebp + edx - 0x2044]
push ecx
call sub.MSVCR100.dll_memcpy
push 0x1a
call sym.postgres.exe_LWLockRelease
mov eax, dword [ebp - 0x2050]
lea edx, [ebp - 0x2044]
push edx
push eax
push edi
lea ebx, [ebp - 0x204c]
call fcn.004832d0
add esp, 0x1c
test al, al
je 0x483682
mov ecx, dword [ebp - 0x2064]
mov edx, dword [ebp - 0x2058]
push 1
push 0x1b
mov dword [sym.postgres.exe_PG_exception_stack], ecx
mov dword [sym.postgres.exe_error_context_stack], edx
call sym.postgres.exe_LWLockAcquire
mov eax, dword [sym.postgres.exe_MyBackendId]
mov edx, dword [ebp - 0x204c]
lea ecx, [eax + eax*2]
mov eax, dword [0x833740]
mov dword [eax + ecx*4 + 0x1c], edx
mov edx, dword [ebp - 0x2048]
mov dword [eax + ecx*4 + 0x20], edx
mov ecx, dword [ebp - 0x2060]
add esp, 8
cmp ecx, dword [eax + 8]
jne 0x48375b
mov edx, dword [ebp - 0x205c]
cmp edx, dword [eax + 0xc]
jne 0x48375b
mov bl, 1
jmp 0x48375d
xor bl, bl
push 0x1b
call sym.postgres.exe_LWLockRelease
add esp, 4
test bl, bl
je 0x483770
call fcn.00482d70
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006a8ca2
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x2064]
mov ecx, dword [ebp - 0x2058]
push 1
push 0x1b
mov dword [sym.postgres.exe_PG_exception_stack], eax
mov dword [sym.postgres.exe_error_context_stack], ecx
call sym.postgres.exe_LWLockAcquire
mov eax, dword [sym.postgres.exe_MyBackendId]
mov edx, dword [ebp - 0x204c]
lea ecx, [eax + eax*2]
mov eax, dword [0x833740]
mov dword [eax + ecx*4 + 0x1c], edx
mov edx, dword [ebp - 0x2048]
mov dword [eax + ecx*4 + 0x20], edx
mov ecx, dword [ebp - 0x2060]
add esp, 8
cmp ecx, dword [eax + 8]
jne 0x4837df
mov edx, dword [ebp - 0x205c]
cmp edx, dword [eax + 0xc]
jne 0x4837df
mov bl, 1
jmp 0x4837e1
xor bl, bl
push 0x1b
call sym.postgres.exe_LWLockRelease
add esp, 4
test bl, bl
je 0x4837f4
call fcn.00482d70
call sym.postgres.exe_pg_re_throw
push 1
call dword [sym.imp.MSVCR100.dll_exit]
int3