Function at 0x44c5e0
Capabilities:
Check if file exists
Enumerate pe sections
Get file attributes
Read file via mapping

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
mov rbp, rsp
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0xc0], rcx
mov byte [rbp + 0xc8], dl
mov dword [rbp + 0xd0], r8d
mov dword [rbp + 0xd8], r9d
nop
xor rax, rax
mov byte [rbp + 0x4f], al
cmp qword [rbp + 0xe0], 0
jne 0x44c65a
xor rcx, rcx
jmp 0x44c685
mov rax, qword [rbp + 0xe0]
cmp word [rax + 0x18], 0x20b
jne 0x44c678
mov rax, qword [rbp + 0xe0]
mov ecx, dword [rax + 0xb8]
jmp 0x44c685
mov rax, qword [rbp + 0xe0]
mov ecx, dword [rax + 0xa8]
test ecx, ecx
jne 0x44cac7
lea rcx, [0x0044cbd4]
mov rax, qword [rbp + 0xc0]
lea rax, [rax + rbp + 0x80]
mov rdx, rbp
neg rdx
mov rax, qword [rax + rdx]
mov rdx, qword [rax + 0x80]
mov r8d, 0x7fffffff
mov r9d, 1
mov rax, qword [0x00b6ef08]
call qword [rax]
lea rcx, [rbp + 0x70]
mov rdx, qword [rbp + 0xc0]
lea rdx, [rdx + rbp + 0x80]
mov r8, rbp
neg r8
mov rdx, qword [rdx + r8]
mov rdx, qword [rdx + 0x80]
mov r8d, eax
mov r9d, 0x7fffffff
call fcn.00412700
mov rcx, qword [rbp + 0x70]
lea rdx, [0x0044cbe4]
mov rax, qword [0x00b6e168]
call qword [rax]
test al, al
jne 0x44c815
mov rax, qword [rbp + 0xc0]
lea rax, [rax + rbp + 0x80]
mov rcx, rbp
neg rcx
mov rax, qword [rax + rcx]
mov rcx, qword [rax + 0x80]
call fcn.00410b80
mov ebx, eax
mov rcx, qword [rbp + 0x70]
call fcn.00410b80
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0xc0]
lea rdx, [rdx + rbp + 0x80]
mov r8, rbp
neg r8
mov rdx, qword [rdx + r8]
mov rdx, qword [rdx + 0x80]
mov r8d, 1
mov r9d, ebx
sub r9d, eax
call fcn.00412700
lea rcx, [rbp + 0x78]
mov rdx, qword [rbp + 0x68]
lea r8, [0x0044cbe4]
call fcn.004124f0
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x44c7b7
mov rcx, qword [rbp + 0x78]
call fcn.00412090
mov rcx, rax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x44c7ea
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
je 0x44c83e
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x78]
xor r8, r8
call fcn.004118e0
mov rcx, qword [rbp + 0x60]
call fcn.004115a0
mov rcx, rax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
jne 0x44c83e
lea rcx, [rbp + 0x78]
mov rax, qword [rbp + 0xc0]
lea rax, [rax + rbp + 0x80]
mov rdx, rbp
neg rdx
mov rax, qword [rax + rdx]
mov rdx, qword [rax + 0x80]
call fcn.00410a30
jmp 0x44c83e
lea rcx, [rbp + 0x78]
mov rax, qword [rbp + 0xc0]
lea rax, [rax + rbp + 0x80]
mov rdx, rbp
neg rdx
mov rax, qword [rax + rdx]
mov rdx, qword [rax + 0x80]
call fcn.00410a30
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x44c861
mov rcx, qword [rbp + 0x78]
call fcn.00412090
mov rcx, rax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
jne 0x44c89c
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
je 0x44cb19
lea rcx, [rbp + 0x58]
mov rdx, qword [rbp + 0x78]
xor r8, r8
call fcn.004118e0
mov rcx, qword [rbp + 0x58]
call fcn.004115a0
mov rcx, rax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x44cb19
mov rcx, rbp
mov rdx, qword [rbp + 0x78]
call fcn.0044c440
test al, al
jne 0x44cb19
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x44c8fc
mov rcx, qword [rbp + 0x78]
call fcn.00412090
mov rcx, rax
mov edx, 0x80000000
mov r8d, 3
xor r9, r9
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileW
mov rbx, rax
jmp 0x44c949
lea rcx, [rbp + 0x50]
mov rdx, qword [rbp + 0x78]
xor r8, r8
call fcn.004118e0
mov rcx, qword [rbp + 0x50]
call fcn.004115a0
mov rcx, rax
mov edx, 0x80000000
mov r8d, 3
xor r9, r9
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileA
mov rbx, rax
cmp rbx, 0xffffffffffffffff
je 0x44cb19
mov rcx, rbx
xor rdx, rdx
mov r8d, 2
xor r9, r9
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
call sub.kernel32.dll_CreateFileMappingW
mov rsi, rax
test rsi, rsi
je 0x44cabd
mov rcx, rsi
mov edx, 4
xor r8, r8
xor r9, r9
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_MapViewOfFile
mov rdi, rax
test rdi, rdi
je 0x44cab5
mov rcx, rdi
call fcn.0042eaa0
mov qword [rbp + 0xe0], rax
cmp qword [rbp + 0xe0], 0
je 0x44ca9f
mov rax, qword [rbp + 0xe0]
cmp word [rax + 0x18], 0x20b
jne 0x44c9ea
mov rax, qword [rbp + 0xe0]
lea rax, [rax + 0x108]
jmp 0x44c9f8
mov rax, qword [rbp + 0xe0]
lea rax, [rax + 0xf8]
add rax, 0x28
mov ecx, dword [rax + 0x24]
test ecx, 0x20
je 0x44ca29
mov dword [rbp + 0xd0], 3
mov ecx, dword [rax + 0xc]
mov dword [rbp + 0xd8], ecx
sub rax, 0x28
mov ecx, dword [rax + 0xc]
sub dword [rbp + 0xd8], ecx
jmp 0x44ca2d
sub rax, 0x28
mov rcx, qword [rbp + 0xe0]
movzx ecx, word [rcx + 6]
sub ecx, 1
movsxd rcx, ecx
add rcx, rcx
add rcx, rcx
add rcx, rcx
lea rcx, [rcx + rcx*4]
add rax, rcx
mov rcx, qword [rbp + 0xe0]
cmp word [rcx + 0x18], 0x20b
jne 0x44ca6c
mov rcx, qword [rbp + 0xe0]
mov ecx, dword [rcx + 0xb8]
jmp 0x44ca79
mov rcx, qword [rbp + 0xe0]
mov ecx, dword [rcx + 0xa8]
cmp dword [rax + 0x14], 0
je 0x44caad
cmp dword [rax + 0xc], ecx
jne 0x44caad
mov eax, dword [rax + 0x14]
lea rax, [rdi + rax]
mov rcx, rbp
mov eax, dword [rax + 0x18]
lea rdx, [rdi + rax]
call fcn.0044c120
mov byte [rbp + 0x4f], al
jmp 0x44caad
mov rcx, rbp
mov rdx, rdi
call fcn.0044c120
mov byte [rbp + 0x4f], al
mov rcx, rdi
call sub.kernel32.dll_UnmapViewOfFile
mov rcx, rsi
call sub.kernel32.dll_CloseHandle
mov rcx, rbx
call sub.kernel32.dll_CloseHandle
jmp 0x44cb19
mov rax, qword [rbp + 0xc0]
lea rax, [rax + rbp + 0x80]
mov rdx, rbp
neg rdx
mov rax, qword [rax + rdx]
mov rax, qword [rax + 0x58]
mov ecx, ecx
lea rax, [rax + rcx]
mov rcx, rbp
mov rdx, qword [rbp + 0xc0]
lea rdx, [rdx + rbp + 0x80]
mov r8, rbp
neg r8
mov rdx, qword [rdx + r8]
mov rdx, qword [rdx + 0x58]
mov eax, dword [rax + 0x14]
lea rdx, [rdx + rax]
call fcn.0044c120
mov byte [rbp + 0x4f], al
nop
lea rcx, [rbp + 0x50]
mov edx, 3
call fcn.00410470
lea rcx, [rbp + 0x68]
mov edx, 3
call fcn.00410440
lea rcx, [rbp + 0x88]
mov rdx, qword [0x00446d90]
call fcn.004140f0
movzx rax, byte [rbp + 0x4f]
lea rsp, [rbp + 0x98]
pop rbx
pop rsi
pop rdi
pop rbp
ret