Function at 0x449d90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5df0c0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x66c0e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x7c], 0
jne 0x449fee
call fcn.004ab475
call fcn.004b5c24
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x449de8
push 0x80004005
call fcn.004047e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x24], eax
push 0x40
push 0x190
push 0x20
push 0xc8
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.USER32.dll_SetRect]
lea edx, [ebp - 0x24]
push edx
push 0xa8
mov ecx, 0x66d9e8
call fcn.00440520
mov eax, dword [esi + 0xbc]
mov edx, dword [ebp - 0x24]
mov eax, dword [eax + 0x160]
push 0x3e9
push esi
lea ecx, [ebp - 0x20]
push ecx
push 0x50000000
push edx
lea ecx, [esi + 0xbc]
call eax
push 1
push 1
lea ecx, [esi + 0xbc]
call fcn.00487900
push 0x40
push ebx
mov ebx, dword [sym.imp.USER32.dll_OffsetRect]
lea ecx, [ebp - 0x20]
push ecx
call ebx
lea edx, [ebp - 0x24]
push edx
push 0xc6
mov ecx, 0x66d9e8
call fcn.00440520
mov eax, dword [esi + 0x5c8]
mov edx, dword [ebp - 0x24]
mov eax, dword [eax + 0x160]
push 0x3eb
push esi
lea ecx, [ebp - 0x20]
push ecx
push 0x50000000
push edx
lea ecx, [esi + 0x5c8]
call eax
push 1
push 1
lea ecx, [esi + 0x5c8]
call fcn.00487900
push 0x40
push 0
lea ecx, [ebp - 0x20]
push ecx
call ebx
lea edx, [ebp - 0x24]
push edx
push 0xbc
mov ecx, 0x66d9e8
call fcn.00440520
mov eax, dword [esi + 0xad4]
push 0x3ea
push esi
lea ecx, [ebp - 0x20]
push ecx
push 0x50000000
mov edx, dword [ebp - 0x24]
mov eax, dword [eax + 0x160]
push edx
lea ecx, [esi + 0xad4]
call eax
push 1
push 1
lea ecx, [esi + 0xad4]
call fcn.00487900
push 0x40
push 0
lea ecx, [ebp - 0x20]
push ecx
call ebx
lea edx, [ebp - 0x24]
push edx
push 0xc8
mov ecx, 0x66d9e8
call fcn.00440520
mov eax, dword [esi + 0xfe0]
mov edx, dword [ebp - 0x24]
mov eax, dword [eax + 0x160]
push 0x3ec
push esi
lea ecx, [ebp - 0x20]
push ecx
push 0x50000000
push edx
lea ecx, [esi + 0xfe0]
call eax
push 1
push 1
lea ecx, [esi + 0xfe0]
call fcn.00487900
cmp byte [esi + 0x7d], 0
je 0x449fc4
mov eax, dword [0x66dad8]
add eax, 0xfffffff0
push eax
call fcn.00405fe0
lea edi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x28], edi
push edi
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x449fa4
push edi
lea ecx, [esi + 0x88]
call fcn.00422230
mov ecx, esi
call fcn.00449620
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x449fc4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov byte [esi + 0x7c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x449fee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005bb30e
mov esp, ebp
pop ebp
ret