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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
push edi
push esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_SetCapture]
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
mov edi, dword [sym.imp.USER32.dll_MapWindowPoints]
xor eax, eax
mov byte [esp + 0x13], 0
mov byte [esp + 0x10], 1
mov byte [esp + 0x12], 0
mov byte [esp + 0x11], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 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
mov dword [esp + 0x68], eax
lea ebx, [ebx]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x2c]
push ecx
call ebx
test eax, eax
jne 0x4b672e
call dword [sym.imp.USER32.dll_WaitMessage]
jmp 0x4b6ab8
mov ecx, dword [esp + 0x20]
lea edx, [ecx - 0x200]
cmp edx, 0xe
ja 0x4b6983
mov edx, dword [esp + 0x1c]
cmp edx, esi
jne 0x4b67eb
mov eax, dword [esp + 0x28]
movsx ecx, ax
push 1
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x3c]
shr eax, 0x10
push ecx
cwde
push 0
push edx
mov dword [esp + 0x4c], eax
call edi
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push edx
push eax
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov esi, eax
test esi, esi
je 0x4b67e7
mov ecx, dword [esp + 0x14]
push esi
push ecx
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x4b6818
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push 1
push eax
push eax
push edx
lea eax, [esp + 0x60]
push eax
call ebx
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
push 1
lea eax, [esp + 0x4c]
push eax
push esi
push 0
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
call edi
movzx ecx, word [esp + 0x4c]
movzx edx, word [esp + 0x48]
mov eax, dword [esp + 0x24]
shl ecx, 0x10
or ecx, edx
push ecx
mov ecx, dword [esp + 0x24]
push eax
push ecx
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0x20]
cmp byte [esp + 0x10], 0
je 0x4b687b
push 0
push 0
push 0
push 0
lea eax, [esp + 0x2c]
push eax
call ebx
test eax, eax
jne 0x4b69a2
call dword [sym.imp.USER32.dll_WaitMessage]
jmp 0x4b6ab8
cmp byte [ebp + 0x1c], 0
mov eax, dword [esp + 0x18]
jne 0x4b68d8
cmp eax, dword [esp + 0x14]
je 0x4b695a
cmp esi, eax
jne 0x4b68d8
mov ecx, dword [esp + 0x20]
mov eax, ecx
sub eax, 0x201
je 0x4b684a
sub eax, 3
jne 0x4b67eb
mov edx, dword [esp + 0x1c]
push 1
push ecx
push ecx
push edx
lea eax, [esp + 0x60]
push eax
call ebx
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push ecx
push edx
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ecx, dword [esp + 0x20]
test eax, eax
jne 0x4b687b
mov byte [esp + 0x13], 1
cmp ecx, 0x9105
jne 0x4b6891
mov edi, dword [esp + 0x14]
cmp dword [esp + 0x1c], edi
je 0x4b6b0a
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
xor eax, eax
lea edx, [esp + 0x6c]
push edx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], 0x9105
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov edi, dword [esp + 0x14]
jmp 0x4b6b0e
cmp eax, dword [esp + 0x14]
je 0x4b695a
push esi
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x4b695a
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push 1
push eax
push eax
push edx
lea eax, [esp + 0x60]
push eax
call ebx
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
push 1
lea eax, [esp + 0x44]
push eax
push esi
push 0
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
call edi
movzx ecx, word [esp + 0x44]
movzx edx, word [esp + 0x40]
mov eax, dword [esp + 0x24]
shl ecx, 0x10
or ecx, edx
push ecx
mov ecx, dword [esp + 0x24]
push eax
push ecx
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0x20]
mov eax, ecx
sub eax, 0x201
je 0x4b687b
sub eax, 3
je 0x4b687b
jmp 0x4b67eb
cmp esi, dword [esp + 0x14]
je 0x4b67e7
mov ecx, dword [esp + 0x20]
mov eax, ecx
sub eax, 0x201
je 0x4b687b
sub eax, 3
je 0x4b687b
jmp 0x4b67eb
cmp ecx, 0x9106
jne 0x4b67eb
mov edx, dword [esp + 0x24]
cmp edx, dword [esp + 0x14]
je 0x4b6895
jmp 0x4b67eb
push 0
push 0
push 0
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x4b6afd
mov ecx, dword [esp + 0x20]
test eax, eax
je 0x4b687b
mov edx, dword [esp + 0x1c]
cmp ecx, 0x201
ja 0x4b6a23
je 0x4b6a1c
lea eax, [ecx - 0x100]
cmp eax, 5
ja case.0x4b6a15.14
movzx eax, byte [eax + 0x4b6b84]
jmp dword [eax*4 + 0x4b6b7c]
cmp byte [esp + 0x11], 0
jne 0x4b6a01
cmp byte [esp + 0x12], 0
je case.0x4b6a15.14
movzx eax, word [esp + 0x24]
add eax, 0xfffffff3
cmp eax, 0x1b
ja case.0x4b6a15.14
movzx eax, byte [eax + 0x4b6b94]
jmp dword [eax*4 + 0x4b6b8c]
mov byte [esp + 0x11], 1
jmp case.0x4b6a15.14
cmp ecx, 0x205
ja 0x4b6a50
je 0x4b6a49
mov eax, ecx
sub eax, 0x202
je 0x4b6a42
sub eax, 2
jne case.0x4b6a15.14
mov byte [esp + 0x12], 1
jmp case.0x4b6a15.14
mov byte [esp + 0x11], 0
jmp case.0x4b6a15.14
mov byte [esp + 0x12], 0
jmp case.0x4b6a15.14
cmp ecx, 0x9105
jne case.0x4b6a15.14
cmp edx, dword [esp + 0x14]
je 0x4b6a64
cmp edx, dword [esp + 0x18]
jne case.0x4b6a15.14
mov byte [esp + 0x10], 0
add ecx, 0xfffffe00
cmp ecx, 0xe
ja case.0x4b6a93.512
mov esi, dword [esp + 0x14]
push edx
push esi
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je case.0x4b6a93.512
mov ecx, dword [esp + 0x20]
lea eax, [ecx - 0x200]
cmp eax, 5
ja case.0x4b6a93.515
jmp dword [eax*4 + 0x4b6bb0]
mov dword [esp + 0x20], 0x200
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov ecx, dword [esp + 0x20]
cmp byte [esp + 0x10], 0
je 0x4b687b
mov esi, dword [esp + 0x18]
jmp 0x4b6710
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x24], 0x200
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov edx, dword [ebp + 0x20]
cmp byte [edx], 0
je 0x4b6ab8
push 0
push 1
push 0x9105
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4b6ab8
mov dword [esp + 0x20], 0
jmp 0x4b6891
mov esi, dword [esp + 0x18]
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, esi
jne 0x4b6b20
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov edi, edi
push 1
push 0x9105
push 0x9105
push esi
lea eax, [esp + 0x60]
push eax
call ebx
test eax, eax
jne 0x4b6b20
cmp esi, edi
je 0x4b6b58
lea esp, [esp]
push 1
push 0x9105
push 0x9105
push edi
lea ecx, [esp + 0x60]
push ecx
call ebx
test eax, eax
jne 0x4b6b40
cmp byte [esp + 0x13], 0
je 0x4b6b75
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret