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

Disassembly:
sub esp, 0x7c
mov eax, dword [esp + 0x8c]
push ebx
push ebp
mov ebp, dword [esp + 0x90]
push esi
mov esi, ecx
push edi
mov ecx, dword [esp + 0xa0]
mov dword [ebp], 0xffffffff
push ecx
mov dword [eax], 0xffffffff
call dword [sym.imp.user32.dll_SetRectEmpty]
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
push 0
push edx
push eax
mov ecx, esi
call fcn.00590b47
test eax, eax
mov dword [ebp], eax
jl 0x4d1e26
xor edi, edi
lea ecx, [esp + 0x2c]
push edi
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x20], 1
mov dword [esp + 0x78], 2
call fcn.00590a88
mov eax, dword [ebp]
lea edx, [esp + 0x3c]
push 2
push edx
push eax
mov ecx, esi
call fcn.00590a88
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esi + 0x1c]
push edi
push 2
sub eax, ebx
mov ebx, dword [sym.imp.user32.dll_SendMessageA]
push 0x1002
push ecx
mov dword [esp + 0x20], eax
call ebx
push eax
call fcn.0059100e
test eax, eax
mov dword [esp + 0x18], eax
je 0x4d1d03
mov ebp, dword [ebp]
mov edx, dword [esi + 0x1c]
push 0xf000
push ebp
push 0x102c
push edx
call ebx
test ah, 0xf0
jne 0x4d1d03
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x4c]
push eax
push edi
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.comctl32.dll_ImageList_GetImageInfo]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x10]
sub ecx, eax
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x20], edx
mov edx, dword [esi + 0x1c]
push 0
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x3c]
push 0
push 0x101d
push edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
call ebx
mov ecx, dword [esp + 0x2c]
add eax, ecx
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x64]
test eax, eax
jne 0x4d1d51
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
add eax, edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.user32.dll_PtInRect]
mov ebp, eax
test ebp, ebp
jne 0x4d1dec
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4d1de8
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x6c]
inc edi
push eax
push edi
push 0x1019
push ecx
call ebx
test eax, eax
mov dword [esp + 0x14], eax
je 0x4d1de2
mov edx, dword [esi + 0x1c]
push 0
push edi
push 0x101d
push edx
call ebx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], ecx
add ecx, eax
mov eax, dword [esi + 0x64]
mov dword [esp + 0x24], ecx
cmp eax, edi
jne 0x4d1dc5
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
add ecx, eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x90]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
call dword [sym.imp.user32.dll_PtInRect]
mov ebp, eax
test ebp, ebp
je 0x4d1d72
jmp 0x4d1dec
test ebp, ebp
je 0x4d1e26
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0x1c]
mov dword [ecx], edi
mov ecx, dword [esp + 0x20]
mov dword [eax], edx
mov edx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x28]
pop edi
mov dword [eax + 8], edx
pop esi
mov dword [eax + 0xc], ecx
pop ebp
mov eax, 1
pop ebx
add esp, 0x7c
ret 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x7c
ret 0x14