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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570518
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x5bda40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 4], 3
mov eax, dword [ebp + 8]
sub eax, 1
mov dword [ebp + 8], eax
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x30]
call fcn.0051de71
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
call fcn.00410610
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14]
call fcn.00410610
mov byte [ebp - 4], 6
mov dword [ebp - 0x10], 0
push 1
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp + 0x10]
call fcn.00406c40
mov dword [ebp - 0x80], eax
push 0x58a3d0
mov edx, dword [ebp - 0x80]
push edx
call fcn.00406fe0
add esp, 8
mov byte [ebp - 0x3d], al
lea ecx, [ebp - 0x44]
call fcn.004072c0
movzx eax, byte [ebp - 0x3d]
test eax, eax
je 0x4e70df
push 0x58a3d4
lea ecx, [ebp + 0x10]
call fcn.00406a60
mov ecx, dword [ebp + 0x10]
push ecx
push 0x58a3d8
lea edx, [ebp - 0x14]
push edx
call fcn.004089d0
add esp, 0xc
push 0
lea ecx, [ebp - 0x14]
call fcn.004072e0
push eax
lea ecx, [ebp - 0x30]
call fcn.0051deec
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4e740d
lea ecx, [ebp - 0x30]
call fcn.0051dcc3
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x30]
call fcn.00409330
test eax, eax
je 0x4e725f
lea ecx, [ebp - 0x30]
call fcn.0051de32
test eax, eax
je 0x4e713d
jmp 0x4e710a
cmp dword [ebp + 8], 0
jne 0x4e7145
jmp 0x4e710a
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x30]
call fcn.0051e0eb
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x88], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x88]
push edx
lea ecx, [ebp - 0x18]
call fcn.00406980
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.004072c0
lea ecx, [ebp - 0x30]
call fcn.00449630
test eax, eax
je 0x4e71b0
lea ecx, [ebp - 0x18]
call fcn.004072e0
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
and eax, 0xfffffffe
push eax
lea ecx, [ebp - 0x18]
call fcn.004072e0
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
lea eax, [ebp + 0x1c]
push eax
call fcn.004068e0
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x90], ecx
mov byte [ebp - 4], 8
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
lea edx, [ebp + 0x18]
push edx
call fcn.004068e0
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 9
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
lea edx, [ebp + 0x14]
push edx
call fcn.004068e0
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], eax
mov byte [ebp - 4], 0xa
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
lea edx, [ebp - 0x18]
push edx
call fcn.004068e0
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x7c]
call fcn.004e7030
mov dword [ebp - 0xa8], eax
mov edx, dword [ebp - 0x34]
add edx, dword [ebp - 0xa8]
mov dword [ebp - 0x34], edx
jmp 0x4e7408
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x30]
call fcn.0051e0eb
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0xb0], ecx
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0xb0]
push edx
lea ecx, [ebp - 0x18]
call fcn.00406980
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x5c]
call fcn.004072c0
lea ecx, [ebp - 0x18]
call fcn.00406bb0
push 4
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x18]
call fcn.00406c40
mov dword [ebp - 0xb4], eax
push 0x58a3e4
mov ecx, dword [ebp - 0xb4]
push ecx
call fcn.0042beb0
add esp, 8
mov byte [ebp - 0x5d], al
lea ecx, [ebp - 0x64]
call fcn.004072c0
movzx edx, byte [ebp - 0x5d]
test edx, edx
je 0x4e7408
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x3c], 0
jmp 0x4e72fc
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp + 0xc]
call fcn.004478e0
cmp dword [ebp - 0x3c], eax
jge 0x4e7337
push 0
mov ecx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00408a80
mov ecx, eax
call fcn.004072e0
push eax
lea ecx, [ebp + 0x14]
call fcn.00406ae0
cmp eax, 0xffffffff
je 0x4e7335
mov dword [ebp - 0x38], 0
jmp 0x4e7337
jmp 0x4e72f3
cmp dword [ebp - 0x38], 0
je 0x4e7408
lea ecx, [ebp - 0x30]
call fcn.00449630
test eax, eax
je 0x4e736f
lea ecx, [ebp - 0x18]
call fcn.004072e0
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
and eax, 0xfffffffe
push eax
lea ecx, [ebp - 0x18]
call fcn.004072e0
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
mov edx, dword [ebp - 0x34]
add edx, 1
mov dword [ebp - 0x34], edx
push ecx
mov ecx, esp
mov dword [ebp - 0x68], esp
lea eax, [ebp + 0x18]
push eax
call fcn.004068e0
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], ecx
mov byte [ebp - 4], 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x6c], esp
lea edx, [ebp + 0x14]
push edx
call fcn.004068e0
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 0xd
push ecx
mov ecx, esp
mov dword [ebp - 0x70], esp
lea edx, [ebp + 0x1c]
push edx
call fcn.004068e0
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], eax
mov byte [ebp - 4], 0xe
push ecx
mov ecx, esp
mov dword [ebp - 0x74], esp
lea edx, [ebp - 0x18]
push edx
call fcn.004068e0
mov dword [ebp - 0xd0], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x7c]
call fcn.004e7490
jmp 0x4e710a
lea ecx, [ebp - 0x30]
call fcn.0051dbdd
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14]
call fcn.004072c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
call fcn.004072c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.0051de9a
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x10]
call fcn.004072c0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x14]
call fcn.004072c0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x18]
call fcn.004072c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x1c]
call fcn.004072c0
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x18