Function at 0x100377a8
Capabilities:
Inspect section memory permissions

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x6c8
mov qword [rsp + 0xb0], 0xfffffffffffffffe
mov rbp, r8
mov rsi, rdx
mov rbx, rcx
xor r13d, r13d
mov qword [rcx + 0x68], r13
mov qword [rcx + 0x70], r13
mov qword [rcx + 0x78], r13
mov qword [rcx + 0x80], r13
mov dword [rcx + 0x88], r13d
mov byte [rcx + 0x50], r13b
mov byte [rcx + 0x51], r13b
mov byte [rcx + 0x52], r13b
mov dword [rcx + 8], r13d
add rcx, 0x10
call fcn.10035b24
lea rcx, [rbx + 0x20]
call fcn.10035bf4
mov r15d, 0x600
mov r8, r15
lea rdx, [rsp + 0xc0]
mov rcx, rsi
call fcn.1000c5a4
cmp eax, r13d
jne 0x10037de4
mov ecx, r13d
lea rax, [rsp + 0xc0]
mov r14d, 1
cmp byte [rax], r13b
jne 0x10037858
add ecx, r14d
add rax, r14
cmp ecx, 0x400
jb 0x10037843
jmp 0x10037860
mov eax, r14d
jmp 0x10037de4
mov cl, byte [rsp + 0x4c0]
mov byte [rbx + 0x30], cl
mov al, byte [rsp + 0x4c1]
mov byte [rbx + 0x31], al
mov edi, 9
cmp cl, 0x42
jne 0x1003799e
cmp al, 0x44
jne 0x10037de1
cmp byte [rsp + 0x53c], 0x48
jne 0x10037988
cmp byte [rsp + 0x53d], 0x2b
jne 0x10037988
mov edx, dword [rsp + 0x4d4]
bswap edx
mov ecx, edi
cmp edx, 0x200
je 0x100378d4
cmp ecx, 0x1f
je 0x100378cc
add ecx, r14d
mov eax, r14d
shl eax, cl
cmp eax, edx
jne 0x100378b9
jmp 0x100378d4
mov eax, r14d
jmp 0x10037de4
mov dword [rbx + 0x44], ecx
movzx eax, byte [rsp + 0x4d2]
shl ax, 8
movzx r9d, ax
movzx eax, byte [rsp + 0x4d3]
or r9d, eax
mov dword [rbx + 0x48], r9d
add r9, 2
shl r9, cl
mov qword [rbx + 0x78], r9
movzx eax, byte [rsp + 0x53e]
shl ax, 8
movzx edx, ax
movzx eax, byte [rsp + 0x53f]
or edx, eax
movzx eax, byte [rsp + 0x540]
shl ax, 8
movzx r8d, ax
movzx eax, byte [rsp + 0x541]
or eax, r8d
inc edx
mov cl, byte [rbx + 0x44]
shl rdx, cl
mov qword [rbx + 0x68], rdx
mov cl, byte [rbx + 0x44]
shl rax, cl
add rax, rdx
cmp r9, rax
jae 0x10037953
mov qword [rbx + 0x78], rax
mov rax, qword [rsi]
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
call qword [rax + 0x20]
cmp eax, r13d
jne 0x10037de4
mov r8, r15
lea rdx, [rsp + 0xc0]
mov rcx, rsi
call fcn.1000c5a4
cmp eax, r13d
je 0x10037990
jmp 0x10037de4
mov eax, r14d
jmp 0x10037de4
mov al, byte [rsp + 0x4c1]
mov cl, byte [rsp + 0x4c0]
cmp cl, 0x48
jne 0x10037de1
cmp al, 0x2b
je 0x100379b3
cmp al, 0x58
jne 0x10037de1
movzx ecx, byte [rsp + 0x4c2]
shl cx, 8
movzx eax, byte [rsp + 0x4c3]
or cx, ax
mov word [rbx + 0x32], cx
cmp cx, 4
jb 0x10037ddc
cmp cx, 5
ja 0x10037ddc
mov eax, dword [rsp + 0x4d0]
bswap eax
mov dword [rbx + 0x34], eax
mov eax, dword [rsp + 0x4d4]
bswap eax
mov dword [rbx + 0x38], eax
mov ecx, dword [rsp + 0x4e0]
bswap ecx
mov dword [rbx + 0x3c], ecx
mov eax, dword [rsp + 0x4e4]
bswap eax
mov dword [rbx + 0x40], eax
cmp eax, 0x20000000
ja 0x10037dd7
cmp ecx, 0x40000000
ja 0x10037dd7
mov rax, qword [rsi]
lea r9, [rbx + 0x80]
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rsi
call qword [rax + 0x20]
cmp eax, r13d
jne 0x10037de4
cmp rbp, r13
je 0x10037a7e
mov ecx, dword [rbx + 0x3c]
mov eax, dword [rbx + 0x40]
lea rcx, [rcx + rax + 1]
mov qword [rsp + 0x710], rcx
mov rax, qword [rbp]
xor r8d, r8d
lea rdx, [rsp + 0x710]
mov rcx, rbp
call qword [rax + 0x18]
cmp eax, r13d
jne 0x10037de4
mov edx, dword [rsp + 0x4e8]
bswap edx
cmp edx, 0x200
je 0x10037aac
cmp edi, 0x1f
je 0x10037aa4
add edi, r14d
mov ecx, edi
mov eax, r14d
shl eax, cl
cmp eax, edx
jne 0x10037a8f
jmp 0x10037aac
mov eax, r14d
jmp 0x10037de4
mov dword [rbx + 0x44], edi
mov eax, dword [rsp + 0x4ec]
bswap eax
mov dword [rbx + 0x48], eax
mov eax, dword [rsp + 0x4f0]
bswap eax
mov dword [rbx + 0x4c], eax
lea rcx, [rbx + 0x58]
lea rdx, str.rsrc
call fcn.10002a5c
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], r13d
mov qword [rsp + 0x80], r13
mov dword [rsp + 0x88], r13d
mov dword [rsp + 0x8c], r13d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x48], r13d
mov dword [rsp + 0x4c], r13d
mov qword [rsp + 0x50], r13
mov dword [rsp + 0x58], r13d
mov qword [rsp + 0x60], r13
mov dword [rsp + 0x68], r13d
mov dword [rsp + 0x6c], r13d
lea rdx, [rsp + 0x580]
lea rcx, [rsp + 0x70]
call fcn.10034dbc
lea rdx, [rsp + 0x5d0]
lea rcx, [rsp + 0x30]
call fcn.10034dbc
lea rdx, [rsp + 0x620]
lea rcx, [rsp + 0x50]
call fcn.10034dbc
lea r12, [fcn.1006cd98]
mov qword [rsp + 0x20], r12
lea r9, [0x10033578]
mov r8d, 2
lea r15d, [r8 + 0xe]
mov rdx, r15
lea rcx, [rsp + 0x90]
call fcn.10130a00
nop
lea rcx, [rsp + 0x70]
call fcn.10033420
cmp al, r13b
je 0x10037baf
mov cl, byte [rbx + 0x44]
mov eax, dword [rsp + 0x78]
shl rax, cl
cmp qword [rsp + 0x70], rax
jbe 0x10037bb5
mov byte [rbx + 0x50], r14b
jmp 0x10037c14
lea r9, [rsp + 0x90]
mov r8, rsi
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.10034ecc
mov edi, eax
cmp eax, r14d
jne 0x10037bda
mov byte [rbx + 0x50], r14b
jmp 0x10037c14
cmp eax, r13d
je 0x10037c14
mov r9, r12
mov r8d, 2
mov rdx, r15
lea rcx, [rsp + 0x90]
call fcn.10130b60
nop
mov rcx, qword [rsp + 0x60]
call sub.msvcrt.dll_free
nop
mov rcx, qword [rsp + 0x40]
call sub.msvcrt.dll_free
nop
jmp 0x10037d78
mov edi, dword [rbx + 0x44]
mov r8d, 4
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x30]
call fcn.10034e34
cmp al, r13b
je 0x10037c53
lea rcx, [rsp + 0x30]
call fcn.10033420
cmp al, r13b
je 0x10037c53
mov eax, dword [rsp + 0x38]
mov ecx, edi
shl rax, cl
cmp qword [rsp + 0x30], rax
jbe 0x10037c8b
mov r9, r12
mov r8d, 2
mov rdx, r15
lea rcx, [rsp + 0x90]
call fcn.10130b60
nop
mov rcx, qword [rsp + 0x60]
call sub.msvcrt.dll_free
nop
mov rcx, qword [rsp + 0x40]
call sub.msvcrt.dll_free
nop
mov edi, r14d
jmp 0x10037d78
mov edi, dword [rbx + 0x44]
mov r8d, 8
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x50]
call fcn.10034e34
cmp al, r13b
je 0x10037ccd
lea rcx, [rsp + 0x50]
call fcn.10033420
cmp al, r13b
je 0x10037ccd
mov eax, dword [rsp + 0x58]
mov ecx, edi
shl rax, cl
mov rcx, qword [rsp + 0x50]
cmp rcx, rax
jbe 0x10037cd3
mov byte [rbx + 0x50], r14b
jmp 0x10037d24
cmp rcx, r13
je 0x10037d24
mov r9, rbp
mov r8, rsi
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.10035284
mov edi, eax
cmp eax, r13d
je 0x10037d24
mov r9, r12
mov r8d, 2
mov rdx, r15
lea rcx, [rsp + 0x90]
call fcn.10130b60
nop
mov rcx, qword [rsp + 0x60]
call sub.msvcrt.dll_free
nop
mov rcx, qword [rsp + 0x40]
call sub.msvcrt.dll_free
nop
jmp 0x10037d78
mov qword [rsp + 0x20], rbp
mov r9, rsi
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.10036b3c
mov edi, eax
cmp eax, r13d
je 0x10037d89
mov r9, r12
mov r8d, 2
mov rdx, r15
lea rcx, [rsp + 0x90]
call fcn.10130b60
nop
mov rcx, qword [rsp + 0x60]
call sub.msvcrt.dll_free
nop
mov rcx, qword [rsp + 0x40]
call sub.msvcrt.dll_free
nop
mov rcx, qword [rsp + 0x80]
call sub.msvcrt.dll_free
mov eax, edi
jmp 0x10037de4
mov eax, dword [rbx + 0x48]
mov cl, byte [rbx + 0x44]
shl rax, cl
mov qword [rbx + 0x70], rax
mov r9, r12
mov r8d, 2
mov rdx, r15
lea rcx, [rsp + 0x90]
call fcn.10130b60
nop
mov rcx, qword [rsp + 0x60]
call sub.msvcrt.dll_free
nop
mov rcx, qword [rsp + 0x40]
call sub.msvcrt.dll_free
nop
mov rcx, qword [rsp + 0x80]
call sub.msvcrt.dll_free
xor eax, eax
jmp 0x10037de4
mov eax, r14d
jmp 0x10037de4
mov eax, r14d
jmp 0x10037de4
mov eax, r14d
add rsp, 0x6c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret