Function at 0x460380
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0x64
push 0xffffffffffffffff
push 0x4985f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp + 0x38], esi
mov dword [ebp + 0x44], edi
mov dword [ebp + 0x4c], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp + 0x5c], edi
mov dword [ebp + 0x58], edi
mov dword [ebp - 4], edi
mov dword [ebp], edi
mov dword [ebp + 0x10], edi
mov dword [ebp + 0xc], edi
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x64], edi
push 0xa
mov byte [ebp - 4], 3
call fcn.004638d0
push 9
mov ecx, esi
mov dword [ebp + 0x54], eax
call fcn.004638d0
push 0x20000
lea ecx, [ebp + 0x58]
mov dword [ebp + 8], eax
mov dword [esi + 0x28c], edi
mov dword [esi + 0x290], edi
mov dword [esi + 0x294], edi
mov dword [esi + 0x280], edi
mov dword [esi + 0x278], edi
mov dword [esi + 0x27c], edi
mov dword [esi + 0x274], edi
mov dword [esi + 0x284], edi
mov dword [esi + 0x288], edi
mov dword [esi + 0x298], edi
mov dword [esi + 0x29c], edi
mov dword [esi + 0x2a0], edi
mov dword [esi + 0x2a4], edi
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x60], edi
call fcn.0047be00
mov ecx, esi
mov dword [ebp + 0x44], edi
call fcn.00477f40
test eax, eax
je 0x4610e2
lea eax, [ebp + 0x44]
push eax
mov ecx, esi
call fcn.00479920
cmp eax, edi
jl 0x4610e2
mov ecx, dword [esi + 0x20c]
push ecx
mov ecx, esi
call fcn.00478150
mov edx, dword [ebp + 0x58]
test eax, eax
mov eax, dword [ebp + 0x5c]
push edx
push eax
je 0x4604a1
mov ecx, dword [esi + 0x20c]
push ecx
mov ecx, esi
call fcn.00478660
jmp 0x4604a9
push edi
mov ecx, esi
call fcn.00478370
cmp eax, 2
mov ecx, dword [ebp + 0x5c]
jne 0x4604c2
cmp byte [ecx + 1], 0x3a
jne 0x4604c2
mov byte [ecx + 2], 0x5c
mov byte [ecx + 3], 0
mov ecx, dword [ebp + 0x5c]
mov dword [ebp + 0x28], edi
mov dword [ebp + 0x24], edi
push ecx
mov ebx, 4
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], bl
call fcn.0047cbb0
mov ecx, dword [ebp + 0x28]
push ecx
push str.ParseDisplayName__S_n
call fcn.00433c50
mov eax, dword [ebp + 0x44]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
add esp, 8
push edi
lea ecx, [ebp + 0x4c]
push ecx
mov ecx, dword [ebp + 0x28]
push edi
push ecx
push edi
push edi
push eax
mov byte [ebp - 4], 5
call edx
mov dword [ebp - 4], ebx
jmp 0x460520
lea ecx, [ebp + 0x24]
xor edi, edi
mov byte [ebp - 4], 3
call fcn.0047ca90
mov ecx, dword [ebp + 0x4c]
push edi
lea eax, [ebp - 0x18]
push eax
push 0x4a6bbc
push ecx
mov dword [ebp + 0x40], edi
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 7
call fcn.0045f980
add esp, 0x10
cmp eax, edi
jl 0x4610c3
lea edx, [ebp + 0x3c]
push edx
mov dword [ebp + 0x3c], edi
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov eax, dword [ebp + 0x3c]
mov edx, dword [ebp + 0x4c]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov ecx, esi
call fcn.00477f40
lea ecx, [eax*4]
push ecx
call fcn.00445590
mov ebx, eax
add esp, 4
mov dword [ebp + 0x34], ebx
mov edi, edi
mov ecx, esi
call fcn.00477f40
cmp edi, eax
jge 0x4605a7
mov dword [ebx + edi*4], 0
add edi, 1
jmp 0x460590
xor edi, edi
mov dword [ebp + 0x48], edi
lea esp, [esp]
mov ecx, esi
call fcn.00477f40
cmp edi, eax
jge 0x460833
push edi
mov ecx, esi
call fcn.00478420
test eax, eax
jne 0x4605d2
mov dword [ebp], 1
mov edx, dword [ebp + 0x58]
mov eax, dword [ebp + 0x5c]
push edx
push eax
push edi
mov ecx, esi
call fcn.00478370
lea ecx, [ebp - 0x68]
push ecx
mov edi, eax
lea edx, [ebp + 0x28]
push edx
mov edx, dword [ebp + 0x5c]
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x6c]
push ecx
push edi
push edx
call fcn.00403640
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x6c]
add esp, 0x18
push 0x104
push eax
push ecx
lea ecx, [ebp + 0xc]
call fcn.0047c1c0
mov edx, dword [ebp - 0x68]
push 0x104
mov ebx, eax
mov eax, dword [ebp + 0x28]
push edx
push eax
lea ecx, [ebp + 0x14]
call fcn.0047c1c0
cmp dword [ebp + 0x54], 0
mov dword [ebp + 4], eax
je 0x46066b
cmp dword [ebp + 0x1c], 0
jne 0x46066b
mov ecx, dword [ebp + 0x48]
push ecx
mov ecx, esi
call fcn.00478420
mov ecx, dword [ebp + 4]
lea edx, [ebp - 0x64]
push edx
mov edx, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
push ebx
push ecx
push eax
mov ecx, esi
call fcn.00478490
test eax, eax
je 0x46066b
mov dword [ebp + 0x1c], 1
cmp dword [ebp + 8], 0
je 0x4606a2
cmp dword [ebp + 0x20], 0
jne 0x4606a2
mov edx, dword [ebp + 0x48]
push edx
mov ecx, esi
call fcn.00478420
mov ecx, dword [ebp + 4]
mov edx, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
push ebx
push ecx
push eax
mov ecx, esi
call fcn.00478500
test eax, eax
je 0x4606a2
mov dword [ebp + 0x20], 1
cmp edi, 2
mov eax, dword [ebp + 0x5c]
jne 0x4606c0
cmp byte [eax + 1], 0x3a
jne 0x4606c0
mov byte [eax + 2], 0x5c
mov byte [eax + 3], 0
mov eax, dword [ebp + 0x5c]
mov edi, 3
push edi
push eax
push str.parse__s__d_n
call fcn.00433c50
xor edi, edi
add esp, 0xc
mov dword [ebp + 0x30], edi
mov dword [ebp + 0x2c], edi
mov edx, dword [ebp + 0x5c]
push edx
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 8
call fcn.0047cbb0
push str.parse_display_name_n
call fcn.00433c50
mov eax, dword [ebp + 0x44]
mov ecx, dword [eax]
add esp, 4
push edi
lea edx, [ebp + 0x4c]
push edx
mov edx, dword [ebp + 0x30]
push edi
push edx
push edi
push edi
push eax
mov eax, dword [ecx + 0xc]
mov byte [ebp - 4], 9
call eax
cmp eax, edi
jl 0x4607ec
push str.parse_display_name_OK_n
call fcn.00433c50
push str.bind_to_parent_n
mov byte [ebp - 4], 0xa
call fcn.00433c50
mov ebx, dword [ebp + 0x4c]
add esp, 8
cmp dword [0x4b05fc], edi
jne 0x460770
push str.shell32.dll
mov dword [0x4b05fc], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x460770
push str.SHBindToParent
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
mov dword [0x4b05f8], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x4b05f8]
test eax, eax
je 0x4607b5
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0x4a6bbc
push ebx
call eax
test eax, eax
jl 0x4607b5
mov eax, dword [ebp - 0x14]
push 0xffffffffffffffff
push eax
call fcn.004797f0
mov ecx, dword [ebp + 0x40]
mov edx, dword [ebp + 0x34]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp + 0x40], ecx
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 8
push eax
call edx
mov dword [ebp - 4], 9
mov eax, dword [ebp + 0x3c]
mov edx, dword [ebp + 0x4c]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov dword [ebp - 4], 8
jmp 0x460818
push str.ParseDisplayName_failed_n
call fcn.00433c50
add esp, 4
mov dword [ebp - 4], 8
jmp 0x460818
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 7
call fcn.0047ca90
add dword [ebp + 0x48], 1
mov ebx, dword [ebp + 0x34]
mov edi, dword [ebp + 0x48]
jmp 0x4605b0
mov eax, dword [ebp + 0x3c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push str.get_menu_n
call fcn.00433c50
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
add esp, 4
lea edx, [ebp + 0x60]
push edx
mov edx, dword [ebp + 0x40]
push 0
push 0x4a6bcc
push ebx
push edx
push 0
push eax
mov eax, dword [ecx + 0x28]
mov byte [ebp - 4], 0xd
call eax
test eax, eax
jl 0x461073
mov ecx, dword [ebp + 0x60]
push ecx
push str.got_menu__d_n
call fcn.00433c50
add esp, 8
cmp dword [ebp + 0x60], 0
je 0x461073
push str.got_menu_1_n
call fcn.00433c50
mov al, byte [0x4b157c]
add esp, 4
test al, al
je 0x4608a9
cmp al, 3
jl 0x4608cf
mov eax, dword [ebp + 0x60]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esi + 0x2b0]
push ecx
push 0x4a6b8c
push eax
call edx
test eax, eax
jne 0x4608ca
push str.menu_type_3_n
jmp 0x4608f6
mov al, byte [0x4b157c]
test al, al
je 0x4608d7
cmp al, 2
jl 0x460909
mov eax, dword [ebp + 0x60]
mov ecx, dword [eax]
lea edx, [esi + 0x2ac]
push edx
push 0x4a6bac
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jne 0x460909
push str.menu_type_2_n
call fcn.00433c50
mov eax, dword [ebp + 0x60]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 4
push eax
call edx
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov ebx, eax
xor edi, edi
cmp ebx, edi
mov dword [ebp + 0x54], ebx
je 0x461031
push str.QueryContextMenu..._n
mov byte [ebp - 4], 0xe
call fcn.00433c50
mov eax, dword [esi + 0x2b0]
add esp, 4
cmp eax, edi
jne 0x460946
mov eax, dword [esi + 0x2ac]
cmp eax, edi
jne 0x460946
mov eax, dword [ebp + 0x60]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push 0x14
push 0x7fff
push 1
push edi
push ebx
push eax
call edx
cmp eax, edi
mov dword [ebp - 4], 0xd
jl 0x461028
push eax
push str.QueryContextMenu__08x_n
call fcn.00433c50
push ebx
call fcn.00460320
add esp, 0xc
cmp dword [ebp + 0x1c], 0
lea edi, [eax + 1]
je 0x4609c3
push 0
push 0
push 0xc00
push 0
push ebx
call dword [sym.imp.USER32.dll_InsertMenuW]
mov dword [esi + 0x29c], edi
mov eax, dword [0x4b177c]
mov ecx, dword [eax + 0x6ec]
mov edx, dword [esi + 0x29c]
push ecx
push edx
push 0x400
push 0
push ebx
add edi, 1
call fcn.0045f9f0
add esp, 0x14
cmp dword [ebp + 8], 0
je 0x460a39
push 0
push 0
push 0xc00
push 0
push ebx
call dword [sym.imp.USER32.dll_InsertMenuW]
cmp dword [ebp + 0x20], 0
je 0x460a0d
mov dword [esi + 0x2a0], edi
mov eax, dword [0x4b177c]
mov ecx, dword [eax + 0x6f4]
mov edx, dword [esi + 0x2a0]
push ecx
push edx
push 0x400
push 0
push ebx
add edi, 1
call fcn.0045f9f0
add esp, 0x14
mov dword [esi + 0x2a4], edi
mov eax, dword [0x4b177c]
mov ecx, dword [eax + 0x6fc]
mov edx, dword [esi + 0x2a4]
push ecx
push edx
push 0x400
push 0
push ebx
add edi, 1
call fcn.0045f9f0
add esp, 0x14
push 0
push 0
push 0xc00
push 0
push ebx
call dword [sym.imp.USER32.dll_InsertMenuW]
mov ecx, esi
call fcn.00477f40
cmp eax, 1
jne 0x460aae
mov dword [esi + 0x288], edi
mov edx, dword [esi + 0x288]
add edi, eax
mov eax, dword [0x4b177c]
mov ecx, dword [eax + 0x28c]
push ecx
push edx
push 0x400
push 0
push ebx
call fcn.0045f9f0
mov dword [esi + 0x284], edi
mov eax, dword [0x4b177c]
mov ecx, dword [eax + 0x290]
mov edx, dword [esi + 0x284]
add esp, 0x14
push ecx
push edx
push 0x400
push 0
push ebx
add edi, 1
call fcn.0045f9f0
add esp, 0x14
mov ecx, dword [0x4b1164]
mov eax, ecx
cmp byte [eax], 0
je 0x460ad3
add eax, 1
jmp 0x460ab6
sub eax, ecx
je 0x460b03
mov dword [esi + 0x280], edi
mov eax, dword [0x4b177c]
mov ecx, dword [eax + 0x294]
mov edx, dword [esi + 0x280]
push ecx
push edx
push 0x400
push 0
push ebx
add edi, 1
call fcn.0045f9f0
add esp, 0x14
cmp dword [ebp], 0
jne 0x460b48
mov eax, dword [0x4b1740]
push eax
call section..text
add esp, 4
test eax, eax
je 0x460b48
mov dword [esi + 0x27c], edi
mov ecx, dword [0x4b177c]
mov edx, dword [ecx + 0x298]
mov eax, dword [esi + 0x27c]
push edx
push eax
push 0x400
push 0
push ebx
add edi, 1
call fcn.0045f9f0
add esp, 0x14
mov ecx, dword [0x4b15b4]
mov eax, ecx
cmp byte [eax], 0
je 0x460b5a
add eax, 1
jmp 0x460b50
sub eax, ecx
je 0x460b8b
mov dword [esi + 0x278], edi
mov ecx, dword [0x4b177c]
mov edx, dword [ecx + 0x29c]
mov eax, dword [esi + 0x278]
push edx
push eax
push 0x400
push 0
push ebx
add edi, 1
call fcn.0045f9f0
add esp, 0x14
mov dword [esi + 0x274], edi
mov ecx, dword [0x4b177c]
mov edx, dword [ecx + 0x2a0]
push edx
push edi
push 0x400
push 0
push ebx
call fcn.0045f9f0
add esp, 0x14
cmp dword [ebp + 0x78], 0
push 0
je 0x460c7b
push 0
push ebx
call dword [sym.imp.USER32.dll_GetMenuDefaultItem]
mov edi, eax
push edi
push str.default__08x_n
call fcn.00433c50
push 0x40
lea eax, [ebp - 0x5c]
push 0
push eax
call fcn.0048a4d0
mov ecx, dword [esi + 0x50]
mov eax, dword [ebp + 0x6c]
add edi, 0xffffffff
movzx edx, di
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
add esp, 0x14
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebp + 0x70]
push 0x10
mov dword [ebp - 0x5c], 0x40
mov dword [ebp - 0x58], 0x20000000
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
call edi
test al, al
jns 0x460c26
or dword [ebp - 0x58], 0x10000000
push 0x11
call edi
test al, al
jns 0x460c35
or dword [ebp - 0x58], 0x40000000
mov eax, dword [esi + 0x2b0]
test eax, eax
je 0x460c50
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
lea ecx, [ebp - 0x5c]
push ecx
push eax
call edx
jmp 0x461028
mov eax, dword [esi + 0x2ac]
test eax, eax
lea edx, [ebp - 0x5c]
push edx
je 0x460c6b
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x10]
call eax
jmp 0x461028
mov eax, dword [ebp + 0x60]
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x10]
call eax
jmp 0x461028
mov edi, dword [ebp + 0x74]
test edi, edi
je 0x460d50
push 1
push edi
call section..text
add esp, 4
push eax
push edi
call fcn.0047c980
push 0x40
lea ecx, [ebp - 0x5c]
push 0
push ecx
mov dword [ebp + 0x78], eax
call fcn.0048a4d0
mov edx, dword [esi + 0x50]
mov eax, dword [ebp + 0x78]
mov ecx, dword [ebp + 0x6c]
add esp, 0x1c
mov dword [ebp - 0x54], edx
mov edx, dword [ebp + 0x70]
push 0x10
mov dword [ebp - 0x5c], 0x40
mov dword [ebp - 0x58], 0x20004000
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x460cee
or dword [ebp - 0x58], 0x10000000
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x460d01
or dword [ebp - 0x58], 0x40000000
push edi
push str.invoke__s_n
call fcn.00433c50
mov eax, dword [esi + 0x2b0]
add esp, 8
test eax, eax
jne 0x460d26
mov eax, dword [esi + 0x2ac]
test eax, eax
jne 0x460d26
mov eax, dword [ebp + 0x60]
mov ecx, dword [eax]
lea edx, [ebp - 0x5c]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
mov ecx, dword [ebp + 0x78]
push ecx
mov edi, eax
call fcn.004455d0
push edi
push str._08x_n
call fcn.00433c50
add esp, 0xc
jmp 0x461028
mov edx, dword [esi + 0x274]
push edx
push ebx
call dword [sym.imp.USER32.dll_SetMenuDefaultItem]
push ebx
push str.track_menu__08x_n
call fcn.00433c50
mov eax, dword [esi + 0x50]
mov ecx, dword [ebp + 0x70]
mov edx, dword [ebp + 0x6c]
add esp, 8
push 0
push eax
push 0
push ecx
push edx
push 0x102
push ebx
mov dword [esi + 0x2a8], ebx
call dword [sym.imp.USER32.dll_TrackPopupMenu]
mov edi, eax
push edi
push str.idCommand__d_n
mov dword [esi + 0x2a8], 0
call fcn.00433c50
add esp, 8
test edi, edi
jbe 0x461028
mov ecx, esi
call fcn.00458df0
cmp edi, dword [esi + 0x274]
jne 0x460dd9
mov eax, dword [0x4b16ac]
push eax
push 0
push 0
push 0
push 0
mov ecx, esi
call fcn.00466700
jmp 0x461028
cmp edi, dword [esi + 0x27c]
jne 0x460e01
mov ecx, dword [0x4b16ac]
mov edx, dword [0x4b1740]
push ecx
push 0
push 0
push 0
push edx
mov ecx, esi
call fcn.00466700
jmp 0x461028
cmp edi, dword [esi + 0x280]
jne 0x460e28
mov eax, dword [0x4b16ac]
mov ecx, dword [0x4b1164]
push eax
push 0
push 0
push 0
push ecx
mov ecx, esi
call fcn.00466700
jmp 0x461028
cmp edi, dword [esi + 0x278]
jne 0x460e4f
mov edx, dword [0x4b16ac]
mov eax, dword [0x4b15b4]
push edx
push 0
push 0
push 0
push eax
mov ecx, esi
call fcn.00466700
jmp 0x461028
cmp edi, dword [esi + 0x284]
jne 0x460e63
mov ecx, esi
call fcn.00466430
jmp 0x461028
cmp edi, dword [esi + 0x288]
jne 0x460e77
mov ecx, esi
call fcn.004665a0
jmp 0x461028
cmp edi, dword [esi + 0x298]
jne 0x460eb1
call fcn.00455370
push 0
push 1
push 0
push eax
call fcn.0045f940
add esp, 0x10
test eax, eax
mov ecx, esi
je 0x460ea5
push 0
call fcn.004676a0
jmp 0x461028
push 1
call fcn.004676a0
jmp 0x461028
cmp edi, dword [esi + 0x29c]
jne 0x460ec5
mov ecx, esi
call fcn.00478570
jmp 0x461028
cmp edi, dword [esi + 0x2a0]
jne 0x460ed9
mov ecx, esi
call fcn.004785c0
jmp 0x461028
cmp edi, dword [esi + 0x2a4]
jne 0x460eed
mov ecx, esi
call fcn.004793a0
jmp 0x461028
cmp edi, dword [esi + 0x28c]
jne 0x460f01
mov ecx, esi
call fcn.0046a730
jmp 0x461028
cmp edi, dword [esi + 0x290]
jne 0x460f15
mov ecx, esi
call fcn.00459c20
jmp 0x461028
cmp edi, dword [esi + 0x294]
jne 0x460f29
mov ecx, esi
call fcn.00459b80
jmp 0x461028
lea ecx, [edi - 1]
cmp ecx, 0x7ffe
ja 0x461028
xor eax, eax
mov dword [ebp + 0x54], eax
mov dword [ebp + 0x50], eax
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x2c], eax
push 0x20000
lea ecx, [ebp + 0x50]
mov byte [ebp - 4], 0x11
call fcn.0047be00
mov edx, dword [esi + 0x20c]
push edx
mov ecx, esi
call fcn.00478150
mov ecx, dword [ebp + 0x54]
test eax, eax
mov eax, dword [ebp + 0x50]
push eax
push ecx
mov ecx, esi
je 0x460f81
mov edx, dword [esi + 0x20c]
push edx
call fcn.00478ab0
jmp 0x460f88
push 0
call fcn.00478370
mov edx, dword [ebp + 0x50]
push eax
mov eax, dword [ebp + 0x54]
push edx
push eax
call fcn.0045f910
mov ecx, dword [ebp + 0x54]
add esp, 0xc
push ecx
lea ecx, [ebp + 0x2c]
call fcn.0047cbb0
push 0x40
lea edx, [ebp - 0x5c]
push 0
push edx
call fcn.0048a4d0
mov eax, dword [esi + 0x50]
mov edx, dword [ebp + 0x6c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x70]
add edi, 0xffffffff
movzx ecx, di
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x2b0]
add esp, 0xc
test eax, eax
mov dword [ebp - 0x58], 0x20000000
mov dword [ebp - 0x5c], 0x40
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x24], edx
jne 0x460ffc
mov eax, dword [esi + 0x2ac]
test eax, eax
jne 0x460ffc
mov eax, dword [ebp + 0x60]
mov ecx, dword [eax]
lea edx, [ebp - 0x5c]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 0x10
call fcn.0047ca90
lea ecx, [ebp + 0x50]
mov byte [ebp - 4], 0xd
call fcn.0047ca90
jmp 0x461028
push ebx
call dword [sym.imp.USER32.dll_DestroyMenu]
xor edi, edi
mov eax, dword [esi + 0x2b0]
cmp eax, edi
je 0x46104b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 0x2b0], edi
jmp 0x461073
mov eax, dword [esi + 0x2ac]
cmp eax, edi
je 0x461065
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 0x2ac], edi
jmp 0x461073
mov eax, dword [ebp + 0x60]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp + 0x60], edi
mov dword [ebp - 4], 7
mov edi, dword [ebp + 0x34]
xor esi, esi
nop
cmp esi, dword [ebp + 0x40]
jge 0x4610ad
mov eax, dword [edi + esi*4]
test eax, eax
je 0x461095
push eax
call fcn.004455d0
add esp, 4
add esi, 1
jmp 0x461080
push edi
call fcn.004455d0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 4
push eax
call edx
jmp 0x4610d0
push str.mu::SHBindToParent_on_desktop_failed_n
call fcn.00433c50
add esp, 4
mov dword [ebp - 4], 3
mov eax, dword [ebp + 0x44]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.0047ca90
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 1
call fcn.0047ca90
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0
call fcn.0047ca90
lea ecx, [ebp + 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.0047ca90
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add ebp, 0x64
mov esp, ebp
pop ebp
ret 0x14