Function at 0x140049e10
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push r12
push r13
sub rsp, 0xbb0
mov rax, qword [0x14008b5a0]
xor rax, rsp
mov qword [rsp + 0xba0], rax
mov rbp, rcx
lea r8, [rsp + 0x990]
lea rdx, str.vtp_catcache
mov r9d, 0x104
xor ecx, ecx
xor sil, sil
call fcn.14003d050
xor r13d, r13d
lea rcx, [rsp + 0x990]
mov qword [rsp + 0x30], r13
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov r12, rax
jne 0x140049ed8
mov rcx, qword [0x140080018]
lea rbx, [0x140080018]
cmp rcx, rbx
je 0x14004a1ee
test byte [rcx + 0x3c], 1
je 0x14004a1ee
cmp byte [rcx + 0x39], 5
jb 0x14004a1ee
mov rcx, qword [rcx + 0x30]
lea r8, [0x140071450]
mov dx, 0xa
call fcn.1400249f0
jmp 0x14004a1ee
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x48]
mov r8d, FDICreate
mov rcx, rax
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140049f3e
mov rcx, qword [0x140080018]
lea rbx, [0x140080018]
cmp rcx, rbx
je 0x14004a1e5
test byte [rcx + 0x3c], 1
je 0x14004a1e5
cmp byte [rcx + 0x39], 5
jb 0x14004a1e5
mov rcx, qword [rcx + 0x30]
lea r8, [0x140071450]
mov dx, 0xb
call fcn.1400249f0
jmp 0x14004a1e5
cmp dword [rsp + 0x40], 0x10
je 0x140049f89
mov rcx, qword [0x140080018]
lea rbx, [0x140080018]
cmp rcx, rbx
je 0x14004a1e5
test byte [rcx + 0x3c], 1
je 0x14004a1e5
cmp byte [rcx + 0x39], 5
jb 0x14004a1e5
mov rcx, qword [rcx + 0x30]
lea r8, [0x140071450]
mov dx, 0xc
call fcn.1400249f0
jmp 0x14004a1e5
cmp dword [rsp + 0x48], 8
je 0x140049fd4
mov rcx, qword [0x140080018]
lea rbx, [0x140080018]
cmp rcx, rbx
je 0x14004a1e5
test byte [rcx + 0x3c], 1
je 0x14004a1e5
cmp byte [rcx + 0x39], 5
jb 0x14004a1e5
mov rcx, qword [rcx + 0x30]
lea r8, [0x140071450]
mov dx, 0xd
call fcn.1400249f0
jmp 0x14004a1e5
cmp dword [rsp + 0x54], r13d
jne 0x14004a01f
mov rcx, qword [0x140080018]
lea rbx, [0x140080018]
cmp rcx, rbx
je 0x14004a1e5
test byte [rcx + 0x3c], 1
je 0x14004a1e5
cmp byte [rcx + 0x39], 5
jb 0x14004a1e5
mov rcx, qword [rcx + 0x30]
lea r8, [0x140071450]
mov dx, 0xe
call fcn.1400249f0
jmp 0x14004a1e5
mov rcx, qword [0x140080018]
lea rbx, [0x140080018]
mov qword [rsp + 0xbd8], rdi
cmp rcx, rbx
je 0x14004a067
test byte [rcx + 0x3c], 1
je 0x14004a067
cmp byte [rcx + 0x39], 5
jb 0x14004a067
mov eax, dword [rsp + 0x50]
mov r9d, dword [rsp + 0x4c]
mov rcx, qword [rcx + 0x30]
lea r8, [0x140071450]
mov dx, 0xf
mov dword [rsp + 0x20], eax
call fcn.1400275a0
cmp dword [rsp + 0x4c], r13d
mov edi, r13d
jbe 0x14004a13e
nop
nop
nop
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x170]
mov r8d, 0x81c
mov rcx, r12
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14004a27d
cmp dword [rsp + 0x40], 0x81c
jne 0x14004a248
mov eax, dword [rsp + 0x988]
mov r8d, dword [rsp + 0x174]
mov edx, dword [rsp + 0x170]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x978]
lea r9, [rsp + 0x178]
mov rcx, rbp
mov qword [rsp + 0x20], rax
call fcn.140049440
test rax, rax
je 0x14004a21a
mov rcx, qword [0x140080018]
cmp rcx, rbx
je 0x14004a131
test byte [rcx + 0x3c], 1
je 0x14004a131
cmp byte [rcx + 0x39], 5
jb 0x14004a131
mov eax, dword [rax]
mov r9d, dword [rsp + 0x170]
mov rcx, qword [rcx + 0x30]
lea r8, [0x140071450]
mov dx, FDICreate
mov dword [rsp + 0x20], eax
call fcn.1400275a0
add edi, 1
cmp edi, dword [rsp + 0x4c]
jb 0x14004a080
cmp dword [rsp + 0x50], r13d
mov edi, r13d
jbe 0x14004a1da
nop
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x60]
mov r8d, 0x108
mov rcx, r12
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14004a371
cmp dword [rsp + 0x40], 0x108
jne 0x14004a334
mov edx, dword [rsp + 0x164]
mov rcx, rbp
call fcn.140049320
mov r9d, dword [rsp + 0x164]
test rax, rax
je 0x14004a2f7
cmp dword [rax], r9d
jne 0x14004a2f7
mov r8d, dword [rsp + 0x160]
lea rdx, [rsp + 0x60]
mov r9, rax
mov rcx, rbp
call fcn.1400498a0
test al, al
je 0x14004a2ba
add edi, 1
cmp edi, dword [rsp + 0x50]
jb 0x14004a150
mov sil, 1
mov rdi, qword [rsp + 0xbd8]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, sil
mov rcx, qword [rsp + 0xba0]
xor rcx, rsp
call fcn.14004c890
lea r11, [rsp + 0xbb0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rsi
ret
mov rcx, qword [0x140080018]
cmp rcx, rbx
je 0x14004a1dd
test byte [rcx + 0x3c], 1
je 0x14004a1dd
cmp byte [rcx + 0x39], 5
jb 0x14004a1dd
mov rcx, qword [rcx + 0x30]
lea r8, [0x140071450]
mov dx, FDICreate
call fcn.1400249f0
jmp 0x14004a1dd
mov rcx, qword [0x140080018]
cmp rcx, rbx
je 0x14004a1dd
test byte [rcx + 0x3c], 1
je 0x14004a1dd
cmp byte [rcx + 0x39], 5
jb 0x14004a1dd
mov rcx, qword [rcx + 0x30]
lea r8, [0x140071450]
mov dx, FDICreate
call fcn.1400249f0
jmp 0x14004a1dd
mov rcx, qword [0x140080018]
cmp rcx, rbx
je 0x14004a1dd
test byte [rcx + 0x3c], 1
je 0x14004a1dd
cmp byte [rcx + 0x39], 5
jb 0x14004a1dd
mov rcx, qword [rcx + 0x30]
lea r8, [0x140071450]
mov dx, 0x10
call fcn.1400249f0
jmp 0x14004a1dd
mov rcx, qword [0x140080018]
cmp rcx, rbx
je 0x14004a1dd
test byte [rcx + 0x3c], 1
je 0x14004a1dd
cmp byte [rcx + 0x39], 5
jb 0x14004a1dd
mov rcx, qword [rcx + 0x30]
lea r8, [0x140071450]
mov dx, reloc.Cabinet.dll_FDIDestroy
call fcn.1400249f0
jmp 0x14004a1dd
mov rcx, qword [0x140080018]
cmp rcx, rbx
je 0x14004a1dd
test byte [rcx + 0x3c], 1
je 0x14004a1dd
cmp byte [rcx + 0x39], 5
jb 0x14004a1dd
mov rcx, qword [rcx + 0x30]
lea r8, [0x140071450]
mov dx, reloc.Cabinet.dll_FDICopy
call fcn.14003b5c0
jmp 0x14004a1dd
mov rcx, qword [0x140080018]
cmp rcx, rbx
je 0x14004a1dd
test byte [rcx + 0x3c], 1
je 0x14004a1dd
cmp byte [rcx + 0x39], 5
jb 0x14004a1dd
mov rcx, qword [rcx + 0x30]
lea r8, [0x140071450]
mov dx, FDIDestroy
call fcn.1400249f0
jmp 0x14004a1dd
mov rcx, qword [0x140080018]
cmp rcx, rbx
je 0x14004a1dd
test byte [rcx + 0x3c], 1
je 0x14004a1dd
cmp byte [rcx + 0x39], 5
jb 0x14004a1dd
mov rcx, qword [rcx + 0x30]
lea r8, [0x140071450]
mov dx, reloc.Cabinet.dll_FDICreate
call fcn.1400249f0
jmp 0x14004a1dd