Function at 0x4cf750
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x695e10
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x737100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x164], ecx
mov eax, dword [fcn.004d0b80]
mov dword [ebp - 0x7c], eax
mov ecx, dword [fcn.004d0bc0]
mov dword [ebp - 0x78], ecx
mov edx, dword [fcn.004d0b80]
mov dword [ebp - 0x28], edx
mov eax, dword [fcn.004d0bc0]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x140], 0
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x54]
push edx
call fcn.004d5890
add esp, 8
test eax, eax
je 0x4cf7d2
xor al, al
jmp 0x4cfdb1
lea eax, [ebp - 0x5c]
push eax
call fcn.004d53f0
add esp, 4
push 0
lea ecx, [ebp - 0xac]
push ecx
call fcn.004d0d50
add esp, 8
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x134], 0
push 0x40000
lea edx, [ebp - 0x7c]
push edx
call dword [ebp - 0x7c]
add esp, 8
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
jne 0x4cf82d
mov dword [ebp - 0x134], 2
jmp 0x4cf856
mov dword [ebp - 0x8c], 0x40000
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x94], 0
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x98], ecx
call fcn.004d5900
lea edx, [ebp - 0x12c]
push edx
call fcn.004d2ca0
add esp, 4
cmp dword [ebp - 0x134], 0
jne 0x4cf897
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x7c]
push ecx
lea edx, [ebp - 0xac]
push edx
lea eax, [ebp - 0x12c]
push eax
call fcn.004d2d60
add esp, 0x10
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
jne 0x4cfd4b
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x130], 0
jmp 0x4cf8d7
mov ecx, dword [ebp - 0x130]
add ecx, 1
mov dword [ebp - 0x130], ecx
mov edx, dword [ebp - 0x130]
cmp edx, dword [ebp - 0xec]
jae 0x4cfd3a
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x130]
shr eax, 3
mov ecx, dword [ebp - 0xe4]
movzx edx, byte [ecx + eax]
mov ecx, dword [ebp - 0x130]
and ecx, 7
mov eax, 0x80
sar eax, cl
and edx, eax
je 0x4cf92d
mov dword [ebp - 0x150], 1
jmp 0x4cf937
mov dword [ebp - 0x150], 0
mov ecx, dword [ebp - 0x150]
mov dword [ebp - 0x154], ecx
push 0
mov edx, dword [ebp - 0x130]
push edx
lea eax, [ebp - 0x12c]
push eax
call fcn.004d2c20
add esp, 0xc
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp - 0x144]
cmp ecx, dword [ebp - 0x140]
jbe 0x4cf9bd
mov edx, dword [ebp - 0x138]
push edx
push 0
call fcn.004d0bc0
add esp, 8
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x140], eax
mov ecx, dword [ebp - 0x140]
shl ecx, 1
push ecx
push 0
call fcn.004d0b80
add esp, 8
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0
jne 0x4cf9bd
mov dword [ebp - 0x134], 2
jmp 0x4cfd3a
mov edx, dword [ebp - 0x138]
push edx
mov eax, dword [ebp - 0x130]
push eax
lea ecx, [ebp - 0x12c]
push ecx
call fcn.004d2c20
add esp, 0xc
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x88]
push edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x84]
push ecx
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x130]
push eax
lea ecx, [ebp - 0xac]
push ecx
lea edx, [ebp - 0x12c]
push edx
call fcn.004d28f0
add esp, 0x28
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
je 0x4cfa2d
jmp 0x4cfd3a
mov eax, dword [ebp - 0x144]
push eax
mov ecx, dword [ebp - 0x138]
push ecx
lea ecx, [ebp - 0x74]
call fcn.004cf4e0
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x40]
call fcn.004cf470
mov byte [ebp - 4], 1
push 0x6ab9e0
lea ecx, [ebp - 0x40]
call fcn.004cf5d0
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x40]
call fcn.00421e20
cmp dword [ebp - 0x154], 0
je 0x4cfa89
push 0x6ab9e4
lea ecx, [ebp - 0x40]
call fcn.004cf5d0
lea ecx, [ebp - 0x40]
push ecx
call fcn.004cf630
add esp, 4
cmp dword [ebp - 0x154], 0
je 0x4cfac0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00403030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.00403030
jmp 0x4cf8c8
lea ecx, [ebp - 0x40]
call fcn.00403020
push eax
lea edx, [ebp - 0x80]
push edx
call fcn.004d58b0
add esp, 8
test eax, eax
je 0x4cfb03
mov dword [ebp - 0x134], 0xb
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00403030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.00403030
jmp 0x4cfd3a
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x84]
add edx, dword [ebp - 0x88]
push edx
lea eax, [ebp - 0x80]
push eax
call fcn.004d57d0
add esp, 0xc
test eax, eax
jne 0x4cfb32
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x14]
je 0x4cfb5c
mov dword [ebp - 0x134], 0xb
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00403030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.00403030
jmp 0x4cfd3a
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x14c], 0
cmp dword [ebp - 0xd0], 0
je 0x4cfbd5
mov edx, dword [ebp - 0x130]
shr edx, 3
mov eax, dword [ebp - 0xd0]
movzx edx, byte [eax + edx]
mov ecx, dword [ebp - 0x130]
and ecx, 7
mov eax, 0x80
sar eax, cl
and edx, eax
je 0x4cfbd5
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0xcc]
lea eax, [edx + ecx*8]
mov dword [ebp - 0x158], eax
mov ecx, dword [ebp - 0x158]
mov edx, dword [ecx]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x44], ecx
lea edx, [ebp - 0x48]
mov dword [ebp - 0x148], edx
cmp dword [ebp - 0xc8], 0
je 0x4cfc3a
mov eax, dword [ebp - 0x130]
shr eax, 3
mov ecx, dword [ebp - 0xc8]
movzx edx, byte [ecx + eax]
mov ecx, dword [ebp - 0x130]
and ecx, 7
mov eax, 0x80
sar eax, cl
and edx, eax
je 0x4cfc3a
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0xc4]
lea eax, [edx + ecx*8]
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 0x15c]
mov edx, dword [ecx]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x15c]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x4c], ecx
lea edx, [ebp - 0x50]
mov dword [ebp - 0x14c], edx
cmp dword [ebp - 0x148], 0
jne 0x4cfc4c
cmp dword [ebp - 0x14c], 0
je 0x4cfc66
mov eax, dword [ebp - 0x148]
push eax
push 0
mov ecx, dword [ebp - 0x14c]
push ecx
mov edx, dword [ebp - 0x80]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
lea eax, [ebp - 0x80]
push eax
call fcn.004d5510
add esp, 4
test eax, eax
je 0x4cfca0
mov dword [ebp - 0x134], 0xb
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00403030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.00403030
jmp 0x4cfd3a
cmp dword [ebp - 0xd8], 0
je 0x4cfd1a
mov ecx, dword [ebp - 0x130]
shr ecx, 3
mov edx, dword [ebp - 0xd8]
movzx eax, byte [edx + ecx]
mov ecx, dword [ebp - 0x130]
and ecx, 7
mov edx, 0x80
sar edx, cl
and eax, edx
je 0x4cfd1a
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0x13c], edx
mov eax, dword [ebp - 0x13c]
and eax, 0xf0000000
je 0x4cfd04
mov ecx, dword [ebp - 0x13c]
and ecx, 0x7fff
mov dword [ebp - 0x13c], ecx
mov edx, dword [ebp - 0x13c]
push edx
lea ecx, [ebp - 0x40]
call fcn.00403020
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00403030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.00403030
jmp 0x4cf8c8
mov eax, dword [ebp - 0x84]
push eax
lea ecx, [ebp - 0x7c]
push ecx
call dword [ebp - 0x78]
add esp, 8
mov edx, dword [ebp - 0x138]
push edx
push 0
call fcn.004d0bc0
add esp, 8
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x12c]
push ecx
call fcn.004d2b20
add esp, 8
mov edx, dword [ebp - 0x90]
push edx
lea eax, [ebp - 0x7c]
push eax
call dword [ebp - 0x78]
add esp, 8
lea ecx, [ebp - 0x54]
push ecx
call fcn.004d5510
add esp, 4
cmp dword [ebp - 0x134], 0
jne 0x4cfda1
mov dword [ebp - 0x160], 1
jmp 0x4cfdab
mov dword [ebp - 0x160], 0
mov al, byte [ebp - 0x160]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004815ec
mov esp, ebp
pop ebp
ret 8