Function at 0x140036c90
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x470
mov rax, qword [0x1402cf910]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rbp, rcx
xor r13d, r13d
mov dword [rsp + 0x50], r13d
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1009
mov rcx, qword [rcx + 0x4798]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
mov rcx, qword [rbp + 0x4968]
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd rcx, eax
imul rax, rcx, 0x208
lea rdx, [rbp + 0x220]
add rdx, rax
mov dword [rsp + 0x20], 0x180
lea r9d, [r13 + 0x40]
mov r8d, 0x8002
lea rcx, [rbp + 0x218]
call fcn.1401fd348
lea rdx, [rbp + 0x178]
mov r8d, 0x94
mov ecx, dword [rbp + 0x218]
call fcn.1401fe628
cmp eax, 0x94
je 0x140036d5d
mov ecx, dword [rbp + 0x218]
call fcn.1401ff278
jmp 0x140036fd7
lea rcx, [rbp + 0x4330]
xor edx, edx
mov r8d, 0x400
call fcn.1401f0eb0
mov r15d, r13d
mov rdi, 0xffffffffffffffff
cmp dword [rbp + 0x1c8], r13d
jle 0x140036f3c
lea r14, [rbp + 0x1cc]
nop
movzx edx, byte [r14]
test dl, dl
je 0x140036f29
mov rax, qword [rbp + 0x4750]
mov rcx, qword [rax + 0x128]
mov ebx, dword [rcx + 0x1860]
mov edi, edx
lea rsi, [0x1402d0510]
call fcn.14006e454
mov rcx, rax
test rax, rax
je 0x14003701b
mov rax, qword [rax]
call qword [rax + 0x18]
mov r8, rax
mov ecx, dword [0x1402d0510]
lea rdx, [0x1402d0510]
cmp ecx, edi
jne 0x140036de9
test dword [rsi + 8], ebx
jne 0x140036df6
mov rsi, rdx
add rdx, 0x10
mov ecx, dword [rsi]
test ecx, ecx
jne 0x140036de0
mov eax, 0xffffffff
lock xadd dword [r8 + 0x10], eax
sub eax, 1
jg 0x140036e12
mov rcx, qword [r8]
mov rax, qword [rcx]
mov rdx, r8
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ebx, dword [rsi + 4]
mov qword [rsp + 0x58], r13
call fcn.14006e454
mov rcx, rax
test rax, rax
je 0x140037010
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
mov edi, dword [rsp + 0x50]
or edi, 1
mov dword [rsp + 0x50], edi
mov edx, ebx
lea rcx, [rsp + 0x58]
call fcn.140003220
mov rbx, qword [rsp + 0x58]
mov r8, rbx
mov edx, 0x100
lea rcx, [rsp + 0x60]
call fcn.1401fa754
and edi, 0xfffffffe
mov dword [rsp + 0x50], edi
lea rdx, [rbx - 0x18]
mov rdi, 0xffffffffffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140036e8f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
movzx ecx, byte [r14 + 0x20]
movzx eax, byte [r14]
mov dword [rbp + rax*4 + 0x4330], ecx
movzx r9d, byte [r14]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r8, str.__02X___s
mov edx, 0x100
lea rcx, [rsp + 0x260]
call fcn.140004d90
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
lea r9, [rsp + 0x260]
mov r8d, r15d
mov edx, 3
lea rcx, [rbp + 0x4758]
call fcn.140072ea4
mov eax, dword [rsi]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
mov r9d, 4
xor r8d, r8d
mov edx, r15d
lea rcx, [rbp + 0x4758]
call fcn.1400731bc
inc r15d
inc r14
cmp r15d, dword [rbp + 0x1c8]
jl 0x140036d90
mov ecx, dword [rbp + 0x218]
call fcn.1401fd488
movsxd rcx, eax
sub rcx, 0x94
movabs rax, 0x47ae147ae147ae15
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 8
mov dword [rbp + 0x4320], ecx
imul ebx, ecx, 0x190
mov rcx, qword [rbp + 0x4328]
test rcx, rcx
je 0x140036f8f
call fcn.140003a90
mov qword [rbp + 0x4328], r13
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.USER32.dll_InvalidateRect]
movsxd rcx, dword [rbp + 0x4320]
mov eax, 0x190
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.140037a00
mov qword [rbp + 0x4328], rax
test rax, rax
je 0x140036fd7
mov r8d, ebx
mov rdx, rax
mov ecx, dword [rbp + 0x218]
call fcn.1401fe628
mov rcx, rbp
call fcn.140037030
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1401ee030
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov ecx, 0x80004005
call fcn.1400037e0
nop
mov ecx, 0x80004005
call fcn.1400037e0
int3