Function at 0x4d9ab0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x57b728]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov eax, dword [edi + 8]
cmp eax, 0xfffffffb
jne 0x4d9b59
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x28]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
push 0
push 0
push 0x101f
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [edi], eax
jne 0x4d9b37
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
push 1
lea ecx, [ebp - 0xc]
push ecx
mov dword [ebp - 8], eax
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0xac]
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004eff68
mov esp, ebp
pop ebp
ret 8
push dword [ebp - 0x24]
mov ecx, esi
push dword [ebp - 0x28]
call fcn.004d75b0
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004eff68
mov esp, ebp
pop ebp
ret 8
cmp eax, 0xfffffec9
jne 0x4d9b89
mov dword [ebx], 0
mov eax, dword [esi]
push 1
mov dword [esi + 0x44], 0
call dword [eax + 8]
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004eff68
mov esp, ebp
pop ebp
ret 8
cmp eax, 0xfffffff4
jne 0x4d9bb1
push dword [edi + 4]
mov eax, dword [esi]
push edi
call dword [eax + 0xc8]
pop edi
mov dword [ebx], eax
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004eff68
mov esp, ebp
pop ebp
ret 8
cmp eax, 0xffffff9b
jne 0x4d9c24
mov ecx, dword [edi + 0xc]
cmp ecx, 0xffffffff
jne 0x4d9be1
cmp dword [edi + 0x18], 2
jne 0x4d9be1
push 0
mov ecx, esi
call fcn.004d7b30
mov dword [edi + 0xc], eax
test eax, eax
js 0x4d9bff
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x128]
jmp 0x4d9bff
mov eax, dword [edi + 0x18]
xor eax, dword [edi + 0x14]
test al, 3
je 0x4d9bff
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x128]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
push dword [edi + 0x14]
mov eax, dword [esi]
push dword [edi + 0xc]
mov ecx, esi
call dword [eax + 0x14c]
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004eff68
mov esp, ebp
pop ebp
ret 8
cmp eax, 0xffffff97
jne 0x4d9c49
mov eax, dword [esi]
push edi
call dword [eax + 0x160]
pop edi
mov dword [ebx], eax
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004eff68
mov esp, ebp
pop ebp
ret 8
cmp eax, 0xffffff96
jne 0x4d9c6c
mov eax, dword [esi]
push edi
call dword [eax + 0x164]
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004eff68
mov esp, ebp
pop ebp
ret 8
cmp eax, 0xffffff94
jne 0x4d9c8f
mov eax, dword [esi]
push edi
call dword [eax + 0x154]
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004eff68
mov esp, ebp
pop ebp
ret 8
cmp eax, 0xffffff93
jne 0x4d9cb2
mov eax, dword [esi]
push edi
call dword [eax + 0x150]
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004eff68
mov esp, ebp
pop ebp
ret 8
cmp eax, 0xffffff8e
jne 0x4d9cf0
push dword [edi + 0x2c]
mov eax, dword [esi]
push dword [edi + 0xc]
call dword [eax + 0x178]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi]
push dword [edi + 0xc]
mov ecx, esi
call dword [eax + 0x120]
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004eff68
mov esp, ebp
pop ebp
ret 8
cmp eax, 0xffffff8d
jne 0x4d9d39
mov ebx, dword [edi + 0xc]
cmp ebx, dword [edi + 0x10]
jg 0x4d9b44
mov eax, dword [esi]
push 0
push ebx
lea ecx, [ebp - 0x14]
push ecx
mov ecx, esi
call dword [eax + pe_nt_image_headers32]
push 1
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
inc ebx
cmp ebx, dword [edi + 0x10]
jle 0x4d9d01
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004eff68
mov esp, ebp
pop ebp
ret 8
cmp eax, 0xffffff4f
jne 0x4d9d4b
push str.expected___n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [edi + 8]
cmp eax, 0xffffff6a
jne 0x4d9d78
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x158]
neg eax
pop edi
sbb eax, eax
pop esi
inc eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004eff68
mov esp, ebp
pop ebp
ret 8
cmp eax, 0xffffff63
je 0x4d9deb
cmp eax, 0xffffff4b
jne 0x4d9deb
lea eax, [ebp - 0x20]
push eax
xorps xmm0, xmm0
push 0
push dword [esi + 4]
movq qword [ebp - 0x1c], xmm0
movq qword [ebp - 0x14], xmm0
movq qword [ebp - 0xc], xmm0
mov dword [ebp - 0x20], 0x1c
mov dword [ebp - 0x1c], 5
call dword [sym.imp.USER32.dll_GetScrollInfo]
mov eax, dword [ebp - 0xc]
cmp dword [esi + 0x4c], eax
je 0x4d9b44
mov dword [esi + 0x4c], eax
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004eff68
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.004eff68
mov esp, ebp
pop ebp
ret 8