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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x4229c8
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x422e68
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x422db5
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004155c0
lea edx, [ebp - 0x14]
call fcn.00416774
mov eax, 0x422e80
call fcn.004128ac
xor eax, eax
push ebp
push 0x422da1
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004155c0
add eax, 0x20
push eax
call fcn.00422840
pop edx
mov dword [edx + 4], eax
mov dword [edx], 0x42289c
call fcn.004155c0
call fcn.0041693c
dec eax
jle 0x422a9c
call fcn.00412a1c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
lea edx, [ebp - 0x34]
mov ecx, 1
mov eax, 0x422e9c
call fcn.0040bc08
mov eax, dword [ebp - 0xc]
call fcn.00416bb0
push 0x40030
push 0x422ec0
mov eax, dword [ebp - 0xc]
call fcn.0040489c
push eax
push 0
call sub.user32.dll_MessageBoxA_1
call fcn.00403e58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x422e38
call fcn.004155c0
call fcn.00415694
test al, al
jne 0x422ae1
call fcn.00412a1c
mov eax, 0x422ed0
call fcn.00416bb0
push 0x40030
push 0x422ec0
push 0x422ee4
push 0
call sub.user32.dll_MessageBoxA_1
call fcn.00403e58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x422e38
mov eax, 0x422efc
call fcn.00416bb0
call fcn.004155c0
lea edx, [ebp - 0x10]
call fcn.00415e74
cmp dword [ebp - 0x10], 0
jne 0x422b91
call fcn.004155c0
cmp byte [eax + 0x28], 0
je 0x422b28
push 0x40030
push 0x422ec0
push 0x422f0c
push 0
call sub.user32.dll_MessageBoxA_1
jmp 0x422d84
call fcn.004155c0
mov ecx, dword [eax + 8]
lea eax, [ebp - 0x38]
mov edx, 0x422f30
call fcn.004046e8
mov eax, dword [ebp - 0x38]
call fcn.00416bb0
push 0x40030
push 0x422ec0
push 0x422f40
push 0
call sub.user32.dll_MessageBoxA_1
call fcn.00422840
lea ecx, [ebp - 0xc]
mov edx, 0x422f7c
call fcn.004228c8
test al, al
jne 0x422d84
mov eax, 0x422f8c
call fcn.00416bb0
call fcn.00403e58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x422e38
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 0x10]
mov edx, 0x422fa8
call fcn.004046e8
mov eax, dword [ebp - 0x3c]
call fcn.00416bb0
call fcn.004155c0
lea edx, [ebp - 4]
call fcn.00416728
cmp dword [ebp - 4], 0
jne 0x422c45
mov eax, 0x422fc0
call fcn.00416bb0
push 0x40030
push 0x422ec0
lea eax, [ebp - 0x40]
push eax
mov eax, 0x422fe8
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
xor eax, eax
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
lea edx, [ebp - 0x34]
mov ecx, 1
mov eax, 0x422ffc
call fcn.0040bc08
mov eax, dword [ebp - 0x40]
call fcn.0040489c
push eax
push 0
call sub.user32.dll_MessageBoxA_1
call fcn.00422840
lea ecx, [ebp - 0xc]
mov edx, 0x422f7c
call fcn.004228c8
test al, al
jne 0x422d84
mov eax, 0x423050
call fcn.00416bb0
call fcn.00403e58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x422e38
mov eax, 0x42306c
call fcn.00416bb0
lea eax, [ebp - 0x44]
mov ecx, 0x42308c
mov edx, dword [ebp - 4]
call fcn.004046e8
mov eax, dword [ebp - 0x44]
xor edx, edx
call fcn.00414ac0
test al, al
jne 0x422d1c
mov eax, 0x4230a4
call fcn.00416bb0
mov eax, 0x4230d4
call fcn.004128ac
call fcn.00422840
call fcn.004231d0
test al, al
jne 0x422d84
mov eax, 0x4230f8
call fcn.00416bb0
push 0x40030
push 0x422ec0
lea eax, [ebp - 0x48]
push eax
mov eax, 0x42312c
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
xor eax, eax
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
lea edx, [ebp - 0x34]
mov eax, 0x422ffc
mov ecx, 1
call fcn.0040bc08
mov eax, dword [ebp - 0x48]
call fcn.0040489c
push eax
push 0
call sub.user32.dll_MessageBoxA_1
call fcn.00422840
lea ecx, [ebp - 0xc]
mov edx, 0x422f7c
call fcn.004228c8
test al, al
jne 0x422d84
mov eax, 0x423050
call fcn.00416bb0
call fcn.00403e58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x422e38
push 0x423140
push dword [ebp - 4]
push 0x42308c
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.0040475c
mov eax, dword [ebp - 0x4c]
call fcn.00416bb0
lea eax, [ebp - 0x50]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004048f4
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 8]
mov ecx, 0x423150
call fcn.004046e8
mov eax, dword [ebp - 8]
call fcn.0040489c
push eax
call sub.kernel32.dll_GetFileAttributesA
or eax, 2
push eax
mov eax, dword [ebp - 8]
call fcn.0040489c
push eax
call sub.kernel32.dll_SetFileAttributesA
mov eax, 0x423168
call fcn.00416bb0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x422da8
call fcn.00412a1c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x422e6f
lea eax, [ebp - 0x54]
mov edx, 8
call fcn.004043f0
lea eax, [ebp - 0x24]
call fcn.004043cc
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.004043f0
ret