Function at 0x45fce0
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4d3878
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
mov eax, dword [esp + 0x120]
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea esi, [esp + 0x1c]
xor ebx, ebx
mov dword [esp + 0x18], esi
push 0x5c
push esi
call fcn.004a8857
mov edi, eax
mov al, byte [esi]
add esp, 8
cmp al, 0x5c
mov dword [esp + 0x10], edi
jne 0x45fd63
cmp byte [esi + 1], 0x5c
jne 0x45fd63
add edi, 2
push 0x5c
push edi
call fcn.004a8857
add esp, 8
test eax, eax
je 0x45ff7e
add eax, 2
push 0x5c
push eax
call fcn.004a8857
add esp, 8
mov dword [esp + 0x10], eax
mov edi, eax
test edi, edi
je 0x45fd6a
mov byte [edi], 0
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ebp, ebp
mov dword [esp + 0x14], eax
test ebx, ebx
je 0x45fd8f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10]
cmp eax, 1
jne 0x45fe74
mov ecx, 5
mov edi, str.dcfs:
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x45fe6c
mov eax, dword [esp + 0x10]
push 0x5c
lea esi, [eax + 1]
push esi
call fcn.004a8857
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x45fdc0
mov byte [eax], 0
test ebx, ebx
push 0x14c
je 0x45fe1b
call fcn.004bd49b
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x128], 0
je 0x45fe03
push esi
push ebx
mov ecx, eax
call fcn.0041b6f0
mov edi, dword [esp + 0x10]
mov dword [esp + 0x128], 0xffffffff
mov ebp, eax
jmp 0x45ff0e
mov edi, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x128], 0xffffffff
mov ebp, eax
jmp 0x45ff0e
call fcn.004bd49b
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x128], 1
je 0x45fe54
push esi
mov ecx, eax
call fcn.0041b570
mov edi, dword [esp + 0x10]
mov dword [esp + 0x128], 0xffffffff
mov ebp, eax
jmp 0x45ff28
mov edi, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x128], 0xffffffff
mov ebp, eax
jmp 0x45ff28
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
test ebx, ebx
je 0x45fe83
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x10]
test eax, eax
jne 0x45feb5
test byte [esp + 0x14], 0x10
je 0x45feb5
push 0x13c
call fcn.004bd49b
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x128], 2
je 0x45feff
push esi
push ebx
mov ecx, eax
call fcn.0042a360
jmp 0x45ff01
lea eax, [esp + 0x1c]
mov ecx, 0x4f55f8
push eax
call fcn.0049b430
test eax, eax
jne 0x45fed4
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x10]
cmp eax, 2
jne 0x45ff0e
push 0x154
call fcn.004bd49b
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x128], 3
je 0x45feff
push esi
push ebx
mov ecx, eax
call fcn.00405d60
jmp 0x45ff01
xor eax, eax
mov dword [esp + 0x128], 0xffffffff
mov ebp, eax
test ebx, ebx
je 0x45ff28
mov eax, dword [ebx + 4]
cmp eax, 1
jne 0x45ff24
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax]
jmp 0x45ff28
dec eax
mov dword [ebx + 4], eax
test ebp, ebp
je 0x45ff7e
mov edx, dword [ebp]
push 0
mov ecx, ebp
call dword [edx + 0x50]
mov ecx, dword [esp + 0x134]
test ecx, ecx
je 0x45ff45
test eax, eax
je 0x45ff61
test edi, edi
mov ebx, ebp
je 0x45ff82
lea eax, [edi + 1]
mov byte [edi], 0x5c
mov dword [esp + 0x18], eax
cmp byte [eax], 0
je 0x45ff82
mov esi, eax
jmp 0x45fd1c
mov eax, dword [ebp + 4]
cmp eax, 1
jne 0x45ff7a
test ebp, ebp
je 0x45ff7e
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax]
xor eax, eax
jmp 0x45ff84
dec eax
mov dword [ebp + 4], eax
xor eax, eax
jmp 0x45ff84
mov eax, ebp
mov ecx, dword [esp + 0x120]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x11c
ret