Function at 0x40fb30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x42af66
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x437050]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x60]
xor ebp, ebp
mov dword [esi], vtable.CSimpleContextMenu.0
mov dword [esi + 4], ebp
mov dword [esp + 0x58], ebp
mov eax, dword [0x43832c]
mov edx, dword [eax + 0xc]
mov ecx, 0x43832c
add esi, 8
call edx
add eax, 0x10
mov dword [esi], eax
cmp edi, ebp
mov byte [esp + 0x58], 1
jne 0x40fb90
xor eax, eax
jmp 0x40fba4
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x40fb95
sub eax, edx
sar eax, 1
mov ebx, eax
push edi
mov eax, esi
call fcn.00401cb0
push esi
call fcn.0040ff90
mov dword [esp + 0x28], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x5c], 5
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
mov esi, dword [esi]
mov eax, dword [esp + 0x28]
push ebp
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x6c]
push ebp
push esi
push ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
push 0x42c38c
push eax
call dword [sym.imp.SHELL32.dll_SHBindToParent]
cmp dword [esp + 0x14], ebp
je 0x40fd7f
cmp dword [esp + 0x1c], ebp
je 0x40fd7f
cmp dword [esp + 0x18], ebp
je 0x40fd7f
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
lea ebx, [esp + 0x1c]
lea esi, [esp + 0x30]
mov byte [esp + 0x58], 7
call fcn.00410060
xor edi, edi
cmp dword [esp + 0x6c], ebp
jle 0x40fca8
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push ebp
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x70]
mov edx, dword [edx + edi*4]
push ebp
push edx
mov edx, dword [esp + 0x74]
push ebp
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp dword [esp + 0x20], ebp
je 0x40fc9f
lea ebx, [esp + 0x20]
lea esi, [esp + 0x40]
call fcn.00410060
lea esi, [esp + 0x30]
call fcn.00410060
add edi, 1
cmp edi, dword [esp + 0x6c]
jl 0x40fc62
mov edx, dword [esp + 0x34]
cmp edx, ebp
mov ecx, dword [esp + 0x38]
je 0x40fcbd
mov eax, ecx
sub eax, edx
sar eax, 2
jne 0x40fcc1
xor esi, esi
jmp 0x40fcd4
cmp eax, ebp
ja 0x40fcd2
call fcn.0041a9c9
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov esi, edx
cmp edx, ebp
jne 0x40fcdc
xor ecx, ecx
jmp 0x40fce1
sub ecx, edx
sar ecx, 2
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x28]
lea edi, [esp + 0x24]
push edi
push ebp
push 0x42c39c
push esi
push ecx
mov ecx, dword [esp + 0x78]
push ecx
push eax
call edx
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x40fd1b
mov ecx, dword [esp + 0x60]
mov edx, dword [eax]
add ecx, 4
push ecx
push 0x42c37c
push eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x44], eax
mov edi, eax
jbe 0x40fd30
call fcn.0041a9c9
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
cmp esi, eax
jbe 0x40fd3d
call fcn.0041a9c9
cmp esi, edi
je 0x40fd51
mov ecx, dword [esi]
push ecx
call dword [sym.imp.SHELL32.dll_ILFree]
add esi, 4
cmp esi, edi
jne 0x40fd41
mov eax, dword [esp + 0x34]
cmp eax, ebp
je 0x40fd62
push eax
call fcn.0041a2cc
add esp, 4
mov eax, dword [esp + 0x44]
cmp eax, ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
je 0x40fd7f
push eax
call fcn.0041a2cc
add esp, 4
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.SHELL32.dll_ILFree]
mov byte [esp + 0x58], 3
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x40fd9f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x58], 2
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x40fdb4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x58], 1
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x40fdc9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 0x10