Function at 0x140055230
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.140131724
mov rdx, rax
mov qword [rsp + 0x70], rax
movdqa xmm0, xmmword [0x140174cd0]
movdqa xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [str.C:WindowsSystem32drivers_vmmouse.sys]
movups xmmword [rax], xmm1
movups xmm0, xmmword [0x140172190]
movups xmmword [rax + 0x10], xmm0
mov ecx, dword [0x1401721a0]
mov dword [rax + 0x20], ecx
movzx eax, word [0x1401721a4]
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.140131724
mov rdx, rax
mov qword [rbp - 0x70], rax
movdqa xmm0, xmmword [0x140174cc0]
movdqa xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [str.C:WindowsSystem32drivers_vmhgfs.sys]
movups xmmword [rax], xmm1
movups xmm0, xmmword [0x1401721b8]
movups xmmword [rax + 0x10], xmm0
mov ecx, dword [0x1401721c8]
mov dword [rax + 0x20], ecx
movzx eax, word [0x1401721cc]
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.140131724
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 [0x1401721e0]
movups xmmword [rax + 0x10], xmm0
movsd xmm0, qword [0x1401721f0]
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.140131724
mov r8, rax
mov qword [rbp - 0x30], rax
movdqa xmm0, xmmword [0x140174cc0]
movdqa xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [str.C:WindowsSystem32driversVBoxSF.sys]
movups xmmword [rax], xmm1
movups xmm0, xmmword [0x140172210]
movups xmmword [rax + 0x10], xmm0
mov edx, dword [0x140172220]
mov dword [rax + 0x20], edx
movzx eax, word [0x140172224]
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.140131724
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 [0x140172238]
movups xmmword [rax + 0x10], xmm0
movsd xmm0, qword [0x140172248]
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.140064800
nop
lea r9, [fcn.140044670]
mov edx, reloc.WLDAP32.dll_Ordinal_32
mov r8d, 5
lea rcx, [rsp + 0x70]
call fcn.140131760
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
cmp rbx, rdi
je 0x1400554b9
nop word [rax + rax]
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14005549d
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400554b0
test al, 0x10
je 0x140055562
add rbx, 0x20
cmp rbx, rdi
jne 0x140055490
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.1400452b0
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 0x140055576
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 0x140055576
cmp dword [rax], 0x61774d56
jne 0x140055544
cmp word [rax + 4], 0x6572
je 0x140055569
inc rax
lea r8, [r15 - 5]
sub r8, rax
mov edx, 0x56
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x140055534
jmp 0x140055576
mov bl, 1
jmp 0x140055766
sub rax, rsi
cmp rax, 0xffffffffffffffff
jne 0x140055759
lea rsi, [rsp + 0x20]
cmp r14, 0xf
cmova rsi, rdi
cmp rbx, 0xa
jb 0x1400555e8
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 0x1400555e8
movabs r12, 0x426c617574726956
cmp qword [rax], r12
jne 0x1400555bd
cmp word [rax + 8], 0x786f
je 0x1400555db
inc rax
lea r8, [r15 - 9]
sub r8, rax
mov edx, 0x56
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x1400555b0
jmp 0x1400555e8
sub rax, rsi
cmp rax, 0xffffffffffffffff
jne 0x140055759
lea rsi, [rsp + 0x20]
cmp r14, 0xf
cmova rsi, rdi
cmp rbx, 4
jb 0x14005564b
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 0x14005564b
cmp dword [rax], 0x554d4551
je 0x14005563e
inc rax
lea r8, [r15 - 3]
sub r8, rax
mov edx, 0x51
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x140055618
jmp 0x14005564b
sub rax, rsi
cmp rax, 0xffffffffffffffff
jne 0x140055759
lea rsi, [rsp + 0x20]
cmp r14, 0xf
cmova rsi, rdi
cmp rbx, 3
jb 0x1400556b8
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 0x1400556b8
nop dword [rax + rax]
cmp word [rax], 0x6558
jne 0x14005568d
cmp byte [rax + 2], 0x6e
je 0x1400556ab
inc rax
lea r8, [r15 - 2]
sub r8, rax
mov edx, 0x58
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x140055680
jmp 0x1400556b8
sub rax, rsi
cmp rax, 0xffffffffffffffff
jne 0x140055759
lea rsi, [rsp + 0x20]
cmp r14, 0xf
cmova rsi, rdi
cmp rbx, 7
jb 0x14005571c
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 0x14005571c
cmp dword [rax], 0x65707948
jne 0x1400556fd
cmp word [rax + 4], 0x2d72
jne 0x1400556fd
cmp byte [rax + 6], 0x56
je 0x140055750
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 0x1400556e7
xor bl, bl
cmp r14, 0xf
jbe 0x140055766
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14005575d
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005575d
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 0x14005571c
mov bl, 1
jmp 0x14005571e
mov rcx, rdi
call fcn.140131a70
nop
lea rcx, [rsp + 0x50]
call fcn.140064a80
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