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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x58bb10
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, edi
je 0x4a92d5
push edi
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
push 0xa
lea ecx, [esp + 0x98]
call fcn.00566fca
mov dword [esp + 0x94], 0x59eb70
mov eax, dword [esp + 0xc4]
xor ebp, ebp
and eax, 0xc
mov dword [esp + 0xb8], ebp
mov dword [esp + 0x2c], eax
je 0x4a9320
lea ecx, [esp + 0x94]
push ecx
mov ecx, esi
call fcn.004a9a10
push esi
lea ecx, [esp + 0x84]
call fcn.0056f86b
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x40]
push edx
push eax
mov byte [esp + 0xc0], 1
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x45
call edi
push 0x44
mov dword [esp + 0x3c], eax
call edi
mov ecx, dword [esi + 0x1c]
mov ebx, 1
push ebp
push 0x4b
push ebx
push ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x28], ebp
call dword [sym.imp.USER32.dll_SetTimer]
push ebx
mov ecx, esi
mov dword [esp + 0x38], eax
call fcn.0056aa9c
push ebp
mov ecx, esi
mov edi, eax
call fcn.0056aa9c
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x50], eax
xor eax, eax
mov ebp, edi
push eax
push eax
push 0x110a
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4a93da
lea ecx, [esp + 0x1c]
push 0
push ecx
push eax
mov ecx, esi
call fcn.0056519f
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
sub eax, ecx
imul edi, eax
mov dword [esp + 0x30], eax
mov ebp, edi
mov edi, dword [esp + 0xc8]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0xcc]
add edi, ecx
add eax, ebp
mov dword [esp + 0xc8], edi
mov dword [esp + 0xcc], eax
push 0
push 0
lea edx, [esp + 0x60]
push 0
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x4a96af
mov ebp, dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, ebp
jne 0x4a96af
mov eax, dword [esp + 0x5c]
cmp eax, 0x200
ja 0x4a968a
je 0x4a94cd
sub eax, 0x100
je 0x4a94b1
sub eax, 0x13
jne 0x4a9696
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], eax
push edx
push ebp
mov dword [esp + 0x1c], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
lea edx, [esp + 0x44]
push ecx
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4a9492
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x4a93fe
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
and ecx, 0xffff
and edx, 0xffff
shl ecx, 0x10
or ecx, edx
mov dword [esp + 0x64], ecx
jmp 0x4a94d1
cmp word [esp + 0x60], 0x1b
je 0x4a96a6
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x4a93fe
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x18]
movsx eax, cx
shr ecx, 0x10
movsx ecx, cx
test edx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
jne 0x4a9574
sub eax, edi
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x3c]
cmp eax, edx
jg 0x4a9519
mov edx, dword [esp + 0xcc]
mov eax, ecx
mov ecx, dword [esp + 0x38]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jle 0x4a93fe
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], 1
test eax, eax
jne 0x4a9532
push 0
mov ecx, esi
call fcn.004a8c80
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ebp, dword [esp + 0xcc]
lea ecx, [esp + 0x1c]
push ebp
push edi
push ebp
push edi
push ecx
call dword [sym.imp.USER32.dll_SetRect]
push 0
mov eax, 1
push 0
push eax
push ebx
push 0
push eax
lea edx, [esp + 0x34]
push ebx
push edx
lea ecx, [esp + 0xa0]
call fcn.00575909
jmp 0x4a957b
mov ebp, dword [esp + 0xcc]
push 0
mov eax, 1
push 0
push eax
push ebx
push 0
push eax
lea eax, [esp + 0x34]
push ebx
push eax
lea ecx, [esp + 0xa0]
call fcn.00575909
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
cmp eax, ecx
jge 0x4a95b6
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0x115
push ecx
jmp 0x4a95c9
cmp eax, dword [esp + 0x4c]
jl 0x4a95cf
mov edx, dword [esi + 0x1c]
push 0
push 1
push 0x115
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jge 0x4a95ea
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0x114
push eax
jmp 0x4a95fd
cmp eax, dword [esp + 0x48]
jl 0x4a9603
mov ecx, dword [esi + 0x1c]
push 0
push 1
push 0x114
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov ecx, esi
mov dword [esp + 0x54], edi
call fcn.0056aa9c
push 1
mov ecx, esi
sub edi, eax
call fcn.0056aa9c
imul eax, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
sub ebp, eax
mov eax, dword [esp + 0x10]
push edx
push eax
push ebp
lea ecx, [esp + 0x28]
push edi
push ecx
call dword [sym.imp.USER32.dll_SetRect]
lea ecx, [esp + 0x1c]
call fcn.00575dfb
mov eax, dword [esp + 0xc4]
lea edx, [esp + 0x94]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, esi
call fcn.004a97a0
push 0
mov eax, 1
push 0
push eax
push ebx
push 0
push eax
lea edx, [esp + 0x34]
push ebx
push edx
lea ecx, [esp + 0xa0]
call fcn.00575909
mov edi, dword [esp + 0xc8]
jmp 0x4a93fe
sub eax, 0x202
je 0x4a96af
sub eax, 3
je 0x4a96af
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x4a93fe
push 0
mov ecx, esi
call fcn.004a8c80
mov ecx, dword [esp + 0x34]
mov edx, dword [esi + 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_KillTimer]
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4a96ee
push 0
mov eax, 1
push 0
push eax
push ebx
push 0
push eax
lea eax, [esp + 0x34]
push ebx
push eax
lea ecx, [esp + 0xa0]
call fcn.00575909
jmp 0x4a96ff
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4a96ff
push 0
mov ecx, esi
call fcn.004a8c80
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x78], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov ecx, dword [esp + 0xc0]
lea edx, [esp + 0x74]
neg ecx
sbb ecx, ecx
push edx
and ecx, 3
mov dword [esp + 0x7c], eax
add ecx, 0xfffffffb
mov dword [esp + 0x80], ecx
mov ecx, esi
call fcn.004a8ba0
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [esp + 0x80]
mov byte [esp + 0xb8], 0
call fcn.0056f8dd
lea ecx, [esp + 0x94]
mov dword [esp + 0xb8], 0xffffffff
call fcn.00567029
mov ecx, dword [esp + 0xb0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xac
ret 0x10