Function at 0x180081460
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
mov ebp, dword [rcx + 0xd54]
mov rbx, rcx
mov edx, dword [rcx + 0xd58]
add ebp, 0xfffffff8
mov eax, dword [rcx + 0xd5c]
add edx, 4
mov rdi, qword [rcx + 0x8d8]
add eax, 4
test rdi, rdi
je 0x1800814d0
xor r8d, r8d
mov edx, eax
mov rcx, rdi
call fcn.18012caac
test eax, eax
jne 0x1800817b1
mov r9, rdi
lea edx, [rax + 1]
lea r8d, [rax + 4]
lea rcx, [rsp + 0x90]
call fcn.18012c794
cmp rax, 4
sete cl
jmp 0x18008152c
mov r10, qword [rcx + 0x858]
test r10, r10
je 0x1800814f8
mov rcx, qword [rcx + 0x808]
lea r9, [rsp + 0x90]
mov edx, eax
mov r8d, 4
call r10
jmp 0x180081527
mov rax, qword [rcx + 0x860]
test rax, rax
je 0x1800817b1
test edx, edx
je 0x1800817b1
mov rcx, qword [rcx + 0x808]
lea r9, [rsp + 0x90]
mov r8d, 4
call rax
test eax, eax
setns cl
mov eax, 0x858
mov rdx, rbx
lea r12, [rax + rbx]
test cl, cl
je 0x1800817b1
mov ecx, dword [rsp + 0x90]
lea rdx, [0x180139860]
call fcn.18000bbe4
mov rsi, rax
test rax, rax
je 0x1800817a5
lea rdx, [0x180139860]
mov ecx, ebp
mov r15d, ebp
call fcn.18000bbe4
mov rdi, rax
test rax, rax
je 0x1800817a5
mov edx, dword [rbx + 0xd58]
mov eax, dword [rbx + 0xd5c]
add edx, 8
mov r14, qword [rbx + 0x8d8]
add eax, 8
test r14, r14
je 0x1800815c8
xor r8d, r8d
mov edx, eax
mov rcx, r14
call fcn.18012caac
test eax, eax
jne 0x1800817b1
mov r9, r14
lea edx, [rax + 1]
mov r8d, r15d
mov rcx, rdi
call fcn.18012c794
cmp rax, r15
sete al
jmp 0x180081611
mov r10, qword [r12]
test r10, r10
je 0x1800815e5
mov rcx, qword [rbx + 0x808]
mov r9, rdi
mov edx, eax
mov r8d, ebp
call r10
jmp 0x18008160c
mov rax, qword [rbx + 0x860]
test rax, rax
je 0x1800817b1
test edx, edx
je 0x1800817b1
mov rcx, qword [rbx + 0x808]
mov r9, rdi
mov r8d, ebp
call rax
test eax, eax
setns al
test al, al
je 0x1800817b1
mov eax, dword [rsp + 0x90]
lea r9, [rsp + 0xa0]
mov r8, rdi
mov dword [rsp + 0x98], eax
lea rdx, [rsp + 0x98]
mov dword [rsp + 0xa0], ebp
mov rcx, rsi
call fcn.180099980
cmp eax, 0xfffffffc
je 0x1800817a5
cmp eax, 0xfffffffd
je 0x18008179d
mov ecx, dword [rsp + 0x90]
cmp dword [rsp + 0x98], ecx
jne 0x18008179d
cmp dword [rsp + 0xa0], ebp
jne 0x18008179d
test eax, eax
jne 0x1800817b1
mov rcx, rdi
call fcn.18000b6f0
lea rdx, [0x180139860]
mov ecx, 0x38
call fcn.18000c170
test rax, rax
je 0x1800817a5
mov edx, 0x10000
mov rcx, rax
call fcn.180083c10
mov rdi, rax
test rax, rax
je 0x1800817a5
mov rcx, qword [rax]
xor edx, edx
xor r9d, r9d
xor r8d, r8d
mov r10, qword [rcx + 0x28]
mov rcx, rax
call r10
test eax, eax
jne 0x1800817b1
mov rax, qword [rdi]
lea r9, [rsp + 0xa8]
mov r8d, dword [rsp + 0x90]
mov rdx, rsi
mov rcx, rdi
call qword [rax + 0x20]
test eax, eax
jne 0x1800817b1
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0xa8], eax
jne 0x1800817b1
mov rcx, rsi
call fcn.18000b6f0
xor eax, eax
mov rcx, rdi
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x30], eax
mov rax, qword [rdi]
mov rdx, qword [rsp + 0x30]
call qword [rax + 0x30]
test eax, eax
jne 0x1800817b1
lea rax, [rbx + 0xd60]
mov r8, rbx
mov qword [rsp + 0x28], rax
lea rsi, [rbx + 4]
mov r9, rsi
mov qword [rsp + 0x20], 0x400
lea rdx, [0x180163470]
mov rcx, rdi
call fcn.18003ea60
xor ecx, ecx
mov edi, eax
test eax, eax
je 0x18008177a
mov r8d, ecx
jmp 0x180081784
cmp word [rsi], cx
mov r8d, dword [rbx]
cmovne rcx, rsi
mov r9, rcx
lea rdx, str.Embedded_Portable_PDB
mov rcx, rbx
call fcn.180082320
test edi, edi
setne al
jmp 0x1800817b3
mov dword [rbx], 0xd
jmp 0x1800817ab
mov dword [rbx], 2
xor ecx, ecx
mov word [rbx + 4], cx
xor al, al
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret