Function at 0x18004ac60
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], r8d
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov r13, qword [rbp + 0x7f]
lea r14d, [r8 + 0x7c6]
mov r12, qword [rbp + 0x7f]
mov edi, r8d
mov r15, rdx
mov rbx, rcx
mov esi, r8d
cmp r8d, r14d
jae 0x18004af5a
mov rax, qword [rbp + 0x7f]
mov qword [rbp - 0x49], rax
mov eax, dword [rbp + 0x77]
mov dword [rbp - 0x69], eax
movzx eax, byte [rbp + 0x77]
mov byte [rbp + 0x7f], al
mov rbx, qword [rbp + 0x7f]
cmp esi, 0x1cc
ja 0x18004ad40
je 0x18004ad34
mov eax, esi
sub eax, 0x57
je 0x18004ad2a
sub eax, 0x57
je 0x18004ad07
sub eax, 0x57
je 0x18004acff
sub eax, 0x19
je 0x18004acf3
cmp eax, 0x57
jne 0x18004aea6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
jmp 0x18004aea6
xor r12d, r12d
jmp 0x18004aea6
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [rbp + 0x67]
lea rdx, str.OGL_support_GL_INTEL_shader_multisample_interpolation
mov rcx, rax
call fcn.180083e40
jmp 0x18004aea6
mov cl, 1
mov byte [rbp + 0x7f], cl
jmp 0x18004aeaa
mov byte [rbp - 0x65], 0
xor r13d, r13d
jmp 0x18004aea6
mov eax, esi
sub eax, 0x1e5
je 0x18004ae93
sub eax, 0xae
je 0x18004ae18
sub eax, 0x19
je 0x18004ae03
cmp eax, 0xae
jne 0x18004aea6
movzx eax, byte [rbp - 0x65]
xor r9d, r9d
mov byte [rbp - 0x61], al
xor r8d, r8d
lea rax, [rbp - 0x61]
mov byte [rbp - 0x51], 4
mov qword [rsp + 0x38], rax
xor edx, edx
lea rax, [rbp - 0x59]
mov byte [rbp - 0x59], 4
mov qword [rsp + 0x30], rax
mov ecx, 0x103
lea rax, [rbp - 0x51]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
call fcn.180053130
mov byte [r13], al
xor r9d, r9d
movzx eax, byte [rbp - 0x65]
xor r8d, r8d
mov byte [rbp - 0x51], al
xor edx, edx
lea rax, [rbp - 0x51]
mov byte [rbp - 0x61], 4
mov qword [rsp + 0x38], rax
mov ecx, 0x103
lea rax, [rbp - 0x59]
mov byte [rbp - 0x59], 0
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x61]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
call fcn.180053130
mov byte [r13 + 1], al
jmp 0x18004aea6
movzx ecx, byte [rbp + 0x7f]
xor edx, edx
mov dword [rbp - 0x69], edx
mov dword [rbp - 0x11], 0x30
jmp 0x18004aead
mov ecx, reloc.SHELL32.dll_ILFindLastID
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r13, rax
mov edi, 0x90
nop dword [rax + rax]
mov ecx, edi
sub ecx, 0x8d
je 0x18004ae56
cmp ecx, 2
jne 0x18004ae63
mov ecx, 0x55
cmp ecx, 0x55
je 0x18004ae72
add ecx, 0x40
cmp ecx, 0x95
jb 0x18004ae44
jmp 0x18004ae63
xor edx, edx
xor r8d, r8d
lea ecx, [rdx + 0x47]
call fcn.18007ec60
dec edi
cmp edi, 0x8d
ja 0x18004ae30
mov r12, rbx
jmp 0x18004aea6
mov r9, qword [0x1800a21d0]
lea rcx, [rbp - 0x65]
mov edx, 1
mov r8d, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rbx, rax
mov r12, rax
jmp 0x18004aea6
xorps xmm0, xmm0
mov qword [rbp - 0x49], r15
movups xmmword [rbp - 0x11], xmm0
movups xmmword [rbp - 1], xmm0
movups xmmword [rbp + 0xf], xmm0
movzx ecx, byte [rbp + 0x7f]
mov edx, dword [rbp - 0x69]
add esi, 0xc7
cmp esi, r14d
jb 0x18004acc3
mov rbx, qword [rbp + 0x67]
mov r15, qword [rbp - 0x49]
mov edi, dword [rbp + 0x77]
imul esi, dword [rbp + 0x77], 0x1ef
cmp dword [rbp + 0x77], esi
ja 0x18004b1db
lea r9, [0x180000000]
nop
cmp edi, 0x2ee6
ja 0x18004b065
je 0x18004b044
cmp edi, 0x57
je 0x18004afd3
cmp edi, 0x105
je 0x18004afc2
cmp edi, 0xfa2
je 0x18004afae
cmp edi, 0x1eed
je 0x18004af70
cmp edi, 0x2e38
jne 0x18004b1b0
mov r8d, edx
lea r9, [rbp - 0x41]
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x31]
call sub.ADVAPI32.dll_LsaOpenPolicy
cmp qword [rbp - 0x41], 0
lea r9, [0x180000000]
mov edx, dword [rbp - 0x69]
jne 0x18004b1ac
xor cl, cl
mov byte [rbp + 0x7f], cl
jmp 0x18004b1b0
movzx ecx, byte [rbp + 0x77]
mov r15, qword [rbp + 0x7f]
mov edx, dword [rbp + 0x77]
mov byte [rbp + 0x7f], cl
mov dword [rbp - 0x69], edx
jmp 0x18004aec7
mov ecx, 0x86
call fcn.18000e760
test al, al
jne 0x18004b1a2
mov ecx, ILFree
mov eax, ecx
sub eax, 0x97
je 0x18004af9b
cmp eax, 1
je 0x18004b1db
jmp 0x18004af9f
mov byte [rbp - 0x49], 0
inc ecx
cmp ecx, 0x99
jb 0x18004af87
jmp 0x18004b1a2
xorps xmm0, xmm0
mov qword [rbp - 0x41], 0
movups xmmword [rbp - 0x21], xmm0
jmp 0x18004b1b0
lea rcx, str.kExprI32x4Shl
call fcn.180083ee0
jmp 0x18004b1a2
mov r14, qword [rbp + 0x67]
xor r8d, r8d
mov r9, r14
xor edx, edx
mov ecx, 0xd7
call fcn.18000e7e0
test al, al
je 0x18004b1a2
mov ebx, 2
mov eax, ebx
sub eax, 2
je 0x18004b01f
sub eax, 0x4b
je 0x18004b00d
cmp eax, 0x4b
je 0x18004b1db
jmp 0x18004b034
mov rcx, qword [r15]
mov edx, 0x113
call fcn.18005fa90
mov byte [rbp - 0x49], al
jmp 0x18004b034
mov rdx, r14
mov ecx, 0xc5
call fcn.18000f850
test al, al
je 0x18004b1c3
add ebx, 0x4b
cmp ebx, 0xe3
jb 0x18004aff6
jmp 0x18004b1a2
movzx r8d, byte [r13]
lea rcx, str.681_TPC_2CC_A___ATT_TPC
mov edx, r8d
mov r8, qword [r9 + r8*8 + 0x9d0e0]
call fcn.180083ee0
jmp 0x18004b1a2
cmp edi, 0x3d83
je 0x18004b16a
cmp edi, 0x4cce
je 0x18004b0a3
cmp edi, 0x5cc7
je 0x18004b0c7
cmp edi, 0x8aa8
je 0x18004b09a
cmp edi, 0xb889
je 0x18004b1db
jmp 0x18004b1b0
mov qword [rbp - 0x49], r13
jmp 0x18004b1b0
mov eax, 0xb5
nop dword [rax + rax]
cmp eax, 0xb5
je 0x18004b1c9
add eax, 0x2df5
cmp eax, 0x2df5
jbe 0x18004b0b0
movzx r8d, byte [r13 + 1]
lea rcx, str.Rich_Text_Format__RTF_
mov edx, r8d
mov r8, qword [r9 + r8*8 + 0x9d110]
call fcn.180083ee0
cmp byte [r13 + 1], 7
jne 0x18004b111
mov eax, dword [rbx + 4]
lea rcx, [rbp - 0x39]
sub eax, r12d
mov r9, rbx
mov r8d, 0x13
mov dword [rbp - 0x39], eax
mov rdx, r13
call fcn.18005c330
mov qword [r13 + 8], rax
jmp 0x18004b1a2
mov ebx, 0x114
mov eax, ebx
sub eax, 0x113
je 0x18004b13a
cmp eax, 1
jne 0x18004b15e
mov rax, qword [rbp + 0x67]
mov ecx, dword [rax + 4]
sub rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [r13 + 8], rax
jmp 0x18004b15e
mov rax, qword [rbp + 0x67]
mov edx, 1
mov r9, qword [0x1800a21d0]
mov rcx, qword [r13 + 8]
mov r8d, dword [rax + 4]
sub r8, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r12, rax
dec ebx
cmp ebx, 0x112
ja 0x18004b116
jmp 0x18004b1a2
test cl, cl
je 0x18004b1b0
mov ebx, 0x51
mov eax, ebx
sub eax, 0x50
je 0x18004b192
cmp eax, 1
jne 0x18004b19b
mov rcx, qword [rbp - 0x41]
lea r8, [rbp - 0x21]
lea rdx, [rbp - 0x31]
call sub.ADVAPI32.dll_LsaStorePrivateData
jmp 0x18004b19b
mov rcx, qword [rbp - 0x41]
call sub.ADVAPI32.dll_LsaClose
dec ebx
cmp ebx, 0x4f
ja 0x18004b173
mov edx, dword [rbp - 0x69]
lea r9, [0x180000000]
movzx ecx, byte [rbp + 0x7f]
imul eax, dword [rbp + 0x77], 0x2d
add edi, eax
cmp edi, esi
ja 0x18004b1db
mov rbx, qword [rbp + 0x67]
jmp 0x18004aee0
mov byte [rbp - 0x49], 0
jmp 0x18004b1db
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 0x23]
call fcn.180058fa0
mov byte [rbp - 0x49], al
mov rax, qword [rbp - 0x49]
mov rbx, qword [rsp + 0x118]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret