Function at 0x40a030
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x472568
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x491050]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], 0
call fcn.00411540
push 0x495198
lea ecx, [esp + 0x24]
mov dword [esp + 0x4c], 0
call fcn.0040d8d0
push 4
push str..
lea ecx, [esp + 0x28]
mov byte [esp + 0x50], 1
call fcn.0040cba0
mov eax, dword [esp + 0x20]
push 0
push eax
lea ecx, [esp + 0x30]
call fcn.004116f0
test eax, eax
je 0x40a224
lea ecx, [esp + 0x28]
call fcn.00411d20
lea ecx, [esp + 0x28]
mov ebp, eax
call fcn.00411c80
test eax, eax
jne 0x40a21c
lea ecx, [esp + 0x28]
call fcn.00410bc0
test eax, eax
je 0x40a104
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x2c]
call fcn.004121a0
mov eax, dword [eax]
or dword [esp + 0x1c], 1
push str.firwalldone
push eax
call fcn.0043f8a0
add esp, 8
test eax, eax
sete al
test al, al
je 0x40a104
mov bl, 1
jmp 0x40a106
xor bl, bl
test byte [esp + 0x1c], 1
je 0x40a156
mov esi, dword [esp + 0x24]
and dword [esp + 0x1c], 0xfffffffe
add esi, 0xfffffff0
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jne 0x40a140
push str.nRefs___0
push 0
push 0x6b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.00439d00
add esp, 0x14
cmp eax, 1
jne 0x40a140
int3
or edx, 0xffffffff
lock xadd dword [edi], edx
dec edx
test edx, edx
jg 0x40a156
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
test bl, bl
jne 0x40a21c
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
call fcn.00411f20
mov byte [esp + 0x48], 2
mov edx, dword [esp + 0x18]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x40a19b
push 0x104
lea ecx, [esp + 0x1c]
call fcn.0040d6a0
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x40a1d3
mov ecx, dword [esp + 0x18]
mov edx, eax
mov eax, dword [ecx - 8]
sub edx, dword [ecx - 4]
sub eax, 0x104
or eax, edx
jge 0x40a1ce
push 0x104
lea ecx, [esp + 0x1c]
call fcn.0040d6a0
mov ecx, dword [esp + 0x18]
call fcn.00402620
mov byte [esp + 0x48], 1
mov esi, dword [esp + 0x18]
add esi, 0xfffffff0
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jne 0x40a206
push str.nRefs___0
push 0
push 0x6b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.00439d00
add esp, 0x14
cmp eax, 1
jne 0x40a206
int3
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x40a21c
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
test ebp, ebp
jne 0x40a0ab
lea ecx, [esp + 0x28]
call fcn.00411640
mov byte [esp + 0x48], 0
mov esi, dword [esp + 0x20]
add esi, 0xfffffff0
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jne 0x40a260
push str.nRefs___0
push 0
push 0x6b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.00439d00
add esp, 0x14
cmp eax, 1
jne 0x40a260
int3
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x40a276
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x48], 0xffffffff
call fcn.004115d0
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret