Function at 0x416d20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x45cc31
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x473354]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x473354]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x13c]
mov al, byte [ebp]
mov edi, dword [esp + 0x140]
mov ecx, dword [esp + 0x138]
mov dword [esp + 0x1c], edi
test al, al
je 0x416d81
cmp byte [ebp + 1], 0x3a
je 0x416d8e
cmp al, 0x5c
jne 0x416e0c
cmp byte [ebp + 1], al
jne 0x416e0c
push ebp
lea eax, [esp + 0x18]
push eax
mov ecx, 0x474ec8
call fcn.00409bc0
mov esi, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x130], eax
cmp esi, eax
je 0x416dc2
cmp dword [esi + 4], eax
jne 0x416dbf
mov ecx, dword [esi]
push ecx
call fcn.0042e110
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, dword [edi]
push ebp
mov ebx, eax
call fcn.0042f484
push esi
mov dword [edi], eax
call fcn.0042f4d9
add esp, 8
cmp ebx, 0xffffffff
je 0x416dfa
test bl, 0x10
jne 0x416dfa
lea ecx, [esp + 0x14]
mov bl, 1
call fcn.004095d0
mov al, bl
jmp 0x416f29
lea ecx, [esp + 0x14]
xor bl, bl
call fcn.004095d0
mov al, bl
jmp 0x416f29
xor ebx, ebx
mov eax, ecx
cmp ecx, ebx
jne 0x416e19
mov eax, 0x46043c
push eax
call fcn.0042f484
add esp, 4
mov dword [esp + 0x18], eax
cmp byte [eax], 0
mov dword [esp + 0x130], 1
mov edi, eax
je 0x416f1e
lea esp, [esp]
push 0x3b
push edi
call fcn.00430610
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x416e54
mov byte [esi], 0
push ebp
push edi
push str._s_s
lea edx, [esp + 0x2c]
push 0x104
push edx
call fcn.0043242e
add esp, 0x14
cmp esi, ebx
je 0x416e79
mov byte [esi], 0x3b
lea edi, [esi + 1]
jmp 0x416e7e
mov edi, 0x46043c
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x474ec8
call fcn.00409bc0
mov esi, dword [esp + 0x14]
mov byte [esp + 0x130], 2
cmp esi, ebx
je 0x416eb7
cmp dword [esi + 4], ebx
jne 0x416eb2
mov edx, dword [esi]
push edx
call fcn.0042e110
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
jmp 0x416eb9
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x416ecd
test al, 0x10
je 0x416f51
mov byte [esp + 0x130], 1
cmp esi, ebx
je 0x416f11
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x416f0d
mov eax, dword [esi]
cmp eax, ebx
je 0x416ef4
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x416f04
push eax
call fcn.00430786
add esp, 4
push esi
call fcn.0042f2c2
add esp, 4
mov dword [esp + 0x14], ebx
cmp byte [edi], 0
jne 0x416e40
mov eax, dword [esp + 0x18]
push eax
call fcn.0042f4d9
add esp, 4
xor al, al
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.00430430
add esp, 0x120
ret
mov edi, dword [esp + 0x1c]
mov esi, dword [edi]
lea ecx, [esp + 0x20]
push ecx
call fcn.0042f484
push esi
mov dword [edi], eax
call fcn.0042f4d9
add esp, 8
lea ecx, [esp + 0x14]
call fcn.004095d0
mov edx, dword [esp + 0x18]
push edx
call fcn.0042f4d9
add esp, 4
mov al, 1
jmp 0x416f29