Function at 0x100605a0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x100a0011
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100d8dd0]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov esi, dword [esp + 0xac]
xor ebp, ebp
cmp esi, ebp
je 0x100605df
cmp esi, 0xffffffff
jne 0x100605f4
push ebp
push 0xa43
push str..DevContext.cpp
push 0x80070057
call fcn.10001ed0
mov edi, dword [esp + 0xb0]
mov eax, dword [edi]
cmp dword [eax - 0xc], ebp
jne 0x10060617
push ebp
push 0xa44
push str..DevContext.cpp
push 0x80070057
call fcn.10001ed0
mov ecx, dword [esp + 0xb4]
mov edx, dword [ecx]
cmp dword [edx - 0xc], ebp
jne 0x1006063a
push ebp
push 0xa45
push str..DevContext.cpp
push 0x80070057
call fcn.10001ed0
cmp byte [esp + 0xc0], 0
je 0x100607f2
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], 0xa
mov dword [esp + 0xa4], ebp
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x4c]
mov dword [esp + 0x44], ecx
push str.NEEDS
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], 0x100b19a8
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], ebp
call fcn.10001a70
mov byte [esp + 0xa4], 1
push ebp
push ebp
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x24]
push eax
push edi
push esi
call fcn.1005e0a0
add esp, 0x18
mov byte [esp + 0xa4], 0
lea ecx, [esp + 0x18]
call fcn.10001df0
lea ecx, [esp + 0x1c]
push ecx
call fcn.10059f80
add esp, 4
mov byte [esp + 0xa4], 2
mov esi, dword [esp + 0x4c]
cmp esi, ebp
je 0x100607cd
mov ebp, dword [sym.imp.SETUPAPI.dll_SetupOpenAppendInfFileW]
mov bl, 5
lea ecx, [ecx]
xor eax, eax
test esi, esi
setne al
test eax, eax
je 0x10060837
mov eax, esi
mov eax, dword [eax + 8]
mov esi, dword [esi]
sub eax, 0x10
push eax
call fcn.10001d00
add eax, 0x10
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0xa4], bl
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
call fcn.1005a040
mov byte [esp + 0xa4], 6
push eax
lea ecx, [esp + 0x18]
call fcn.1001a720
mov byte [esp + 0xa4], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1006076c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
push edx
push eax
mov dword [esp + 0x2c], 0
call ebp
test eax, eax
jne 0x1006079b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1006084d
mov byte [esp + 0xa4], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100607c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x100606f0
xor ebp, ebp
mov byte [esp + 0xa4], 0
lea ecx, [esp + 0x1c]
call fcn.1001a900
mov dword [esp + 0xa4], 0xffffffff
lea ecx, [esp + 0x4c]
call fcn.10019c60
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], 0xa
mov dword [esp + 0xa4], 0xb
mov ecx, dword [esp + 0x28]
mov eax, dword [edi]
push ebp
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.10019340
mov ecx, dword [esp + 0x28]
cmp ecx, ebp
je 0x10060853
mov dword [ecx], eax
jmp 0x10060857
push 0
push 0x514
push str.c:dvsp4_build_sw_toolswin32msvc90VC_atlmfcinclude_atlcoll.h
push 0x80004005
call fcn.10001ed0
push eax
call fcn.10017f60
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x28], eax
call fcn.1001a870
mov byte [esp + 0xa4], 0xc
cmp dword [esp + 0x2c], ebp
je 0x10060ab8
mov ebx, dword [esp + 0xb8]
lea ecx, [ecx]
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x28]
call fcn.10057f00
mov byte [esp + 0xa4], 0xd
mov esi, dword [esp + 0x14]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
add esi, 0xfffffff0
call edx
cmp dword [esi + 0xc], ebp
lea ecx, [esi + 0xc]
jl 0x100608c0
cmp eax, dword [esi]
jne 0x100608c0
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x100608fb
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
cmp edi, ebp
je 0x10060af7
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.1007c9c0
add esp, 0x10
lea esi, [edi + 0x10]
mov dword [esp + 0x18], esi
mov byte [esp + 0xa4], 0xf
mov edi, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x1006092c
push edi
lea ecx, [esp + 0x1c]
call fcn.100018b0
mov esi, dword [esp + 0x18]
lea ecx, [edi + 1]
push ecx
push esi
call fcn.1007f2d0
add esp, 8
push edi
lea ecx, [esp + 0x1c]
call fcn.10001930
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x70]
push ecx
push esi
lea ecx, [esp + 0x7c]
call fcn.10011b70
cmp eax, ebp
je 0x10060989
mov byte [esp + 0xa4], 0xd
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10060984
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x10060a86
push 1
push esi
lea ecx, [esp + 0x74]
call fcn.10010af0
mov edi, dword [esp + 0xb4]
mov eax, dword [edi]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x4c]
push ecx
push eax
mov eax, dword [esp + 0xb4]
push edx
push eax
call dword [sym.imp.SETUPAPI.dll_SetupFindFirstLineW]
test eax, eax
je 0x100609e3
jmp 0x100609c0
mov edx, dword [ebx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x4c]
push eax
mov ecx, ebx
call edx
mov eax, dword [edi]
lea ecx, [esp + 0x4c]
push ecx
push eax
mov edx, ecx
push edx
call dword [sym.imp.SETUPAPI.dll_SetupFindNextMatchLineW]
test eax, eax
jne 0x100609c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe0000102
jne 0x1006084d
cmp byte [esp + 0xbc], 0
je 0x10060a62
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x24]
mov dword [esp + 0x44], ecx
push str.INCLUDE
lea ecx, [esp + 0x20]
mov dword [esp + 0x40], 0x100b19a8
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], ebp
call fcn.10001a70
mov byte [esp + 0xa4], 0x12
push ebp
push ebp
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0xb8]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.1005e0a0
add esp, 0x18
mov byte [esp + 0xa4], 0xf
lea ecx, [esp + 0x1c]
call fcn.10001df0
mov byte [esp + 0xa4], 0xd
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10060a86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa4], 0xc
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10060aae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x2c], ebp
jne 0x10060880
mov byte [esp + 0xa4], 0xb
lea ecx, [esp + 0x6c]
call fcn.1001ada0
mov dword [esp + 0xa4], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.10019c60
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret
call fcn.10001ce0
int3