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

Disassembly:
sub esp, 0x64
mov eax, dword [0x4ace70]
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 [0x4b6470], 0
je 0x461c61
movzx eax, byte [esp + 0x7c]
neg eax
sbb eax, eax
and eax, 0xffffd000
add eax, 0x4000
jmp 0x461c63
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.00461830
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 0x461ca9
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 0x461d21
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 0x461d21
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 0x461dc5
cmp dword [0x4b647c], 0
jne 0x461d69
mov edi, dword [0x4b7468]
add edi, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x4b647c], 0
jne 0x461d62
push 0x491408
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [0x4b647c], eax
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movzx eax, word [esi + 0x8c]
mov ecx, dword [0x4b647c]
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 0x461daa
test byte [esi + 0x84], 8
jne 0x461daa
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.00469e0a
add esp, 0x64
ret 8
and byte [esi + 0x84], 0xef
test byte [esi + 0x84], 0x20
jne 0x461e07
mov al, byte [esi + 0x85]
test al, 2
je 0x461deb
test al, 4
je 0x461deb
and al, 0xf7
mov byte [esi + 0x85], al
mov ecx, esi
call fcn.0045f690
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00469e0a
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.00469e0a
add esp, 0x64
ret 8