Function at 0x140027c70
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0x100
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x148], rbx
mov rax, qword [0x1400a4a90]
xor rax, rsp
mov qword [rbp - 9], rax
mov r12, r9
mov r15, r8
mov r14, rcx
mov r13, qword [rbp + 0x67]
mov rax, qword [rbp + 0x6f]
mov qword [rsp + 0x48], rax
mov rcx, qword [rbp + 0x77]
mov qword [rsp + 0x40], rcx
mov rdi, qword [rbp + 0x7f]
xor ebx, ebx
mov esi, ebx
xor edx, edx
mov r8d, 0x90
lea rcx, [rsp + 0x60]
call fcn.140076990
mov qword [rbp - 0x59], 0xf
mov qword [rbp - 0x61], rbx
mov byte [rbp - 0x71], bl
mov qword [rbp - 0x39], 0xf
mov qword [rbp - 0x41], rbx
mov byte [rbp - 0x51], bl
mov qword [rbp - 0x19], 0xf
mov qword [rbp - 0x21], rbx
mov byte [rbp - 0x31], bl
mov qword [rsp + 0x78], rbx
lea r8d, [rbx + 0x15]
lea rdx, str.CompilerTmp_asps1.sp
lea rcx, [rbp - 0x51]
call fcn.140003d50
lea r8d, [rbx + 2]
lea rdx, [0x140091d6c]
lea rcx, [rbp - 0x71]
call fcn.140003d50
mov dword [rbp - 0x11], 0xffffffff
lea rcx, [rbp - 0x51]
cmp qword [rbp - 0x39], 0x10
cmovae rcx, qword [rbp - 0x51]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [rbx + 1]
call qword [section..rdata]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140027da3
xor edx, edx
mov rcx, rax
call qword [0x14008a008]
mov eax, eax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x79], rax
mov rcx, rbx
call qword [0x14008a010]
lea r8, [rbp - 0x71]
cmp qword [rbp - 0x59], 0x10
cmovae r8, qword [rbp - 0x71]
lea rdx, [rbp - 0x51]
cmp qword [rbp - 0x39], 0x10
cmovae rdx, qword [rbp - 0x51]
lea rcx, [rsp + 0x60]
call fcn.140073104
mov dword [rbp - 0x11], eax
test eax, eax
jne 0x140027e98
test r15, r15
je 0x140027df1
mov r9, qword [rsp + 0x60]
lea edx, [rax + 1]
lea r8d, [rax + 4]
mov rcx, r15
call fcn.140073380
sub qword [rbp - 0x79], rax
test r12, r12
je 0x140027e10
mov r9, qword [rsp + 0x60]
mov edx, 1
lea r8d, [rdx + 3]
mov rcx, r12
call fcn.140073380
sub qword [rbp - 0x79], rax
test r13, r13
je 0x140027e2f
mov r9, qword [rsp + 0x60]
mov edx, 1
lea r8d, [rdx + 3]
mov rcx, r13
call fcn.140073380
sub qword [rbp - 0x79], rax
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x140027e53
mov r9, qword [rsp + 0x60]
mov edx, 1
lea r8d, [rdx + 3]
mov rcx, rax
call fcn.140073380
sub qword [rbp - 0x79], rax
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x140027e77
mov r9, qword [rsp + 0x60]
mov edx, 1
lea r8d, [rdx + 3]
mov rcx, rax
call fcn.140073380
sub qword [rbp - 0x79], rax
cmp dword [rbp - 0x11], 0
jne 0x140027e98
mov rcx, qword [rsp + 0x60]
call fcn.140073774
xor r15d, r15d
mov qword [rsp + 0x60], r15
mov dword [rbp - 0x11], 0xffffffff
jmp 0x140027e9b
xor r15d, r15d
lea rcx, [rdi + 0x40]
mov r8d, 0xf
lea rdx, str.OEP.checknumber
call fcn.140003d50
mov r8d, 8
lea rdx, str.checkval
mov rcx, rdi
call fcn.140003d50
lea rcx, [rdi + 0x20]
mov r8d, 4
lea rdx, str.null
call fcn.140003d50
mov dword [rdi + 0x60], r15d
lea rdx, [0x1400936f4]
lea rcx, [r14 + 0x68]
call fcn.140073d34
test rax, rax
jne 0x140027f1f
lea rdx, str.User
lea rcx, [r14 + 0x68]
call fcn.140073d34
test rax, rax
jne 0x140027f1f
lea rdx, [0x140093700]
lea rcx, [r14 + 0x68]
call fcn.140073d34
test rax, rax
je 0x140027f57
mov rcx, rdi
call fcn.140002760
cmp al, 1
jne 0x140027f57
mov rax, qword [r14 + 0x1eb0]
mov dword [rax + 0x20], 0x7fffffff
mov r8d, 9
lea rdx, str.CHECK_VAL
mov rcx, qword [r14 + 0x1eb0]
call fcn.140003d50
mov esi, 1
cmp dword [rbp - 0x11], 0
jne 0x140027f73
mov rcx, qword [rsp + 0x60]
call fcn.140073774
mov qword [rsp + 0x60], r15
mov dword [rbp - 0x11], 0xffffffff
cmp qword [rbp - 0x19], 0x10
jb 0x140027f83
mov rcx, qword [rbp - 0x31]
call fcn.140073474
mov qword [rbp - 0x19], 0xf
mov qword [rbp - 0x21], r15
mov byte [rbp - 0x31], 0
cmp qword [rbp - 0x39], 0x10
jb 0x140027fa3
mov rcx, qword [rbp - 0x51]
call fcn.140073474
mov qword [rbp - 0x39], 0xf
mov qword [rbp - 0x41], r15
mov byte [rbp - 0x51], 0
cmp qword [rbp - 0x59], 0x10
jb 0x140027fc3
mov rcx, qword [rbp - 0x71]
call fcn.140073474
mov eax, esi
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.140072910
mov rbx, qword [rsp + 0x148]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret