Function at 0x1400012f0
Capabilities:
Terminate process

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r15
sub rsp, 0x70
mov rax, qword [0x1400070d8]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor r8d, r8d
lea rbp, str.apr_app_initialize__
mov rsi, rdx
mov r15, rcx
call qword [sym.imp.libapr_1.dll_apr_app_initialize]
mov edi, eax
test eax, eax
jne 0x140001496
xor r9d, r9d
lea rcx, [rsp + 0x30]
xor r8d, r8d
lea rbp, str.apr_pool_create__
xor edx, edx
call qword [sym.imp.libapr_1.dll_apr_pool_create_ex]
mov edi, eax
test eax, eax
jne 0x140001496
mov rdx, qword [rsp + 0x30]
lea rcx, [0x140001170]
mov qword [rsp + 0xb0], r14
call qword [sym.imp.libapr_1.dll_apr_pool_abort_set]
mov rcx, qword [rsp + 0x30]
lea rdx, str.process
call qword [sym.imp.libapr_1.dll_apr_pool_tag]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.libhttpd.dll_ap_open_stderr_log]
mov rcx, qword [rsp + 0x30]
lea edx, [rdi + 0x28]
call qword [sym.imp.libapr_1.dll_apr_palloc]
mov rcx, qword [rsp + 0x30]
xor edi, edi
mov rdx, rcx
xor r9d, r9d
xor r8d, r8d
mov r14, rax
mov qword [rax], rcx
lea rcx, [rax + 8]
mov qword [rax + 8], rdi
call qword [sym.imp.libapr_1.dll_apr_pool_create_ex]
mov rcx, qword [r14 + 8]
lea rdx, str.pconf
call qword [sym.imp.libapr_1.dll_apr_pool_tag]
mov rcx, qword [r14 + 8]
lea r8, [0x140001230]
xor edx, edx
call qword [sym.imp.libapr_1.dll_apr_pool_pre_cleanup_register]
mov eax, dword [r15]
mov dword [r14 + 0x20], eax
mov rax, qword [rsi]
mov qword [r14 + 0x18], rax
mov rcx, qword [rsi]
mov rcx, qword [rcx]
call qword [sym.imp.libapr_1.dll_apr_filepath_name_get]
mov rdx, qword [r14]
lea rcx, [rsp + 0x38]
mov qword [r14 + 0x10], rax
mov qword [rsp + 0x38], rdi
call qword [sym.imp.libhttpd.dll_ap_thread_main_create]
mov ebp, eax
test eax, eax
je 0x140001473
call qword [sym.imp.libapr_1.dll_apr_time_now]
mov rdx, rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.libapr_1.dll_apr_ctime]
mov rbx, qword [rsi]
lea ecx, [rdi + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdx, qword [rbx]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], rdx
mov rcx, rax
lea rdx, str.__s___crit____d___s:_failed_to_initialize_thread_context__exiting_n
mov r9d, ebp
call fcn.1400012a0
call qword [sym.imp.libapr_1.dll_apr_terminate]
mov rax, qword [sym.imp.libhttpd.dll_ap_real_exit_code]
mov ecx, 1
cmp dword [rax], 2
sete dil
mov dword [rax], edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rax, r14
mov r14, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140002eb0
add rsp, 0x70
pop r15
pop rdi
pop rsi
pop rbp
pop rbx
ret
call qword [sym.imp.libapr_1.dll_apr_time_now]
mov rdx, rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.libapr_1.dll_apr_ctime]
mov rbx, qword [rsi]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov qword [rsp + 0x28], rbp
lea r8, [rsp + 0x40]
mov rcx, rax
lea rdx, str.__s___crit____d___s:__s_failed_to_initial_context__exiting_n
mov rax, qword [rbx]
mov r9d, edi
mov qword [rsp + 0x20], rax
call fcn.1400012a0
call qword [sym.imp.libapr_1.dll_apr_terminate]
mov rax, qword [sym.imp.libhttpd.dll_ap_real_exit_code]
xor edi, edi
mov ecx, 1
cmp dword [rax], 2
sete dil
mov dword [rax], edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3