Function at 0x140114a10
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0xb8
mov rax, qword [0x14058f6b8]
xor rax, rsp
mov qword [rbp - 1], rax
mov rdi, r9
mov rbx, r8
mov r14, rcx
mov rsi, qword [rbp + 0x7f]
cmp qword [r9], 0
jne 0x140114b8c
mov dword [rbp - 0x51], 1
mov ecx, 0xe8
call fcn.1403982c8
mov qword [rbp - 0x59], rax
mov rcx, rax
call fcn.1401166d0
mov rbx, rax
lea rcx, [rbp - 0x21]
call fcn.140126190
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140114a82
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.14010fc80
lea rdx, [0x14051417c]
mov rcx, rax
call fcn.14010ea90
mov rcx, rax
lea rdx, str.C:codeWeChatPinYinwxkb01_mozcipcwin32_ipc.cc
call fcn.14010ea90
mov rcx, rax
lea rdx, [0x14051917c]
call fcn.14010ea90
mov edx, 0x181
mov rcx, rax
call fcn.14010b3a0
mov rcx, rax
lea rdx, [0x140528ca4]
call fcn.14010ea90
mov rbx, rax
call fcn.140126a50
lea r14, [0x1404d34b0]
mov rdx, r14
cmp byte [rax + 0xc], 0
cmovne rdx, qword [str.e_33m]
mov rcx, rbx
call fcn.14010ea90
mov rcx, rax
lea rdx, str.LOG_
call fcn.14010ea90
mov rdx, qword [str.WARNING]
mov rcx, rax
call fcn.14010ea90
mov rcx, rax
lea rdx, [0x140519184]
call fcn.14010ea90
mov rbx, rax
call fcn.140126a50
lea rdx, str.e_0m
cmp byte [rax + 0xc], 0
cmove rdx, r14
mov rcx, rbx
call fcn.14010ea90
mov rcx, rax
lea rdx, [0x14051417c]
call fcn.14010ea90
mov rcx, rax
lea rdx, str.buf_length_is_0
call fcn.14010ea90
mov rbx, rax
mov qword [rbp - 0x49], rax
lea rcx, [rbp - 0x21]
call fcn.14007cfc0
nop
mov rdx, rbx
call fcn.140126770
mov dword [rsi], 6
xor al, al
jmp 0x140114e9b
lea rcx, [rbp - 0x41]
call fcn.1401128c0
test al, al
je 0x140114d1e
mov dword [rbp - 0x61], 0
lea rax, [rbp - 0x41]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x61]
mov r8d, dword [rdi]
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
test ebx, ebx
jne 0x140114d53
cmp eax, 0x3e5
je 0x140114d2b
mov dword [rbp - 0x51], 2
mov ecx, 0xe8
call fcn.1403982c8
mov qword [rbp - 0x59], rax
mov rcx, rax
call fcn.1401166d0
mov rbx, rax
lea rcx, [rbp - 0x21]
call fcn.140126190
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140114c16
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.14010fc80
lea rdx, [0x14051417c]
mov rcx, rax
call fcn.14010ea90
mov rcx, rax
lea rdx, str.C:codeWeChatPinYinwxkb01_mozcipcwin32_ipc.cc
call fcn.14010ea90
mov rcx, rax
lea rdx, [0x14051917c]
call fcn.14010ea90
mov edx, SafeArrayCopyData
mov rcx, rax
call fcn.14010b3a0
mov rcx, rax
lea rdx, [0x140528ca4]
call fcn.14010ea90
mov rbx, rax
call fcn.140126a50
lea r14, [0x1404d34b0]
mov rdx, r14
cmp byte [rax + 0xc], 0
cmovne rdx, qword [str.e_31m]
mov rcx, rbx
call fcn.14010ea90
mov rcx, rax
lea rdx, str.LOG_
call fcn.14010ea90
mov rdx, qword [str.ERROR]
mov rcx, rax
call fcn.14010ea90
mov rcx, rax
lea rdx, [0x140519184]
call fcn.14010ea90
mov rbx, rax
call fcn.140126a50
lea rdx, str.e_0m
cmp byte [rax + 0xc], 0
cmove rdx, r14
mov rcx, rbx
call fcn.14010ea90
mov rcx, rax
lea rdx, [0x14051417c]
call fcn.14010ea90
mov rcx, rax
lea rdx, str.ReadFile___failed:
call fcn.14010ea90
mov edx, r15d
mov rcx, rax
call fcn.14010b1e0
mov rbx, rax
mov qword [rbp - 0x49], rax
lea rcx, [rbp - 0x21]
call fcn.14007cfc0
nop
mov rdx, rbx
call fcn.140126770
mov dword [rsi], 3
xor al, al
jmp 0x140114e9b
mov qword [rsp + 0x28], rsi
lea rax, [rbp - 0x61]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x41]
mov r8d, dword [rbp + 0x6f]
xor edx, edx
mov rcx, r14
call fcn.140114210
test al, al
je 0x140114b85
mov eax, dword [rbp - 0x61]
test eax, eax
jne 0x140114e96
mov dword [rbp - 0x51], 1
mov ecx, 0xe8
call fcn.1403982c8
mov qword [rbp - 0x59], rax
mov rcx, rax
call fcn.1401166d0
mov rbx, rax
lea rcx, [rbp - 0x21]
call fcn.140126190
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140114d96
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.14010fc80
lea rdx, [0x14051417c]
mov rcx, rax
call fcn.14010ea90
mov rcx, rax
lea rdx, str.C:codeWeChatPinYinwxkb01_mozcipcwin32_ipc.cc
call fcn.14010ea90
mov rcx, rax
lea rdx, [0x14051917c]
call fcn.14010ea90
mov edx, 0x1a7
mov rcx, rax
call fcn.14010b3a0
mov rcx, rax
lea rdx, [0x140528ca4]
call fcn.14010ea90
mov rbx, rax
call fcn.140126a50
lea r14, [0x1404d34b0]
mov rdx, r14
cmp byte [rax + 0xc], 0
cmovne rdx, qword [str.e_33m]
mov rcx, rbx
call fcn.14010ea90
mov rcx, rax
lea rdx, str.LOG_
call fcn.14010ea90
mov rdx, qword [str.WARNING]
mov rcx, rax
call fcn.14010ea90
mov rcx, rax
lea rdx, [0x140519184]
call fcn.14010ea90
mov rbx, rax
call fcn.140126a50
lea rdx, str.e_0m
cmp byte [rax + 0xc], 0
cmove rdx, r14
mov rcx, rbx
call fcn.14010ea90
mov rcx, rax
lea rdx, [0x14051417c]
call fcn.14010ea90
mov rcx, rax
lea rdx, str.Received_0_result.
call fcn.14010ea90
mov rbx, rax
mov qword [rbp - 0x49], rax
lea rcx, [rbp - 0x21]
call fcn.14007cfc0
nop
mov rdx, rbx
call fcn.140126770
mov eax, dword [rbp - 0x61]
mov qword [rdi], rax
mov al, 1
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.140398000
add rsp, 0xb8
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret