Function at 0x448f90
Capabilities:
Get common file path
Get file attributes

Disassembly:
sub esp, 0x304
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 4]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x318]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x14]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, ecx
lea ebp, [edx - 2]
test ebp, ebp
jle 0x448fee
mov cl, 0x3a
mov al, 0x5c
cmp byte [esp + ebp + 0x14], cl
jne 0x448fe9
cmp byte [esp + ebp + 0x15], al
je 0x448fee
dec ebp
test ebp, ebp
jg 0x448fdd
test ebp, ebp
mov bl, 0x2e
je 0x449144
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x114]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x10], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, edx
and ecx, 3
test edx, edx
rep movsb byte es:[edi], byte [esi]
jle 0x4490f4
mov dl, 0x42
mov cl, byte [esp + eax + 0x14]
cmp cl, bl
jne 0x4490eb
cmp byte [esp + eax + 0x15], 0x65
je 0x4490f4
cmp cl, bl
jne 0x4490eb
cmp byte [esp + eax + 0x15], 0x45
je 0x4490f4
cmp cl, bl
jne 0x4490eb
cmp byte [esp + eax + 0x15], 0x64
je 0x4490f4
cmp cl, bl
jne 0x4490eb
cmp byte [esp + eax + 0x15], 0x44
je 0x4490f4
cmp cl, bl
jne 0x4490eb
cmp byte [esp + eax + 0x15], 0x6f
je 0x4490f4
cmp cl, bl
jne 0x4490eb
cmp byte [esp + eax + 0x15], 0x4f
je 0x4490f4
cmp cl, bl
jne 0x4490eb
cmp byte [esp + eax + 0x15], 0x63
je 0x4490f4
cmp cl, bl
jne 0x4490eb
cmp byte [esp + eax + 0x15], 0x43
je 0x4490f4
cmp cl, bl
jne 0x4490eb
cmp byte [esp + eax + 0x15], 0x73
je 0x4490f4
cmp cl, bl
jne 0x4490eb
cmp byte [esp + eax + 0x15], 0x53
je 0x4490f4
cmp cl, bl
jne 0x4490eb
cmp byte [esp + eax + 0x15], 0x70
je 0x4490f4
cmp cl, bl
jne 0x4490eb
cmp byte [esp + eax + 0x15], 0x50
je 0x4490f4
cmp cl, bl
jne 0x4490eb
cmp byte [esp + eax + 0x15], 0x62
je 0x4490f4
cmp cl, bl
jne 0x4490eb
cmp byte [esp + eax + 0x15], dl
je 0x4490f4
cmp cl, bl
je 0x4490f4
dec eax
test eax, eax
jg 0x449032
sub eax, ebp
mov byte [esp + 0x14], 0
lea ecx, [eax + 5]
test ecx, ecx
jle 0x44911b
mov edx, ecx
lea esi, [esp + ebp + 0x113]
lea edi, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [esp + eax + 0x19], 0
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
test ebp, ebp
jle 0x44913f
cmp byte [esp + ebp + 0x14], bl
je 0x44913f
dec ebp
test ebp, ebp
jg 0x449134
mov byte [esp + ebp + 0x18], 0
lea eax, [esp + 0x294]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test ebp, ebp
jne 0x44923a
lea ecx, [esp + 0x214]
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x114]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.System32
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x118]
push ecx
call fcn.0047bec0
add esp, 8
test eax, eax
jne 0x4491f6
lea edx, [esp + 0x114]
push str.system32
push edx
call fcn.0047bec0
add esp, 8
test eax, eax
jne 0x4491f6
lea eax, [esp + 0x114]
push str.SYSTEM32
push eax
call fcn.0047bec0
add esp, 8
test eax, eax
jne 0x4491f6
lea ecx, [esp + 0x114]
lea edx, [esp + 0x294]
push ecx
jmp 0x449205
lea ecx, [esp + 0x114]
lea edx, [esp + 0x214]
push ecx
push edx
lea eax, [esp + 0x1c]
push 0x4966e0
push eax
call fcn.0047a8f8
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x449235
cmp byte [esp + ecx + 0x14], bl
je 0x449235
dec ecx
test ecx, ecx
jg 0x44922a
mov byte [esp + ecx + 0x18], 0
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and al, 2
pop edi
neg al
sbb eax, eax
pop esi
neg eax
pop ebp
inc eax
pop ebx
add esp, 0x304
ret