Function at 0x482100
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ca590
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.00483360]
mov dword [ebp - 0x7c], eax
mov ecx, dword [fcn.00483380]
mov dword [ebp - 0x78], ecx
mov edx, dword [fcn.00483360]
mov dword [ebp - 0x28], edx
mov eax, dword [fcn.00483380]
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.00487cd0
add esp, 8
test eax, eax
je 0x482182
xor al, al
jmp 0x482761
lea eax, [ebp - 0x5c]
push eax
call fcn.00487940
add esp, 4
push 0
lea ecx, [ebp - 0xac]
push ecx
call fcn.00483470
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 0x4821dd
mov dword [ebp - 0x134], 2
jmp 0x482206
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.00487d40
lea edx, [ebp - 0x12c]
push edx
call fcn.00485240
add esp, 4
cmp dword [ebp - 0x134], 0
jne 0x482247
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.00485300
add esp, 0x10
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
jne 0x4826fb
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x130], 0
jmp 0x482287
mov ecx, dword [ebp - 0x130]
add ecx, 1
mov dword [ebp - 0x130], ecx
mov edx, dword [ebp - 0x130]
cmp edx, dword [ebp - 0xec]
jae 0x4826ea
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 0x4822dd
mov dword [ebp - 0x150], 1
jmp 0x4822e7
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.004851c0
add esp, 0xc
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp - 0x144]
cmp ecx, dword [ebp - 0x140]
jbe 0x48236d
mov edx, dword [ebp - 0x138]
push edx
push 0
call fcn.00483380
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.00483360
add esp, 8
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0
jne 0x48236d
mov dword [ebp - 0x134], 2
jmp 0x4826ea
mov edx, dword [ebp - 0x138]
push edx
mov eax, dword [ebp - 0x130]
push eax
lea ecx, [ebp - 0x12c]
push ecx
call fcn.004851c0
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.00484e90
add esp, 0x28
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
je 0x4823dd
jmp 0x4826ea
mov eax, dword [ebp - 0x144]
push eax
mov ecx, dword [ebp - 0x138]
push ecx
lea ecx, [ebp - 0x74]
call fcn.00481e90
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x40]
call fcn.00481e20
mov byte [ebp - 4], 1
push 0x5d7960
lea ecx, [ebp - 0x40]
call fcn.00481f80
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x40]
call fcn.0041f280
cmp dword [ebp - 0x154], 0
je 0x482439
push 0x5d7964
lea ecx, [ebp - 0x40]
call fcn.00481f80
lea ecx, [ebp - 0x40]
push ecx
call fcn.00481fe0
add esp, 4
cmp dword [ebp - 0x154], 0
je 0x482470
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004024d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.004024d0
jmp 0x482278
lea ecx, [ebp - 0x40]
call fcn.004024c0
push eax
lea edx, [ebp - 0x80]
push edx
call fcn.00487cf0
add esp, 8
test eax, eax
je 0x4824b3
mov dword [ebp - 0x134], 0xb
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004024d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.004024d0
jmp 0x4826ea
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.00487c10
add esp, 0xc
test eax, eax
jne 0x4824e2
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x14]
je 0x48250c
mov dword [ebp - 0x134], 0xb
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004024d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.004024d0
jmp 0x4826ea
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x14c], 0
cmp dword [ebp - 0xd0], 0
je 0x482585
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 0x482585
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 0x4825ea
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 0x4825ea
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 0x4825fc
cmp dword [ebp - 0x14c], 0
je 0x482616
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.004879d0
add esp, 4
test eax, eax
je 0x482650
mov dword [ebp - 0x134], 0xb
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004024d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.004024d0
jmp 0x4826ea
cmp dword [ebp - 0xd8], 0
je 0x4826ca
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 0x4826ca
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 0x4826b4
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.004024c0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004024d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.004024d0
jmp 0x482278
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.00483380
add esp, 8
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x12c]
push ecx
call fcn.004850c0
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.004879d0
add esp, 4
cmp dword [ebp - 0x134], 0
jne 0x482751
mov dword [ebp - 0x160], 1
jmp 0x48275b
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.0043928a
mov esp, ebp
pop ebp
ret 8