Function at 0x140047180
Capabilities:
Check if file exists
Get file attributes
Get system firmware table
Reference processor manufacturer constants

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 - 0x90]
sub rsp, 0x190
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x80], xmm1
mov ecx, Ordinal_50
call fcn.140118df4
mov rdx, rax
mov qword [rsp + 0x70], rax
movdqa xmm0, xmmword [0x140159c90]
movdqa xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [str.C:WindowsSystem32drivers_vmmouse.sys]
movups xmmword [rax], xmm1
movups xmm0, xmmword [0x140157ff0]
movups xmmword [rax + 0x10], xmm0
mov ecx, dword [0x140158000]
mov dword [rax + 0x20], ecx
movzx eax, word [0x140158004]
mov word [rdx + 0x24], ax
movzx eax, byte [reloc.WS2_32.dll_WSAStartup]
mov byte [rdx + 0x26], al
mov byte [rdx + 0x27], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x60], xmm1
mov ecx, Ordinal_50
call fcn.140118df4
mov rdx, rax
mov qword [rbp - 0x70], rax
movdqa xmm0, xmmword [0x140159c80]
movdqa xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [str.C:WindowsSystem32drivers_vmhgfs.sys]
movups xmmword [rax], xmm1
movups xmm0, xmmword [0x140158018]
movups xmmword [rax + 0x10], xmm0
mov ecx, dword [0x140158028]
mov dword [rax + 0x20], ecx
movzx eax, word [0x14015802c]
mov word [rdx + 0x24], ax
mov byte [rdx + 0x26], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x40], xmm1
mov ecx, Ordinal_50
call fcn.140118df4
mov rcx, rax
mov qword [rbp - 0x50], rax
movdqa xmm0, xmmword [reloc.WLDAP32.dll_Ordinal_41]
movdqa xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [str.C:WindowsSystem32driversVBoxMouse.sys]
movups xmmword [rax], xmm1
movups xmm0, xmmword [0x140158040]
movups xmmword [rax + 0x10], xmm0
movsd xmm0, qword [0x140158050]
movsd qword [rax + 0x20], xmm0
movzx eax, byte [reloc.WS2_32.dll_WSAStartup]
mov byte [rcx + 0x28], al
mov byte [rcx + 0x29], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x20], xmm1
mov ecx, Ordinal_50
call fcn.140118df4
mov r8, rax
mov qword [rbp - 0x30], rax
movdqa xmm0, xmmword [0x140159c80]
movdqa xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [str.C:WindowsSystem32driversVBoxSF.sys]
movups xmmword [rax], xmm1
movups xmm0, xmmword [0x140158070]
movups xmmword [rax + 0x10], xmm0
mov edx, dword [0x140158080]
mov dword [rax + 0x20], edx
movzx eax, word [0x140158084]
mov word [r8 + 0x24], ax
mov byte [r8 + 0x26], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp], xmm1
mov ecx, Ordinal_50
call fcn.140118df4
mov rcx, rax
mov qword [rbp - 0x10], rax
movdqa xmm0, xmmword [reloc.WLDAP32.dll_Ordinal_41]
movdqa xmmword [rbp], xmm0
movups xmm1, xmmword [str.C:WindowsSystem32driversVBoxVideo.sys]
movups xmmword [rax], xmm1
movups xmm0, xmmword [0x140158098]
movups xmmword [rax + 0x10], xmm0
movsd xmm0, qword [0x1401580a8]
movsd qword [rax + 0x20], xmm0
movzx eax, byte [reloc.WS2_32.dll_WSAStartup]
mov byte [rcx + 0x28], al
mov byte [rcx + 0x29], 0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.14004d4a0
nop
lea r9, [fcn.140036b00]
mov edx, reloc.WLDAP32.dll_Ordinal_32
mov r8d, 5
lea rcx, [rsp + 0x70]
call fcn.140118e30
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
cmp rbx, rdi
je 0x140047409
nop word [rax + rax]
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400473ed
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140047400
test al, 0x10
je 0x1400474b2
add rbx, 0x20
cmp rbx, rdi
jne 0x1400473e0
mov r9d, 0x80
lea r8, [rbp + 0x10]
xor edx, edx
mov ecx, 0x52534d42
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor ecx, ecx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rcx
mov r8d, eax
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x20]
call fcn.140037140
lea rsi, [rsp + 0x20]
mov rdi, qword [rsp + 0x20]
mov r14, qword [rsp + 0x38]
cmp r14, 0xf
cmova rsi, rdi
mov rbx, qword [rsp + 0x30]
cmp rbx, 6
jb 0x1400474c6
lea r15, [rbx + rsi]
lea r8, [r15 - 5]
sub r8, rsi
mov edx, 0x56
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400474c6
cmp dword [rax], 0x61774d56
jne 0x140047494
cmp word [rax + 4], 0x6572
je 0x1400474b9
inc rax
lea r8, [r15 - 5]
sub r8, rax
mov edx, 0x56
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x140047484
jmp 0x1400474c6
mov bl, 1
jmp 0x1400476b6
sub rax, rsi
cmp rax, 0xffffffffffffffff
jne 0x1400476a9
lea rsi, [rsp + 0x20]
cmp r14, 0xf
cmova rsi, rdi
cmp rbx, 0xa
jb 0x140047538
lea r15, [rbx + rsi]
lea r8, [r15 - 9]
sub r8, rsi
mov edx, 0x56
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140047538
movabs r12, 0x426c617574726956
cmp qword [rax], r12
jne 0x14004750d
cmp word [rax + 8], 0x786f
je 0x14004752b
inc rax
lea r8, [r15 - 9]
sub r8, rax
mov edx, 0x56
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x140047500
jmp 0x140047538
sub rax, rsi
cmp rax, 0xffffffffffffffff
jne 0x1400476a9
lea rsi, [rsp + 0x20]
cmp r14, 0xf
cmova rsi, rdi
cmp rbx, 4
jb 0x14004759b
lea r15, [rbx + rsi]
lea r8, [r15 - 3]
sub r8, rsi
mov edx, 0x51
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14004759b
cmp dword [rax], 0x554d4551
je 0x14004758e
inc rax
lea r8, [r15 - 3]
sub r8, rax
mov edx, 0x51
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x140047568
jmp 0x14004759b
sub rax, rsi
cmp rax, 0xffffffffffffffff
jne 0x1400476a9
lea rsi, [rsp + 0x20]
cmp r14, 0xf
cmova rsi, rdi
cmp rbx, 3
jb 0x140047608
lea r15, [rbx + rsi]
lea r8, [r15 - 2]
sub r8, rsi
mov edx, 0x58
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140047608
nop dword [rax + rax]
cmp word [rax], 0x6558
jne 0x1400475dd
cmp byte [rax + 2], 0x6e
je 0x1400475fb
inc rax
lea r8, [r15 - 2]
sub r8, rax
mov edx, 0x58
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x1400475d0
jmp 0x140047608
sub rax, rsi
cmp rax, 0xffffffffffffffff
jne 0x1400476a9
lea rsi, [rsp + 0x20]
cmp r14, 0xf
cmova rsi, rdi
cmp rbx, 7
jb 0x14004766c
lea r8, [rbx - 6]
add r8, rsi
sub r8, rsi
mov edx, 0x48
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14004766c
cmp dword [rax], 0x65707948
jne 0x14004764d
cmp word [rax + 4], 0x2d72
jne 0x14004764d
cmp byte [rax + 6], 0x56
je 0x1400476a0
inc rax
lea r8, [rbx - 6]
add r8, rsi
sub r8, rax
mov edx, 0x48
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x140047637
xor bl, bl
cmp r14, 0xf
jbe 0x1400476b6
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400476ad
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400476ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rax, rsi
cmp rax, 0xffffffffffffffff
je 0x14004766c
mov bl, 1
jmp 0x14004766e
mov rcx, rdi
call fcn.140119140
nop
lea rcx, [rsp + 0x50]
call fcn.140036c30
movzx eax, bl
lea r11, [rsp + 0x190]
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