Function at 0x140005570
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x98
mov rax, qword [0x140042010]
xor rax, rsp
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
xor esi, esi
mov qword [rsp + 0x50], rsi
mov rdi, rcx
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
test rcx, rcx
jne 0x1400055fd
lea rax, str.NULL_input_file_path_n
mov dword [0x1400441ec], esi
mov qword [rsp + 0x30], rax
lea edx, [rcx - 1]
lea rax, str.ini_read_file
mov dword [rsp + 0x28], 0x915
lea r9, str.E:02_Sourcelm.signal.soft.git01_ProjectPE0000workcomplat_srcmodiniini.c
mov qword [rsp + 0x20], rax
lea r8, [0x1400441e0]
mov dword [0x1400441f0], 1
lea ecx, [rdi + 3]
call sym.Launcher.exe_elog_fmt
xor eax, eax
jmp 0x14000595b
cmp dword [rcx], 0xf00a000d
jne 0x14000560d
mov rax, rdi
jmp 0x14000595b
lea rdx, [rsp + 0x58]
call fcn.140017dd0
test eax, eax
je 0x140005672
mov qword [rsp + 0x38], rdi
lea rax, str.file_open_failed__s_n
mov qword [rsp + 0x30], rax
lea r9, str.E:02_Sourcelm.signal.soft.git01_ProjectPE0000workcomplat_srcmodiniini.c
mov edx, 0xffffffff
mov dword [rsp + 0x28], 0x935
lea rax, str.ini_read_file
mov dword [0x14004478c], esi
lea r8, [0x140044780]
mov dword [0x140044790], 1
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 4]
call sym.Launcher.exe_elog_fmt
xor eax, eax
jmp 0x14000595b
mov qword [rsp + 0xc0], rbp
lea r8, [0x14003bc20]
movsxd rbp, dword [rsp + 0x6c]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x90], r15
mov rdx, rdi
lea r15d, [rbp + 1]
call fcn.140018260
cmp qword [rsp + 0x50], rsi
jne 0x1400056fd
mov qword [rsp + 0x38], rdi
lea rax, str.file_open_failed__s_n
mov qword [rsp + 0x30], rax
lea r9, str.E:02_Sourcelm.signal.soft.git01_ProjectPE0000workcomplat_srcmodiniini.c
mov edx, 0xffffffff
mov dword [rsp + 0x28], 0x949
lea rax, str.ini_read_file
mov dword [0x140043f6c], esi
lea r8, [0x140043f60]
mov dword [0x140043f70], 1
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 4]
call sym.Launcher.exe_elog_fmt
xor eax, eax
jmp 0x14000594b
mov qword [rsp + 0xb8], rbx
mov qword [rsp + 0xc8], r14
mov r14, rbp
add r14, 1
je 0x1400058df
mov rcx, r14
call fcn.14001eadc
mov rbx, rax
test rax, rax
je 0x1400058df
mov r8, r14
xor edx, edx
mov rcx, rax
call fcn.140013cf0
mov r9, qword [rsp + 0x50]
mov r8, r14
mov edx, 1
mov rcx, rbx
call fcn.14001bba4
mov rcx, qword [rsp + 0x50]
mov r14, rax
call fcn.140014e38
cmp r14d, ebp
je 0x1400057c3
mov dword [rsp + 0x40], r14d
lea rax, str.size_read_not_correct__should_read:_d__but:_d_n
mov dword [rsp + 0x38], ebp
lea r9, str.E:02_Sourcelm.signal.soft.git01_ProjectPE0000workcomplat_srcmodiniini.c
mov qword [rsp + 0x30], rax
lea r8, [0x1400448c0]
mov edx, 0xffffffff
mov dword [rsp + 0x28], 0x96b
lea rax, str.ini_read_file
mov dword [0x1400448cc], esi
mov dword [0x1400448d0], 1
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 4]
call sym.Launcher.exe_elog_fmt
mov rcx, rbx
call fcn.14001eac8
jmp 0x140005939
cmp ebp, 3
jl 0x14000585a
movzx eax, byte [rbx]
cmp al, 0xef
jne 0x1400057ef
cmp byte [rbx + 1], 0xbb
jne 0x14000585f
cmp byte [rbx + 2], 0xbf
jne 0x14000585f
lea edx, [rbp - 3]
lea rcx, [rbx + 3]
jmp 0x1400058c7
cmp al, 0xff
jne 0x14000585f
cmp byte [rbx + 1], 0xfe
jne 0x14000585f
cmp byte [rbx + 2], 0x5b
jne 0x14000585f
mov edx, 0xffffffff
mov dword [0x140044afc], esi
lea rax, str.not_support_Unicode_n
mov dword [0x140044b00], 1
mov qword [rsp + 0x30], rax
lea r9, str.E:02_Sourcelm.signal.soft.git01_ProjectPE0000workcomplat_srcmodiniini.c
lea rax, str.ini_read_file
mov dword [rsp + 0x28], 0x97c
lea ecx, [rdx + 4]
mov qword [rsp + 0x20], rax
lea r8, [0x140044af0]
call sym.Launcher.exe_elog_fmt
mov rcx, rbx
call fcn.14001eac8
mov rax, rsi
jmp 0x14000593b
cmp ebp, 2
jl 0x1400058c2
cmp byte [rbx], 0xfe
jne 0x1400058c2
cmp byte [rbx + 1], 0xff
jne 0x1400058c2
mov edx, 0xffffffff
mov dword [0x14004487c], esi
lea rax, str.not_support_Unicode_BE_n
mov dword [0x140044880], 1
mov qword [rsp + 0x30], rax
lea r9, str.E:02_Sourcelm.signal.soft.git01_ProjectPE0000workcomplat_srcmodiniini.c
lea rax, str.ini_read_file
mov dword [rsp + 0x28], 0x981
lea ecx, [rdx + 4]
mov qword [rsp + 0x20], rax
lea r8, [0x140044870]
call sym.Launcher.exe_elog_fmt
mov rcx, rbx
call fcn.14001eac8
mov rax, rsi
jmp 0x14000593b
mov edx, ebp
mov rcx, rbx
mov r8, rdi
call fcn.140004e70
mov rcx, rbx
mov rsi, rax
call fcn.14001eac8
mov rax, rsi
jmp 0x14000593b
mov dword [rsp + 0x38], r15d
lea rax, str.alloc_res_failed__bufsize__d_n
mov qword [rsp + 0x30], rax
lea r9, str.E:02_Sourcelm.signal.soft.git01_ProjectPE0000workcomplat_srcmodiniini.c
mov edx, 0xffffffff
mov dword [rsp + 0x28], 0x951
lea rax, str.ini_read_file
mov dword [0x140044aac], esi
lea r8, [0x140044aa0]
mov dword [0x140044ab0], 1
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 4]
call sym.Launcher.exe_elog_fmt
mov rcx, qword [rsp + 0x50]
call fcn.140014e38
xor eax, eax
mov r14, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0xb8]
mov rbp, qword [rsp + 0xc0]
mov r15, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140012f80
add rsp, 0x98
pop rdi
pop rsi
ret