Function at 0x100468d0
Capabilities:
Set file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xfffffffffffffffe
push 0x1016d4c0
push 0x10118480
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x1017455c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 0x214]
mov dword [ebp - 0x24], esi
mov eax, dword [ebp + 0x21c]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp + 0x224]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 0x228]
mov dword [ebp - 0x28], edx
xor ebx, ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp + 0x22c], ebx
cmp esi, ebx
je 0x10046e70
mov al, byte [esi]
test al, al
je 0x10046e70
cmp al, 0x5c
jne 0x10046962
cmp byte [esi + 1], al
je 0x10046e70
mov dword [ebp - 0x1c], ebx
push 2
push 0xb70
call fcn.1004ead0
add esp, 8
mov edi, eax
mov dword [ebp - 0x20], edi
cmp edi, ebx
je 0x10046e70
lea ebx, [edi + 8]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, ebx
call fcn.10049c40
push 0x1014bec4
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 4], 0
lea esi, [edi + 0xa30]
mov dword [ebp - 0x48], esi
mov ecx, ebx
call fcn.10033b80
mov dword [edi + 4], eax
cmp eax, 0xffffffff
je 0x10046e54
jmp 0x100469d0
mov dword [ebp - 0x4c], 1
mov esi, dword [ebp - 0x20]
lea ebx, [esi + 0xa5c]
cmp byte [ebx], 0x2e
jne 0x10046a55
mov ecx, 0x10148b60
mov eax, ebx
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10046a10
test dl, dl
je 0x10046a0c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10046a10
add eax, 2
add ecx, 2
test dl, dl
jne 0x100469f0
xor eax, eax
jmp 0x10046a15
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10046a49
mov ecx, 0x10149e28
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10046a40
test dl, dl
je 0x10046a3c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10046a40
add eax, 2
add ecx, 2
test dl, dl
jne 0x10046a20
xor eax, eax
jmp 0x10046a45
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10046a55
mov dword [ebp - 0x4c], 0
jmp 0x10046d5b
add esi, 8
mov eax, dword [ebp - 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, esi
call fcn.10049c40
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, dword [ebp - 0x48]
mov eax, dword [ecx]
test al, 0x10
jne 0x10046c42
mov esi, 1
mov dword [ebp - 0x3c], esi
mov edi, dword [ebp - 0x30]
test edi, edi
je 0x10046ab5
push ebx
push edi
call fcn.10045210
add esp, 8
mov esi, eax
mov dword [ebp - 0x3c], esi
mov eax, 0x10152718
mov ecx, edi
call fcn.10031890
test eax, eax
jne 0x10046ab5
mov dword [ebp - 0x3c], eax
jmp 0x10046d5b
test esi, esi
je 0x10046d5b
mov edi, dword [ebp - 0x40]
test edi, edi
je 0x10046b27
mov dword [ebp - 0x38], edi
mov byte [ebp], 0
push 0x103
push 0
lea edx, [ebp + 1]
push edx
call fcn.10116880
push 1
push 0x2c
lea eax, [ebp - 0x38]
push eax
lea edx, [ebp]
mov ecx, edi
call fcn.10045850
add esp, 0x18
cmp dword [ebp - 0x38], 0xffffffff
je 0x10046b27
push ebx
lea ecx, [ebp]
push ecx
call fcn.10045210
add esp, 8
cmp eax, 1
jne 0x10046b10
mov dword [ebp - 0x3c], edi
jmp 0x10046d5b
push 1
push 0x2c
lea edx, [ebp - 0x38]
push edx
lea edx, [ebp]
mov ecx, edi
call fcn.10045850
add esp, 0xc
jmp 0x10046af0
test esi, esi
je 0x10046d5b
mov edi, dword [ebp + 0x218]
cmp dword [ebp - 0x28], 0
je 0x10046b4f
mov eax, dword [ebp - 0x28]
inc dword [eax]
mov eax, dword [eax]
cmp edi, 1
jle 0x10046b4f
cmp eax, edi
ja 0x10046d7d
cmp dword [ebp + 0x220], 0
je 0x10046d5b
mov esi, dword [ebp - 0x20]
add esi, 8
xor ebx, ebx
mov eax, esi
call fcn.10057210
mov ebx, eax
mov eax, dword [ebp - 0x20]
test byte [eax + 0xa30], 7
je 0x10046b85
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp dword [ebp + 0x22c], 0
je 0x10046bc2
test ebx, ebx
je 0x10046bc2
mov eax, str..DLL
mov ecx, ebx
call fcn.10031890
test eax, eax
je 0x10046bb2
mov eax, str..OCX
mov ecx, ebx
call fcn.10031890
test eax, eax
jne 0x10046bc2
call fcn.10071e90
test eax, eax
je 0x10046bc2
mov ecx, esi
call fcn.1003c0b0
mov eax, esi
call fcn.10033960
mov ebx, eax
mov dword [ebp - 0x44], ebx
test ebx, ebx
jne 0x10046c1e
cmp edi, 1
jne 0x10046c1e
mov edi, esi
call fcn.10046790
test eax, eax
jne 0x10046c39
push esi
call fcn.10046610
add esp, 4
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, esi
call fcn.10033960
mov ebx, eax
mov dword [ebp - 0x44], ebx
test ebx, ebx
jne 0x10046c1e
mov dword [ebp - 0x1c], 1
push eax
mov ecx, esi
call fcn.100423c0
cmp ebx, 1
jne 0x10046d5b
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x10046d5b
inc dword [eax]
jmp 0x10046d5b
mov dword [ebp - 0x44], 1
jmp 0x10046c27
test eax, 0x400
jne 0x10046d5b
xor esi, esi
mov dword [ebp - 0x54], esi
mov edi, esi
cmp edi, esi
je 0x10046ccf
mov dword [ebp - 0x34], esi
mov byte [ebp + 0x104], 0
push 0x103
push esi
lea ecx, [ebp + 0x105]
push ecx
call fcn.10116880
push 1
push 0x2c
lea edx, [ebp - 0x34]
push edx
lea edx, [ebp + 0x104]
mov ecx, edi
call fcn.10045850
add esp, 0x18
lea esp, [esp]
cmp dword [ebp - 0x34], 0xffffffff
je 0x10046ccf
mov eax, ebx
push eax
lea ecx, [ebp + 0x104]
push ecx
call fcn.10045210
add esp, 8
cmp eax, 1
jne 0x10046cb5
mov dword [ebp - 0x54], eax
jmp 0x10046d5b
push 1
push 0x2c
lea edx, [ebp - 0x34]
push edx
lea edx, [ebp + 0x104]
mov ecx, edi
call fcn.10045850
add esp, 0xc
jmp 0x10046c90
cmp esi, esi
jne 0x10046d5b
mov esi, dword [ebp - 0x30]
test esi, esi
jne 0x10046d00
push esi
push esi
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp + 0x220]
push edx
push esi
mov eax, dword [ebp + 0x218]
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 8
push ecx
jmp 0x10046d53
mov eax, 0x10152718
mov ecx, esi
call fcn.10031890
push 0
push 0
test eax, eax
jne 0x10046d35
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0x220]
push ecx
push 0
mov edx, dword [ebp + 0x218]
push edx
mov eax, dword [ebp - 0x20]
add eax, 8
push eax
jmp 0x10046d53
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp + 0x220]
push eax
push esi
mov ecx, dword [ebp + 0x218]
push ecx
mov edx, dword [ebp - 0x20]
add edx, 8
push edx
call fcn.100468d0
or dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
lea esi, [eax + 0xa30]
mov dword [ebp - 0x48], esi
mov ecx, dword [eax + 4]
call fcn.10033de0
test eax, eax
jne 0x100469d0
mov edi, dword [ebp + 0x218]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x10046db5
mov eax, 0x1014bec4
mov ecx, esi
call fcn.10031890
test eax, eax
je 0x10046db5
mov eax, 0x10152718
mov ecx, esi
call fcn.10031890
test eax, eax
jne 0x10046e54
cmp dword [ebp + 0x220], 0
je 0x10046e54
mov esi, dword [ebp - 0x24]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x10046dd7
cmp byte [esi + eax - 1], 0x2e
je 0x10046e54
call fcn.10046870
mov ebx, eax
test ebx, ebx
jne 0x10046e54
cmp edi, 1
jne 0x10046e54
mov edi, esi
call fcn.10046790
test eax, eax
jne 0x10046e54
push str.favorites
mov ecx, esi
call fcn.10047020
add esp, 4
cmp eax, 0xffffffff
je 0x10046e27
push str.IEXPLORE.EXE
call fcn.10046610
add esp, 4
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, 1
call fcn.10046890
mov ebx, eax
test ebx, ebx
jne 0x10046e54
mov dword [ebp - 0x1c], 1
push ebx
mov ecx, esi
call fcn.100423c0
jmp 0x10046e54
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10046e6b
push eax
call fcn.1004e9c0
add esp, 4
mov eax, dword [ebp - 0x1c]
jmp 0x10046e72
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.1010d699
add ebp, 0x20c
mov esp, ebp
pop ebp
ret 0x20