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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f95a6
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x529748]
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 ebx, edx
mov edi, ecx
mov esi, dword [ebp + 0xc]
call fcn.00415c00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x4ab1e1
push 0x80004005
call fcn.004162a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
push dword [ebx]
call fcn.00415690
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
push dword [eax]
push dword [edi]
call fcn.004bb8a0
mov byte [ebp - 4], 0
or ebx, 0xffffffff
mov edx, dword [ebp - 0x1c]
mov eax, ebx
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4ab230
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4ab495
test al, 0x10
je 0x4ab495
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.0048e020
mov byte [ebp - 4], 2
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x4ab3b3
mov edx, 0x513fb4
lea ecx, [ebp - 0x2c]
call fcn.004bba60
mov byte [ebp - 4], 3
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
sar eax, 1
jne 0x4ab291
push str.invalid_vector_T__subscript
call fcn.004bc548
push ecx
lea ecx, [ebp - 0x20]
call fcn.004a4bd0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x130]
push 3
push dword [esi]
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x134], eax
call fcn.0049b520
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x134]
lea ecx, [ebp - 0x30]
push eax
call fcn.004a4da0
add esp, 4
mov byte [ebp - 4], 6
mov eax, dword [eax]
test eax, eax
je 0x4ab2e0
mov eax, dword [eax]
jmp 0x4ab2e2
xor eax, eax
push eax
lea ecx, [ebp - 0x14]
call fcn.0049b5e0
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x4ab33e
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4ab337
test esi, esi
je 0x4ab337
mov eax, dword [esi]
test eax, eax
je 0x4ab317
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4ab32e
push eax
call fcn.004be903
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.004191e0
add esp, 4
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x134]
lea ecx, [ebp - 0x130]
cmp eax, ecx
je 0x4ab357
push eax
call fcn.004be015
add esp, 4
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x4ab39f
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4ab39f
mov eax, dword [esi]
test eax, eax
je 0x4ab37f
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4ab396
push eax
call fcn.004be903
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.004191e0
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4ab3b3
push eax
call fcn.004191e0
add esp, 4
mov edx, str.KiAhKyAzJiB0Oys9OA
lea ecx, [ebp - 0x2c]
call fcn.004bba60
mov byte [ebp - 4], 7
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
sar eax, 1
jne 0x4ab3d9
push str.invalid_vector_T__subscript
call fcn.004bc548
push ecx
lea ecx, [ebp - 0x14]
call fcn.0049b5e0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4ab3f6
push eax
call fcn.004191e0
add esp, 4
push 3
push dword [ebp - 0x14]
lea eax, [ebp - 0xb0]
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xb4], eax
call fcn.004162e0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c]
push dword [ebp - 0xb4]
call fcn.00416150
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb0]
mov eax, dword [ebp - 0xb4]
cmp eax, ecx
je 0x4ab448
push eax
call fcn.004be015
add esp, 4
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x1c]
neg eax
mov ecx, ebx
sbb esi, esi
add edx, 0xfffffff0
neg esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4ab473
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4ab4f5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4ab4f5
mov edx, str.aSI9Og
lea ecx, [ebp - 0x2c]
call fcn.004bba60
mov byte [ebp - 4], 9
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
sar eax, 1
jne 0x4ab4bb
push str.invalid_vector_T__subscript
call fcn.004bc548
push ecx
lea ecx, [ebp - 0x18]
call fcn.004b8730
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4ab4e9
push eax
call fcn.004191e0
add esp, 4
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov edi, dword [ebp - 0x18]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x4ab513
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
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.004bd963
mov esp, ebp
pop ebp
ret