Function at 0x451740
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x82aea4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x5c]
push 0
push eax
call sym.postgres.exe_gettimeofday
mov eax, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x58]
or esi, eax
cdq
mov edx, dword [sym.postgres.exe_CurrentMemoryContext]
xor ecx, ecx
xor edi, edi
or esi, ecx
or edi, eax
push 0x4000
push edx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], edi
mov dword [sym.postgres.exe_ThisTimeLineID], 1
call sym.postgres.exe_MemoryContextAlloc
lea ebx, [eax + 0x1fff]
push 0x2000
and ebx, 0xffffe000
push 0
push ebx
mov dword [ebp - 0x54], eax
call sub.MSVCR100.dll_memset
mov ecx, dword [sym.postgres.exe_ThisTimeLineID]
mov dl, byte [sym.postgres.exe_fullPageWrites]
xor eax, eax
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 0x38], dl
mov ecx, 3
mov edx, 1
push eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], 0x1000020
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], 0x2710
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
call dword [sym.imp.MSVCR100.dll__time32]
mov ecx, dword [sym.postgres.exe_ShmemVariableCache]
cdq
mov dword [ecx + 8], 3
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x10], edx
mov edx, dword [sym.postgres.exe_ShmemVariableCache]
mov dword [edx], 0x2710
mov ecx, dword [sym.postgres.exe_ShmemVariableCache]
push eax
push 1
mov dword [ebp - 0xc], eax
mov dword [ecx + 4], eax
call sym.postgres.exe_MultiXactSetNextMXact
push 1
push 3
call sym.postgres.exe_SetTransactionIdLimit
mov dword [ebx], 0x2d071
mov ecx, dword [sym.postgres.exe_ThisTimeLineID]
mov dword [ebx + 4], ecx
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x1c], 0x2000
add esp, 0x30
xor eax, eax
mov dword [ebx + 8], eax
mov ecx, 0x1000000
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0x60
mov dword [ebx + 0x34], 0x40
lea edi, [ebx + 0x40]
mov ecx, 0x10
lea esi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
mov word [ebx + 0x38], ax
or eax, 0xffffffff
lea edi, [ebp - 0x44]
mov esi, 0x40
movzx edx, byte [edi]
mov ecx, eax
shr ecx, 0x18
xor ecx, edx
and ecx, 0xff
shl eax, 8
xor eax, dword [ecx*4 + sym.postgres.exe_pg_crc32_table]
inc edi
dec esi
jne 0x451895
lea esi, [ebx + 0x24]
mov edx, 0x1c
jmp 0x4518c0
movzx edi, byte [esi]
mov ecx, eax
shr ecx, 0x18
xor ecx, edi
and ecx, 0xff
shl eax, 8
xor eax, dword [ecx*4 + sym.postgres.exe_pg_crc32_table]
inc esi
dec edx
jne 0x4518c0
not eax
push edx
mov dword [ebx + 0x20], eax
lea eax, [ebp - 0x45]
push eax
push 1
push edx
mov byte [ebp - 0x45], dl
call sym.postgres.exe_XLogFileInit
mov esi, dword [sym.imp.MSVCR100.dll__errno]
mov dword [0x7a33d0], eax
call esi
mov ecx, dword [0x7a33d0]
push 0x2000
push ebx
push ecx
mov dword [eax], 0
call dword [sym.imp.MSVCR100.dll__write]
add esp, 0x1c
cmp eax, 0x2000
je 0x45196d
call esi
cmp dword [eax], 0
jne 0x451932
call esi
mov dword [eax], 0x1c
push 0
push 0x6b4748
push 0x156e
push str.src_backend_access_transamxlog.c
push 0x16
call sym.postgres.exe_errstart
add esp, 0x14
test al, al
je 0x45196d
push str.could_not_write_bootstrap_transaction_log_file:__m
call sym.postgres.exe_errmsg
add esp, 4
push eax
call sym.postgres.exe_errcode_for_file_access
push eax
call sym.postgres.exe_errfinish
add esp, 8
mov edx, dword [0x7a33d0]
push edx
call sym.postgres.exe_pg_fsync
add esp, 4
test eax, eax
je 0x4519bb
push 0
push 0x6b4748
push 0x1574
push str.src_backend_access_transamxlog.c
push 0x16
call sym.postgres.exe_errstart
add esp, 0x14
test al, al
je 0x4519bb
push str.could_not_fsync_bootstrap_transaction_log_file:__m
call sym.postgres.exe_errmsg
add esp, 4
push eax
call sym.postgres.exe_errcode_for_file_access
push eax
call sym.postgres.exe_errfinish
add esp, 8
mov eax, dword [0x7a33d0]
push eax
call dword [sym.imp.MSVCR100.dll__close]
add esp, 4
test eax, eax
je 0x451a09
push 0
push 0x6b4748
push 0x1579
push str.src_backend_access_transamxlog.c
push 0x16
call sym.postgres.exe_errstart
add esp, 0x14
test al, al
je 0x451a09
push str.could_not_close_bootstrap_transaction_log_file:__m
call sym.postgres.exe_errmsg
add esp, 4
push eax
call sym.postgres.exe_errcode_for_file_access
push eax
call sym.postgres.exe_errfinish
add esp, 8
mov ebx, dword [0x833510]
push 0xd0
push 0
push ebx
mov dword [0x7a33d0], 0xffffffff
call sub.MSVCR100.dll_memset
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x14]
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebx + 0x1c], ecx
mov dword [ebx + 4], edx
mov edx, dword [ebp - 0x44]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x40]
mov dword [ebx + 0x10], 1
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x24], eax
lea edi, [ebx + 0x30]
mov ecx, 0x10
lea esi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [sym.postgres.exe_MaxConnections]
mov dword [ebx + 0x90], ecx
mov edx, dword [sym.postgres.exe_max_prepared_xacts]
mov dword [ebx + 0x94], edx
mov eax, dword [0x869140]
mov dword [ebx + 0x98], eax
mov ecx, dword [sym.postgres.exe_wal_level]
mov dword [ebx + 0x8c], ecx
call fcn.0044c700
call sym.postgres.exe_BootStrapCLOG
call sym.postgres.exe_BootStrapSUBTRANS
call sym.postgres.exe_BootStrapMultiXact
mov edx, dword [ebp - 0x54]
push edx
call sym.postgres.exe_pfree
mov ecx, dword [ebp - 4]
add esp, 0x10
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006a8ca2
mov esp, ebp
pop ebp
ret