Function at 0x576940
Capabilities:
Create thread

Disassembly:
push 0x835f58
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, 1
mov dword [0x835ff0], eax
mov dword [0x835ff4], eax
mov dword [0x835ff8], eax
mov dword [0x835ffc], eax
mov dword [0x836000], eax
mov dword [0x836004], eax
mov dword [0x836008], eax
mov dword [0x83600c], eax
mov dword [0x836010], eax
mov dword [0x836014], eax
mov dword [0x836018], eax
mov dword [0x83601c], eax
mov dword [0x836020], eax
mov dword [0x836024], eax
mov dword [0x836028], eax
mov dword [0x83602c], eax
mov dword [0x836030], eax
mov dword [0x836034], eax
mov dword [0x836038], eax
mov dword [0x83603c], eax
mov dword [0x836040], eax
mov dword [0x836044], eax
mov dword [0x836048], eax
mov dword [0x83604c], eax
mov dword [0x836050], eax
mov dword [0x836054], eax
mov dword [0x836058], eax
mov dword [0x83605c], eax
mov dword [0x836060], eax
mov dword [0x836064], eax
mov dword [0x836068], eax
mov dword [0x83606c], eax
xor eax, eax
push eax
push eax
push 1
mov dword [0x835f70], eax
mov dword [0x835f74], eax
mov dword [0x835f78], eax
mov dword [0x835f7c], eax
mov dword [0x835f80], eax
mov dword [0x835f84], eax
mov dword [0x835f88], eax
mov dword [0x835f8c], eax
mov dword [0x835f90], eax
mov dword [0x835f94], eax
mov dword [0x835f98], eax
mov dword [0x835f9c], eax
mov dword [0x835fa0], eax
mov dword [0x835fa4], eax
mov dword [0x835fa8], eax
mov dword [0x835fac], eax
mov dword [0x835fb0], eax
mov dword [0x835fb4], eax
mov dword [0x835fb8], eax
mov dword [0x835fbc], eax
mov dword [0x835fc0], eax
mov dword [0x835fc4], eax
mov dword [0x835fc8], eax
mov dword [0x835fcc], eax
mov dword [0x835fd0], eax
mov dword [0x835fd4], eax
mov dword [0x835fd8], eax
mov dword [0x835fdc], eax
mov dword [0x835fe0], eax
mov dword [0x835fe4], eax
mov dword [0x835fe8], eax
mov dword [0x835fec], eax
mov dword [sym.postgres.exe_pg_signal_mask], eax
push eax
mov dword [sym.postgres.exe_pg_signal_queue], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x869244], eax
test eax, eax
jne 0x576ae5
push eax
push 0x732c3c
push 0x56
push str.src_backendportwin32_signal.c
push 0x15
call sym.postgres.exe_errstart
add esp, 0x14
test al, al
je 0x576ae5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.could_not_create_signal_event:_error_code__lu
call sym.postgres.exe_errmsg_internal
push eax
call sym.postgres.exe_errfinish
add esp, 0xc
push 0
push 0
push 0
push 0x576750
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x576b2c
push eax
push 0x732c3c
push 0x5c
push str.src_backendportwin32_signal.c
push 0x15
call sym.postgres.exe_errstart
add esp, 0x14
test al, al
je 0x576b2c
push str.could_not_create_signal_handler_thread
call sym.postgres.exe_errmsg_internal
push eax
call sym.postgres.exe_errfinish
add esp, 8
push 1
push 0x576890
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
jne 0x576b6b
push eax
push 0x732c3c
push 0x61
push str.src_backendportwin32_signal.c
push 0x15
call sym.postgres.exe_errstart
add esp, 0x14
test al, al
je 0x576b6b
push str.could_not_set_console_control_handler
call sym.postgres.exe_errmsg_internal
push eax
call sym.postgres.exe_errfinish
add esp, 8
ret