Function at 0x7cf80133
Capabilities:
Create thread
Query or enumerate registry value
Terminate thread

Disassembly:
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x48]
xor ebp, ebp
cmp edi, ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
je 0x7cf80492
cmp dword [edi + 8], ebp
je 0x7cf80492
mov eax, dword [edi + 4]
mov dword [edi + 0x12], ebp
cmp eax, 1
mov dword [edi + 0x16], ebp
jb 0x7cf80492
push 4
pop ebx
cmp eax, ebx
ja 0x7cf80492
push 0x510
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
cmp esi, ebp
jne 0x7cf80190
push 8
jmp 0x7cf80494
push 0x7cf325a8
push ebp
push 1
push ebp
push ebp
push ebp
call dword [sym.imp.SHLWAPI.dll_Ordinal_356]
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
test byte [edi + 0x10], 0x10
mov dword [esp + 0x18], eax
jne 0x7cf801b9
mov dword [esi + 0x18], 0xff49f
test byte [edi + 0x11], 0x40
je 0x7cf801c6
or dword [esi + 0x18], 0xa3488
mov ax, word [edi + 0x10]
mov word [esi + 0xc], ax
mov eax, dword [edi + 0x1a]
test byte [esi + 0xd], 0x20
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], edi
jne 0x7cf8021c
lea eax, [esp + 0x1c]
mov dword [esp + 0x48], ebp
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x28]
push eax
push 0x7cf33070
push 0x7cf33008
push reloc.SHLWAPI.dll_ParseURLA
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x7cf8021c
cmp dword [esp + 0x48], 1
jne 0x7cf8021c
or byte [esi + 0xd], 0x20
mov ax, word [esi + 0xc]
test al, 4
jne 0x7cf8024b
lea eax, [esp + 0x48]
push eax
push ebp
push esi
push 0x7cf7af09
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebp
mov dword [esp + 0x10], eax
je 0x7cf80256
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
jmp 0x7cf80256
cmp dword [edi], ebp
jne 0x7cf80256
or ah, 4
mov word [esi + 0xc], ax
mov eax, dword [edi]
cmp eax, ebp
je 0x7cf8025f
mov dword [esi + 0x14], eax
push 1
pop ebx
push ebx
call fcn.7cfa942d
test byte [edi + 0x10], 0x40
je 0x7cf802c7
push edi
call fcn.7cf800fb
mov dword [esi + 0x20], eax
cmp dword [edi + 4], 3
jne 0x7cf802c7
push ebp
lea eax, [esp + 0x28]
push 0x8000
push eax
call sym.SHELL32.dll_SHGetSetSettings
mov eax, dword [esp + 0x24]
shl eax, 0x1d
sar eax, 0x1f
mov dword [esi + 0x24], eax
call fcn.7cf72e1c
test eax, eax
je 0x7cf802b5
push dword [0x7d04b034]
call dword [sym.imp.SHLWAPI.dll_Ordinal_224]
mov dword [esp + 0x14], ebx
jmp 0x7cf802c7
and word [edi + 0x10], 0xffbf
push dword [esi + 0x20]
call dword [sym.imp.COMCTL32.dll_Ordinal_73]
mov dword [esi + 0x20], ebp
mov ebx, dword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
push SHAllocShared
call ebx
push esi
call fcn.7cf7f01a
push ParseURLA
mov dword [esp + 0x24], eax
call ebx
cmp dword [esi + 0x28], ebp
je 0x7cf802f1
mov dword [edi + 0x12], 1
cmp dword [esp + 0x14], ebp
je 0x7cf80311
call sym.SHELL32.dll_SHUpdateRecycleBinIcon
push dword [0x7d04b034]
call dword [sym.imp.SHLWAPI.dll_Ordinal_424]
test eax, eax
jne 0x7cf80311
call fcn.7cf74d27
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x7cf80322
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi + 4], ebp
mov eax, dword [esi + 0x20]
cmp eax, ebp
je 0x7cf8034b
mov ecx, dword [eax + 8]
cmp ecx, ebp
je 0x7cf8033d
cmp ecx, 0xffffffff
je 0x7cf8033d
push eax
call fcn.7cfa9453
jmp 0x7cf8034b
push eax
call fcn.7cf7fdff
push dword [esi + 0x20]
call fcn.7cfa9419
mov eax, dword [edi + 4]
cmp eax, 4
je 0x7cf803c5
or ebp, 0xffffffff
xor ebx, ebx
cmp eax, 2
jne 0x7cf80364
or dword [esp + 0x48], 0xffffffff
jmp 0x7cf80371
push dword [edi + 8]
call dword [sym.imp.SHLWAPI.dll_PathGetDriveNumberW]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0xc]
test eax, eax
je 0x7cf80381
push eax
call dword [sym.imp.SHLWAPI.dll_PathGetDriveNumberW]
mov ebp, eax
cmp dword [edi + 4], 1
jne 0x7cf80394
cmp ebp, dword [esp + 0x48]
jne 0x7cf80394
or ebp, 0xffffffff
mov dword [esp + 0x48], ebp
mov ecx, dword [esp + 0x48]
cmp ecx, 0xffffffff
je 0x7cf803a2
push 1
pop ebx
shl ebx, cl
cmp ebp, 0xffffffff
je 0x7cf803b0
push 1
mov ecx, ebp
pop eax
shl eax, cl
or ebx, eax
test ebx, ebx
je 0x7cf803c3
push 0
push ebx
push 3
push 0x40000
call sym.SHELL32.dll_SHChangeNotify
xor ebp, ebp
push ebp
call fcn.7cfa942d
test byte [edi + 0x10], 0x20
jne 0x7cf803dc
push dword [edi + 0x16]
call sym.SHELL32.dll_SHFreeNameMappings
mov dword [edi + 0x16], ebp
cmp dword [esp + 0x10], ebp
je 0x7cf80466
mov ebx, 0x7d04ce10
mov dword [esi + 0x34], 1
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x10]
mov dword [esi + 0x30], 1
cmp eax, ebp
je 0x7cf80415
push ebp
push ebp
push 0x8001
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebp
mov ebx, dword [esp + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0x2710
push ebx
call dword [sym.imp.SHLWAPI.dll_Ordinal_194]
cmp eax, 0x102
je 0x7cf80440
cmp eax, 0xffffffff
jne 0x7cf8045f
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x7cf8045f
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_DestroyWindow]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [edi]
cmp edi, ebp
je 0x7cf80475
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [esp + 0x18], ebp
je 0x7cf8048c
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x20]
jmp 0x7cf80495
push 0x57
pop eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 4