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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa117
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x4d5e88]
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.0048e3d0
push 4
push 0
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00451ddc
mov esi, eax
mov ecx, dword [ebp - 0x108]
lea eax, [ebp - 0x100]
push eax
mov byte [ebp - 4], 1
call fcn.0048c640
push esi
push eax
lea eax, [ebp - 0xa0]
push eax
mov byte [ebp - 4], 2
call fcn.0047f980
add esp, 0xc
mov byte [ebp - 4], 3
test eax, eax
je 0x4931a0
add eax, 4
jmp 0x4931a2
xor eax, eax
mov ecx, dword [ebp - 0x104]
add ecx, 4
cmp ecx, eax
je 0x4931b9
push 0xffffffffffffffff
push 0
push eax
call fcn.00407b10
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.004593fa
add esp, 4
push dword [ebp - 0x7c]
call edi
cmp dword [ebp - 0x88], 8
jb 0x4931ec
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.004593fa
add esp, 4
push dword [ebp - 0xdc]
call edi
cmp dword [ebp - 0xe8], 8
jb 0x49325b
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.004593fa
add esp, 4
push dword [ebp - 0x4c]
call edi
cmp dword [ebp - 0x58], 8
jb 0x4932b8
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.004593fa
add esp, 4
push dword [ebp - 0xac]
call edi
cmp dword [ebp - 0xb8], 8
jb 0x493318
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], 0x4ac9c4
mov dword [ebp - 0x18], 0x4ac9cc
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.0048f1a0
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 0x4933d5
cmp dword [ebx + 0x18], 8
lea eax, [ebx + 4]
jb 0x4933c5
mov eax, dword [eax]
push dword [ebx + 0x14]
lea esi, [ebx + 0x24]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_SysFreeString]
jmp 0x493411
mov eax, dword [ebx + 0x24]
lea esi, [ebx + 0x24]
mov dword [ebp - 0x114], eax
test eax, eax
je 0x493411
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 0x4933fa
mov ecx, dword [ecx]
test edx, edx
je 0x493411
push edx
push ecx
push dword [ebx + 0x14]
push dword [ebp - 0x114]
call fcn.0045a402
add esp, 0x10
mov ecx, dword [esi]
test ecx, ecx
je 0x493420
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 0x4bab34
push dword [esi]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 4
call fcn.00485dc0
mov esi, dword [ebp - 0x104]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [esi + 4]
call fcn.0040da0c
mov ecx, esi
call fcn.0040b8f2
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 0x49356b
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.004593fa
add esp, 4
push dword [ebp - 0x1c]
call edi
cmp dword [ebp - 0x28], 8
jb 0x4934b4
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 0x493142
lea ecx, [ebp - 0x130]
call fcn.0045b35d
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.004590c6
add esp, 4
test eax, eax
je 0x493549
mov dword [eax], 1
mov dword [ebp - 0x118], eax
jmp 0x493553
mov dword [ebp - 0x118], 0
push 0x4c4a28
lea eax, [ebp - 0x130]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.00458eae
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
push dword [ebp - 0x24]
call fcn.004593fa
add esp, 4
push dword [ebp - 0x1c]
call edi
cmp dword [ebp - 0x28], 8
jb 0x493590
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.00458e9f
mov esp, ebp
pop ebp
ret 4