Function at 0x42c058
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x42c566
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [0x443870]
call fcn.0040a82c
test al, al
jne 0x42c0c0
call sub.kernel32.dll_GetLastError
cmp eax, 5
jne 0x42c0c0
mov eax, dword [0x443870]
call fcn.00404b60
mov ebx, eax
push ebx
call sub.kernel32.dll_GetFileAttributesA
and eax, 0xfffffffe
push eax
push ebx
call sub.kernel32.dll_SetFileAttributesA
mov eax, dword [0x443870]
call fcn.0040a82c
mov dl, 1
mov eax, dword [0x413d3c]
call fcn.004038a0
mov dword [ebp - 0x18], eax
mov edx, 0x438488
mov ecx, 0x660
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov edx, 0x438ae8
mov ecx, 0x45c
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov edx, 0x438f44
mov ecx, 0x2cc
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov ebx, 8
mov esi, 0x442654
mov edx, esi
mov ecx, 0x65
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0x10]
add esi, 0x65
dec ebx
jne 0x42c10f
mov edx, 0x439214
mov ecx, 0x600
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov ebx, 8
mov esi, 0x439814
mov edx, esi
mov ecx, 0x394
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0x10]
add esi, 0x394
dec ebx
jne 0x42c140
mov ebx, 8
mov esi, 0x43b4b4
mov edx, esi
mov ecx, 0x39c
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0x10]
add esi, 0x39c
dec ebx
jne 0x42c162
mov edx, 0x43d194
mov ecx, 0x10
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov ebx, 6
mov esi, 0x43d1a4
mov edx, esi
mov ecx, 0x3fc
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0x10]
add esi, 0x3fc
dec ebx
jne 0x42c196
mov ebx, 4
mov esi, 0x440384
mov edx, esi
mov ecx, 0x464
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0x10]
add esi, 0x464
dec ebx
jne 0x42c1b8
mov edx, 0x441514
mov ecx, 0x1a8
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov ebx, 4
mov esi, 0x4416bc
mov edx, esi
mov ecx, 0x134
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0x10]
add esi, 0x134
dec ebx
jne 0x42c1ec
mov ebx, 4
mov esi, 0x441b8c
mov edx, esi
mov ecx, 0x70
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0x10]
add esi, 0x70
dec ebx
jne 0x42c20e
mov ebx, 4
mov esi, 0x441d4c
mov edx, esi
mov ecx, 0x6c
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0x10]
add esi, 0x6c
dec ebx
jne 0x42c22d
mov ebx, 8
mov esi, 0x441efc
mov edx, esi
mov ecx, 0xd0
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0x10]
add esi, 0xd0
dec ebx
jne 0x42c24c
mov ebx, 2
mov esi, 0x44257c
mov edx, esi
mov ecx, 0x6c
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0x10]
add esi, 0x6c
dec ebx
jne 0x42c26e
mov edx, 0x44297c
mov ecx, 0x404
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [0x4436f8]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x42c2c8
inc esi
xor ebx, ebx
mov edx, ebx
mov eax, dword [0x4436f8]
call fcn.00414944
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov ecx, 0x2c8
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0x10]
inc ebx
dec esi
jne 0x42c2a5
mov eax, dword [0x4436fc]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x42c2fb
inc esi
xor ebx, ebx
mov edx, ebx
mov eax, dword [0x4436fc]
call fcn.00414944
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov ecx, 0x2c8
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0x10]
inc ebx
dec esi
jne 0x42c2d8
mov ebx, 6
mov esi, 0x43e98c
mov edx, esi
mov ecx, 0x454
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0x10]
add esi, 0x454
dec ebx
jne 0x42c305
mov edx, 0x442d80
mov ecx, 0x910
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov edx, 0x443690
mov ecx, 0x28
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov ebx, 8
mov esi, 0x4436b8
mov edx, esi
mov ecx, 8
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0x10]
add esi, 8
dec ebx
jne 0x42c34b
mov dword [ebp - 0x64], 2
xor eax, eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx]
mov edx, eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
call fcn.00429400
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x58], eax
xor eax, eax
push ebp
push 0x42c549
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x42c4ba
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffff
mov ecx, dword [0x443870]
mov dl, 1
mov eax, dword [0x413c4c]
call fcn.004166a8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov cl, 3
mov dl, 1
mov eax, dword [0x4202bc]
call fcn.00420638
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x64]
mov ecx, 0x40
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov ecx, dword [0x44386c]
mov dl, 1
mov eax, dword [0x41e870]
call fcn.0041e920
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x42c4a5
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x42c485
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
call fcn.0042b598
lea eax, [ebp - 0xc]
call fcn.0041fc58
mov eax, dword [ebp - 0xc]
push eax
mov ecx, 0x42c580
mov edx, 0x42c590
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 4]
call fcn.0040bbbc
add esp, 0xfffffff8
fstp qword [esp]
wait
mov ecx, 0x42c5a0
mov edx, 0x42c590
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 0x30]
mov byte [0x438480], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x42c48f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c4ac
mov eax, dword [ebp - 0x20]
call fcn.004038d0
ret