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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff80
mov eax, 0x4afbec
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
call fcn.00499b88
mov dword [ebp - 0x5c], 2
lea edx, [ebp + 0x10]
lea eax, [ebp + 0x10]
call fcn.004a4af0
inc dword [ebp - 0x5c]
lea edx, [ebp + 0xc]
mov word [ebp - 0x68], 8
lea eax, [ebp + 0xc]
call fcn.004a4af0
inc dword [ebp - 0x5c]
xor edx, edx
mov word [ebp - 0x68], 0x14
mov dword [ebp - 0xc], edx
mov eax, dword [0x4b7534]
inc dword [ebp - 0x5c]
lea edx, [ebp - 0xc]
mov eax, dword [eax]
call fcn.00446220
lea eax, [ebp - 0xc]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 4], edx
lea edx, [ebp - 4]
inc dword [ebp - 0x5c]
call fcn.004852e0
dec dword [ebp - 0x5c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004a4bd4
mov word [ebp - 0x68], 8
mov word [ebp - 0x68], 0x20
mov edx, 0x4aed9d
lea eax, [ebp - 0x10]
call fcn.004a4ab8
inc dword [ebp - 0x5c]
lea edx, [ebp - 0x10]
lea eax, [ebp + 0x10]
call fcn.004a4e3c
cmp eax, 2
lea eax, [ebp - 0x10]
setne cl
and ecx, 1
mov edx, 2
push ecx
dec dword [ebp - 0x5c]
call fcn.004a4bd4
pop ecx
test cl, cl
je 0x4150c6
mov word [ebp - 0x68], 0x2c
xor eax, eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
inc dword [ebp - 0x5c]
lea edx, [ebp + 0x10]
lea eax, [ebp - 4]
call fcn.004a4c2c
lea edx, [ebp - 0x14]
lea eax, [ebp + 0x10]
call fcn.004a4c04
dec dword [ebp - 0x5c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004a4bd4
mov word [ebp - 0x68], 0x38
xor ecx, ecx
mov dword [ebp - 8], ecx
lea edx, [ebp - 8]
inc dword [ebp - 0x5c]
mov eax, dword [ebp + 0x10]
call fcn.004852e0
mov word [ebp - 0x68], 8
mov eax, dword [ebp - 8]
call fcn.004851fc
test al, al
jne 0x4150f9
mov eax, dword [ebp - 8]
call fcn.0048547c
mov eax, dword [ebp + 0x10]
call fcn.004851ec
test al, al
je 0x415143
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x415111
mov ecx, dword [ebp + 0x10]
jmp 0x415116
mov ecx, 0x4aed9f
push ecx
call sub.KERNEL32.DLL_GetFileAttributesA
test al, 1
je 0x41513b
and eax, 0xfffffffe
push eax
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x415130
mov edx, dword [ebp + 0x10]
jmp 0x415135
mov edx, 0x4aeda0
push edx
call sub.KERNEL32.DLL_SetFileAttributesA
mov eax, dword [ebp + 0x10]
call fcn.004a4a00
xor edx, edx
mov eax, dword [ebp + 0xc]
call fcn.00485058
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x10]
call fcn.004850b4
mov dword [ebp - 0x80], eax
mov word [ebp - 0x68], 0x44
mov edx, dword [ebp - 0x7c]
inc edx
je 0x415389
mov ecx, dword [ebp - 0x80]
inc ecx
je 0x415389
mov ecx, 2
xor edx, edx
mov eax, dword [ebp - 0x7c]
call fcn.00485138
mov edi, eax
mov word [ebp - 0x68], 0x44
mov eax, dword [ebp - 0x7c]
call fcn.0048517c
mov dword [ebp - 0x7c], 0xffffffff
mov eax, dword [ebp - 0x80]
call fcn.0048517c
mov dword [ebp - 0x80], 0xffffffff
mov ecx, dword [ebx + 0x38]
mov dl, 1
mov eax, dword [0x4aeb1c]
call fcn.00413870
mov esi, eax
mov eax, dword [ebx + 0x444]
mov edx, esi
call fcn.004776a8
mov ecx, dword [ebx + 0x444]
mov eax, dword [ecx + 8]
dec eax
mov dword [esi + 0x30], eax
lea edx, [ebp + 0xc]
lea eax, [esi + 0x444]
call fcn.004a4c04
lea edx, [ebp + 0x10]
lea eax, [esi + 0x448]
call fcn.004a4c04
mov dword [esi + 0x44c], edi
xor edx, edx
mov dword [esi + 0x450], edx
mov dword [esi + 0x454], edi
mov dword [esi + 0x34], 5
mov dword [esi + 0x460], 0x415a7c
mov dword [esi + 0x464], ebx
mov eax, esi
mov dword [esi + 0x468], 0x415aa8
mov dword [esi + 0x46c], ebx
mov dword [esi + 0x470], 0x415ad4
mov dword [esi + 0x474], ebx
call fcn.0047fae0
mov word [ebp - 0x68], 0x50
mov edx, 0x4aedc6
lea eax, [ebp - 0x2c]
call fcn.004a4ab8
inc dword [ebp - 0x5c]
xor ecx, ecx
mov edx, dword [eax]
lea eax, [ebp - 0x30]
push edx
push 0
mov dword [ebp - 0x30], ecx
push eax
inc dword [ebp - 0x5c]
lea eax, [ebp - 0x28]
mov edx, str.INFO_UPDATEFILESUCCESS
call fcn.004a4ab8
inc dword [ebp - 0x5c]
mov edx, dword [eax]
push edx
mov edx, 0x4aeda4
lea eax, [ebp - 0x24]
call fcn.004a4ab8
inc dword [ebp - 0x5c]
mov ecx, dword [eax]
push ecx
call fcn.00401818
pop edx
pop ecx
call fcn.00405408
lea eax, [ebp - 0x30]
push eax
mov edx, 0x4aeda1
lea eax, [ebp - 0x18]
call fcn.004a4ab8
inc dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebx + 0x464]
inc dword [ebp - 0x5c]
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x1c]
call fcn.004a4c2c
lea eax, [ebp - 0x1c]
xor edx, edx
mov dword [ebp - 0x20], edx
lea ecx, [ebp - 0x20]
inc dword [ebp - 0x5c]
lea edx, [ebx + 0x468]
call fcn.004a4c2c
lea eax, [ebp - 0x20]
xor ecx, ecx
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x34]
inc dword [ebp - 0x5c]
pop edx
call fcn.004a4c2c
lea edx, [ebp - 0x34]
lea eax, [ebx + 0x448]
call fcn.004a4c04
dec dword [ebp - 0x5c]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x5c]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x5c]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x5c]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x5c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x5c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x5c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x5c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004a4bd4
jmp 0x41552e
mov ecx, dword [ebp - 0x7c]
inc ecx
jne 0x41545e
mov eax, dword [ebp - 0x80]
call fcn.0048517c
mov dword [ebp - 0x80], 0xffffffff
mov word [ebp - 0x68], 0x5c
mov edx, 0x4aedf6
lea eax, [ebp - 0x40]
call fcn.004a4ab8
inc dword [ebp - 0x5c]
xor ecx, ecx
mov edx, dword [eax]
lea eax, [ebp - 0x44]
push edx
push 0
mov dword [ebp - 0x44], ecx
push eax
inc dword [ebp - 0x5c]
lea eax, [ebp - 0x3c]
mov edx, str.INFO_OPENREMOTEFILEFAIL
call fcn.004a4ab8
inc dword [ebp - 0x5c]
mov edx, dword [eax]
push edx
mov edx, 0x4aedd3
lea eax, [ebp - 0x38]
call fcn.004a4ab8
inc dword [ebp - 0x5c]
mov ecx, dword [eax]
push ecx
call fcn.00401818
pop edx
pop ecx
call fcn.00405408
lea edx, [ebp - 0x44]
lea eax, [ebx + 0x448]
call fcn.004a4c04
dec dword [ebp - 0x5c]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x5c]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x5c]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x5c]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.004a4bd4
mov ecx, dword [ebx + 0x448]
mov edx, dword [ebx + 0x38]
mov eax, ebx
call fcn.00415ad4
jmp 0x41552e
mov ecx, dword [ebp - 0x80]
inc ecx
jne 0x41552e
mov eax, dword [ebp - 0x7c]
call fcn.0048517c
mov dword [ebp - 0x7c], 0xffffffff
mov word [ebp - 0x68], 0x68
mov edx, 0x4aee2b
lea eax, [ebp - 0x50]
call fcn.004a4ab8
inc dword [ebp - 0x5c]
xor ecx, ecx
mov edx, dword [eax]
lea eax, [ebp - 0x54]
push edx
push 0
mov dword [ebp - 0x54], ecx
push eax
inc dword [ebp - 0x5c]
lea eax, [ebp - 0x4c]
mov edx, str.INFO_CREATELOCALFILEFAIL
call fcn.004a4ab8
inc dword [ebp - 0x5c]
mov edx, dword [eax]
push edx
mov edx, 0x4aee07
lea eax, [ebp - 0x48]
call fcn.004a4ab8
inc dword [ebp - 0x5c]
mov ecx, dword [eax]
push ecx
call fcn.00401818
pop edx
pop ecx
call fcn.00405408
lea edx, [ebp - 0x54]
lea eax, [ebx + 0x448]
call fcn.004a4c04
dec dword [ebp - 0x5c]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x5c]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x5c]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x5c]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004a4bd4
mov ecx, dword [ebx + 0x448]
mov edx, dword [ebx + 0x38]
mov eax, ebx
call fcn.00415ad4
mov word [ebp - 0x68], 8
mov ecx, dword [ebp - 0x7c]
inc ecx
je 0x415549
mov eax, dword [ebp - 0x7c]
call fcn.0048517c
mov dword [ebp - 0x7c], 0xffffffff
mov edx, dword [ebp - 0x80]
inc edx
je 0x41555e
mov eax, dword [ebp - 0x80]
call fcn.0048517c
mov dword [ebp - 0x80], 0xffffffff
cmp word [ebp - 0x66], 0
je 0x415566
ret
dec dword [ebp - 0x5c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x5c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x5c]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x5c]
lea eax, [ebp + 0x10]
mov edx, 2
call fcn.004a4bd4
mov ecx, dword [ebp - 0x78]
mov dword fs:[0], ecx
mov esp, ebp
mov edi, dword [ebp - 0x8c]
mov esi, dword [ebp - 0x88]
mov ebx, dword [ebp - 0x84]
pop ebp
ret