Function at 0x275ffcf4
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
or dword [ebp - 0xc], 0xffffffff
or dword [ebp - 0x18], 0xffffffff
push ebx
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [0x27633e18], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edi
je 0x275ffd87
lea eax, [ebp - 0x224]
push 0x104
push eax
push dword [0x2762de40]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x224]
push edi
push eax
call fcn.27596b75
pop ecx
mov dword [ebp - 0x14], eax
pop ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_LoadRegTypeLib]
mov esi, eax
cmp esi, edi
jl 0x275fff08
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
push eax
movzx ecx, word [eax + 0x18]
mov dword [ebp - 0xc], ecx
movzx ecx, word [eax + 0x1a]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ecx]
call dword [edx + 0x30]
cmp word [0x2762db28], 0xffff
je 0x275ffeb5
mov dword [ebp - 4], 0x2762db28
mov esi, 0x2762db2c
mov eax, dword [esi]
cmp dword [eax], edi
je 0x275ffea0
cmp ebx, edi
jne 0x275ffe7d
cmp dword [ebp - 8], edi
jne 0x275ffde4
lea eax, [ebp - 0x120]
push 0x104
push eax
call fcn.275ff5c5
pop ecx
mov dword [ebp - 8], eax
pop ecx
lea eax, [ebp - 0x120]
push 0x2763337a
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
inc dword [ebp - 8]
mov eax, dword [ebp - 4]
push 3
pop edi
mov dx, word [eax]
mov eax, dword [esi]
cmp dx, di
jne 0x275fff18
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x275ffe68
cmp dx, di
jne 0x275fff20
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x275ffe68
mov eax, dword [ebp - 4]
mov dx, word [eax]
mov eax, dword [esi]
cmp dx, di
jne 0x275fff28
mov ecx, dword [eax + 0x20]
cmp dx, di
jne 0x275fff30
mov edi, dword [eax + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
mov eax, dword [ebp - 8]
push edi
lea eax, [ebp + eax - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
not ebx
shr ebx, 4
and ebx, 1
mov eax, dword [ebp - 8]
test ebx, ebx
je 0x275fff38
and byte [ebp + eax - 0x121], 0
xor edi, edi
mov eax, dword [ebp - 4]
movzx eax, word [eax]
sub eax, edi
je 0x275fffcf
dec eax
je 0x275fffa1
dec eax
je 0x275fff45
dec eax
je 0x275fffcf
add dword [ebp - 4], 8
mov eax, dword [ebp - 4]
add esi, 8
cmp word [eax], 0xffff
jne 0x275ffda2
cmp dword [0x27633e18], edi
je 0x275fff06
cmp ebx, edi
je 0x275ffed8
lea eax, [ebp - 0x120]
push 1
push eax
call fcn.27596b75
pop ecx
cmp ebx, edi
pop ecx
mov dword [ebp - 0xc], eax
jne 0x275ffedd
mov eax, 0x2763399e
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_QueryPathOfRegTypeLib]
cmp ebx, edi
mov esi, eax
je 0x275ffef9
push dword [ebp - 0xc]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp esi, edi
jl 0x275fff08
xor esi, esi
push dword [ebp - 0x14]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
mov ecx, dword [eax + 0x28]
jmp 0x275ffdfb
mov eax, dword [eax + 0x28]
jmp 0x275ffe0b
mov ecx, dword [eax + 0x28]
jmp 0x275ffe2a
mov edi, dword [eax + 0x28]
jmp 0x275ffe36
and byte [ebp + eax - 0x120], 0
jmp 0x275ffe7b
push 1
lea eax, [ebp - 0x1c]
pop edi
push eax
mov eax, dword [esi]
push dword [eax]
push dword [ebp - 0x10]
call fcn.275ff9ab
add esp, 0xc
test eax, eax
jl 0x275fff65
mov edi, dword [ebp - 0x1c]
and edi, 0x20
mov eax, dword [esi]
push edi
push dword [eax + 0xc]
mov cx, word [eax + 0x40]
push ecx
push dword [eax + 0x34]
push dword [eax]
push dword [0x2762dd50]
push dword [ebp - 0x18]
push dword [ebp - 0xc]
push dword [eax + 0x1c]
push dword [eax + 0x18]
push dword [eax + 8]
push dword [eax + 4]
push 0x275e49b8
call fcn.275fed48
add esp, 0x34
xor edi, edi
jmp 0x275ffea0
mov eax, dword [esi]
push dword [eax + 0xc]
push dword [eax]
push dword [0x2762dd50]
push dword [ebp - 0x18]
push dword [ebp - 0xc]
push dword [eax + 0x18]
push dword [eax + 8]
push dword [eax + 4]
push 0x275e49b8
call fcn.275fe825
add esp, 0x24
jmp 0x275ffea0
mov eax, dword [esi]
push dword [eax + 0xc]
push dword [eax]
push dword [eax + 8]
push dword [eax + 4]
call fcn.275fe686
add esp, 0x10
jmp 0x275ffea0