Function at 0x1005ffb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100c3158
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100f6f50]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], 0xa
mov dword [esp + 0x78], ebx
lea edi, [esp + 0x54]
call fcn.1005fec0
cmp dword [esp + 0x5c], ebx
jne 0x100600cb
call fcn.1005f130
cmp dword [eax + 0x1c], 6
jl 0x100600a6
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x100d3538
call fcn.10058480
mov byte [esp + 0x94], 1
push 0x10d
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push str.DevicePackageUtil::LogNVDisplayDevices
call fcn.10058480
mov byte [esp + 0xb4], 2
lea eax, [esp + 0x57]
lea ecx, [esp + 0x80]
lea edx, [esp + 0x68]
push 6
mov byte [esp + 0x5b], bl
mov dword [esp + 0x88], eax
mov dword [esp + 0x6c], str.No_NVIDIA_GPU_s__found_on_the_system
mov dword [esp + 0x70], ecx
mov dword [esp + 0x64], vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_wchar_t_const_____37___class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov dword [esp + 0x68], edx
call fcn.1005f130
push eax
mov byte [esp + 0xbc], bl
lea edi, [esp + 0x68]
call fcn.10025de0
mov dword [esp + 0x78], 0xffffffff
lea ecx, [esp + 0x54]
call fcn.10023140
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x54]
cmp eax, ebx
je 0x100600a6
mov ebp, 7
jmp 0x100600e4
mov eax, dword [esp + 0x1c]
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x1006020b
mov esi, eax
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
add esi, 8
call fcn.1005f130
cmp dword [eax + 0x1c], 6
jl 0x100601fc
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x17
xor edx, edx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x100d3538
mov word [ecx + 4], dx
call fcn.10058390
mov byte [esp + 0x94], 3
push 0x114
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x68], esp
push 0x26
xor eax, eax
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.DevicePackageUtil::LogNVDisplayDevices
mov word [ecx + 4], ax
call fcn.10058390
mov byte [esp + 0xb4], 4
lea ecx, [esp + 0x5c]
push ecx
mov ecx, esi
call fcn.10022050
mov byte [esp + 0xb4], 5
lea edx, [esp + 0x57]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x78], eax
lea ecx, [esp + 0x88]
lea edx, [esp + 0x70]
lea eax, [esp + 0x78]
mov byte [esp + 0x57], bl
mov dword [esp + 0x70], str.Found_device
mov dword [esp + 0x74], ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], 0x100d3788
mov dword [esp + 0x84], eax
push 6
call fcn.1005f130
push eax
mov byte [esp + 0xbc], 6
lea edi, [esp + 0x88]
call fcn.10025de0
mov byte [esp + 0x78], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100601fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x1c], ebx
jne 0x100600e0
jmp 0x100600a6
push ebx
push 0x514
push str.c:dvsp4_build_sw_toolswin32msvc90VC_atlmfcinclude_atlcoll.h
push 0x80004005
call fcn.10001ed0
int3