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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor esi, esi
xor eax, eax
mov dword [ebp - 8], eax
mov byte [ebp - 9], 0
mov word [ebp - 0xe], 0
mov dword [ebp - 0x14], 0xffffffff
mov edx, dword [ebp + 0xc]
push edx
call fcn.0044c0f0
test eax, eax
jne 0x44c98a
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x44c982
mov eax, dword [ebp + 8]
push eax
call fcn.0044cd38
jmp 0x44cc1b
or eax, 0xffffffff
jmp 0x44cc1b
mov edx, dword [ebp + 0xc]
push edx
call fcn.00452eec
pop ecx
mov ebx, eax
add ebx, dword [ebp + 0xc]
dec ebx
mov eax, ebx
add ebx, 0xffffffff
cmp eax, dword [ebp + 0xc]
jbe 0x44c9ae
cmp byte [ebx], 0x2f
je 0x44c9ae
cmp byte [ebx], 0x5c
jne 0x44c99a
lea edi, [ebx + 1]
mov al, byte [edi]
mov byte [edi], 0
cmp dword [ebp - 8], 0
je 0x44c9c4
mov edx, dword [ebp - 8]
mov cl, byte [ebp - 9]
mov byte [edx], cl
mov dword [ebp - 8], edi
mov byte [ebp - 9], al
mov eax, dword [ebp + 8]
push eax
call fcn.0044c6f0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x44c9e1
cmp edi, dword [ebp + 0xc]
ja 0x44c98a
mov dword [ebp + 0xc], edi
push 0x462cec
mov edx, dword [ebp + 0xc]
inc edx
push edx
call fcn.004530f8
add esp, 8
mov edi, eax
test eax, eax
je 0x44ca21
mov byte [edi], 0
inc edi
mov edx, dword [ebp + 8]
push edx
call fcn.00452eec
pop ecx
mov ebx, eax
push edi
call fcn.00452eec
add bx, ax
pop ecx
add bx, 0x101
mov word [ebp - 0xc], bx
jmp 0x44ca33
mov eax, dword [ebp + 8]
push eax
call fcn.00452eec
add ax, 0x100
pop ecx
mov word [ebp - 0xc], ax
cmp dword [ebp - 4], 0
je 0x44ca4a
movzx edx, word [ebp - 0xc]
push edx
call fcn.00459800
pop ecx
mov esi, eax
test eax, eax
jne 0x44ca6e
cmp dword [ebp - 8], 0
je 0x44ca58
mov edx, dword [ebp - 8]
mov cl, byte [ebp - 9]
mov byte [edx], cl
cmp dword [ebp - 4], 0
mov eax, 4
jne 0x44ca66
add eax, 0xfffffffb
mov dword [ebp - 0x14], eax
jmp 0x44cbe4
mov edx, dword [ebp + 8]
push esi
push edi
xor eax, eax
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push esi
call fcn.00452eec
pop ecx
mov word [ebp - 0xc], ax
cmp dword [ebp - 8], 0
je 0x44caad
mov eax, dword [ebp - 8]
mov dl, byte [ebp - 9]
mov byte [eax], dl
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0044c0f0
test eax, eax
jne 0x44cac6
mov dword [ebp - 0x14], 0xffffffff
jmp 0x44cbe4
movzx eax, word [ebp - 0xc]
lea edx, [esi + eax]
mov dword [ebp - 0x18], edx
jmp 0x44cbd1
mov eax, ebx
mov edx, 0x462cef
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x44cafc
test cl, cl
je 0x44cbd1
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x44cafc
add eax, 2
add edx, 2
test cl, cl
jne 0x44cadc
je 0x44cbd1
mov eax, ebx
mov edx, 0x462cf1
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x44cb29
test cl, cl
je 0x44cbd1
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x44cb29
add eax, 2
add edx, 2
test cl, cl
jne 0x44cb09
je 0x44cbd1
push ebx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0044c1c4
test eax, eax
je 0x44cbd1
movzx edx, word [ebp - 0xc]
push esi
push edi
add edx, esi
xor eax, eax
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edx
xchg edi, esi
mov edx, ecx
mov eax, edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
test edi, edi
je 0x44cbae
push esi
call fcn.00452eec
mov ebx, eax
pop ecx
add ebx, esi
xor eax, eax
mov byte [ebx], 0x5c
inc ebx
push esi
push edi
or ecx, 0xffffffff
mov esi, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push ebx
push esi
call fcn.0044c938
mov dword [ebp - 0x14], eax
jmp 0x44cbb7
push esi
call fcn.0044cd38
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov byte [eax], 0
cmp dword [ebp - 0x14], 0
jne 0x44cbcb
mov word [ebp - 0xe], 1
jmp 0x44cbd1
cmp dword [ebp - 0x14], 0xffffffff
jne 0x44cbe4
mov edx, dword [ebp - 4]
push edx
call fcn.0044c908
mov ebx, eax
test eax, eax
jne 0x44cad5
cmp dword [ebp - 4], 0
je 0x44cbf3
mov edx, dword [ebp - 4]
push edx
call fcn.0044c8e8
test edi, edi
je 0x44cbfb
dec edi
mov byte [edi], 0x5c
test esi, esi
je 0x44cc06
push esi
call fcn.004596ec
pop ecx
cmp dword [ebp - 0x14], 0xffffffff
jne 0x44cc18
cmp word [ebp - 0xe], 0
je 0x44cc18
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8