Function at 0x10000b748
Capabilities:
Get file size

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x80
mov rax, qword [0x100012110]
xor rax, rsp
mov qword [rsp + 0x78], rax
and qword [r11 - 0x78], 0
mov r15d, 1
mov r12, rdx
mov dword [r11 - 0x80], r15d
xor r9d, r9d
mov edx, 0x80000000
mov r8d, r15d
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x10000b9bd
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
and qword [rsp + 0x28], 0
lea r8d, [r15 + 1]
xor r9d, r9d
xor edx, edx
mov rcx, rbp
mov ebx, eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov r13, rax
test rax, rax
je 0x10000b9b4
cmp ebx, 0x10
jb 0x10000b9b4
and qword [rsp + 0x20], 0
lea edx, [r15 + 3]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rsi, rax
test rax, rax
je 0x10000b9ab
lea r8, [rsp + 0x60]
mov edx, ebx
mov rcx, rax
call fcn.10000bf94
test eax, eax
je 0x10000b9a2
xor edx, edx
lea r11, [0x1000121b0]
lea rax, [rdx + rdx*4]
lea r8, [r11 + rax*4]
test r8, r8
je 0x10000b9e8
lea rax, [rdx + rdx*4]
lea r10, [rsp + 0x60]
xor r9d, r9d
shl rax, 2
sub r10, rax
sub r10, r11
mov cl, byte [r10 + r8]
mov al, byte [r8]
add r8, r15
cmp cl, al
jne 0x10000b9e8
add r9d, r15d
cmp r9d, 0x14
jb 0x10000b853
cmp dword [rsi], 0x58454355
jne 0x10000b9a2
mov ecx, dword [rsi + 4]
lea rdx, [0x100001ab0]
add rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x10000b915
mov edx, dword [0x100033ba0]
test edx, edx
jle 0x10000b8c5
mov r8, qword [0x100033b98]
lea rcx, [r8 + 0x204]
bt dword [rcx], 0x1f
jb 0x10000b9f5
add eax, r15d
add rcx, 0x220
cmp eax, edx
jl 0x10000b8ad
xor ecx, ecx
test ecx, ecx
je 0x10000b9a2
mov edx, r15d
mov ecx, 7
call qword [sym.imp.KERNEL32.dll_IsValidLanguageGroup]
test eax, eax
jne 0x10000b915
lea ecx, [rax + 0xa]
mov edx, r15d
call qword [sym.imp.KERNEL32.dll_IsValidLanguageGroup]
test eax, eax
jne 0x10000b915
lea ecx, [rax + 8]
mov edx, r15d
call qword [sym.imp.KERNEL32.dll_IsValidLanguageGroup]
test eax, eax
jne 0x10000b915
lea ecx, [rax + 9]
mov edx, r15d
call qword [sym.imp.KERNEL32.dll_IsValidLanguageGroup]
test eax, eax
je 0x10000b9a2
movzx ebx, word [rsi + 8]
mov eax, 0x4b0
cmp bx, ax
je 0x10000ba5f
movzx edi, bx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x10000b9a2
lea rdx, [rsp + 0x60]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetCPInfo]
test eax, eax
je 0x10000b9a2
cmp dword [rsp + 0x60], r15d
jbe 0x10000ba0c
lea rdx, [rsp + 0x40]
movzx ecx, bx
mov r8d, 2
call qword [sym.imp.GDI32.dll_TranslateCharsetInfo]
test eax, eax
je 0x10000ba0c
mov r8d, dword [0x100033ba0]
xor edx, edx
test r8d, r8d
jle 0x10000b9a2
mov rcx, qword [0x100033b98]
add rcx, 0x200
movzx eax, byte [rcx]
cmp eax, dword [rsp + 0x40]
je 0x10000ba0c
add edx, r15d
add rcx, 0x220
cmp edx, r8d
jl 0x10000b98a
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.10000f2c0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret
add edx, r15d
cmp edx, 8
jae 0x10000b9a2
jmp 0x10000b82c
cdqe
imul rax, rax, 0x220
movzx ecx, byte [rax + r8 + 0x200]
jmp 0x10000b8c7
mov eax, 0x3a4
cmp bx, ax
jne 0x10000ba1d
mov ecx, 7
jmp 0x10000ba4e
mov eax, 0x3a8
cmp bx, ax
jne 0x10000ba2e
mov ecx, 0xa
jmp 0x10000ba4e
mov eax, 0x3b5
cmp bx, ax
jne 0x10000ba3f
mov ecx, 8
jmp 0x10000ba4e
mov edx, 0x3b6
cmp bx, dx
jne 0x10000ba5f
mov ecx, 9
mov edx, r15d
call qword [sym.imp.KERNEL32.dll_IsValidLanguageGroup]
test eax, eax
je 0x10000b9a2
mov qword [r12], rbp
mov qword [r12 + 8], r13
mov qword [r12 + 0x10], rsi
mov eax, r15d
jmp 0x10000b9bf