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

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 0x88
push ebp
mov ebp, dword [esp + 0x98]
push esi
mov esi, ecx
mov ecx, dword [esp + 0xa4]
mov dword [ebp], 0xffffffff
push ecx
mov dword [eax], 0xffffffff
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x94]
push 0
push edx
push eax
mov ecx, esi
call fcn.0047dac1
mov dword [ebp], eax
test eax, eax
jge 0x4d143d
pop esi
xor eax, eax
pop ebp
add esp, 0x88
ret 0x14
push ebx
push edi
xor edi, edi
push edi
lea ecx, [esp + 0x30]
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x30], 1
mov dword [esp + 0x78], 2
call fcn.0047da9e
mov eax, dword [ebp]
push 2
lea edx, [esp + 0x40]
push edx
push eax
mov ecx, esi
call fcn.0047da9e
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0x20]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push edi
push 2
push 0x1002
push ecx
mov dword [esp + 0x20], eax
call ebx
push eax
call fcn.0047e82a
mov dword [esp + 0x28], eax
test eax, eax
je 0x4d14df
mov ebp, dword [ebp]
mov edx, dword [esi + 0x20]
push 0xf000
push ebp
push 0x102c
push edx
call ebx
test eax, 0xf000
jne 0x4d14df
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x4c]
push ecx
push edi
push eax
call fcn.00485f40
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00484221
mov eax, dword [esp + 0x64]
sub dword [esp + 0x10], eax
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
push 0
push 0
mov dword [esp + 0x20], edx
mov edx, dword [esi + 0x20]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x40]
push 0x101d
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
call ebx
mov ecx, dword [esp + 0x2c]
add eax, ecx
mov dword [esp + 0x1c], eax
cmp dword [esi + 0x78], edi
jne 0x4d1525
mov edx, dword [esp + 0x10]
add dword [esp + 0x14], edx
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x9c]
push eax
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
mov ebp, eax
test ebp, ebp
jne 0x4d15b7
cmp dword [esp + 0x24], 0
je 0x4d15b3
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x6c]
push eax
inc edi
push edi
push 0x1019
push ecx
call ebx
mov dword [esp + 0x24], eax
test eax, eax
je 0x4d15ad
mov edx, dword [esi + 0x20]
push 0
push edi
push 0x101d
push edx
call ebx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
add ecx, eax
mov dword [esp + 0x1c], ecx
cmp dword [esi + 0x78], edi
jne 0x4d1590
mov eax, dword [esp + 0x10]
add dword [esp + 0x14], eax
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x9c]
push ecx
push edx
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ebp, eax
test ebp, ebp
je 0x4d1546
jmp 0x4d15b7
test ebp, ebp
je 0x4d15f4
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0x14]
mov dword [ecx], edi
mov ecx, dword [esp + 0x18]
mov dword [eax], edx
mov edx, dword [esp + 0x1c]
pop edi
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x1c]
pop ebx
mov dword [eax + 8], edx
pop esi
mov dword [eax + 0xc], ecx
mov eax, 1
pop ebp
add esp, 0x88
ret 0x14
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x88
ret 0x14