Function at 0x140130b30
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x14058f6b8]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r15, rdx
mov r14, rcx
mov rcx, qword [rcx]
test rcx, rcx
je 0x140130b70
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
xor ebx, ebx
mov qword [r14 + 8], rbx
mov qword [r14], rbx
mov qword [rbp - 0x39], rbx
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x21], rbx
lea rcx, [rbp - 0x39]
call fcn.140078ca0
nop
mov rsi, 0xffffffffffffffff
mov rdi, rsi
nop dword [rax]
inc rdi
cmp byte [r15 + rdi], 0
jne 0x140130ba0
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov r9d, edi
mov r8, r15
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jle 0x1401310f3
movsxd r12, eax
inc r12
mov eax, 2
mul r12
cmovo rax, rsi
mov rcx, rax
call fcn.1403987c8
mov rsi, rax
mov qword [rbp - 0x51], rax
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], rax
mov r9d, edi
mov r8, r15
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rdi, eax
test eax, eax
js 0x140130c28
mov r8, rdi
cmp rdi, r12
jae 0x140130c28
mov rdx, rsi
lea rcx, [rbp - 0x39]
call fcn.140078ce0
nop
mov rcx, rsi
call fcn.140398020
test edi, edi
jle 0x1401310f3
lea rcx, [rbp - 0x39]
cmp qword [rbp - 0x21], 8
cmovae rcx, qword [rbp - 0x39]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp - 0x51], rbx
mov rdi, rbx
cmp rax, 0xffffffffffffffff
cmovne rdi, rax
mov qword [rbp - 0x51], rdi
test rdi, rdi
jne 0x140130dd1
mov dword [rbp - 0x49], 2
mov ecx, 0xe8
call fcn.1403982c8
mov qword [rbp - 0x59], rax
mov rcx, rax
call fcn.1401166d0
mov rsi, rax
lea rcx, [rbp - 0x19]
call fcn.140126190
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140130cc1
mov rax, qword [rax]
mov rdx, rax
mov rcx, rsi
call fcn.14010fc80
lea rdx, [0x14051417c]
mov rcx, rax
call fcn.14010ea90
mov rcx, rax
lea rdx, str.C:codeWeChatPinYinwxkb01_mozc_basemmap.cc
call fcn.14010ea90
mov rcx, rax
lea rdx, [0x14051917c]
call fcn.14010ea90
mov edx, 0x56
mov rcx, rax
call fcn.14010b3a0
mov rcx, rax
lea rdx, [0x140528ca4]
call fcn.14010ea90
mov rsi, rax
call fcn.140126a50
lea r12, [0x1404d34b0]
mov rdx, r12
cmp byte [rax + 0xc], 0
cmovne rdx, qword [str.e_31m]
mov rcx, rsi
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 rsi, rax
call fcn.140126a50
lea rdx, str.e_0m
cmp byte [rax + 0xc], 0
cmove rdx, r12
mov rcx, rsi
call fcn.14010ea90
mov rcx, rax
lea rdx, [0x14051417c]
call fcn.14010ea90
mov rcx, rax
lea rdx, str.CreateFile___failed:
call fcn.14010ea90
mov rcx, rax
mov rdx, r15
call fcn.14010ea90
mov rsi, rax
mov qword [rbp - 0x41], rax
lea rcx, [rbp - 0x19]
call fcn.14007cfc0
nop
mov rdx, rsi
call fcn.140126770
xor r14b, r14b
jmp 0x1401310df
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rbp - 0x59], rbx
mov rsi, rbx
cmp rax, 0xffffffffffffffff
cmovne rsi, rax
mov qword [rbp - 0x59], rsi
test rsi, rsi
jne 0x140130f50
mov dword [rbp - 0x19], 2
mov ecx, 0xe8
call fcn.1403982c8
mov qword [rbp - 0x49], rax
mov rcx, rax
call fcn.1401166d0
mov r14, rax
lea rcx, [rbp + 7]
call fcn.140126190
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140130e40
mov rax, qword [rax]
mov rdx, rax
mov rcx, r14
call fcn.14010fc80
lea rdx, [0x14051417c]
mov rcx, rax
call fcn.14010ea90
mov rcx, rax
lea rdx, str.C:codeWeChatPinYinwxkb01_mozc_basemmap.cc
call fcn.14010ea90
mov rcx, rax
lea rdx, [0x14051917c]
call fcn.14010ea90
mov edx, 0x5c
mov rcx, rax
call fcn.14010b3a0
mov rcx, rax
lea rdx, [0x140528ca4]
call fcn.14010ea90
mov r14, rax
call fcn.140126a50
lea r12, [0x1404d34b0]
mov rdx, r12
cmp byte [rax + 0xc], 0
cmovne rdx, qword [str.e_31m]
mov rcx, r14
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 r14, rax
call fcn.140126a50
lea rdx, str.e_0m
cmp byte [rax + 0xc], 0
cmove rdx, r12
mov rcx, r14
call fcn.14010ea90
mov rcx, rax
lea rdx, [0x14051417c]
call fcn.14010ea90
mov rcx, rax
lea rdx, str.CreateFileMapping___failed:
call fcn.14010ea90
mov rcx, rax
mov rdx, r15
call fcn.14010ea90
mov r14, rax
mov qword [rbp - 0x11], rax
lea rcx, [rbp + 7]
call fcn.14007cfc0
nop
mov rdx, r14
call fcn.140126770
xor r14b, r14b
jmp 0x1401310cd
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
test rax, rax
jne 0x1401310b6
mov dword [rbp - 0x19], 2
mov ecx, 0xe8
call fcn.1403982c8
mov qword [rbp - 0x49], rax
mov rcx, rax
call fcn.1401166d0
mov r14, rax
lea rcx, [rbp + 7]
call fcn.140126190
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140130fa9
mov rax, qword [rax]
mov rdx, rax
mov rcx, r14
call fcn.14010fc80
lea rdx, [0x14051417c]
mov rcx, rax
call fcn.14010ea90
mov rcx, rax
lea rdx, str.C:codeWeChatPinYinwxkb01_mozc_basemmap.cc
call fcn.14010ea90
mov rcx, rax
lea rdx, [0x14051917c]
call fcn.14010ea90
mov edx, 0x62
mov rcx, rax
call fcn.14010b3a0
mov rcx, rax
lea rdx, [0x140528ca4]
call fcn.14010ea90
mov r14, rax
call fcn.140126a50
lea r12, [0x1404d34b0]
mov rdx, r12
cmp byte [rax + 0xc], 0
cmovne rdx, qword [str.e_31m]
mov rcx, r14
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 r14, rax
call fcn.140126a50
lea rdx, str.e_0m
cmp byte [rax + 0xc], 0
cmove rdx, r12
mov rcx, r14
call fcn.14010ea90
mov rcx, rax
lea rdx, [0x14051417c]
call fcn.14010ea90
mov rcx, rax
lea rdx, str.MapViewOfFile___failed:
call fcn.14010ea90
mov rcx, rax
mov rdx, r15
call fcn.14010ea90
mov r14, rax
mov qword [rbp - 0x11], rax
lea rcx, [rbp + 7]
call fcn.14007cfc0
nop
mov rdx, r14
call fcn.140126770
xor r14b, r14b
jmp 0x1401310cd
mov qword [r14], rax
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov eax, eax
mov qword [r14 + 8], rax
mov r14b, 1
test rsi, rsi
je 0x1401310df
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x59], rbx
test rdi, rdi
je 0x1401310f6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x51], rbx
jmp 0x1401310f6
xor r14b, r14b
lea rcx, [rbp - 0x39]
call fcn.14007cec0
nop
movzx eax, r14b
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140398000
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret