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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468097
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x483dc8]
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 dword [ebp - 0x104], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x108], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
movzx eax, ax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], 0
lea eax, [ebp - 0xd0]
push eax
mov ecx, esi
call fcn.00453500
push 4
push 0
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0043b674
mov esi, eax
mov ecx, dword [ebp - 0x108]
lea eax, [ebp - 0x100]
push eax
mov byte [ebp - 4], 1
call fcn.00452af0
push esi
push eax
lea eax, [ebp - 0xa0]
push eax
mov byte [ebp - 4], 2
call fcn.0044da30
add esp, 0xc
mov byte [ebp - 4], 3
test eax, eax
je 0x457fc0
add eax, 4
jmp 0x457fc2
xor eax, eax
mov ecx, dword [ebp - 0x104]
add ecx, 4
cmp ecx, eax
je 0x457fd9
push 0xffffffffffffffff
push 0
push eax
call fcn.00404fa0
mov eax, dword [ebp - 0x78]
lea esi, [ebp - 0x78]
mov eax, dword [eax + 4]
add esi, eax
call ebx
mov dword [esi], eax
push dword [ebp - 0x84]
call fcn.0043e3d8
add esp, 4
push dword [ebp - 0x7c]
call edi
cmp dword [ebp - 0x88], 8
jb 0x45800c
push dword [ebp - 0x9c]
call edi
xor eax, eax
mov word [ebp - 0x9c], ax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x88], 7
mov dword [ebp - 0x8c], 0
mov eax, dword [eax + 4]
push dword [ebp + eax - 0xa0]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0xd8]
lea esi, [ebp - 0xd8]
mov eax, dword [eax + 4]
add esi, eax
call ebx
mov dword [esi], eax
push dword [ebp - 0xe4]
call fcn.0043e3d8
add esp, 4
push dword [ebp - 0xdc]
call edi
cmp dword [ebp - 0xe8], 8
jb 0x45807b
push dword [ebp - 0xfc]
call edi
xor eax, eax
mov word [ebp - 0xfc], ax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0xe8], 7
mov dword [ebp - 0xec], 0
mov eax, dword [eax + 4]
push dword [ebp + eax - 0x100]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x48]
lea esi, [ebp - 0x48]
mov eax, dword [eax + 4]
add esi, eax
call ebx
mov dword [esi], eax
push dword [ebp - 0x54]
call fcn.0043e3d8
add esp, 4
push dword [ebp - 0x4c]
call edi
cmp dword [ebp - 0x58], 8
jb 0x4580d8
push dword [ebp - 0x6c]
call edi
xor eax, eax
mov word [ebp - 0x6c], ax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x58], 7
mov dword [ebp - 0x5c], 0
mov eax, dword [eax + 4]
push dword [ebp + eax - 0x70]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0xa8]
lea esi, [ebp - 0xa8]
mov eax, dword [eax + 4]
add esi, eax
call ebx
mov dword [esi], eax
push dword [ebp - 0xb4]
call fcn.0043e3d8
add esp, 4
push dword [ebp - 0xac]
call edi
cmp dword [ebp - 0xb8], 8
jb 0x458138
push dword [ebp - 0xcc]
call edi
mov esi, dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov word [ebp - 0xcc], ax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xb8], 7
mov dword [ebp - 0xbc], 0
mov eax, dword [eax + 4]
push dword [ebp + eax - 0xd0]
call esi
mov dword [ebp - 0x40], 0x46be90
mov dword [ebp - 0x18], 0x46c540
call ebx
mov dword [ebp - 0x14], eax
xor eax, eax
mov word [ebp - 0x3c], ax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x2c], 0
mov eax, dword [eax + 4]
push dword [ebp + eax - 0x18]
call esi
push 0x104
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 4
call fcn.004541f0
mov ebx, dword [eax]
mov byte [eax + 4], 1
push dword [ebx + 0x24]
mov esi, dword [ebx + 0x14]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp esi, eax
je 0x4581f5
cmp dword [ebx + 0x18], 8
lea eax, [ebx + 4]
jb 0x4581e5
mov eax, dword [eax]
push dword [ebx + 0x14]
lea esi, [ebx + 0x24]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_SysFreeString]
jmp 0x458231
mov eax, dword [ebx + 0x24]
lea esi, [ebx + 0x24]
mov dword [ebp - 0x114], eax
test eax, eax
je 0x458231
mov edx, dword [ebx + 0x14]
cmp dword [ebx + 0x14], edx
lea ecx, [ebx + 4]
cmovb edx, dword [ecx + 0x10]
cmp dword [ecx + 0x14], 8
jb 0x45821a
mov ecx, dword [ecx]
test edx, edx
je 0x458231
push edx
push ecx
push dword [ebx + 0x14]
push dword [ebp - 0x114]
call fcn.0043f3c9
add esp, 0x10
mov ecx, dword [esi]
test ecx, ecx
je 0x458240
mov eax, dword [ebx + 0x14]
xor edx, edx
mov word [ecx + eax*2], dx
mov ebx, dword [ebp - 0x110]
movzx eax, bx
push eax
push 0x475a70
push dword [esi]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 4
call fcn.0044f730
mov esi, dword [ebp - 0x104]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [esi + 4]
call fcn.0040a75d
mov ecx, esi
call fcn.004087b3
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x18]
mov eax, dword [eax + 4]
je 0x45838b
inc ebx
mov dword [ebp - 0x110], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], 0xffffffff
add esi, eax
call ebx
mov dword [esi], eax
push dword [ebp - 0x24]
call fcn.0043e3d8
add esp, 4
push dword [ebp - 0x1c]
call edi
cmp dword [ebp - 0x28], 8
jb 0x4582d4
push dword [ebp - 0x3c]
call edi
xor eax, eax
mov word [ebp - 0x3c], ax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x2c], 0
mov eax, dword [eax + 4]
push dword [ebp + eax - 0x40]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x10c]
mov esi, dword [ebp - 0x108]
inc eax
mov dword [ebp - 0x10c], eax
cmp eax, 0xffff
jl 0x457f62
lea ecx, [ebp - 0x130]
call fcn.0043fcba
push 4
mov dword [ebp - 4], 6
mov dword [ebp - method.is::win32_exception.virtual_0], vtable.is::win32_exception.0
mov dword [ebp - 0x124], 0x50
mov dword [ebp - 0x120], 0
mov byte [ebp - 0x11c], 0
call fcn.0043e0b5
add esp, 4
test eax, eax
je 0x458369
mov dword [eax], 1
mov dword [ebp - 0x118], eax
jmp 0x458373
mov dword [ebp - 0x118], 0
push 0x478bb4
lea eax, [ebp - 0x130]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.0043df52
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
push dword [ebp - 0x24]
call fcn.0043e3d8
add esp, 4
push dword [ebp - 0x1c]
call edi
cmp dword [ebp - 0x28], 8
jb 0x4583b0
push dword [ebp - 0x3c]
call edi
xor eax, eax
mov word [ebp - 0x3c], ax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x2c], 0
mov eax, dword [eax + 4]
push dword [ebp + eax - 0x40]
call dword [sym.imp.KERNEL32.dll_SetLastError]
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.0043df43
mov esp, ebp
pop ebp
ret 4