Function at 0x461990
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f83e
mov eax, dword fs:[0]
push eax
sub esp, 0x4e8
mov eax, dword [0x4cc1c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x4f4], ebx
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x461f8f
cmp dword [esi + 0x10], 0
je 0x461f8f
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.00466700
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.is__x.tmp_
lea eax, [ebp - 0x218]
push 0xffffffffffffffff
push eax
call fcn.004054f0
lea eax, [ebp - 0x448]
push eax
call fcn.0048c850
lea ecx, [ebp - 0x218]
mov dword [ebp - 4], 0
push ecx
push eax
lea eax, [ebp - 0x460]
push eax
call fcn.00405380
add esp, 0x20
cmp dword [ebp - 0x434], 8
mov byte [ebp - 4], 2
jb 0x461a5b
push dword [ebp - 0x448]
call fcn.00464c70
add esp, 4
xor eax, eax
mov dword [ebp - 0x434], 7
cmp dword [ebp - 0x44c], 8
mov word [ebp - 0x448], ax
lea eax, [ebp - 0x460]
cmovae eax, dword [ebp - 0x460]
push eax
mov dword [ebp - 0x438], 0
call fcn.0048e1c0
add esp, 4
test eax, eax
jne 0x461ad3
cmp dword [ebp - 0x44c], 8
lea eax, [ebp - 0x460]
cmovae eax, dword [ebp - 0x460]
push eax
call fcn.0048e020
add esp, 4
lea eax, [ebp - 0x460]
cmp dword [ebp - 0x44c], 8
cmovae eax, dword [ebp - 0x460]
push 6
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebx + 0x34]
lea eax, [ebp - 0x460]
cmp ecx, eax
je 0x461aea
push 0xffffffffffffffff
push 0
push eax
call fcn.0040bc90
xor eax, eax
mov dword [ebp - 0x41c], 7
mov dword [ebp - 0x420], 0
mov word [ebp - 0x430], ax
cmp dword [esi + 0x14], 8
mov byte [ebp - 4], 3
jb 0x461b15
mov eax, dword [esi]
jmp 0x461b17
mov eax, esi
push eax
lea ecx, [ebp - 0x4f0]
call fcn.0040b350
lea eax, [ebp - 0x4f0]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x448]
push eax
call fcn.0048eef0
mov ebx, eax
add esp, 8
lea eax, [ebp - 0x430]
cmp eax, ebx
je 0x461b89
cmp dword [ebp - 0x41c], 8
jb 0x461b60
push dword [ebp - 0x430]
call fcn.00464c70
add esp, 4
xor eax, eax
mov dword [ebp - 0x41c], 7
push ebx
lea ecx, [ebp - 0x430]
mov dword [ebp - 0x420], 0
mov word [ebp - 0x430], ax
call fcn.0040be40
cmp dword [ebp - 0x434], 8
jb 0x461ba0
push dword [ebp - 0x448]
call fcn.00464c70
add esp, 4
xor eax, eax
mov dword [ebp - 0x434], 7
cmp dword [ebp - 0x4dc], 8
mov dword [ebp - 0x438], 0
mov word [ebp - 0x448], ax
mov byte [ebp - 4], 3
jb 0x461bd8
push dword [ebp - 0x4f0]
call fcn.00464c70
add esp, 4
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x478]
push eax
call fcn.00405430
lea eax, [ebp - 0x478]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x4f0]
push eax
call fcn.0048caf0
mov ebx, eax
add esp, 0x14
lea eax, [ebp - 0x430]
cmp eax, ebx
je 0x461c58
cmp dword [ebp - 0x41c], 8
jb 0x461c2f
push dword [ebp - 0x430]
call fcn.00464c70
add esp, 4
xor eax, eax
mov dword [ebp - 0x41c], 7
push ebx
lea ecx, [ebp - 0x430]
mov dword [ebp - 0x420], 0
mov word [ebp - 0x430], ax
call fcn.0040be40
cmp dword [ebp - 0x4dc], 8
jb 0x461c6f
push dword [ebp - 0x4f0]
call fcn.00464c70
add esp, 4
xor eax, eax
mov dword [ebp - 0x47c], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x490], ax
lea ecx, [ebp - 0x490]
lea eax, [ebp - 0x478]
mov dword [ebp - 0x480], 0
push eax
call fcn.0040bc90
push 4
push str..cfg
lea ecx, [ebp - 0x490]
mov byte [ebp - 4], 6
call fcn.00403230
xor eax, eax
mov dword [ebp - 0x494], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x4a8], ax
lea ecx, [ebp - 0x4a8]
lea eax, [ebp - 0x478]
mov dword [ebp - 0x498], 0
push eax
call fcn.0040bc90
push 4
push str..tda
lea ecx, [ebp - 0x4a8]
mov byte [ebp - 4], 7
call fcn.00403230
cmp dword [ebp - 0x464], 8
lea eax, [ebp - 0x478]
lea ecx, [ebp - 0x448]
cmovae eax, dword [ebp - 0x478]
push eax
call fcn.0040b350
push 0
lea eax, [ebp - 0x448]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x4c0]
push eax
call fcn.0048e7f0
add esp, 0xc
cmp dword [ebp - 0x434], 8
mov byte [ebp - 4], 0xa
jb 0x461d56
push dword [ebp - 0x448]
call fcn.00464c70
add esp, 4
xor eax, eax
mov dword [ebp - 0x434], 7
push 0x1fe
push eax
mov word [ebp - 0x448], ax
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x416]
push eax
mov dword [ebp - 0x438], 0
call fcn.00466700
cmp dword [ebp - 0x4ac], 0x10
lea ecx, [ebp - 0x418]
push 0x100
push ecx
push dword [ebp - 0x4b0]
lea eax, [ebp - 0x4c0]
cmovae eax, dword [ebp - 0x4c0]
push eax
call fcn.0048f050
add esp, 0x1c
lea eax, [ebp - 0x418]
lea ecx, [ebp - 0x4d8]
push eax
call fcn.0040b350
lea eax, [ebp - 0x4d8]
mov byte [ebp - 4], 0xb
cmp edi, eax
je 0x461de7
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.0040bc90
cmp dword [edi + 0x14], 8
jb 0x461def
mov edi, dword [edi]
push edi
push str.DownloadSoft_OnHttpNotifyComplete_strFileClsid_s
push 0xf3
push str.UpdaterApp.cpp
call fcn.0040fa10
add esp, 0x10
lea eax, [ebp - 0x4d8]
lea ecx, [esi + 0x30]
push eax
lea eax, [ebp - 0x4a8]
push eax
lea eax, [ebp - 0x490]
push eax
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x478]
push eax
mov eax, dword [ebp - 0x4f4]
push esi
push dword [eax + 4]
call fcn.00412710
cmp dword [ebp - 0x4c4], 8
mov esi, eax
jb 0x461e55
push dword [ebp - 0x4d8]
call fcn.00464c70
add esp, 4
xor eax, eax
mov dword [ebp - 0x4c4], 7
cmp dword [ebp - 0x4ac], 0x10
mov dword [ebp - 0x4c8], 0
mov word [ebp - 0x4d8], ax
jb 0x461e89
push dword [ebp - 0x4c0]
call fcn.00464c70
add esp, 4
cmp dword [ebp - 0x494], 8
mov dword [ebp - 0x4ac], 0xf
mov dword [ebp - 0x4b0], 0
mov byte [ebp - 0x4c0], 0
jb 0x461ebb
push dword [ebp - 0x4a8]
call fcn.00464c70
add esp, 4
xor eax, eax
mov dword [ebp - 0x494], 7
cmp dword [ebp - 0x47c], 8
mov dword [ebp - 0x498], 0
mov word [ebp - 0x4a8], ax
jb 0x461eef
push dword [ebp - 0x490]
call fcn.00464c70
add esp, 4
xor eax, eax
mov dword [ebp - 0x47c], 7
cmp dword [ebp - 0x464], 8
mov dword [ebp - 0x480], 0
mov word [ebp - 0x490], ax
jb 0x461f23
push dword [ebp - 0x478]
call fcn.00464c70
add esp, 4
xor eax, eax
mov dword [ebp - 0x464], 7
cmp dword [ebp - 0x41c], 8
mov dword [ebp - 0x468], 0
mov word [ebp - 0x478], ax
jb 0x461f57
push dword [ebp - 0x430]
call fcn.00464c70
add esp, 4
xor eax, eax
mov dword [ebp - 0x41c], 7
cmp dword [ebp - 0x44c], 8
mov dword [ebp - 0x420], 0
mov word [ebp - 0x430], ax
jb 0x461f8b
push dword [ebp - 0x460]
call fcn.00464c70
add esp, 4
mov eax, esi
jmp 0x461f91
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004654b1
mov esp, ebp
pop ebp
ret 8