Function at 0x43b060
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x464dc0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x47e4f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x48134c]
mov edx, dword [eax + 0xc]
mov ecx, 0x48134c
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x209
or eax, ecx
mov dword [ebp - 4], 0
jge 0x43b0cd
push 0x209
lea ecx, [ebp - 0x10]
call fcn.0040f370
mov esi, dword [ebp - 0x10]
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_PathCanonicalizeW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00448e74
add esp, 8
test eax, eax
jl 0x43b2e0
cmp eax, dword [esi - 8]
jg 0x43b2e0
push esi
xor ecx, ecx
mov dword [esi - 0xc], eax
push str._ProgramFiles_
mov word [esi + eax*2], cx
call dword [sym.imp.SHLWAPI.dll_PathIsPrefixW]
test eax, eax
je 0x43b190
push 0xe
push 0
lea ecx, [ebp - 0x10]
call fcn.00438330
lea edx, [ebp - 0x1c]
push edx
call fcn.00418c80
lea ecx, [ebp - 0x10]
push ecx
push eax
lea edx, [ebp - 0x18]
push edx
mov byte [ebp - 4], 1
call fcn.0041ba70
add esp, 0x10
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0040f7f0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43b16a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43b18d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x10]
lea edi, [esi - 0x10]
push edi
call fcn.0040f250
lea esi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x14], esi
cmp dword [esi - 4], 1
mov byte [ebp - 4], 3
jle 0x43b1bb
mov ecx, dword [esi - 0xc]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040f1c0
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
mov ebx, eax
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00448e74
add esp, 8
test eax, eax
jl 0x43b2e0
cmp eax, dword [esi - 8]
jg 0x43b2e0
xor edx, edx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], dx
test ebx, ebx
je 0x43b225
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43b225
lea eax, [ebp - 0x20]
push eax
push ecx
mov dword [ebp - 0x24], esp
mov ebx, esp
push edi
mov dword [ebp - 0x20], 0
call fcn.0040f250
add eax, 0x10
add esp, 4
mov dword [ebx], eax
call fcn.0043a6e0
add esp, 8
test eax, eax
jne 0x43b27b
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43b245
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43b265
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0040f7f0
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43b2a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43b2c7
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00403db0
int3