Function at 0x4c8a00
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f27e7
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x5392a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x18]
call fcn.00419780
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00419780
mov byte [ebp - 4], 1
mov byte [ebp - 0x25], 0
cmp dword [ebp + 8], 0
je 0x4c8a5b
mov eax, dword [ebp + 8]
add eax, 4
mov dword [ebp - 0x1cc], eax
jmp 0x4c8a65
mov dword [ebp - 0x1cc], 0
push 0x51323c
mov ecx, dword [ebp - 0x1cc]
push ecx
lea edx, [ebp - 0x78]
push edx
call fcn.00407a80
add esp, 0xc
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x1d4], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1d4]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.00417720
mov byte [ebp - 4], 3
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x5c]
push eax
call fcn.0048e7d0
add esp, 8
mov byte [ebp - 0x39], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.00414a10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x78]
call fcn.00414bf0
movzx ecx, byte [ebp - 0x39]
test ecx, ecx
je 0x4c8b73
cmp dword [ebp + 0xc], 0
je 0x4c8af1
mov edx, dword [ebp + 0xc]
add edx, 4
mov dword [ebp - 0x1d8], edx
jmp 0x4c8afb
mov dword [ebp - 0x1d8], 0
push 0x513240
mov eax, dword [ebp - 0x1d8]
push eax
lea ecx, [ebp - 0xb4]
push ecx
call fcn.00407a80
add esp, 0xc
mov dword [ebp - 0x1dc], eax
mov edx, dword [ebp - 0x1dc]
mov dword [ebp - 0x1e0], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1e0]
push eax
lea ecx, [ebp - 0x98]
call fcn.00417720
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x98]
push edx
call fcn.0048e7d0
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x98]
call fcn.00414a10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb4]
call fcn.00414bf0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x24]
call fcn.0042f610
lea ecx, [ebp - 0xb8]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00426830
push eax
lea ecx, [ebp - 0x2c]
call fcn.0042f670
movzx edx, al
test edx, edx
je 0x4c8c5c
lea ecx, [ebp - 0x2c]
call fcn.0041e460
add eax, 4
mov ecx, eax
call fcn.00413e50
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
and eax, 0x10
je 0x4c8bec
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0xbc], ecx
mov edx, dword [ebp - 0xbc]
push edx
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x24]
call fcn.00420020
mov ecx, dword [eax]
mov dword [ebp - 0x2c], ecx
jmp 0x4c8c57
lea ecx, [ebp - 0xe1]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041e460
add eax, 4
mov ecx, eax
call fcn.00413e50
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0xe0]
call fcn.00414c40
mov byte [ebp - 4], 6
lea edx, [ebp - 0xe0]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0041d4f0
mov ecx, eax
call fcn.00415500
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe0]
call fcn.00414a10
push 0
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00420790
jmp 0x4c8b7f
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0042f610
lea edx, [ebp - 0xec]
push edx
lea ecx, [ebp - 0x18]
call fcn.00426830
push eax
lea ecx, [ebp - 0x30]
call fcn.0042f670
movzx eax, al
test eax, eax
je 0x4c8d45
lea ecx, [ebp - 0x30]
call fcn.0041e460
add eax, 4
mov ecx, eax
call fcn.00413e50
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
and ecx, 0x10
je 0x4c8cd5
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0xf0], edx
mov eax, dword [ebp - 0xf0]
push eax
lea ecx, [ebp - 0xf4]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00420020
mov edx, dword [eax]
mov dword [ebp - 0x30], edx
jmp 0x4c8d40
lea ecx, [ebp - 0x115]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x30]
call fcn.0041e460
add eax, 4
mov ecx, eax
call fcn.00413e50
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x114]
call fcn.00414c40
mov byte [ebp - 4], 7
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x30]
call fcn.0041d4f0
mov ecx, eax
call fcn.00415500
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x114]
call fcn.00414a10
push 0
lea ecx, [ebp - 0x11c]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00420790
jmp 0x4c8c68
lea edx, [ebp - 0x120]
push edx
lea ecx, [ebp - 0x24]
call fcn.0042f610
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x124]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00426830
push eax
lea ecx, [ebp - 0x2c]
call fcn.0042f670
movzx edx, al
test edx, edx
je 0x4c8e91
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x18]
call fcn.0042f610
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
lea edx, [ebp - 0x12c]
push edx
lea ecx, [ebp - 0x18]
call fcn.00426830
push eax
lea ecx, [ebp - 0x30]
call fcn.0042f670
movzx eax, al
test eax, eax
je 0x4c8e7b
lea ecx, [ebp - 0x2c]
call fcn.0041d4f0
mov dword [ebp - 0x1e4], eax
cmp dword [ebp - 0x1e4], 0
je 0x4c8ddb
mov ecx, dword [ebp - 0x1e4]
add ecx, 4
mov dword [ebp - 0x1e8], ecx
jmp 0x4c8de5
mov dword [ebp - 0x1e8], 0
lea ecx, [ebp - 0x30]
call fcn.0041d4f0
mov dword [ebp - 0x1ec], eax
cmp dword [ebp - 0x1ec], 0
je 0x4c8e0d
mov edx, dword [ebp - 0x1ec]
add edx, 4
mov dword [ebp - 0x1f0], edx
jmp 0x4c8e17
mov dword [ebp - 0x1f0], 0
mov eax, dword [ebp - 0x1e8]
push eax
mov ecx, dword [ebp - 0x1f0]
push ecx
call fcn.00417c20
add esp, 8
movzx edx, al
test edx, edx
je 0x4c8e65
push 0
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x30]
call fcn.00420790
mov ecx, dword [eax]
mov dword [ebp - 0x130], ecx
mov edx, dword [ebp - 0x130]
push edx
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x18]
call fcn.00420020
jmp 0x4c8e76
push 0
lea ecx, [ebp - 0x13c]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00420790
jmp 0x4c8d90
push 0
lea edx, [ebp - 0x140]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00420790
jmp 0x4c8d59
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x18]
call fcn.0042f610
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
jmp 0x4c8eb8
push 0
lea edx, [ebp - 0x148]
push edx
lea ecx, [ebp - 0x30]
call fcn.00420790
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00426830
push eax
lea ecx, [ebp - 0x30]
call fcn.0042f670
movzx ecx, al
test ecx, ecx
je 0x4c906a
lea ecx, [ebp - 0x30]
call fcn.0041d4f0
mov dword [ebp - 0x1f4], eax
cmp dword [ebp - 0x1f4], 0
je 0x4c8f03
mov edx, dword [ebp - 0x1f4]
add edx, 4
mov dword [ebp - 0x1f8], edx
jmp 0x4c8f0d
mov dword [ebp - 0x1f8], 0
cmp dword [ebp + 0xc], 0
je 0x4c8f21
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp - 0x1fc], eax
jmp 0x4c8f2b
mov dword [ebp - 0x1fc], 0
mov ecx, dword [ebp - 0x1f8]
push ecx
mov edx, dword [ebp - 0x1fc]
push edx
lea eax, [ebp - 0x188]
push eax
call fcn.00407b10
add esp, 0xc
mov dword [ebp - 0x200], eax
mov ecx, dword [ebp - 0x200]
mov dword [ebp - 0x204], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x204]
push edx
lea ecx, [ebp - 0x16c]
call fcn.00417720
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x30]
call fcn.0041d4f0
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
je 0x4c8f9c
mov eax, dword [ebp - 0x208]
add eax, 4
mov dword [ebp - 0x20c], eax
jmp 0x4c8fa6
mov dword [ebp - 0x20c], 0
cmp dword [ebp + 8], 0
je 0x4c8fba
mov ecx, dword [ebp + 8]
add ecx, 4
mov dword [ebp - 0x210], ecx
jmp 0x4c8fc4
mov dword [ebp - 0x210], 0
mov edx, dword [ebp - 0x20c]
push edx
mov eax, dword [ebp - 0x210]
push eax
lea ecx, [ebp - 0x1c4]
push ecx
call fcn.00407b10
add esp, 0xc
mov dword [ebp - 0x214], eax
mov edx, dword [ebp - 0x214]
mov dword [ebp - 0x218], edx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x218]
push eax
lea ecx, [ebp - 0x1a8]
call fcn.00417720
mov byte [ebp - 4], 0xb
push 1
push 0
push 1
lea ecx, [ebp - 0x16c]
push ecx
lea edx, [ebp - 0x1a8]
push edx
call fcn.0048df40
add esp, 0x14
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1a8]
call fcn.00414a10
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c4]
call fcn.00414bf0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x16c]
call fcn.00414a10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x188]
call fcn.00414bf0
jmp 0x4c8ea7
mov byte [ebp - 0x1c5], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00419800
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00419800
mov al, byte [ebp - 0x1c5]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret