Function at 0x453780
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6210e7
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x68d9ac]
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 0x4538d0
call fcn.00407320
mov ecx, eax
test ecx, ecx
je 0x4539f0
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 0x453803
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00407d40
mov esi, dword [ebp - 0x10]
push 0x104
push esi
push dword [edi]
call fcn.0046b8a0
push dword [esi - 8]
push esi
call fcn.005e6c78
add esp, 0x14
test eax, eax
js 0x453a04
cmp eax, dword [esi - 8]
jg 0x453a04
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x4539fa
push eax
push esi
call fcn.005f44d0
add esp, 8
test eax, eax
jne 0x4538b1
push edi
call fcn.00457270
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 0x4539de
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 0x4538d0
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 0x4538ee
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 0x453905
push dword [ebx + 0x30]
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [ebx + 0x28]
call fcn.00454210
push dword [ebx + 0x30]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0x10
call fcn.004f9a77
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 1
test edi, edi
je 0x453963
mov ecx, dword [ebx + 4]
sub ecx, 0x10
push ecx
call fcn.00407060
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.00407060
add esp, 8
add eax, 0x10
mov dword [esi], eax
mov dword [edi + 8], ebx
mov dword [edi + 0xc], 0x453240
jmp 0x453965
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.00452000
mov esi, dword [ebp - 0x10]
add esp, 8
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4539cc
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 0x4539aa
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 0x4539c1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x10
push esi
call fcn.004f9a35
add esp, 8
cmp dword [ebx + 0x2c], 0
jne 0x453a0e
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.00407030
push 0x80004005
call fcn.00407030
push 0x80070057
call fcn.00407030
call fcn.005f3696
int3