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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468a97
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.00453ac0
push 4
push 0
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0043b7e2
mov esi, eax
mov ecx, dword [ebp - 0x108]
lea eax, [ebp - 0x100]
push eax
mov byte [ebp - 4], 1
call fcn.004530b0
push esi
push eax
lea eax, [ebp - 0xa0]
push eax
mov byte [ebp - 4], 2
call fcn.0044dfa0
add esp, 0xc
mov byte [ebp - 4], 3
test eax, eax
je 0x458580
add eax, 4
jmp 0x458582
xor eax, eax
mov ecx, dword [ebp - 0x104]
add ecx, 4
cmp ecx, eax
je 0x458599
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.0043e335
add esp, 4
push dword [ebp - 0x7c]
call edi
cmp dword [ebp - 0x88], 8
jb 0x4585cc
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.0043e335
add esp, 4
push dword [ebp - 0xdc]
call edi
cmp dword [ebp - 0xe8], 8
jb 0x45863b
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.0043e335
add esp, 4
push dword [ebp - 0x4c]
call edi
cmp dword [ebp - 0x58], 8
jb 0x458698
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.0043e335
add esp, 4
push dword [ebp - 0xac]
call edi
cmp dword [ebp - 0xb8], 8
jb 0x4586f8
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], 0x47602c
mov dword [ebp - 0x18], 0x46c7e0
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.004547b0
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 0x4587b5
cmp dword [ebx + 0x18], 8
lea eax, [ebx + 4]
jb 0x4587a5
mov eax, dword [eax]
push dword [ebx + 0x14]
lea esi, [ebx + 0x24]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_SysFreeString]
jmp 0x4587f1
mov eax, dword [ebx + 0x24]
lea esi, [ebx + 0x24]
mov dword [ebp - 0x114], eax
test eax, eax
je 0x4587f1
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 0x4587da
mov ecx, dword [ecx]
test edx, edx
je 0x4587f1
push edx
push ecx
push dword [ebx + 0x14]
push dword [ebp - 0x114]
call fcn.0043f342
add esp, 0x10
mov ecx, dword [esi]
test ecx, ecx
je 0x458800
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 0x4758f0
push dword [esi]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 4
call fcn.0044fcf0
mov esi, dword [ebp - 0x104]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [esi + 4]
call fcn.00407218
mov ecx, esi
call fcn.00408b07
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 0x45894b
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.0043e335
add esp, 4
push dword [ebp - 0x1c]
call edi
cmp dword [ebp - 0x28], 8
jb 0x458894
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 0x458522
lea ecx, [ebp - 0x130]
call fcn.0043fee1
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.0043fc30
add esp, 4
test eax, eax
je 0x458929
mov dword [eax], 1
mov dword [ebp - 0x118], eax
jmp 0x458933
mov dword [ebp - 0x118], 0
push 0x478ac4
lea eax, [ebp - 0x130]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.0043e065
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
push dword [ebp - 0x24]
call fcn.0043e335
add esp, 4
push dword [ebp - 0x1c]
call edi
cmp dword [ebp - 0x28], 8
jb 0x458970
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.0043e056
mov esp, ebp
pop ebp
ret 4