Function at 0x101f4f50
Capabilities:
Check if file exists
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1025511c
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1037c990]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
mov esi, dword [esp + 0x100]
xor edi, edi
cmp esi, edi
je 0x101f4f8f
cmp esi, 0xffffffff
jne 0x101f4fa4
push edi
push 0xcf1
push str..DevContext.cpp
push 0x80070057
call fcn.100048f0
mov ebx, dword [esp + 0x104]
mov eax, dword [ebx]
cmp dword [eax - 0xc], edi
jne 0x101f4fc7
push edi
push 0xcf2
push str..DevContext.cpp
push 0x80070057
call fcn.100048f0
mov ecx, dword [esp + 0x108]
mov edx, dword [ecx]
cmp dword [edx - 0xc], edi
jne 0x101f4fea
push edi
push 0xcf3
push str..DevContext.cpp
push 0x80070057
call fcn.100048f0
cmp byte [esp + 0x114], 0
je 0x101f5219
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], 0xa
mov dword [esp + 0xf8], edi
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x48]
mov dword [esp + 0x40], ecx
push str.NEEDS
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], 0x102ac24c
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], edi
call fcn.100044a0
mov byte [esp + 0xf8], 1
push edi
push edi
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x20]
push eax
push ebx
push esi
call fcn.101f2990
add esp, 0x18
mov byte [esp + 0xf8], 0
lea ecx, [esp + 0x14]
call fcn.10004720
lea ecx, [esp + 0xa4]
push ecx
call fcn.101db930
add esp, 4
mov byte [esp + 0xf8], 2
mov esi, dword [esp + 0x48]
cmp esi, edi
je 0x101f51f1
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov bl, 8
xor eax, eax
cmp esi, edi
setne al
cmp eax, edi
je 0x101f525e
mov edi, esi
mov esi, dword [esi]
lea ecx, [esp + 0x60]
call fcn.10056c80
mov byte [esp + 0xf8], 3
mov eax, dword [edi + 8]
sub eax, 0x10
lea edx, [esp + 0x78]
push eax
mov dword [esp + 0x18], edx
call fcn.10004780
add eax, 0x10
add esp, 4
mov dword [esp + 0x78], eax
mov byte [esp + 0xf8], 6
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [esp + 0x68]
call fcn.101ddff0
mov byte [esp + 0xf8], 7
add eax, 0x18
push eax
lea ecx, [esp + 0x7c]
call fcn.100036b0
mov byte [esp + 0xf8], bl
lea edx, [esp + 0xa0]
mov dword [esp + 0x14], edx
mov byte [esp + 0xf8], bl
mov eax, dword [esp + 0xa0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x101f5154
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xf8], 6
lea ecx, [esp + 0x88]
push ecx
call ebp
mov eax, dword [esp + 0x100]
mov ecx, dword [esp + 0x78]
lea edx, [esp + 0x1c]
push edx
push eax
push ecx
mov dword [esp + 0x28], 0
call dword [sym.imp.SETUPAPI.dll_SetupOpenAppendInfFileW]
test eax, eax
jne 0x101f5199
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x101f5273
mov byte [esp + 0xf8], 0xc
lea edx, [esp + 0x78]
mov dword [esp + 0x14], edx
mov byte [esp + 0xf8], 0xc
mov eax, dword [esp + 0x78]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x101f51d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xf8], 2
lea ecx, [esp + 0x60]
push ecx
call ebp
xor edi, edi
test esi, esi
jne 0x101f50a0
mov ebx, dword [esp + 0x104]
mov byte [esp + 0xf8], 0
lea ecx, [esp + 0xa4]
call fcn.10056b10
mov dword [esp + 0xf8], 0xffffffff
lea ecx, [esp + 0x48]
call fcn.1005eb40
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], 0xa
mov dword [esp + 0xf8], 0x10
mov edx, dword [esp + 0x24]
mov eax, dword [ebx]
push edi
push edx
push eax
lea ecx, [esp + 0x2c]
call fcn.10095150
mov ecx, dword [esp + 0x24]
cmp ecx, edi
je 0x101f5279
mov dword [ecx], eax
jmp 0x101f527d
push edi
push 0x514
push str.c:dvsp4_build_sw_toolswin32msvc90VC_atlmfcinclude_atlcoll.h
push 0x80004005
call fcn.100048f0
push eax
call fcn.100c1a10
mov dword [esp + 0x20], eax
lea ecx, [esp + 0xc0]
mov dword [esp + 0x24], eax
call fcn.1005aba0
mov byte [esp + 0xf8], 0x11
cmp dword [esp + 0x28], edi
je 0x101f54ec
mov ebx, dword [esp + 0x10c]
jmp 0x101f52aa
xor edi, edi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
call fcn.101c4820
mov byte [esp + 0xf8], 0x12
mov esi, dword [esp + 0x18]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
call eax
cmp dword [esi + 0xc], edi
lea ecx, [esi + 0xc]
jl 0x101f52ea
cmp eax, dword [esi]
jne 0x101f52ea
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x101f5325
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
test edi, edi
je 0x101f552e
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.1022e800
add esp, 0x10
lea esi, [edi + 0x10]
mov dword [esp + 0x14], esi
mov byte [esp + 0xf8], 0x14
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 0x101f5356
push edi
lea ecx, [esp + 0x18]
call fcn.100042e0
mov esi, dword [esp + 0x14]
lea ecx, [edi + 1]
push ecx
push esi
call fcn.102315e1
add esp, 8
push edi
lea ecx, [esp + 0x18]
call fcn.10004360
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x88]
push ecx
push esi
lea ecx, [esp + 0xd0]
call fcn.10091f30
test eax, eax
je 0x101f53bf
mov byte [esp + 0xf8], 0x12
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x101f53ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x101f54b9
push 1
push esi
lea ecx, [esp + 0xc8]
call fcn.10091450
mov edi, dword [esp + 0x108]
mov eax, dword [edi]
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x100]
lea ecx, [esp + 0x48]
push ecx
push eax
push edx
push ebp
call dword [sym.imp.SETUPAPI.dll_SetupFindFirstLineW]
test eax, eax
je 0x101f5417
mov eax, dword [ebx]
mov edx, dword [eax + 0x10]
lea ecx, [esp + 0x48]
push ecx
mov ecx, ebx
call edx
mov eax, dword [edi]
lea ecx, [esp + 0x48]
push ecx
push eax
mov edx, ecx
push edx
call dword [sym.imp.SETUPAPI.dll_SetupFindNextMatchLineW]
test eax, eax
jne 0x101f53f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe0000102
jne 0x101f5273
cmp byte [esp + 0x110], 0
je 0x101f5495
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x20]
mov dword [esp + 0x40], ecx
push str.INCLUDE
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], 0x102ac24c
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], 0
call fcn.100044a0
mov byte [esp + 0xf8], 0x17
push 0
push 0
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
push ecx
push ebp
call fcn.101f2990
add esp, 0x18
mov byte [esp + 0xf8], 0x14
lea ecx, [esp + 0x1c]
call fcn.10004720
mov byte [esp + 0xf8], 0x12
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x101f54b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xf8], 0x11
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x101f54e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x28], 0
jne 0x101f52a8
mov byte [esp + 0xf8], 0x10
lea ecx, [esp + 0xc0]
call fcn.10053330
mov dword [esp + 0xf8], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.1005eb40
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe8
ret
call fcn.10004630
int3