Function at 0x14019ddf0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov rax, qword [0x1404e6228]
xor rax, rsp
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x40]
call fcn.1400a4430
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x78]
call fcn.1400f3d80
nop
lea rcx, [rsp + 0x78]
call fcn.1400bcdf0
lea rdx, [0x1403345ec]
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fopen
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14019de9c
mov ecx, 1
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rdx, rax
lea rcx, [0x140430e00]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputs
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x78]
call fcn.140088270
movzx eax, byte [rsp + 0x20]
jmp 0x14019e031
mov rcx, qword [rsp + 0x28]
call sub.api_ms_win_crt_stdio_l1_1_0.dll__fileno
lea rdx, [rsp + 0x98]
mov ecx, eax
call fcn.14019dcc0
cmp eax, 0xffffffff
jne 0x14019def6
mov rcx, qword [rsp + 0x28]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
mov ecx, 1
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rdx, rax
lea rcx, str.fstat_error
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputs
mov byte [rsp + 0x21], 0
lea rcx, [rsp + 0x78]
call fcn.140088270
movzx eax, byte [rsp + 0x21]
jmp 0x14019e031
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x28]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fseek
mov rcx, qword [rsp + 0x28]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_ftell
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x28]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_rewind
mov eax, dword [rsp + 0x30]
inc eax
cdqe
mov rcx, rax
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x14019df79
mov ecx, 1
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rdx, rax
lea rcx, str.Unable_to_allocate_the_memory_for_the_reading_of_the_configuration_file.
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputs
mov rcx, qword [rsp + 0x28]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
mov byte [rsp + 0x22], 0
lea rcx, [rsp + 0x78]
call fcn.140088270
movzx eax, byte [rsp + 0x22]
jmp 0x14019e031
movsxd rax, dword [rsp + 0x30]
mov r9, qword [rsp + 0x28]
mov r8, rax
mov edx, 1
mov rcx, qword [rsp + 0x38]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fread
mov qword [rsp + 0x50], rax
movsxd rax, dword [rsp + 0x30]
cmp qword [rsp + 0x50], rax
je 0x14019dfe9
mov ecx, 1
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rdx, rax
lea rcx, str.An_error_has_occurred_during_the_reading_of_the_configuration_file.
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputs
mov rcx, qword [rsp + 0x28]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
mov rcx, qword [rsp + 0x38]
call fcn.1402f8b10
mov byte [rsp + 0x23], 0
lea rcx, [rsp + 0x78]
call fcn.140088270
movzx eax, byte [rsp + 0x23]
jmp 0x14019e031
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov byte [rcx + rax], 0
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0xe8]
call fcn.1400b3af0
mov rcx, qword [rsp + 0x28]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
mov rcx, qword [rsp + 0x38]
call fcn.1402f8b10
mov byte [rsp + 0x24], 1
lea rcx, [rsp + 0x78]
call fcn.140088270
movzx eax, byte [rsp + 0x24]
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.1401a6870
add rsp, 0xd8
ret