Function at 0x453e70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x625397
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x690a1c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push dword [ebx + 4]
lea edi, [ebx + 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x453fc0
call fcn.00407410
mov ecx, eax
test ecx, ecx
je 0x4540e0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov dword [ebp - 4], 0
jge 0x453ef3
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00407e30
mov esi, dword [ebp - 0x10]
push 0x104
push esi
push dword [edi]
call fcn.0046bf80
push dword [esi - 8]
push esi
call fcn.005e74c3
add esp, 0x14
test eax, eax
js 0x4540f4
cmp eax, dword [esi - 8]
jg 0x4540f4
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x4540ea
push eax
push esi
call fcn.005f64cb
add esp, 8
test eax, eax
jne 0x453fa1
push edi
call fcn.00457960
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
add esp, 4
mov dword [ebp - 0x18], edx
push eax
push 0x64
push 0x43e
push dword [ebx + 8]
call edi
push 0
push 0
push 0x440
push dword [ebx + 8]
call edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4540ce
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x453fc0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebx + 0x34]
xor al, al
xchg byte [ecx], al
cmp dword [ebx + 0x30], 0
jne 0x453fde
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebx + 0x30], eax
cmp dword [ebx + 0x2c], 0
je 0x453ff5
push dword [ebx + 0x30]
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [ebx + 0x28]
call fcn.00454900
push dword [ebx + 0x30]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0x10
call fcn.004fa137
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 1
test edi, edi
je 0x454053
mov ecx, dword [ebx + 4]
sub ecx, 0x10
push ecx
call fcn.00407150
add eax, 0x10
mov dword [edi], eax
mov eax, dword [ebx + 0xc]
lea esi, [edi + 4]
sub eax, 0x10
mov byte [ebp - 4], 2
push eax
mov dword [ebp - 0x14], esi
call fcn.00407150
add esp, 8
add eax, 0x10
mov dword [esi], eax
mov dword [edi + 8], ebx
mov dword [edi + 0xc], 0x453930
jmp 0x454055
xor edi, edi
mov dword [ebp - 0x10], edi
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004526f0
mov esi, dword [ebp - 0x10]
add esp, 8
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4540bc
mov edx, dword [esi + 4]
or edi, 0xffffffff
sub edx, 0x10
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45409a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esi]
sub edx, 0x10
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4540b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x10
push esi
call fcn.004fa0f5
add esp, 8
cmp dword [ebx + 0x2c], 0
jne 0x4540fe
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x2c], 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
push 0x80004005
call fcn.00407120
push 0x80004005
call fcn.00407120
push 0x80070057
call fcn.00407120
call fcn.005f567a
int3