Function at 0x427ab0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47229a
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x49ab20]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0xb8], 0
cmp dword [ebp + 0x24], 0
jne 0x427afe
cmp dword [ebp + 0xc], 0
jne 0x427afe
xor al, al
jmp 0x428067
lea ecx, [ebp - 0x6c]
call fcn.0042d420
mov dword [ebp - 4], 0
movzx eax, word [ebp + 8]
push eax
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, dword [ebp - 0x14c]
call fcn.004262b0
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x14]
call fcn.00405330
mov byte [ebp - 4], 1
cmp dword [ebp + 0x14], 0
je 0x427b42
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x150], eax
jmp 0x427b90
lea ecx, [ebp - 0x98]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.0042e470
mov dword [ebp - 0x154], eax
mov edx, dword [ebp - 0x154]
mov dword [ebp - 0xc4], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xb8]
or eax, 1
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x150], ecx
mov edx, dword [ebp - 0xc4]
mov eax, dword [edx]
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x150]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00405330
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0xb8]
and edx, 1
je 0x427bd2
and dword [ebp - 0xb8], 0xfffffffe
mov eax, dword [ebp - 0x98]
sub eax, 0x10
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xd4]
call fcn.00403d70
push 0x485864
lea ecx, [ebp - 0x14]
call fcn.0040c610
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
je 0x427c39
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xe8], edx
mov eax, dword [ebp - 0xe8]
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.004274c0
add esp, 8
mov dword [ebp - 0x158], eax
mov edx, dword [ebp - 0x158]
mov dword [ebp - 0x15c], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xb8]
or eax, 2
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0x15c]
mov dword [ebp - 0x160], ecx
jmp 0x427c8c
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xec], edx
mov eax, dword [ebp - 0xec]
push eax
lea ecx, [ebp - 0xa4]
push ecx
call fcn.004275e0
add esp, 8
mov dword [ebp - 0x164], eax
mov edx, dword [ebp - 0x164]
mov dword [ebp - 0x168], edx
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0xb8]
or eax, 4
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0x160], ecx
mov edx, dword [ebp - 0x160]
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x9c]
push eax
push 0x485864
lea ecx, [ebp - 0xa8]
push ecx
call fcn.00415270
add esp, 0xc
mov dword [ebp - 0x16c], eax
mov edx, dword [ebp - 0x16c]
mov dword [ebp - 0xf8], edx
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0xf8]
mov ecx, dword [eax]
mov edx, dword [ecx - 0xc]
mov dword [ebp - 0xf0], edx
mov eax, dword [ebp - 0xf8]
mov ecx, dword [eax]
mov dword [ebp - 0xf4], ecx
mov edx, dword [ebp - 0xf0]
push edx
mov eax, dword [ebp - 0xf4]
push eax
lea ecx, [ebp - 0x14]
call fcn.00404bc0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xa8]
sub ecx, 0x10
mov dword [ebp - 0xfc], ecx
mov ecx, dword [ebp - 0xfc]
call fcn.00403d70
mov dword [ebp - 4], 5
mov edx, dword [ebp - 0xb8]
and edx, 4
je 0x427d52
and dword [ebp - 0xb8], 0xfffffffb
mov eax, dword [ebp - 0xa4]
sub eax, 0x10
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0x100]
call fcn.00403d70
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0xb8]
and ecx, 2
je 0x427d85
and dword [ebp - 0xb8], 0xfffffffd
mov edx, dword [ebp - 0xa0]
sub edx, 0x10
mov dword [ebp - 0x104], edx
mov ecx, dword [ebp - 0x104]
call fcn.00403d70
movzx eax, word [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14c]
call fcn.00427a20
movzx ecx, al
test ecx, ecx
je 0x427df4
mov edx, dword [ebp - 0x14]
push edx
call fcn.00427700
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov byte [ebp - 0xa9], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0040ab90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040ab90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.0042d4d0
mov al, byte [ebp - 0xa9]
jmp 0x428067
movzx edx, word [ebp + 8]
push edx
mov ecx, dword [ebp - 0x14c]
call fcn.004264b0
movzx eax, al
test eax, eax
jne 0x427e44
mov byte [ebp - 0xaa], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0040ab90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040ab90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.0042d4d0
mov al, byte [ebp - 0xaa]
jmp 0x428067
cmp dword [ebp + 0x20], 0
je 0x427e54
mov ecx, dword [ebp - 0x14]
push ecx
call dword [ebp + 0x20]
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x118], edx
mov eax, dword [ebp - 0x118]
push eax
lea ecx, [ebp - 0xb0]
push ecx
call fcn.00427330
add esp, 8
mov dword [ebp - 0x170], eax
mov edx, dword [ebp - 0x170]
mov dword [ebp - 0x11c], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax]
mov dword [ebp - 0x120], ecx
mov edx, dword [ebp - 0x120]
push edx
call fcn.00427700
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb0]
call fcn.0040ab90
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x128], eax
push 0x1021
mov ecx, dword [ebp - 0x128]
push ecx
lea ecx, [ebp - 0x84]
call fcn.0042f5f6
mov byte [ebp - 4], 9
cmp dword [ebp + 0x18], 0
je 0x427eef
lea ecx, [ebp - 0x6c]
call fcn.0042e3c0
mov dword [ebp - 0x174], eax
jmp 0x427ef9
mov dword [ebp - 0x174], 0
mov edx, dword [ebp - 0x174]
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x70], 0
push 0
mov eax, dword [ebp + 0x24]
push eax
lea ecx, [ebp - 0x90]
call fcn.0042af90
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x130], edx
mov eax, dword [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x130]
push ecx
mov ecx, dword [ebp - 0x14c]
call fcn.00426760
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
je 0x427fb3
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x134], edx
mov eax, dword [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x134]
push ecx
lea ecx, [ebp - 0x84]
call fcn.0042ed34
mov edx, dword [ebp - 0x70]
add edx, dword [ebp - 0x94]
mov dword [ebp - 0x70], edx
cmp dword [ebp + 0x18], 0
je 0x427fb3
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp - 0x94]
push ecx
mov edx, dword [ebp - 0x74]
push edx
call dword [ebp + 0x18]
add esp, 0xc
movzx eax, al
test eax, eax
jne 0x427fb3
jmp 0x427fd1
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x138], ecx
mov edx, dword [ebp - 0x94]
cmp edx, dword [ebp - 0x138]
je 0x427f1e
lea eax, [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x14c]
call fcn.00426ae0
sub eax, 1
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0xb1], al
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x90]
call fcn.0042afd0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x84]
call fcn.0042f0ea
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0040ab90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040ab90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.0042d4d0
mov al, byte [ebp - 0xb1]
jmp 0x428067
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004522e0
mov esp, ebp
pop ebp
ret 0x20