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

Disassembly:
sub esp, 0x64
mov eax, dword [0x4f00a8]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
mov ebp, dword [esp + 0x70]
push esi
xor eax, eax
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
push ebp
mov esi, ecx
mov ecx, dword [esi + 4]
push 0x41d
push ecx
mov dword [esp + 0x20], 0
call edi
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_MapWindowPoints]
push 1
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x28], edx
mov edx, dword [esi + 4]
push 0
push edx
mov dword [esp + 0x34], eax
call ebx
mov ecx, dword [esi + 4]
push 2
lea eax, [esp + 0x14]
push eax
push 0
push ecx
call ebx
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
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 + 0x14]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x44]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x1c]
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 + 0x5c]
push ecx
push ebp
mov dword [esp + 0x44], eax
xor eax, eax
push 0x417
push edx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
call edi
mov ebx, dword [esp + 0x60]
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 [0x538408], 0
je 0x451f01
movzx eax, byte [esp + 0x7c]
neg eax
sbb eax, eax
and eax, 0xffffd000
add eax, 0x4000
jmp 0x451f03
xor eax, eax
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x24]
push ecx
push edx
or eax, 0x40
push eax
mov eax, dword [esp + 0x4c]
push eax
mov ecx, esi
call fcn.00451af0
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 0x451f49
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 + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
push edx
lea eax, [esp + 0x50]
push eax
mov dword [esi + 0x88], 0xffffffff
call ebp
test eax, eax
je 0x451fc1
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
push ecx
push edx
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x451fc1
mov ecx, dword [esi + 4]
push 1
push 0x201
push 0x201
push ecx
lea edx, [esp + 0x50]
push edx
call ebp
or ebp, 0xffffffff
cmp dword [esi + 0x8c], ebp
je 0x452065
cmp dword [0x538424], 0
jne 0x452009
mov edi, dword [0x4f19c0]
add edi, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x538424], 0
jne 0x452002
push str.WTL_CmdBar_InternalAutoPopupMsg
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [0x538424], eax
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movzx eax, word [esi + 0x8c]
mov ecx, dword [0x538424]
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 0x45204a
test byte [esi + 0x84], 8
jne 0x45204a
mov eax, dword [esi + 4]
push 0
push 0x28
push 0x100
push eax
call edi
pop edi
mov dword [esi + 0x8c], ebp
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004911aa
add esp, 0x64
ret 8
and byte [esi + 0x84], 0xef
test byte [esi + 0x84], 0x20
jne 0x4520a7
mov al, byte [esi + 0x85]
test al, 2
je 0x45208b
test al, 4
je 0x45208b
and al, 0xf7
mov byte [esi + 0x85], al
mov ecx, esi
call fcn.0044fae0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004911aa
add esp, 0x64
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
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004911aa
add esp, 0x64
ret 8