Function at 0x4fd5e0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x748d50
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x82384c]
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.004fdc60]
mov dword [ebp - 0x7c], eax
mov ecx, dword [fcn.004fdca0]
mov dword [ebp - 0x78], ecx
mov edx, dword [fcn.004fdc60]
mov dword [ebp - 0x28], edx
mov eax, dword [fcn.004fdca0]
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.00502970
add esp, 8
test eax, eax
je 0x4fd662
xor al, al
jmp 0x4fdc41
lea eax, [ebp - 0x5c]
push eax
call fcn.005024d0
add esp, 4
push 0
lea ecx, [ebp - 0xac]
push ecx
call fcn.004fde30
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 0x4fd6bd
mov dword [ebp - 0x134], 2
jmp 0x4fd6e6
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.005029e0
lea edx, [ebp - 0x12c]
push edx
call fcn.004ffd80
add esp, 4
cmp dword [ebp - 0x134], 0
jne 0x4fd727
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.004ffe40
add esp, 0x10
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
jne 0x4fdbdb
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x130], 0
jmp 0x4fd767
mov ecx, dword [ebp - 0x130]
add ecx, 1
mov dword [ebp - 0x130], ecx
mov edx, dword [ebp - 0x130]
cmp edx, dword [ebp - 0xec]
jae 0x4fdbca
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 0x4fd7bd
mov dword [ebp - 0x150], 1
jmp 0x4fd7c7
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.004ffd00
add esp, 0xc
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp - 0x144]
cmp ecx, dword [ebp - 0x140]
jbe 0x4fd84d
mov edx, dword [ebp - 0x138]
push edx
push 0
call fcn.004fdca0
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.004fdc60
add esp, 8
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0
jne 0x4fd84d
mov dword [ebp - 0x134], 2
jmp 0x4fdbca
mov edx, dword [ebp - 0x138]
push edx
mov eax, dword [ebp - 0x130]
push eax
lea ecx, [ebp - 0x12c]
push ecx
call fcn.004ffd00
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.004ff9d0
add esp, 0x28
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
je 0x4fd8bd
jmp 0x4fdbca
mov eax, dword [ebp - 0x144]
push eax
mov ecx, dword [ebp - 0x138]
push ecx
lea ecx, [ebp - 0x74]
call fcn.0045bf00
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x40]
call fcn.00405710
mov byte [ebp - 4], 1
push 0x765440
lea ecx, [ebp - 0x40]
call fcn.004055b0
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x40]
call fcn.004147a0
cmp dword [ebp - 0x154], 0
je 0x4fd919
push 0x765444
lea ecx, [ebp - 0x40]
call fcn.004055b0
lea ecx, [ebp - 0x40]
push ecx
call fcn.004fd4c0
add esp, 4
cmp dword [ebp - 0x154], 0
je 0x4fd950
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00405650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.00405650
jmp 0x4fd758
lea ecx, [ebp - 0x40]
call fcn.00405580
push eax
lea edx, [ebp - 0x80]
push edx
call fcn.00502990
add esp, 8
test eax, eax
je 0x4fd993
mov dword [ebp - 0x134], 0xb
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00405650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.00405650
jmp 0x4fdbca
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.005028b0
add esp, 0xc
test eax, eax
jne 0x4fd9c2
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x14]
je 0x4fd9ec
mov dword [ebp - 0x134], 0xb
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00405650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.00405650
jmp 0x4fdbca
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x14c], 0
cmp dword [ebp - 0xd0], 0
je 0x4fda65
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 0x4fda65
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 0x4fdaca
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 0x4fdaca
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 0x4fdadc
cmp dword [ebp - 0x14c], 0
je 0x4fdaf6
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.005025f0
add esp, 4
test eax, eax
je 0x4fdb30
mov dword [ebp - 0x134], 0xb
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00405650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.00405650
jmp 0x4fdbca
cmp dword [ebp - 0xd8], 0
je 0x4fdbaa
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 0x4fdbaa
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 0x4fdb94
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.00405580
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00405650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.00405650
jmp 0x4fd758
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.004fdca0
add esp, 8
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x12c]
push ecx
call fcn.004ffc00
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.005025f0
add esp, 4
cmp dword [ebp - 0x134], 0
jne 0x4fdc31
mov dword [ebp - 0x160], 1
jmp 0x4fdc3b
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.004fb522
mov esp, ebp
pop ebp
ret 8