Function at 0x435c48
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x420]
sub esp, 0x4a0
mov eax, dword [0x488548]
xor eax, ebp
mov dword [ebp + 0x41c], eax
mov ecx, dword [ebp + 0x42c]
mov eax, dword [ebp + 0x428]
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp + 0x430]
push ebx
mov ebx, dword [ebp + 0x440]
push esi
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 0x43c]
push edi
mov edi, dword [ebp + 0x448]
xor esi, esi
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp + 0x44c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 8], esi
cmp edi, esi
je 0x435ea1
cmp ebx, 0xfffffffe
je 0x435ea1
cmp dword [0x489690], esi
jne 0x435ea1
cmp dword [0x489524], eax
jne 0x435ea1
cmp dword [0x487150], esi
jne 0x435d02
test byte [ebp + 0x438], 1
je 0x435d02
cmp ebx, esi
jl 0x435d02
mov eax, dword [edi + 0x1d40]
mov eax, dword [eax + ebx*4]
mov ecx, dword [edi + 0x1d34]
imul eax, eax, 0x278
test byte [eax + ecx + 0x24], 0x10
jne 0x436405
call dword [sym.imp.USER32.dll_CreatePopupMenu]
cmp ebx, esi
mov ecx, eax
mov dword [ebp - 8], ecx
jge 0x435de3
test byte [ebp + 0x450], 2
je 0x435d2d
push str.DDAIAdd_item_to_tree
mov edx, 0xff08
jmp 0x4360f8
cmp word [edi + 0xa34], 0x3f
je 0x436115
push str.DDDPDup_on
mov edx, 0xff04
mov ebx, eax
call fcn.00457166
push str.DDCMCant_move_on
call dword [sym.imp.PPLIB32W.DLL__MessageText_4]
push eax
push esi
push 1
push ebx
call dword [sym.imp.USER32.dll_AppendMenuW]
push str.DDSCShortcut_on
push 4
pop edx
mov ecx, ebx
call fcn.00457166
push str.DDMLMake_List_File
mov edx, 0xff06
mov ecx, ebx
call fcn.00457166
push str.DDDTDetail
mov edx, 0xff01
mov ecx, ebx
call fcn.00457166
mov edi, dword [ebp + 0x444]
cmp dword [edi + 0x10], esi
jne 0x435da7
cmp dword [edi + 0x14], esi
je 0x436115
push esi
push esi
push 0x800
push ebx
call dword [sym.imp.USER32.dll_AppendMenuW]
cmp dword [edi + 0x10], esi
je 0x435dcb
push str.DDTXtext
mov edx, 0xff0b
mov ecx, ebx
call fcn.00457166
cmp dword [edi + 0x14], esi
je 0x436115
push str.DDETanother_type..._E_
mov edx, 0xff0c
jmp 0x4360f5
test byte [ebp + 0x450], 4
je 0x435e1e
mov eax, dword [edi + 0x1d40]
mov eax, dword [eax + ebx*4]
mov ecx, dword [edi + 0x1d34]
imul eax, eax, 0x278
test byte [eax + ecx + 0x274], 3
jne 0x436115
push str.DDSWSwap_to
mov edx, 0xff03
jmp 0x4360f5
mov eax, dword [ebp + 0x444]
cmp dword [eax + 4], esi
je 0x436115
mov ecx, dword [edi + 0x1d40]
mov edx, dword [edi + 0x1d34]
mov eax, ebx
mov ecx, dword [ecx + eax*4]
imul ecx, ecx, 0x278
test byte [ecx + edx + 0x24], 0x10
je 0x435e58
mov ecx, dword [ebp - 8]
call fcn.00435bf6
jmp 0x436115
push eax
push edi
call fcn.00435b3e
test eax, eax
je 0x435e75
mov ecx, dword [ebp - 8]
push str.DDALAdd_item_to_listfile
mov edx, 0xff07
call fcn.00457166
mov ecx, dword [ebp - 8]
push str.DDOPOpen_to
mov edx, 0xff05
call fcn.00457166
test byte [ebp + 0x450], 0x10
je 0x436115
xor edx, edx
push str.DDCPCopy_to
inc edx
jmp 0x4360f5
mov ebx, dword [ebp + 0x444]
cmp dword [0x48714c], esi
jne 0x435ecb
test byte [ebp + 0x438], 2
jne 0x435ecb
test byte [ebp + 0x450], 8
jne 0x435ecb
cmp dword [ebx + 4], esi
jne 0x435ef4
cmp dword [ebx + 8], esi
jne 0x435f0f
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov dword [ebp - 8], eax
cmp eax, esi
je 0x435f0f
test byte [ebp + 0x450], 8
je 0x435f67
push str.DDABAdd_button
mov edx, 0xff09
jmp 0x4360f5
mov eax, dword [0x489678]
cmp dword [ebx], eax
jne 0x435f0f
cmp eax, esi
je 0x435f0f
mov eax, dword [ebp - 0x10]
cmp dword [eax], 1
jne 0x435f0f
mov dword [eax], 0xff0d
cmp edi, esi
je 0x436405
mov eax, dword [ebp + 0x440]
cmp eax, esi
jl 0x436405
mov ecx, dword [edi + 0x1d40]
mov eax, dword [ecx + eax*4]
mov ecx, dword [edi + 0x1d34]
imul eax, eax, 0x278
test byte [eax + ecx + 0x24], 0x10
jne 0x436405
push dword [ebp + 0x440]
push edi
call fcn.00435b3e
test eax, eax
je 0x4360ff
mov eax, dword [ebp - 0x10]
mov dword [eax], 0xff07
jmp 0x436405
cmp edi, esi
je 0x435fc2
cmp word [edi + 0xa34], 0x3f
jne 0x435f91
cmp dword [ebp + 0x440], 0xfffffffe
je 0x436115
push str.DDJPJump_from
mov edx, 0xff02
jmp 0x4360f5
mov eax, dword [ebp + 0x440]
cmp eax, esi
jl 0x435fc2
mov ecx, dword [edi + 0x1d40]
mov eax, dword [ecx + eax*4]
mov ecx, dword [edi + 0x1d34]
imul eax, eax, 0x278
test byte [eax + ecx + 0x24], 0x10
jne 0x435fc2
push dword [ebp + 0x440]
jmp 0x435e59
cmp dword [ebx + 4], esi
je 0x436036
mov eax, dword [0x489678]
cmp dword [ebx], eax
jne 0x436015
cmp eax, esi
je 0x436015
push str.DDCPCopy_to
mov dword [ebp - 0x78], 0x2c
mov dword [ebp - 0x74], 0x13
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], 0x1000
mov dword [ebp - 0x68], 0xff0d
call dword [sym.imp.PPLIB32W.DLL__MessageText_4]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x78]
push eax
push 1
push 0xffff
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_InsertMenuItemW]
mov ecx, dword [ebp - 8]
call fcn.00435bf6
cmp edi, esi
je 0x43609a
cmp dword [ebp + 0x440], 0xfffffffe
je 0x43609a
push str.DDJPJump_from
mov edx, 0xff02
jmp 0x436092
cmp dword [ebx + 0xc], esi
je 0x436066
mov ecx, dword [ebp - 8]
push str.DDCPCopy_to
mov edx, 0xff0d
call fcn.00457166
test byte [ebp + 0x434], 2
je 0x436066
mov ecx, dword [ebp - 8]
push str.DDMVMove_to
push 2
pop edx
call fcn.00457166
cmp dword [ebx + 8], esi
je 0x43609a
cmp edi, esi
je 0x43608a
cmp dword [ebp + 0x440], 0xfffffffe
je 0x43608a
mov ecx, dword [ebp - 8]
push str.DDJPJump_from
mov edx, 0xff02
call fcn.00457166
push str.DDSCShortcut_on
push 4
pop edx
mov ecx, dword [ebp - 8]
call fcn.00457166
cmp dword [ebx + 0x10], esi
jne 0x4360a4
cmp dword [ebx + 0x14], esi
je 0x4360e2
push esi
push esi
push 0x800
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_AppendMenuW]
cmp dword [ebx + 0x10], esi
je 0x4360cb
mov ecx, dword [ebp - 8]
push str.DDTXtext
mov edx, 0xff0b
call fcn.00457166
cmp dword [ebx + 0x14], esi
je 0x4360e2
mov ecx, dword [ebp - 8]
push str.DDETanother_type..._E_
mov edx, 0xff0c
call fcn.00457166
test byte [ebp + 0x450], 2
je 0x436115
push str.DDAIAdd_item_to_tree
mov edx, 0xff08
mov ecx, dword [ebp - 8]
call fcn.00457166
jmp 0x436115
test byte [ebp + 0x450], 0x10
jne 0x436405
mov eax, dword [ebp - 0x10]
mov dword [eax], 0xff05
cmp dword [ebp - 8], esi
je 0x436405
lea eax, [ebp - 0x40]
mov ebx, 0xf000
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], esi
call dword [sym.imp.PPLIB32W.DLL__ThInit_4]
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push esi
push str.Folder_shellexDragDropHandlers
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp + 0x214]
push eax
push esi
push dword [ebp - 0x1c]
mov dword [ebp - 0x2c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, dword [sym.imp.PPLIB32W.DLL__ThAppend_12]
jmp 0x4362e4
inc dword [ebp - 0x30]
cmp word [ebp + 0x214], 0x7b
jne 0x4361a6
xor eax, eax
movzx ecx, word [ebp + eax + 0x214]
mov word [ebp + eax + 0xc], cx
inc eax
inc eax
cmp cx, si
jne 0x436190
jmp 0x4361cc
push 0x104
lea eax, [ebp + 0xc]
push eax
push 0x4739e8
lea eax, [ebp + 0x214]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.PPLIB32W.DLL__GetRegString_20]
test eax, eax
je 0x4362bf
lea eax, [ebp + 0xc]
push eax
call fcn.004275ed
test eax, eax
jne 0x4362bf
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
jl 0x4362bf
cmp dword [ebp - 0xc], esi
jne 0x43620c
push dword [ebp - 0x44]
call dword [sym.imp.PPLIB32W.DLL__PathToPidl_4]
mov dword [ebp - 0xc], eax
cmp eax, esi
je 0x4362ec
cmp dword [ebp - 0x14], esi
jne 0x436233
lea eax, [ebp - 0x14]
push eax
push 0x20019
push esi
push str.Folder
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4362bf
lea eax, [ebp - 0x24]
push eax
push 0x480fa0
push 1
push esi
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4362bf
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
push dword [ebp - 0x4c]
mov dword [ebp - 0x20], esi
push dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x43627e
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push 0x480f80
push eax
call dword [ecx]
test eax, eax
jge 0x43627e
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x20]
cmp eax, esi
jne 0x436290
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4362bf
mov ecx, dword [eax]
mov eax, dword [ebp - 0x18]
push 0x100
lea edx, [eax + 0x3f]
push edx
push eax
push esi
push dword [ebp - 8]
push dword [ebp - 0x20]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x18], 0x40
mov dword [ebp - 0x28], eax
push 0xc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call edi
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp + 0x214]
push eax
push dword [ebp - 0x30]
mov dword [ebp - 0x2c], 0x104
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x436181
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x28], esi
call edi
push dword [ebp - 0x34]
call dword [sym.imp.PPLIB32W.DLL__ForceSetForegroundWindow_4]
push esi
push esi
push 0x800
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_AppendMenuW]
mov ecx, dword [ebp - 8]
push str.CCANCancel
xor edx, edx
call fcn.00457166
mov eax, dword [ebp - 0x48]
push esi
push dword [ebp - 0x34]
push esi
push dword [eax + 4]
push dword [eax]
push 0x102
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
mov edi, dword [ebp - 0x10]
push dword [ebp - 8]
mov dword [edi], eax
call dword [sym.imp.USER32.dll_DestroyMenu]
mov ecx, dword [edi]
cmp ecx, ebx
jb 0x4363bc
cmp ecx, 0xff00
jae 0x4363bc
mov ebx, dword [ebp - 0x40]
mov edx, dword [ebx]
mov eax, ebx
jmp 0x436378
add edx, 0x40
cmp ecx, edx
jb 0x43637e
add eax, 0xc
mov edx, dword [eax]
cmp edx, esi
jne 0x43636c
jmp 0x4363bf
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x68], ecx
mov cx, word [edi]
sub cx, word [eax]
mov eax, dword [eax + 8]
movzx ecx, cx
lea edx, [ebp - 0x70]
push edx
mov dword [ebp - 0x70], 0x24
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x64], ecx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov dword [edi], esi
mov ebx, dword [ebp - 0x40]
cmp dword [ebx], esi
je 0x4363df
lea edi, [ebx + 4]
mov eax, dword [edi + 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [edi]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
add edi, 0xc
cmp dword [edi - 4], esi
jne 0x4363c6
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.PPLIB32W.DLL__ThFree_4]
cmp dword [ebp - 0x14], esi
je 0x4363f7
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc], esi
je 0x436405
push dword [ebp - 0xc]
call dword [sym.imp.PPLIB32W.DLL__FreePIDL_4]
mov ecx, dword [ebp + 0x41c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046890b
add ebp, 0x420
leave
ret 0x2c