Function at 0x100d51a0
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x102938d2
mov eax, dword fs:[0]
push eax
sub esp, 0x110
push ebx
push esi
push edi
mov eax, dword [0x1037c990]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
xor ebx, ebx
push str.SOFTWARENVIDIA_CorporationInstaller2Devices
lea ecx, [esp + 0x78]
mov dword [esp + 0x18], ebx
call fcn.10055ee0
mov dword [esp + 0x128], ebx
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x6c]
call fcn.10055ce0
mov byte [esp + 0x128], 1
push 1
lea ecx, [esp + 0xdc]
push ecx
mov ecx, eax
call fcn.10055e70
mov byte [esp + 0x128], 2
lea edx, [esp + 0x74]
push edx
push eax
lea ecx, [esp + 0x4c]
call fcn.10055f50
mov byte [esp + 0x128], 4
lea ecx, [esp + 0xd8]
call fcn.100560b0
mov byte [esp + 0x128], 5
lea ecx, [esp + 0x68]
call fcn.100560b0
mov byte [esp + 0x128], 6
lea ecx, [esp + 0x74]
call fcn.100560b0
mov dword [esp + 0x34], ebx
mov byte [esp + 0x128], 7
push str.PendingNULLDevices
lea ecx, [esp + 0x20]
call fcn.100044a0
mov byte [esp + 0x128], 8
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x48]
call fcn.101e4e30
mov esi, eax
mov dword [esp + 0x58], esi
mov dword [esp + 0x34], esi
mov byte [esp + 0x128], 7
lea ecx, [esp + 0x1c]
call fcn.10004720
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x128], 9
cmp esi, ebx
je 0x100d52d6
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov byte [esp + 0x13], bl
cmp ecx, ebx
jne 0x100d53a7
mov byte [esp + 0x128], 7
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x100d530f
mov ecx, dword [esp + 0x28]
push ecx
push eax
call fcn.10003610
mov edx, dword [esp + 0x2c]
push edx
call fcn.1022f576
add esp, 0xc
mov byte [esp + 0x128], 6
cmp esi, ebx
je 0x100d5325
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov dword [esp + 0x34], ebx
mov eax, 0x26
mov dword [esp + 0x128], eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x128], al
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100d5364
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x128], 0xffffffff
mov esi, dword [esp + 0x44]
cmp esi, ebx
je 0x100d5981
lea ecx, [esi + 8]
push ecx
mov dword [esp + 0x48], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jge 0x100d5975
push ebx
push 0x6e
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreincRefCounted.h
push 0xe0e00000
call fcn.100048f0
mov ecx, dword [esp + 0x40]
xor eax, eax
cmp ecx, ebx
setne al
mov byte [esp + 0x12], bl
cmp eax, ebx
je 0x100d594b
mov eax, ecx
mov eax, dword [eax + 8]
mov ecx, dword [ecx]
sub eax, 0x10
push eax
mov dword [esp + 0x44], ecx
call fcn.10004780
add eax, 0x10
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x128], 0xb
mov eax, dword [esp + 0x28]
xor esi, esi
cmp eax, ebx
jbe 0x100d55ab
mov edi, edi
cmp byte [esp + 0x12], bl
jne 0x100d5910
cmp esi, eax
jae 0x100d5960
mov edx, dword [esp + 0x24]
lea eax, [edx + esi*4]
push eax
lea ecx, [esp + 0x100]
call fcn.100023b0
mov byte [esp + 0x128], 0xc
lea eax, [esp + 0xfc]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.100db4b0
add esp, 8
test al, al
je 0x100d5553
mov byte [esp + 0x12], 1
call fcn.100c1f10
cmp dword [eax + 0x1c], 6
jl 0x100d5553
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x78], esp
push 0x13
mov edi, 7
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str..NVDevicePhase.cpp
mov word [ecx + 4], dx
call fcn.10035ce0
mov byte [esp + 0x144], 0xd
push 0xd0b
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x78], esp
push 0x27
xor eax, eax
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.CNVDevicePhase::PreserveNULLInstallData
mov word [ecx + 4], ax
call fcn.10035ce0
mov byte [esp + 0x164], 0xe
lea ecx, [esp + 0x56]
mov dword [esp + 0x118], ecx
lea edx, [esp + 0x114]
lea eax, [esp + 0x5c]
lea ecx, [esp + 0xbc]
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
lea edx, [esp + 0xc4]
lea eax, [esp + 0xfc]
lea ecx, [esp + 0x10c]
push 6
mov byte [esp + 0x5a], bl
mov dword [esp + 0xc0], str.Device
mov dword [esp + 0x100], str.already_exists_in
mov dword [esp + 0x104], edx
mov dword [esp + 0x110], str.PendingNULLDevices
mov dword [esp + 0x114], eax
mov dword [esp + 0xf8], 0x102c7b14
mov dword [esp + 0xfc], ecx
call fcn.100c1f10
push eax
mov byte [esp + 0x16c], 0xc
lea edi, [esp + 0xfc]
call fcn.10002b50
mov byte [esp + 0x128], 0xf
lea edx, [esp + 0x104]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [esp + 0x128], 0xb
mov eax, dword [esp + 0xfc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100d5594
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
inc esi
cmp esi, eax
jb 0x100d53f0
cmp byte [esp + 0x12], bl
jne 0x100d5910
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0x98], bl
je 0x100d55d5
push 0x102c71d4
lea ecx, [esp + 0x64]
call fcn.100044a0
mov edi, eax
mov byte [esp + 0x128], 0x12
or dword [esp + 0x14], 1
jmp 0x100d55f5
push 0x102c091c
lea ecx, [esp + 0x58]
call fcn.100044a0
mov edi, eax
mov dword [esp + 0x128], 0x13
or dword [esp + 0x14], 2
push 0x102c08e0
lea ecx, [esp + 0x68]
call fcn.100044a0
mov dword [esp + 0x128], 0x14
push eax
lea edx, [esp + 0x54]
push edi
push edx
call fcn.100549c0
add esp, 0xc
mov byte [esp + 0x128], 0x15
lea ecx, [esp + 0x20]
push ecx
push eax
lea edx, [esp + 0x24]
push edx
call fcn.100549c0
add esp, 0xc
mov byte [esp + 0x128], 0x17
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100d5660
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x128], 0x19
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100d5688
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x128], 0x1b
test byte [esp + 0x14], 2
je 0x100d56c4
and dword [esp + 0x14], 0xfffffffd
mov byte [esp + 0x128], 0x1b
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100d56c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x128], 0x1d
test byte [esp + 0x14], 1
je 0x100d5700
and dword [esp + 0x14], 0xfffffffe
mov byte [esp + 0x128], 0x1d
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100d5700
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x28]
call fcn.10002500
mov edi, 7
push edi
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0xec]
call fcn.10095340
mov byte [esp + 0x128], 0x1f
push ebx
push ebx
lea ecx, [esp + 0x4c]
call fcn.101e7690
push str.PendingNULLDevices
lea ecx, [esp + 0x3c]
call fcn.100044a0
mov byte [esp + 0x128], 0x20
lea eax, [esp + 0xe4]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x4c]
call fcn.101e4a80
mov byte [esp + 0x128], 0x1f
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100d578c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.100c1f10
cmp dword [eax + 0x1c], 6
jl 0x100d58cf
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push 0x13
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str..NVDevicePhase.cpp
mov word [ecx + 4], dx
call fcn.10035ce0
mov byte [esp + 0x144], 0x22
push 0xd18
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x98], esp
push 0x27
xor eax, eax
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.CNVDevicePhase::PreserveNULLInstallData
mov word [ecx + 4], ax
call fcn.10035ce0
mov byte [esp + 0x164], 0x23
lea ecx, [esp + 0x57]
mov dword [esp + 0xb4], ecx
lea edx, [esp + 0xb0]
lea eax, [esp + 0x5c]
lea ecx, [esp + 0xcc]
mov dword [esp + 0xd0], edx
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], ecx
lea edx, [esp + 0xdc]
lea eax, [esp + 0x58]
lea ecx, [esp + 0xec]
mov dword [esp + 0xf0], edx
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], ecx
lea edx, [esp + 0xe4]
lea eax, [esp + 0x104]
lea ecx, [esp + 0xd4]
push 6
mov byte [esp + 0x5b], bl
mov dword [esp + 0xd0], str.Added
mov dword [esp + 0xf0], 0x102c71d8
mov dword [esp + 0x108], 0x102b914c
mov dword [esp + 0x10c], edx
mov dword [esp + 0xd8], str.PendingNULLDevices
mov dword [esp + 0xdc], eax
mov dword [esp + 0xa8], 0x102c7b28
mov dword [esp + 0xac], ecx
call fcn.100c1f10
push eax
mov byte [esp + 0x16c], 0x1f
lea edi, [esp + 0xac]
call fcn.10002b50
mov byte [esp + 0x13], 1
mov byte [esp + 0x128], 0x1d
lea ecx, [esp + 0xe4]
call fcn.10095220
mov byte [esp + 0x128], 0xb
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100d5910
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x128], 9
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 0x100d5938
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x40], ebx
jne 0x100d53a3
mov esi, dword [esp + 0x58]
jmp 0x100d52e7
push ebx
push 0x520
push str.c:dvsp4_build_sw_toolswin32msvc90VC_atlmfcinclude_atlcoll.h
push 0x80004005
call fcn.100048f0
push ebx
push 0x27e
push str.c:dvsp4_build_sw_toolswin32msvc90VC_atlmfcinclude_atlcoll.h
push 0x80070057
call fcn.100048f0
jne 0x100d5981
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8