Function at 0x140036890
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4c0]
sub rsp, 0x5c0
mov rax, qword [0x1402cf910]
xor rax, rsp
mov qword [rbp + 0x4b0], rax
mov rbx, rcx
mov rax, qword [rcx + 0x4750]
mov r9, qword [rax + 0x18]
add r9, 0x124
lea r8, str._s.hdt
mov edx, 0x104
lea rcx, [rbp + 0x2a0]
call fcn.140002ed0
call fcn.14006e454
mov rcx, rax
test rax, rax
je 0x140036c7b
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rax
lea rcx, [rsp + 0x60]
call fcn.140073910
nop
xor r8d, r8d
lea rdx, [rbp + 0x2a0]
lea rcx, [rsp + 0x60]
call fcn.140073b44
test eax, eax
setne cl
mov r14, 0xffffffffffffffff
test eax, eax
jne 0x14003696c
lea rcx, [rsp + 0x60]
call fcn.140073ad8
mov bl, 1
jmp 0x140036c1e
mov dword [rbx + 0x21c], 0
mov r12d, r14d
mov r13d, r14d
test cl, cl
je 0x140036bf9
lea rcx, [rsp + 0x60]
call fcn.140073e34
test eax, eax
setne dil
lea rcx, [rsp + 0x60]
call fcn.140074400
test eax, eax
jne 0x140036be1
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.140073fcc
mov r8, qword [rax]
movsxd rax, dword [rbx + 0x21c]
imul rcx, rax, 0x208
add rcx, 0x220
add rcx, rbx
mov edx, 0x104
call fcn.1401fa754
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400369f9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
movsxd rax, dword [rbx + 0x21c]
imul rdx, rax, 0x208
add rdx, 0x220
add rdx, rbx
mov dword [rsp + 0x20], 0x180
mov r9d, 0x40
mov r8d, 0x8002
lea rcx, [rbx + 0x218]
call fcn.1401fd348
lea rdx, [rbx + 0x178]
mov r8d, 0x94
mov ecx, dword [rbx + 0x218]
call fcn.1401fe628
cmp eax, 0x94
jne 0x140036bd6
mov r8, r14
nop word [rax + rax]
inc r8
cmp byte [rbx + r8 + 0x19c], 0
jne 0x140036a60
inc r8
mov qword [rsp + 0x40], 0x64
mov qword [rsp + 0x20], r8
lea r9, [rbx + 0x19c]
lea rdx, [rbp + 0xa0]
lea rcx, [rsp + 0x40]
call fcn.140200aa0
mov rax, qword [rbx + 0x4750]
mov rax, qword [rax + 0x128]
add rax, 0x90
lea r8, [rbp + 0xa0]
sub r8, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140036ad4
add rax, 2
test ecx, ecx
jne 0x140036ac0
test edx, edx
jne 0x140036adf
mov r12d, dword [rbx + 0x21c]
mov r8, r14
inc r8
cmp byte [rbx + r8 + 0x17c], 0
jne 0x140036ae2
inc r8
mov qword [rsp + 0x48], 0x64
mov qword [rsp + 0x20], r8
lea r9, [rbx + 0x17c]
lea rdx, [rbp + 0xa0]
lea rcx, [rsp + 0x48]
call fcn.140200aa0
mov rax, qword [rbx + 0x4750]
mov rcx, qword [rax + 0x128]
add rcx, 0x10
lea r8, [rbp + 0xa0]
sub r8, rcx
nop word [rax + rax]
movzx edx, word [rcx]
movzx eax, word [rcx + r8]
sub edx, eax
jne 0x140036b54
add rcx, 2
test eax, eax
jne 0x140036b40
test edx, edx
jne 0x140036b5f
mov r13d, dword [rbx + 0x21c]
lea r9, [rbx + 0x19c]
lea r8, [rbx + 0x17c]
lea rdx, str._s__s_n:__s_
lea rcx, [rbp - 0x60]
call fcn.1400378d0
lea rax, [rbp - 0x60]
mov r8, r14
inc r8
cmp byte [rax + r8], 0
jne 0x140036b84
inc r8
mov qword [rsp + 0x50], 0x64
mov qword [rsp + 0x20], r8
lea r9, [rbp - 0x60]
lea rdx, [rbp + 0xa0]
lea rcx, [rsp + 0x50]
call fcn.140200aa0
lea r9, [rbp + 0xa0]
xor r8d, r8d
mov edx, 0x143
mov rcx, qword [rbx + 0x4968]
call qword [sym.imp.USER32.dll_SendMessageW]
inc dword [rbx + 0x21c]
mov ecx, dword [rbx + 0x218]
call fcn.1401ff278
test dil, dil
jne 0x140036984
cmp r12d, r14d
jne 0x140036bfc
cmp r13d, r14d
je 0x140036bf9
mov r12d, r13d
jmp 0x140036bfc
xor r12d, r12d
movsxd r8, r12d
xor r9d, r9d
mov edx, 0x14e
mov rcx, qword [rbx + 0x4968]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rbx
call fcn.140036c90
xor bl, bl
lea rcx, [rsp + 0x60]
call fcn.140073a50
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r14d
sub r14d, 1
jg 0x140036c48
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
movzx eax, bl
mov rcx, qword [rbp + 0x4b0]
xor rcx, rsp
call fcn.1401ee030
lea r11, [rsp + 0x5c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80004005
call fcn.1400037e0
int3