Function at 0x41fae8
Capabilities:
Get file attributes
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x41faf0
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x420163
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x84]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x78]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
mov edx, dword [eax]
call dword [edx + 8]
mov dl, 1
mov eax, dword [0x411b9c]
call fcn.00404054
mov dword [ebp - 0xc], eax
mov dl, 1
mov eax, dword [0x41e7b0]
call fcn.0041e844
mov dword [ebp - 0x10], eax
xor ecx, ecx
push ebp
push 0x4200a1
push dword fs:[ecx]
mov dword fs:[ecx], esp
test ebx, ebx
je 0x41fb6d
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00419384
push 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0041e8d4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jne 0x41fc15
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x20]
mov eax, dword [ebp - 8]
call fcn.0041e48c
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.00408d10
mov eax, dword [ebp - 0x18]
mov edx, 0x42017c
call fcn.00408290
test eax, eax
jne 0x41fd07
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 0x3c]
mov edx, dword [ebx + 8]
dec edx
mov eax, ebx
call fcn.00415814
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
mov edx, dword [eax + 8]
dec edx
call fcn.004122b8
jmp 0x41fd07
mov eax, dword [ebp - 8]
cmp dword [eax + 0x54], 0
jne 0x41fc37
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x20]
call fcn.00408bcc
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
call fcn.004205a0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x41fd07
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1c]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edi, dword [ebp - 0x24]
lea edx, [ebp - 0x28]
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp - 0x2c]
call fcn.0040810c
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc8]
call fcn.004192cc
test al, al
jne 0x41fcff
push 0xffffffffffffffff
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1c]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x30]
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.0041e48c
lea ecx, [ebp - 0x38]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1c]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.00408d10
mov eax, dword [ebp - 0x34]
mov edx, 0x42017c
call fcn.00408290
test eax, eax
jne 0x41fcff
mov eax, dword [ebp - 8]
mov edi, dword [eax + 0x3c]
mov edx, dword [edi + 8]
dec edx
mov eax, edi
call fcn.00415814
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
mov edx, dword [eax + 8]
dec edx
call fcn.004122b8
inc ebx
dec esi
jne 0x41fc50
lea ecx, [ebp - 0x3c]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x48]
call fcn.00419540
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x58]
add eax, 4
call fcn.00404e48
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x48]
call fcn.00419540
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x58]
add eax, 8
call fcn.00404e48
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x48]
call fcn.00419540
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x58]
add eax, 0xc
call fcn.00404e48
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 0x58]
mov edx, dword [ebx + 0xc]
lea eax, [ebx + 0x14]
mov ecx, 0x42018c
call fcn.004050e0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x58]
add eax, 0x10
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x10]
call fcn.00404e48
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 0x58]
cmp dword [ebx + 4], 0
je 0x41fdcc
cmp dword [ebx + 0xc], 0
je 0x41fdc8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 0xc]
push eax
call sub.kernel32.dll_GetFileAttributesA
test al, 0x10
sete al
jmp 0x41fdce
xor eax, eax
jmp 0x41fdce
xor eax, eax
mov ecx, dword [ebp - 8]
mov ebx, dword [ecx + 0x58]
mov edx, eax
mov byte [ebx + 0x1c], dl
test dl, dl
je 0x41fdf3
mov edx, dword [ebx + 0xc]
mov eax, dword [ebp - 8]
call fcn.0041d580
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x58]
mov dword [edx + 0x18], eax
jmp 0x41fdfa
mov dword [ebx + 0x18], 0xffffffff
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 0x58]
cmp dword [ebx + 4], 0
je 0x41fe64
push 0x42019c
push dword [ebx + 8]
push 0x4201ac
lea eax, [ebx + 0x20]
mov edx, 3
call fcn.00405154
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x24]
test eax, eax
jl 0x41fe36
mov edx, eax
xor ecx, ecx
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x20]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
test eax, eax
jl 0x41fe4c
mov edx, eax
xor ecx, ecx
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x20]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x2c]
test eax, eax
jl 0x41fe8a
mov edx, eax
xor ecx, ecx
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x20]
jmp 0x41fe8a
cmp dword [ebx + 0x10], 0
je 0x41fe8a
push 0x42019c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x58]
push dword [eax + 0x10]
push 0x4201bc
lea eax, [ebx + 0x20]
mov edx, 3
call fcn.00405154
lea ecx, [ebp - 0x48]
mov edx, 0x4201c8
mov eax, dword [ebp - 0xc]
call fcn.00419808
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 8]
add eax, 0x30
call fcn.00404e48
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x42001c
lea ecx, [ebp - 4]
mov edx, ebx
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 0xc]
cmp dword [ebp - 4], 0
je 0x41fee2
mov eax, dword [ebp - 4]
cmp byte [eax], 0x2f
jne 0x41fee2
lea eax, [ebp - 4]
call fcn.004052ec
mov byte [eax], 0x2d
cmp dword [ebp - 4], 0
je 0x420008
mov eax, dword [ebp - 4]
mov edx, 0x4201d4
call fcn.004051e0
je 0x420008
mov eax, dword [ebp - 4]
mov edx, 0x4201e0
call fcn.004051e0
je 0x420008
mov eax, dword [ebp - 4]
mov edx, 0x4201ec
call fcn.004051e0
je 0x420008
mov eax, dword [ebp - 4]
mov edx, 0x4201f8
call fcn.004051e0
je 0x420008
mov eax, dword [ebp - 4]
mov edx, 0x420204
call fcn.004051e0
je 0x420008
mov eax, dword [ebp - 4]
mov edx, 0x4201d4
call fcn.004051e0
je 0x420008
mov eax, dword [ebp - 4]
mov edx, 0x420210
call fcn.004051e0
je 0x420008
mov eax, dword [ebp - 4]
mov edx, 0x42021c
call fcn.004051e0
je 0x420008
mov eax, dword [ebp - 4]
mov edx, 0x420228
call fcn.004051e0
je 0x420008
mov eax, dword [ebp - 4]
mov edx, 0x420234
call fcn.004051e0
je 0x420008
mov edx, dword [ebp - 4]
mov eax, 0x420240
call fcn.004197c8
test al, al
jne 0x420008
mov edx, dword [ebp - 4]
mov eax, 0x42024c
call fcn.004197c8
test al, al
jne 0x420008
mov edx, dword [ebp - 4]
mov eax, 0x420258
call fcn.004197c8
test al, al
jne 0x420008
mov edx, dword [ebp - 4]
mov eax, 0x420264
call fcn.004197c8
test al, al
jne 0x420008
mov edx, dword [ebp - 4]
mov eax, 0x420270
call fcn.004197c8
test al, al
jne 0x420008
mov edx, dword [ebp - 4]
mov eax, 0x42027c
call fcn.004197c8
test al, al
je 0x420012
mov edx, ebx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x48]
dec ebx
cmp ebx, 0xffffffff
jne 0x41febc
lea ecx, [ebp - 0x54]
mov edx, 0x4201c8
mov eax, dword [ebp - 0xc]
call fcn.00419808
push dword [ebp - 0x54]
push 0x4201c8
lea ecx, [ebp - 0x58]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x78]
mov edx, 0x420288
call fcn.00419808
push dword [ebp - 0x58]
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.00405154
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x4c]
call fcn.00408404
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 8]
add eax, 0x34
call fcn.00404e48
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x30], 0
je 0x420083
xor edx, edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x48]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4200a8
mov eax, dword [ebp - 0x10]
call fcn.00404084
mov eax, dword [ebp - 0xc]
call fcn.00404084
ret