Function at 0x45b510
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0x64
push 0xffffffffffffffff
push 0x492230
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.0045ea20
push 9
mov ecx, esi
mov dword [ebp + 0x54], eax
call fcn.0045ea20
push 0x20000
lea ecx, [ebp + 0x58]
mov dword [ebp + 8], eax
mov dword [esi + 0x26c], edi
mov dword [esi + 0x270], edi
mov dword [esi + 0x274], edi
mov dword [esi + 0x260], edi
mov dword [esi + 0x258], edi
mov dword [esi + 0x25c], edi
mov dword [esi + 0x254], edi
mov dword [esi + 0x264], edi
mov dword [esi + 0x268], edi
mov dword [esi + 0x278], edi
mov dword [esi + 0x27c], edi
mov dword [esi + 0x280], edi
mov dword [esi + 0x284], edi
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x60], edi
call fcn.004762c0
mov ecx, esi
mov dword [ebp + 0x44], edi
call fcn.00472820
test eax, eax
je 0x45c247
lea eax, [ebp + 0x44]
push eax
mov ecx, esi
call fcn.00473ec0
cmp eax, edi
jl 0x45c247
mov ecx, dword [esi + 0x1ec]
push ecx
mov ecx, esi
call fcn.00472a30
mov edx, dword [ebp + 0x58]
test eax, eax
mov eax, dword [ebp + 0x5c]
push edx
push eax
je 0x45b631
mov ecx, dword [esi + 0x1ec]
push ecx
mov ecx, esi
call fcn.00472f40
jmp 0x45b639
push edi
mov ecx, esi
call fcn.00472c50
cmp eax, 2
mov ecx, dword [ebp + 0x5c]
jne 0x45b652
cmp byte [ecx + 1], 0x3a
jne 0x45b652
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.00476850
mov ecx, dword [ebp + 0x28]
push ecx
push str.ParseDisplayName__S_n
call fcn.00430350
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 0x45b6b0
lea ecx, [ebp + 0x24]
xor edi, edi
mov byte [ebp - 4], 3
call fcn.00476730
mov ecx, dword [ebp + 0x4c]
push edi
lea eax, [ebp - 0x18]
push eax
push 0x4a05f4
push ecx
mov dword [ebp + 0x40], edi
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 7
call fcn.0045ab10
add esp, 0x10
cmp eax, edi
jl 0x45c228
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.00472820
lea ecx, [eax*4]
push ecx
call fcn.00441a20
mov ebx, eax
add esp, 4
mov dword [ebp + 0x34], ebx
mov edi, edi
mov ecx, esi
call fcn.00472820
cmp edi, eax
jge 0x45b737
mov dword [ebx + edi*4], 0
add edi, 1
jmp 0x45b720
xor edi, edi
mov dword [ebp + 0x48], edi
lea esp, [esp]
mov ecx, esi
call fcn.00472820
cmp edi, eax
jge 0x45b9c3
push edi
mov ecx, esi
call fcn.00472d00
test eax, eax
jne 0x45b762
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.00472c50
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.00403690
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.00476660
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.00476660
cmp dword [ebp + 0x54], 0
mov dword [ebp + 4], eax
je 0x45b7fb
cmp dword [ebp + 0x1c], 0
jne 0x45b7fb
mov ecx, dword [ebp + 0x48]
push ecx
mov ecx, esi
call fcn.00472d00
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.00472d70
test eax, eax
je 0x45b7fb
mov dword [ebp + 0x1c], 1
cmp dword [ebp + 8], 0
je 0x45b832
cmp dword [ebp + 0x20], 0
jne 0x45b832
mov edx, dword [ebp + 0x48]
push edx
mov ecx, esi
call fcn.00472d00
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.00472de0
test eax, eax
je 0x45b832
mov dword [ebp + 0x20], 1
cmp edi, 2
mov eax, dword [ebp + 0x5c]
jne 0x45b850
cmp byte [eax + 1], 0x3a
jne 0x45b850
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.00430350
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.00476850
push str.parse_display_name_n
call fcn.00430350
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 0x45b97c
push str.parse_display_name_OK_n
call fcn.00430350
push str.bind_to_parent_n
mov byte [ebp - 4], 0xa
call fcn.00430350
mov ebx, dword [ebp + 0x4c]
add esp, 8
cmp dword [0x4a95ec], edi
jne 0x45b900
push str.shell32.dll
mov dword [0x4a95ec], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x45b900
push str.SHBindToParent
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
mov dword [0x4a95e8], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x4a95e8]
test eax, eax
je 0x45b945
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0x4a05f4
push ebx
call eax
test eax, eax
jl 0x45b945
mov eax, dword [ebp - 0x14]
push 0xffffffffffffffff
push eax
call fcn.00473d90
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 0x45b9a8
push str.ParseDisplayName_failed_n
call fcn.00430350
add esp, 4
mov dword [ebp - 4], 8
jmp 0x45b9a8
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 7
call fcn.00476730
add dword [ebp + 0x48], 1
mov ebx, dword [ebp + 0x34]
mov edi, dword [ebp + 0x48]
jmp 0x45b740
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.00430350
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 0x4a0604
push ebx
push edx
push 0
push eax
mov eax, dword [ecx + 0x28]
mov byte [ebp - 4], 0xd
call eax
test eax, eax
jl 0x45c1d9
mov ecx, dword [ebp + 0x60]
push ecx
push str.got_menu__d_n
call fcn.00430350
add esp, 8
cmp dword [ebp + 0x60], 0
je 0x45c1d9
push str.got_menu_1_n
call fcn.00430350
mov al, byte [0x4aa55c]
add esp, 4
test al, al
je 0x45ba39
cmp al, 3
jl 0x45ba5f
mov eax, dword [ebp + 0x60]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esi + 0x290]
push ecx
push 0x4a05c4
push eax
call edx
test eax, eax
jne 0x45ba5a
push str.menu_type_3_n
jmp 0x45ba86
mov al, byte [0x4aa55c]
test al, al
je 0x45ba67
cmp al, 2
jl 0x45ba99
mov eax, dword [ebp + 0x60]
mov ecx, dword [eax]
lea edx, [esi + 0x28c]
push edx
push 0x4a05e4
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jne 0x45ba99
push str.menu_type_2_n
call fcn.00430350
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
test ebx, ebx
mov dword [ebp + 0x54], ebx
je 0x45c1a6
push str.QueryContextMenu..._n
mov byte [ebp - 4], 0xe
call fcn.00430350
mov eax, dword [esi + 0x290]
add esp, 4
test eax, eax
jne 0x45bad4
mov eax, dword [esi + 0x28c]
test eax, eax
jne 0x45bad4
mov eax, dword [ebp + 0x60]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push 0x14
push 0x7fff
push 1
push 0
push ebx
push eax
call edx
test eax, eax
mov dword [ebp - 4], 0xd
jl 0x45c19f
push eax
push str.QueryContextMenu__08x_n
call fcn.00430350
push ebx
call fcn.0045b4b0
add esp, 0xc
cmp dword [ebp + 0x1c], 0
lea edi, [eax + 1]
je 0x45bb52
push 0
push 0
push 0xc00
push 0
push ebx
call dword [sym.imp.USER32.dll_InsertMenuW]
mov dword [esi + 0x27c], edi
mov eax, dword [0x4aa7bc]
mov ecx, dword [eax + 0x6ec]
mov edx, dword [esi + 0x27c]
push ecx
push edx
push 0x400
push 0
push ebx
add edi, 1
call fcn.0045ab80
add esp, 0x14
cmp dword [ebp + 8], 0
je 0x45bbc8
push 0
push 0
push 0xc00
push 0
push ebx
call dword [sym.imp.USER32.dll_InsertMenuW]
cmp dword [ebp + 0x20], 0
je 0x45bb9c
mov dword [esi + 0x280], edi
mov eax, dword [0x4aa7bc]
mov ecx, dword [eax + 0x6f4]
mov edx, dword [esi + 0x280]
push ecx
push edx
push 0x400
push 0
push ebx
add edi, 1
call fcn.0045ab80
add esp, 0x14
mov dword [esi + 0x284], edi
mov eax, dword [0x4aa7bc]
mov ecx, dword [eax + 0x6fc]
mov edx, dword [esi + 0x284]
push ecx
push edx
push 0x400
push 0
push ebx
add edi, 1
call fcn.0045ab80
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.00472820
cmp eax, 1
jne 0x45bc3d
mov dword [esi + 0x268], edi
mov edx, dword [esi + 0x268]
add edi, eax
mov eax, dword [0x4aa7bc]
mov ecx, dword [eax + 0x28c]
push ecx
push edx
push 0x400
push 0
push ebx
call fcn.0045ab80
mov dword [esi + 0x264], edi
mov eax, dword [0x4aa7bc]
mov ecx, dword [eax + 0x290]
mov edx, dword [esi + 0x264]
add esp, 0x14
push ecx
push edx
push 0x400
push 0
push ebx
add edi, 1
call fcn.0045ab80
add esp, 0x14
mov ecx, dword [0x4aa154]
mov eax, ecx
cmp byte [eax], 0
je 0x45bc62
add eax, 1
jmp 0x45bc45
sub eax, ecx
je 0x45bc92
mov dword [esi + 0x260], edi
mov eax, dword [0x4aa7bc]
mov ecx, dword [eax + 0x294]
mov edx, dword [esi + 0x260]
push ecx
push edx
push 0x400
push 0
push ebx
add edi, 1
call fcn.0045ab80
add esp, 0x14
cmp dword [ebp], 0
jne 0x45bcd7
mov eax, dword [0x4aa760]
push eax
call section..text
add esp, 4
test eax, eax
je 0x45bcd7
mov dword [esi + 0x25c], edi
mov ecx, dword [0x4aa7bc]
mov edx, dword [ecx + 0x298]
mov eax, dword [esi + 0x25c]
push edx
push eax
push 0x400
push 0
push ebx
add edi, 1
call fcn.0045ab80
add esp, 0x14
mov ecx, dword [0x4aa590]
mov eax, ecx
nop
cmp byte [eax], 0
je 0x45bcea
add eax, 1
jmp 0x45bce0
sub eax, ecx
je 0x45bd1b
mov dword [esi + 0x258], edi
mov ecx, dword [0x4aa7bc]
mov edx, dword [ecx + 0x29c]
mov eax, dword [esi + 0x258]
push edx
push eax
push 0x400
push 0
push ebx
add edi, 1
call fcn.0045ab80
add esp, 0x14
mov dword [esi + 0x254], edi
mov ecx, dword [0x4aa7bc]
mov edx, dword [ecx + 0x2a0]
push edx
push edi
push 0x400
push 0
push ebx
call fcn.0045ab80
add esp, 0x14
cmp dword [ebp + 0x78], 0
push 0
je 0x45be0b
push 0
push ebx
call dword [sym.imp.USER32.dll_GetMenuDefaultItem]
mov edi, eax
push edi
push str.default__08x_n
call fcn.00430350
push 0x40
lea eax, [ebp - 0x5c]
push 0
push eax
call fcn.00484170
mov ecx, dword [esi + 0x48]
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 0x45bdb6
or dword [ebp - 0x58], 0x10000000
push 0x11
call edi
test al, al
jns 0x45bdc5
or dword [ebp - 0x58], 0x40000000
mov eax, dword [esi + 0x290]
test eax, eax
je 0x45bde0
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
lea ecx, [ebp - 0x5c]
push ecx
push eax
call edx
jmp 0x45c19f
mov eax, dword [esi + 0x28c]
test eax, eax
lea edx, [ebp - 0x5c]
push edx
je 0x45bdfb
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x10]
call eax
jmp 0x45c19f
mov eax, dword [ebp + 0x60]
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x10]
call eax
jmp 0x45c19f
mov edi, dword [ebp + 0x74]
test edi, edi
je 0x45bee0
push 1
push edi
call section..text
add esp, 4
push eax
push edi
call fcn.004766d0
push 0x40
lea ecx, [ebp - 0x5c]
push 0
push ecx
mov dword [ebp + 0x78], eax
call fcn.00484170
mov edx, dword [esi + 0x48]
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 0x45be7e
or dword [ebp - 0x58], 0x10000000
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x45be91
or dword [ebp - 0x58], 0x40000000
push edi
push str.invoke__s_n
call fcn.00430350
mov eax, dword [esi + 0x290]
add esp, 8
test eax, eax
jne 0x45beb6
mov eax, dword [esi + 0x28c]
test eax, eax
jne 0x45beb6
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.00441a60
push edi
push str._08x_n
call fcn.00430350
add esp, 0xc
jmp 0x45c19f
mov edx, dword [esi + 0x254]
push edx
push ebx
call dword [sym.imp.USER32.dll_SetMenuDefaultItem]
push ebx
push str.track_menu__08x_n
call fcn.00430350
mov eax, dword [esi + 0x48]
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 + 0x288], ebx
call dword [sym.imp.USER32.dll_TrackPopupMenu]
mov edi, eax
push edi
push str.idCommand__d_n
mov dword [esi + 0x288], 0
call fcn.00430350
add esp, 8
test edi, edi
jbe 0x45c19f
mov ecx, esi
call fcn.004540c0
cmp edi, dword [esi + 0x254]
jne 0x45bf63
push 0
push 0
push 0
push 0
mov ecx, esi
call fcn.00461810
jmp 0x45c19f
cmp edi, dword [esi + 0x25c]
jne 0x45bf83
mov eax, dword [0x4aa760]
push 0
push 0
push 0
push eax
mov ecx, esi
call fcn.00461810
jmp 0x45c19f
cmp edi, dword [esi + 0x260]
jne 0x45bfa4
mov ecx, dword [0x4aa154]
push 0
push 0
push 0
push ecx
mov ecx, esi
call fcn.00461810
jmp 0x45c19f
cmp edi, dword [esi + 0x258]
jne 0x45bfc5
mov edx, dword [0x4aa590]
push 0
push 0
push 0
push edx
mov ecx, esi
call fcn.00461810
jmp 0x45c19f
cmp edi, dword [esi + 0x264]
jne 0x45bfd9
mov ecx, esi
call fcn.00461540
jmp 0x45c19f
cmp edi, dword [esi + 0x268]
jne 0x45bfed
mov ecx, esi
call fcn.004616b0
jmp 0x45c19f
cmp edi, dword [esi + 0x278]
jne 0x45c027
call fcn.00450a40
push 0
push 1
push 0
push eax
call fcn.0045aad0
add esp, 0x10
test eax, eax
mov ecx, esi
je 0x45c01b
push 0
call fcn.00462800
jmp 0x45c19f
push 1
call fcn.00462800
jmp 0x45c19f
cmp edi, dword [esi + 0x27c]
jne 0x45c03b
mov ecx, esi
call fcn.00472e50
jmp 0x45c19f
cmp edi, dword [esi + 0x280]
jne 0x45c04f
mov ecx, esi
call fcn.00472ea0
jmp 0x45c19f
cmp edi, dword [esi + 0x284]
jne 0x45c063
mov ecx, esi
call fcn.00473940
jmp 0x45c19f
cmp edi, dword [esi + 0x26c]
jne 0x45c077
mov ecx, esi
call fcn.00465700
jmp 0x45c19f
cmp edi, dword [esi + 0x270]
jne 0x45c08b
mov ecx, esi
call fcn.00454f00
jmp 0x45c19f
cmp edi, dword [esi + 0x274]
jne 0x45c09f
mov ecx, esi
call fcn.00454e60
jmp 0x45c19f
lea eax, [edi - 1]
cmp eax, 0x7ffe
ja 0x45c19f
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.004762c0
mov ecx, dword [esi + 0x1ec]
push ecx
mov ecx, esi
call fcn.00472a30
mov edx, dword [ebp + 0x50]
test eax, eax
mov eax, dword [ebp + 0x54]
push edx
push eax
je 0x45c0f6
mov ecx, dword [esi + 0x1ec]
push ecx
mov ecx, esi
call fcn.004731f0
jmp 0x45c0ff
push 0
mov ecx, esi
call fcn.00472c50
mov ecx, dword [ebp + 0x50]
mov edx, dword [ebp + 0x54]
push eax
push ecx
push edx
call fcn.0045aaa0
mov eax, dword [ebp + 0x54]
add esp, 0xc
push eax
lea ecx, [ebp + 0x2c]
call fcn.00476850
push 0x40
lea ecx, [ebp - 0x5c]
push 0
push ecx
call fcn.00484170
mov edx, dword [esi + 0x48]
mov ecx, dword [ebp + 0x6c]
add edi, 0xffffffff
movzx eax, di
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0x290]
mov dword [ebp - 0x54], edx
mov edx, dword [ebp + 0x70]
add esp, 0xc
test eax, eax
mov dword [ebp - 0x58], 0x20000000
mov dword [ebp - 0x5c], 0x40
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
jne 0x45c173
mov eax, dword [esi + 0x28c]
test eax, eax
jne 0x45c173
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.00476730
lea ecx, [ebp + 0x50]
mov byte [ebp - 4], 0xd
call fcn.00476730
jmp 0x45c19f
push ebx
call dword [sym.imp.USER32.dll_DestroyMenu]
mov eax, dword [esi + 0x290]
test eax, eax
je 0x45c1ba
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x45c1d9
mov esi, dword [esi + 0x28c]
test esi, esi
je 0x45c1ce
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
jmp 0x45c1d9
mov eax, dword [ebp + 0x60]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 4], 7
mov edi, dword [ebp + 0x34]
xor esi, esi
cmp esi, dword [ebp + 0x40]
jge 0x45c212
mov eax, dword [edi + esi*4]
test eax, eax
je 0x45c1fa
push eax
call fcn.00441a60
add esp, 4
add esi, 1
jmp 0x45c1e5
push edi
call fcn.00441a60
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 4
push eax
call edx
jmp 0x45c235
push str.mu::SHBindToParent_on_desktop_failed_n
call fcn.00430350
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.00476730
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 1
call fcn.00476730
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0
call fcn.00476730
lea ecx, [ebp + 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.00476730
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