Function at 0x101b4170
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
lea eax, [ebp - 0x214]
mov ebx, ecx
push str._safemonDiagScanTips.tpi
push eax
call fcn.100db670
add esp, 4
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.10007f40
mov edx, dword [ebp - 0x214]
add esp, 0xc
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x101b41c9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x224]
test edi, edi
je 0x101b4578
push esi
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x101b41ee
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0xe
call fcn.10003680
add esp, 4
push edi
test eax, eax
je 0x101b4201
call eax
jmp 0x101b4207
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x214], eax
test esi, esi
je 0x101b4218
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x214]
cmp eax, 0xffffffff
je 0x101b4577
test al, 0x10
jne 0x101b4577
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.101b13a0
add esp, 8
test eax, eax
jne 0x101b43d9
cmp dword [0x1023c00c], eax
je 0x101b43ae
push 0x20a
push eax
lea eax, [ebp - 0x210]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push str.360Base.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x101b427d
mov eax, dword [0x10257d10]
push 0x104
lea ecx, [ebp - 0x210]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str...360Base.dll
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp dword [0x1024e9f8], 0
jne 0x101b4368
push 0x1024e9e0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x1024e9f8], 0
jne 0x101b435d
lea eax, [ebp - 0x210]
push eax
call fcn.101b1420
mov esi, eax
mov dword [ebp - 0x214], 0x80004005
add esp, 4
test esi, esi
je 0x101b4343
push str.InitLibs
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateObject
push esi
mov dword [ebp - 0x21c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x21c]
mov dword [0x1024e5d8], eax
test ecx, ecx
je 0x101b4398
push 0x1024e5dc
mov dword [0x1024e5dc], 0x100
call ecx
mov dword [ebp - 0x214], eax
test eax, eax
je 0x101b43a6
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x1024e5d4], 0
xor eax, eax
mov dword [0x1024e9f8], 1
cmp dword [ebp - 0x214], eax
sete al
mov dword [0x1024e9fc], eax
push 0x1024e9e0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [0x1024e9fc]
test esi, esi
jne 0x101b4388
push 1
lea eax, [ebp - 0x210]
push 0x1024f728
push eax
call fcn.1001ac50
add esp, 0xc
mov dword [0x1023c00c], 0
test esi, esi
jne 0x101b43ae
jmp 0x101b43c1
test eax, eax
je 0x101b4332
mov dword [ebp - 0x214], 0
mov dword [0x1024e5d4], esi
jmp 0x101b4343
push 0
push edi
mov ecx, 0x1024e5d0
call fcn.101b1210
mov esi, eax
test esi, esi
jne 0x101b43d9
push 1
push 0x1024f728
push edi
call fcn.1001ac50
add esp, 0xc
test esi, esi
jne 0x101b43d9
xor eax, eax
jmp 0x101b43e0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx + 0x10], eax
test eax, eax
je 0x101b4577
push str.CreatePluginCollection
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x101b4577
call eax
mov dword [ebx + 0x14], eax
test eax, eax
je 0x101b4577
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x220]
mov edx, dword [eax]
push ecx
push str.ICallerSetter
mov ecx, eax
call dword [edx + 4]
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x101b4445
mov eax, dword [ecx]
push dword [ebx + 0x18]
call dword [eax + 8]
mov ecx, dword [ebp - 0x220]
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebx + 0x14]
push 2
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx]
call dword [eax + 8]
xor esi, esi
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x218], esi
test eax, eax
jle 0x101b4577
mov edi, eax
mov ecx, dword [ebx + 0x14]
lea edx, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
push edx
push esi
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp dword [ebp - 0x21c], 0
je 0x101b4562
push 0x10202940
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp - 0x21c]
lea edx, [ebp - 0x214]
mov dword [ebp - 0x214], eax
push edx
push str.GroupID
mov eax, dword [ecx]
call dword [eax + 0xc]
push dword [ebp - 0x214]
test eax, eax
js 0x101b455c
call sub.msvcrt.dll__wtol
add esp, 4
test eax, eax
je 0x101b44e5
test dword [ebx + 8], eax
je 0x101b4556
push 0x12c
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x101b4556
push dword [ebp - 0x21c]
mov ecx, eax
call fcn.101b38b0
mov esi, eax
test esi, esi
je 0x101b4550
cmp dword [ebx + 4], 0
je 0x101b4550
mov edx, dword [esi]
mov ecx, esi
mov dword [esi + 0xbc], ebx
call dword [edx + 0x48]
test eax, eax
je 0x101b4548
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x228], esi
mov eax, dword [ecx + 4]
cmp dword [ecx + 8], eax
je 0x101b4539
mov dword [eax], esi
add dword [ecx + 4], 4
jmp 0x101b4550
lea edx, [ebp - 0x228]
push edx
push eax
call fcn.100cc490
jmp 0x101b4550
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov esi, dword [ebp - 0x218]
push dword [ebp - 0x214]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
inc esi
mov dword [ebp - 0x218], esi
cmp esi, edi
jl 0x101b4477
mov edi, dword [ebp - 0x224]
pop esi
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x101b4590
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.101f99c6
mov esp, ebp
pop ebp
ret