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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x82aea4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
or ecx, 0xffffffff
mov dword [ebp - 0x408], ebx
mov esi, ebx
mov edx, edi
test edi, edi
je 0x444053
lea ecx, [ecx]
movzx ebx, byte [esi]
mov eax, ecx
shr eax, 0x18
xor eax, ebx
and eax, 0xff
shl ecx, 8
xor ecx, dword [eax*4 + sym.postgres.exe_pg_crc32_table]
inc esi
dec edx
jne 0x444030
mov ebx, dword [ebp - 0x408]
mov eax, dword [ebp + 8]
push eax
not ecx
push str.pg_twophase__08X
mov dword [ebp - 0x408], ecx
lea ecx, [ebp - 0x404]
push 0x400
push ecx
call sym.postgres.exe_pg_snprintf
push 0x180
lea edx, [ebp - 0x404]
push 0x8301
push edx
call sym.postgres.exe_BasicOpenFile
mov esi, eax
add esp, 0x1c
test esi, esi
jns 0x4440d6
push 0
push 0x6b0b58
push 0x5ce
push str.src_backend_access_transam_twophase.c
push 0x14
call sym.postgres.exe_errstart
add esp, 0x14
test al, al
je 0x4440d6
lea eax, [ebp - 0x404]
push eax
push str.could_not_recreate_two_phase_state_file___s_:__m
call sym.postgres.exe_errmsg
add esp, 8
push eax
call sym.postgres.exe_errcode_for_file_access
push eax
call sym.postgres.exe_errfinish
add esp, 8
push edi
push ebx
mov ebx, dword [sym.imp.MSVCR100.dll__write]
push esi
call ebx
add esp, 0xc
cmp eax, edi
mov edi, dword [sym.imp.MSVCR100.dll__close]
je 0x44412c
push esi
call edi
push 0
push 0x6b0b58
push 0x5d6
push str.src_backend_access_transam_twophase.c
push 0x14
call sym.postgres.exe_errstart
add esp, 0x18
test al, al
je 0x44412c
push str.could_not_write_two_phase_state_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
push 4
lea ecx, [ebp - 0x408]
push ecx
push esi
call ebx
add esp, 0xc
cmp eax, 4
je 0x44417e
push esi
call edi
push 0
push 0x6b0b58
push 0x5dd
push str.src_backend_access_transam_twophase.c
push 0x14
call sym.postgres.exe_errstart
add esp, 0x18
test al, al
je 0x44417e
push str.could_not_write_two_phase_state_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
push esi
call sym.postgres.exe_pg_fsync
add esp, 4
test eax, eax
je 0x4441c9
push esi
call edi
push 0
push 0x6b0b58
push 0x5e9
push str.src_backend_access_transam_twophase.c
push 0x14
call sym.postgres.exe_errstart
add esp, 0x18
test al, al
je 0x4441c9
push str.could_not_fsync_two_phase_state_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
push esi
call edi
add esp, 4
pop edi
pop esi
pop ebx
test eax, eax
je 0x444211
push 0
push 0x6b0b58
push 0x5ef
push str.src_backend_access_transam_twophase.c
push 0x14
call sym.postgres.exe_errstart
add esp, 0x14
test al, al
je 0x444211
push str.could_not_close_two_phase_state_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 ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006a8ca2
mov esp, ebp
pop ebp
ret