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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4691d7
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x484db8]
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.00454130
push 4
push 0
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0043bdf4
mov esi, eax
mov ecx, dword [ebp - 0x108]
lea eax, [ebp - 0x100]
push eax
mov byte [ebp - 4], 1
call fcn.00453710
push esi
push eax
lea eax, [ebp - 0xa0]
push eax
mov byte [ebp - 4], 2
call fcn.0044e5f0
add esp, 0xc
mov byte [ebp - 4], 3
test eax, eax
je 0x458c00
add eax, 4
jmp 0x458c02
xor eax, eax
mov ecx, dword [ebp - 0x104]
add ecx, 4
cmp ecx, eax
je 0x458c19
push 0xffffffffffffffff
push 0
push eax
call fcn.00404fb0
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.0043e985
add esp, 4
push dword [ebp - 0x7c]
call edi
cmp dword [ebp - 0x88], 8
jb 0x458c4c
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.0043e985
add esp, 4
push dword [ebp - 0xdc]
call edi
cmp dword [ebp - 0xe8], 8
jb 0x458cbb
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.0043e985
add esp, 4
push dword [ebp - 0x4c]
call edi
cmp dword [ebp - 0x58], 8
jb 0x458d18
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.0043e985
add esp, 4
push dword [ebp - 0xac]
call edi
cmp dword [ebp - 0xb8], 8
jb 0x458d78
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], 0x47686c
mov dword [ebp - 0x18], 0x46d060
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.00454e20
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 0x458e35
cmp dword [ebx + 0x18], 8
lea eax, [ebx + 4]
jb 0x458e25
mov eax, dword [eax]
push dword [ebx + 0x14]
lea esi, [ebx + 0x24]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_SysFreeString]
jmp 0x458e71
mov eax, dword [ebx + 0x24]
lea esi, [ebx + 0x24]
mov dword [ebp - 0x114], eax
test eax, eax
je 0x458e71
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 0x458e5a
mov ecx, dword [ecx]
test edx, edx
je 0x458e71
push edx
push ecx
push dword [ebx + 0x14]
push dword [ebp - 0x114]
call fcn.0043f992
add esp, 0x10
mov ecx, dword [esi]
test ecx, ecx
je 0x458e80
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 0x476130
push dword [esi]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 4
call fcn.00450340
mov esi, dword [ebp - 0x104]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [esi + 4]
call fcn.00407313
mov ecx, esi
call fcn.00408a77
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 0x458fcb
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.0043e985
add esp, 4
push dword [ebp - 0x1c]
call edi
cmp dword [ebp - 0x28], 8
jb 0x458f14
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 0x458ba2
lea ecx, [ebp - 0x130]
call fcn.00440531
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.00440280
add esp, 4
test eax, eax
je 0x458fa9
mov dword [eax], 1
mov dword [ebp - 0x118], eax
jmp 0x458fb3
mov dword [ebp - 0x118], 0
push 0x479368
lea eax, [ebp - 0x130]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.0043e6a8
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
push dword [ebp - 0x24]
call fcn.0043e985
add esp, 4
push dword [ebp - 0x1c]
call edi
cmp dword [ebp - 0x28], 8
jb 0x458ff0
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.0043e699
mov esp, ebp
pop ebp
ret 4