Function at 0x1000c550
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x1005545c]
xor eax, esp
mov dword [esp + 0x20], eax
cmp dword [ebp + 0x1c], 0
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0x18]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
jne 0x1000c67a
mov esi, dword [ebp + 0xc]
cmp esi, 0x200
jne 0x1000c5f9
mov ecx, dword [ebx + 0x9c]
mov edx, dword [ebx + 0xa0]
movsx edi, ax
shr eax, 0x10
movsx esi, ax
mov eax, dword [ebx + 0x94]
add eax, ecx
mov dword [ebx + 0x74], 1
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x98]
add eax, edx
mov dword [esp + 0x1c], ecx
push esi
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push edi
push eax
mov dword [esp + 0x2c], edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x1000c5f3
push 0x7f89
push eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov edi, dword [esp + 0x18]
jmp 0x1000c620
cmp esi, 0x2a3
jne 0x1000c690
push 0x7f00
push 0
mov dword [ebx + 0x74], 1
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebx + 0x74], 0
mov dword [edi], 0
cmp dword [ebx + 0x74], 0
jne 0x1000c6d2
mov eax, dword [esp + 0x14]
mov esi, dword [ebx + 0x28]
push 0
push edi
push eax
push dword [esp + 0x1c]
push dword [ebp + 0xc]
push ecx
mov ecx, ebx
call fcn.10005810
mov dword [ebx + 0x28], esi
test eax, eax
jne 0x1000c6d2
mov eax, dword [ebp + 0xc]
cmp eax, 0x10
jne 0x1000c6aa
mov ecx, ebx
mov dword [ebx + 0x74], 1
call fcn.1000cdf0
mov dword [edi], 0
cmp dword [ebx + 0x74], 0
jne 0x1000c6d2
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1001f332
mov esp, ebp
pop ebp
ret 0x18
cmp esi, 0x20
jne 0x1000c63b
mov dword [ebx + 0x74], 1
mov dword [edi], 1
cmp dword [ebx + 0x74], 0
jne 0x1000c6d2
jmp 0x1000c63b
cmp eax, 0x111
jne 0x1000c74d
mov eax, dword [esp + 0x10]
mov ecx, 0x2713
movzx eax, ax
cmp cx, ax
jne 0x1000c6eb
sub esp, 0x10
mov ecx, ebx
call fcn.1000ce30
mov dword [edi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1001f332
mov esp, ebp
pop ebp
ret 0x18
mov ecx, 0x2711
cmp cx, ax
jne 0x1000c71a
sub esp, 0x10
mov ecx, ebx
call fcn.1000d060
mov dword [edi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1001f332
mov esp, ebp
pop ebp
ret 0x18
mov ecx, 0x2712
cmp cx, ax
jne 0x1000c67a
sub esp, 0x10
mov ecx, ebx
call fcn.1000d210
mov dword [edi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1001f332
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x659
jne 0x1000c67a
mov eax, dword [ebx + 0x80]
test eax, eax
je 0x1000c791
mov esi, dword [eax + 0xc]
test esi, esi
je 0x1000c791
cmp dword [esp + 0x10], 0
je 0x1000c791
push dword [ebx + 0xcc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000c791
mov ecx, dword [ebx + 0x7c]
push dword [esi + 0x40]
push dword [ebx + 0xcc]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x1000c7b9
mov ecx, dword [ebx + 0xa8]
test ecx, ecx
jne 0x1000c7aa
mov dword [eax + 0xe8], ecx
jmp 0x1000c7b9
cmp ecx, 1
jne 0x1000c7b9
mov dword [eax + 0xec], 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [esp + 0x2c]
mov eax, 1
mov dword [edi], 0
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1001f332
mov esp, ebp
pop ebp
ret 0x18