Function at 0x100465f0
Capabilities:
Get file attributes
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1238
call fcn.101f99e0
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov ecx, ebx
push esi
push edi
push 0
push 0
mov dword [ebp - 0x121c], ebx
mov dword [ebp - 0x1220], eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.1003d070
push 0x208
mov dword [ebx], eax
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x1000
lea eax, [ebp - 0x120c]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x1228], edi
mov dword [ebp - 0x1218], edi
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x10046690
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x2f
call fcn.10003680
add esp, 4
test eax, eax
je 0x100466b4
lea ecx, [ebp - 0x1224]
push ecx
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
push dword [ebp - 0x1220]
call eax
jmp 0x100466cc
lea eax, [ebp - 0x1224]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
push dword [ebp - 0x1220]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov ebx, eax
test esi, esi
je 0x100466d9
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
or eax, 0xffffffff
test ebx, ebx
jne 0x10046a75
mov edi, dword [ebp - 0x1224]
mov dword [ebp - 0x1210], ebx
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x10046706
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x3b
call fcn.10003680
add esp, 4
push 0x104
test eax, eax
je 0x10046726
lea ecx, [ebp - 0x20c]
push ecx
push ebx
push edi
call eax
jmp 0x10046735
lea eax, [ebp - 0x20c]
push eax
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, eax
test esi, esi
je 0x10046742
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
jne 0x10046a2c
push 0x1000
lea eax, [ebp - 0x120c]
push edi
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x1218]
push str.CLSID_s
push eax
call fcn.10002cb0
push 0x20019
push 0x1000
lea eax, [ebp - 0x120c]
push eax
push 1
push 0x10202940
push dword [ebp - 0x1218]
push SysReAllocString
call fcn.10176900
push 0x1000
lea eax, [ebp - 0x120c]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0x40
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x1218]
push str.CLSID_sInprocServer32
push eax
call fcn.10002cb0
push 0x20019
push 0x1000
lea eax, [ebp - 0x120c]
push eax
mov eax, dword [ebp - 0x1218]
push 1
push 0x10202940
push eax
push SysReAllocString
mov dword [ebp - 0x1228], eax
call fcn.10176900
lea eax, [ebp - 0x120c]
add esp, 0x28
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10046804
sub eax, edx
sar eax, 1
je 0x10046a26
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x1214]
mov dword [ebp - 0x1214], eax
lea eax, [ebp - 0x120c]
push eax
call fcn.10023e80
test al, al
jne 0x10046872
lea ecx, [ebp - 0x120c]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10046850
sub ecx, edx
lea eax, [ebp - 0x120c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1214]
call fcn.10003740
mov edi, dword [ebp - 0x1214]
lea eax, [ebp - 0x1238]
push edi
push eax
call fcn.10009120
push eax
call fcn.10041740
mov edx, dword [ebp - 0x1238]
add esp, 0xc
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100468ac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x10046a0e
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x100468ca
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0xe
call fcn.10003680
add esp, 4
push edi
test eax, eax
je 0x100468dd
call eax
jmp 0x100468e3
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
test esi, esi
je 0x100468f0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp ebx, 0xffffffff
je 0x10046a08
test bl, 0x10
jne 0x10046a08
push edi
call fcn.100420a0
add esp, 4
test al, al
je 0x10046a08
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x1230], eax
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x122c], eax
lea edx, [ecx + 2]
mov eax, dword [ebp - 0x1220]
mov dword [ebp - 0x1234], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10046952
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1230]
call fcn.10003740
lea eax, [ebp - 0x1214]
push eax
lea ecx, [ebp - 0x122c]
call fcn.10002790
mov eax, dword [ebp - 0x121c]
lea ecx, [ebp - 0x1234]
push ecx
mov ecx, eax
mov esi, dword [eax]
mov ebx, dword [esi + 4]
push ebx
push esi
call fcn.1002dd20
mov edx, eax
mov ecx, 0xccccccb
mov eax, dword [ebp - 0x121c]
mov eax, dword [eax + 4]
sub ecx, eax
cmp ecx, 1
jb 0x10046aa1
mov ecx, dword [ebp - 0x121c]
inc eax
mov dword [ecx + 4], eax
mov dword [esi + 4], edx
mov dword [ebx], edx
or ebx, 0xffffffff
mov edx, dword [ebp - 0x122c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100469eb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1230]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10046a08
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x1210]
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10046a26
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
inc ebx
jmp 0x100466e4
mov edi, dword [ebp - 0x1224]
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x10046a48
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x44
call fcn.10003680
add esp, 4
push edi
test eax, eax
je 0x10046a5b
call eax
jmp 0x10046a61
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x10046a6c
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [ebp - 0x1228]
or eax, 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10046a8a
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x121c]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.101f99c6
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.101bf360
int3