Function at 0x482780
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cabc0
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x6540c0]
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.004839e0]
mov dword [ebp - 0x7c], eax
mov ecx, dword [fcn.00483a00]
mov dword [ebp - 0x78], ecx
mov edx, dword [fcn.004839e0]
mov dword [ebp - 0x28], edx
mov eax, dword [fcn.00483a00]
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.00488350
add esp, 8
test eax, eax
je 0x482802
xor al, al
jmp 0x482de1
lea eax, [ebp - 0x5c]
push eax
call fcn.00487fc0
add esp, 4
push 0
lea ecx, [ebp - 0xac]
push ecx
call fcn.00483af0
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 0x48285d
mov dword [ebp - 0x134], 2
jmp 0x482886
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.004883c0
lea edx, [ebp - 0x12c]
push edx
call fcn.004858c0
add esp, 4
cmp dword [ebp - 0x134], 0
jne 0x4828c7
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.00485980
add esp, 0x10
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
jne 0x482d7b
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x130], 0
jmp 0x482907
mov ecx, dword [ebp - 0x130]
add ecx, 1
mov dword [ebp - 0x130], ecx
mov edx, dword [ebp - 0x130]
cmp edx, dword [ebp - 0xec]
jae 0x482d6a
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 0x48295d
mov dword [ebp - 0x150], 1
jmp 0x482967
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.00485840
add esp, 0xc
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp - 0x144]
cmp ecx, dword [ebp - 0x140]
jbe 0x4829ed
mov edx, dword [ebp - 0x138]
push edx
push 0
call fcn.00483a00
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.004839e0
add esp, 8
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0
jne 0x4829ed
mov dword [ebp - 0x134], 2
jmp 0x482d6a
mov edx, dword [ebp - 0x138]
push edx
mov eax, dword [ebp - 0x130]
push eax
lea ecx, [ebp - 0x12c]
push ecx
call fcn.00485840
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.00485510
add esp, 0x28
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
je 0x482a5d
jmp 0x482d6a
mov eax, dword [ebp - 0x144]
push eax
mov ecx, dword [ebp - 0x138]
push ecx
lea ecx, [ebp - 0x74]
call fcn.00482510
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x40]
call fcn.004824a0
mov byte [ebp - 4], 1
push 0x5d7960
lea ecx, [ebp - 0x40]
call fcn.00482600
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x40]
call fcn.0041f900
cmp dword [ebp - 0x154], 0
je 0x482ab9
push 0x5d7964
lea ecx, [ebp - 0x40]
call fcn.00482600
lea ecx, [ebp - 0x40]
push ecx
call fcn.00482660
add esp, 4
cmp dword [ebp - 0x154], 0
je 0x482af0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00402470
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.00402470
jmp 0x4828f8
lea ecx, [ebp - 0x40]
call fcn.00402460
push eax
lea edx, [ebp - 0x80]
push edx
call fcn.00488370
add esp, 8
test eax, eax
je 0x482b33
mov dword [ebp - 0x134], 0xb
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00402470
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.00402470
jmp 0x482d6a
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.00488290
add esp, 0xc
test eax, eax
jne 0x482b62
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x14]
je 0x482b8c
mov dword [ebp - 0x134], 0xb
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00402470
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.00402470
jmp 0x482d6a
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x14c], 0
cmp dword [ebp - 0xd0], 0
je 0x482c05
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 0x482c05
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 0x482c6a
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 0x482c6a
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 0x482c7c
cmp dword [ebp - 0x14c], 0
je 0x482c96
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.00488050
add esp, 4
test eax, eax
je 0x482cd0
mov dword [ebp - 0x134], 0xb
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00402470
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.00402470
jmp 0x482d6a
cmp dword [ebp - 0xd8], 0
je 0x482d4a
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 0x482d4a
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 0x482d34
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.00402460
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00402470
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.00402470
jmp 0x4828f8
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.00483a00
add esp, 8
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x12c]
push ecx
call fcn.00485740
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.00488050
add esp, 4
cmp dword [ebp - 0x134], 0
jne 0x482dd1
mov dword [ebp - 0x160], 1
jmp 0x482ddb
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.004398fa
mov esp, ebp
pop ebp
ret 8