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

Disassembly:
sub esp, 0x5c
push ebx
push ebp
mov ebp, dword [esp + 0x68]
push esi
xor eax, eax
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
push ebp
mov esi, ecx
mov ecx, dword [esi + 4]
push 0x41d
push ecx
mov dword [esp + 0x28], 0
call edi
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov ebx, dword [sym.imp.USER32.dll_MapWindowPoints]
push 1
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], edx
mov edx, dword [esi + 4]
push 0
push edx
mov dword [esp + 0x24], eax
call ebx
mov ecx, dword [esi + 4]
push 2
lea eax, [esp + 0x1c]
push eax
push 0
push ecx
call ebx
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x44]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x24]
push ebp
push eax
mov dword [esp + 0x30], 0x14
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
call dword [sym.imp.USER32.dll_GetSubMenu]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x3c]
push ecx
push ebp
mov dword [esp + 0x78], eax
xor eax, eax
push 0x417
push edx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
call edi
mov ebx, dword [esp + 0x40]
mov eax, dword [esi + 4]
push 1
push ebx
push 0x403
push eax
mov dword [esi + 0x88], ebp
call edi
push 0
push ebx
push 0x448
mov ecx, dword [esi + 4]
push ecx
call edi
cmp byte [0x4dd30c], 0
je 0x450dd6
movzx eax, byte [esp + 0x74]
neg eax
sbb eax, eax
and eax, 0xffffd000
add eax, 0x4000
jmp 0x450dd8
xor eax, eax
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x14]
push ecx
push edx
or eax, 0x40
push eax
mov eax, dword [esp + 0x80]
push eax
mov ecx, esi
call fcn.00450a20
mov ecx, dword [esi + 4]
push 0
push ebx
push 0x403
push ecx
call edi
mov ebp, dword [esi + 4]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, ebp
je 0x450e21
push 0
push 0xffffffffffffffff
push 0x448
push ebp
call edi
mov edx, dword [esi + 4]
mov ebp, dword [sym.imp.USER32.dll_PeekMessageW]
xor eax, eax
push eax
push 0x201
push 0x201
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
push edx
lea eax, [esp + 0x60]
push eax
mov dword [esi + 0x88], 0xffffffff
call ebp
test eax, eax
je 0x450e99
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
push ecx
push edx
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x450e99
mov ecx, dword [esi + 4]
push 1
push 0x201
push 0x201
push ecx
lea edx, [esp + 0x60]
push edx
call ebp
or ebp, 0xffffffff
cmp dword [esi + 0x8c], ebp
je 0x450f32
cmp dword [0x4dd58c], 0
jne 0x450ee1
mov edi, dword [0x4dd2e8]
add edi, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x4dd58c], 0
jne 0x450eda
push str.WTL_CmdBar_InternalAutoPopupMsg
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [0x4dd58c], eax
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movzx eax, word [esi + 0x8c]
mov ecx, dword [0x4dd58c]
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
push 0
push eax
push ecx
push edx
call edi
test dword [esi + 0x8c], 0xffff0000
jne 0x450f22
test byte [esi + 0x84], 8
jne 0x450f22
mov eax, dword [esi + 4]
push 0
push 0x28
push pe_nt_image_headers32
push eax
call edi
pop edi
mov dword [esi + 0x8c], ebp
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 8
and byte [esi + 0x84], 0xef
test byte [esi + 0x84], 0x20
jne 0x450f69
mov al, byte [esi + 0x85]
test al, 2
je 0x450f58
test al, 4
je 0x450f58
and al, 0xf7
mov byte [esi + 0x85], al
mov ecx, esi
call fcn.0044e770
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 8
mov ecx, dword [esi + 4]
push 0
push ebx
push 0x448
push ecx
call edi
mov edx, dword [esi + 4]
push 0
push 1
push 0x449
push edx
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 8